SetSetpoint With FOR ?

Moderator: leecollings

Post Reply
narfight
Posts: 5
Joined: Monday 11 April 2016 11:22
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

SetSetpoint With FOR ?

Post by narfight »

Hello,

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"
Currently, I'm send an "OpenURL" on JSON with the "until" parameter on the device, like this :

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")
it's slightly less "beautiful"

Thk in advance,
Narfight
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest