Page 1 of 1

enable/disable thermostat timers

Posted: Thursday 11 January 2018 11:53
by jimicek
Tried to disable timers via script - this goes well using /json.htm?type=command&param=disabletimer&idx=timerID
However this doesnot work for thermostat timers. What command modification is needed?
From following timers listing is clear, that thermostats have own timerIDs and the command should somehow mark, that dealing with thermostat timers and not standard switch timers

Code: Select all

result	
0	
Active	"true"
Date	""
Days	128
DevName	"Cirkulace"
DeviceRowID	113
Hue	0
IsThermostat	"false"
Level	100
MDay	0
Month	0
Occurence	0
Randomness	"false"
ScheduleDate	"2018-01-12 07:30:00"
Time	"07:30"
TimerCmd	0
TimerID	1
TimerType	2
TimerTypeStr	"On Time"
Type	"Device"
1	{…}
2	
Active	"true"
Date	""
Days	128
DevName	"Nastaveni Hostovsky Ventil"
DeviceRowID	107
IsThermostat	"true"
MDay	0
Month	0
Occurence	0
ScheduleDate	"2018-01-12 07:25:00"
Temperature	"22.5"
Time	"07:25"
TimerID	1
TimerType	2
TimerTypeStr	"On Time"
Type	"Device"
3	{…}
status	"OK"
title	"Schedules"

Re: enable/disable thermostat timers

Posted: Thursday 11 January 2018 14:24
by jimicek
answering myself : following command makes the needed timer modification for termostat:

/json.htm?type=command&param=enablesetpointtimer&idx=SetpointTimerIDX

Re: enable/disable thermostat timers

Posted: Sunday 27 October 2024 20:55
by StratosHF
Hi y jimicek,

Thanks for posting this, I got stuck in a hole trying to get:

Code: Select all

/json.htm?type=command&param=enabletimer&idx=timerID
but it turned out

Code: Select all

/json.htm?type=command&param=enablesetpointtimer&idx=SetpointTimerIDX
was what I needed. Thanks.