Looking at the examples I can use this:
Code: Select all
$currentProgram = getCurrentProgram($device["modules"][0]);
list($initialMode, $initialTemp, $initialEndtime) = getCurrentMode($device["modules"][0]);
//first print devices information
foreach($thermData['devices'] as $dev)
{
printThermBasicInfo($dev);
}
Code: Select all
Modules :
- Thermostat -
Last Measure date : 28 January 21:23
Last Temperature measured: 19.3 °C
Last Temperature setpoint: 19 °C
Program List:
-Only manual-
id: xxxx
This is the current program
-To be deleted-
id: yyy
Code: Select all
$client->setToManualMode($device["_id"], $module_id, 18);
sleep(20);
Am I looking at the wrong place/variable to get the currently set temperature?