Page 1 of 1

Sync Thermostat Clocks

PostPosted: Sun Mar 08, 2020 6:36 am
by DaveL17
When I sync my Trane TCONT624 thermostats, Indigo sends a command to sync the internal clock with the server. This works as expected. If I remove (or lose) mains power the thermostat's clock is out of sync when power is restored and never seems to re-sync on its own (I have to re-sync the device in Indigo to set the clock). I can probably handle this with raw commands, but it would be helpful if Indigo could send a clock sync ping regularly to the thermostat (say once a day perhaps).

Re: Sync Thermostat Clocks

PostPosted: Wed Mar 11, 2020 3:34 pm
by matt (support)
Agreed Indigo should do this or provide the option to auto sync the clocks periodically. I'll add it to the request list. If you want to try to do it manually here is a code snipped that will help:

Code: Select all
indigodt = indigo.server.getTime()
byte1 = (indigodt.isoweekday() << 5) | indigodt.hour
byte2 = indigodt.minute
indigo.zwave.sendRaw(device=???, cmdBytes=[0x81, 0x04, byte1, byte2])

Re: Sync Thermostat Clocks

PostPosted: Wed Mar 11, 2020 5:22 pm
by DaveL17
Thanks Matt. You've saved me the trouble of having to work this out. Hopefully, others will find it useful, too.