SmartHome
|
Functions | |
selectdb ($dbname, $connection) | |
getDetails ($devid) | |
Variables | |
PHP | |
if(!$fgmembersite->CheckLogin()) | $bgtime =time() |
$water_temp = 0 | |
$setting_water_temp | |
$setting_program_info | |
$status | |
$setting_status | |
$power_cons | |
$stage_info | |
$program_info | |
$wash_load | |
$spin_speed | |
$time_remained | |
$con = mysql_connect($server,$user,$password) | |
$con_raspberry | |
$sensorvals = array() | |
$server ="mysql.felixaestheticus.net" | |
$user ="e1702299" | |
$password ="KVIDyY4I8f" | |
< labelfor="TEXTBOX0_ID"> < fontsize="2"> kWh</label > </font >< BR ></br > Time | Remained |
getDetails | ( | $devid) |
getDetails function (for a given device id it gets the details such as status, power consumption ..etc)
string | $devid |
selectdb | ( | $dbname, | |
$connection | |||
) |
selectdb function
string | $dbname | |
string | $connection |
if (!$fgmembersite->CheckLogin()) $bgtime =time() |
$con = mysql_connect($server,$user,$password) |
$con_raspberry |
$password ="KVIDyY4I8f" |
$power_cons |
$program_info |
$sensorvals = array() |
$server ="mysql.felixaestheticus.net" |
$setting_program_info |
$setting_status |
$setting_water_temp |
$spin_speed |
$stage_info |
global $status |
$time_remained |
$user ="e1702299" |
$wash_load |
$water_temp = 0 |
This Page Shows the current status of a washing machine and the user can control the settings of the home appliance.
Variables
PHP |
SmartHome Project - Developed by Tranquillum washing_machine1.php Purpose: This Page Shows the current status and the settings of a washing machine
Check the login (if the user is not logged in then redirect to the login page)
<labelfor="TEXTBOX0_ID"><fontsize="2"> kWh</label></font><BR></br> Time Remained |