SmartHome
|
Functions | |
selectdb ($dbname, $connection) | |
getDetails ($devid) | |
Variables | |
$fridge_temp_value = -1 | |
$freezer_temp_value = -1 | |
$status | |
$con = mysql_connect($server,$user,$password) | |
$con_raspberry | |
$sensorvals = array() | |
$server ="mysql.felixaestheticus.net" | |
$user ="e1702299" | |
$password ="KVIDyY4I8f" | |
else | |
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 |
$con = mysql_connect($server,$user,$password) |
$con_raspberry |
$freezer_temp_value = -1 |
$fridge_temp_value = -1 |
SmartHome Project - Developed by Tranquillum gauge2data.php Purpose: This Page helps to refresh parts of refrigerator and washing machine pages (used with ajax)
Check the login (if the user is not logged in then redirect to the login page)
Variables
$password ="KVIDyY4I8f" |
$sensorvals = array() |
$server ="mysql.felixaestheticus.net" |
$status |
$user ="e1702299" |
else |