SetSetpoint With FOR ?
Posted: Monday 05 March 2018 8:53
Hello,
Is it planned to be able to use "FOR" with the "SetSetpoint" command to define a running time?
Like this :
Currently, I'm send an "OpenURL" on JSON with the "until" parameter on the device, like this :
it's slightly less "beautiful"
Thk in advance,
Narfight
Is it planned to be able to use "FOR" with the "SetSetpoint" command to define a running time?
Like this :
Code: Select all
commandArray['SetSetpoint:MySetPointIdx'] = "24.0 FOR 60"
Code: Select all
commandArray['OpenURL'] = uservariables["DomoticzJson"].."type=setused&idx="..otherdevices_idx[MyDeviceName].."&setpoint="..TempInUse.."&mode=TemporaryOverride&until="..os.date('%Y-%m-%dT%H:%M:%S.000Z', GetUTCTime()+MaxTempInUseInHour*60*60).."&used=true")
Thk in advance,
Narfight