SmartHome
 All Data Structures Files Functions Variables
applianceslist.php File Reference

Functions

 selectdb ($dbname, $connection)
 
 getStatus ($devid)
 
 getIcon_link ($devid)
 
 getModel_id ($devid)
 
 getFridge_temp ($devid)
 
 getFreezer_temp ($devid)
 
 getPower_cons ($devid)
 
 getWater_temp ($devid)
 
 getStage_info ($devid)
 
 status_convert ($status_temp)
 

Variables

 PHP
 
if(!$fgmembersite->CheckLogin()) $status
 
 $status1 =status_convert(getStatus(3))
 
 $status2 =status_convert(getStatus(5))
 
 $status3 =status_convert(getStatus(10))
 
 $status_temp
 
 $setting_status
 
 $icon_link
 
 $icon_link1 =getIcon_link(3)
 
 $icon_link2 =getIcon_link(5)
 
 $icon_link3 =getIcon_link(10)
 
 $model_id
 
 $model_id1 =getModel_id(3)
 
 $model_id2 =getModel_id(5)
 
 $model_id3 =getModel_id(10)
 
 $temp_value =getFridge_temp(3)
 
 $freezer_temp_value =getFreezer_temp(3)
 
 $power_cons =getPower_cons(3)
 
 $stage_info =getStage_info(10)
 
 $water_temp =getWater_temp(10)
 
 $fridge_temp
 
 $freezer_temp
 
 $con = mysql_connect($server,$user,$password)
 
 $con_raspberry
 
 $sensorvals = array()
 
 $server ="mysql.felixaestheticus.net"
 
 $user ="e1702299"
 
 $password ="KVIDyY4I8f"
 
 $status1_temp =$status1
 
 $status2_temp =$status2
 
 $status3_temp =$status3
 
 if ($status1=="off") = $fgmembersite->UserFullName()
 

Function Documentation

getFreezer_temp (   $devid)

getFreezer_temp function

Parameters
string$devid
Returns
string $freezer_temp_value
getFridge_temp (   $devid)

getFridge_temp function

Parameters
string$devid
Returns
string $temp_value
getIcon_link (   $devid)

getIcon_link function

Parameters
string$devid
Returns
string $icon_link
getModel_id (   $devid)

getModel_id function

Parameters
string$devid
Returns
string $model_id
getPower_cons (   $devid)

getPower_cons function

Parameters
string$devid
Returns
string $power_cons
getStage_info (   $devid)

getStage_info function

Parameters
string$devid
Returns
string $stage_info
getStatus (   $devid)

getStatus function

Parameters
string$devid
Returns
int $status
getWater_temp (   $devid)

getWater_temp function

Parameters
string$devid
Returns
string $getWater_temp
selectdb (   $dbname,
  $connection 
)

selectdb function

Parameters
string$dbname
string$connection
status_convert (   $status_temp)

Variable Documentation

$con = mysql_connect($server,$user,$password)
$con_raspberry
$freezer_temp
global $freezer_temp_value =getFreezer_temp(3)
$fridge_temp
$icon_link
$icon_link1 =getIcon_link(3)
$icon_link2 =getIcon_link(5)
$icon_link3 =getIcon_link(10)
$model_id
$model_id1 =getModel_id(3)
$model_id2 =getModel_id(5)
$model_id3 =getModel_id(10)
$password ="KVIDyY4I8f"
global $power_cons =getPower_cons(3)
$sensorvals = array()
$server ="mysql.felixaestheticus.net"
$setting_status
$stage_info =getStage_info(10)
if (!$fgmembersite->CheckLogin()) $status

Variables

$status1 =status_convert(getStatus(3))
$status1_temp =$status1
$status2 =status_convert(getStatus(5))
$status2_temp =$status2
$status3 =status_convert(getStatus(10))
$status3_temp =$status3
$status_temp
global $temp_value =getFridge_temp(3)
$user ="e1702299"
global $water_temp =getWater_temp(10)
if($status3=="off") = $fgmembersite->UserFullName()
PHP

SmartHome Project - Developed by Tranquillum gaugedata3.php Purpose: This Page Lists all available devices in a list

Author
Abdullah
Version
1.0 30/05/13

Check the login (if the user is not logged in then redirect to the login page)