Hi!
I'm trying adding a few lines of code in the Thermostat Basic program, giving the temperature as a parameter instead of "Heat".
if (option == "19" || option == "20" || option == "21" || option == "22")
{
Program.RaiseEvent(thermostat, "Thermostat.SetPoint.Heating", option, EVENT_DESCRIPTION);
holdingMode[index] = false;
ThermostatLogicRun(thermostat);
res = "OK";
}
The call from scheduller:
// Heat, HeatEconomy, Cool, CoolEconomy, Auto, Off
mode = '19';
// set the mode of all selected thermostat modules to 'Heat'
$$.boundModules.command('Thermostat.ModeSet')
.set(mode);
It seems to work fine.
Regards.
Nacho.-