Still not completely there.
Changing setpoints, mode and overrule time directly works fine.
When changing the setpoint, overrule time is not updated on the channel. When checking at the thermostat, it’s fine at the thermostat and this also updates the overrule Time channel on the Thing. After a few minutes, the time becomes zero on the channel, but it remains counting down in the thermostat itself.
Likewise, when updating the overrule time, the channel is updated an the timer in the thermostat is updated as well.
2022-01-13 20:42:09.380 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":510}}
2022-01-13 20:42:11.369 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":521}}
2022-01-13 20:42:11.369 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":521}}
2022-01-13 20:42:12.322 [DEBUG] [ler.NikoHomeControlThermostatHandler] - handle command 14 for nikohomecontrol:thermostat:440e00ee076f:0:overruletime
2022-01-13 20:42:12.337 [DEBUG] [nternal.protocol.nhc1.NhcThermostat1] - execute thermostat overrule 200 during 14 min for 0
2022-01-13 20:42:12.337 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - send json {"id":0,"overrule":200,"overruletime":"00:14","cmd":"executethermostat"}
2022-01-13 20:42:12.353 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"cmd":"executethermostat", "data":{"error":0}}
2022-01-13 20:42:12.364 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - execute thermostats success
2022-01-13 20:42:12.411 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"listthermostat","data":[ {"id":0,"measured":215,"setpoint":200,"mode":6,"overrule":200,"overruletime":"00:14","ecosave":0}]}
2022-01-13 20:42:12.411 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - Niko Home Control: event execute thermostat 0 with measured 215, setpoint 200, mode 6, overrule 200, overruletime 14, ecosave 0, demand -1
2022-01-13 20:42:12.411 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 0
2022-01-13 20:42:13.366 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":506}}
2022-01-13 20:42:13.366 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":506}}
This value is now present in the thermostat and on the channel.
But after a few minutes, I start seeing this on the debug window :
2022-01-13 20:44:05.807 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":505}}
2022-01-13 20:44:06.494 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"listthermostat","data":[ {"id":1,"measured":230,"setpoint":230,"mode":5,"overrule":0,"overruletime":"00:00","ecosave":0}]}
2022-01-13 20:44:06.494 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - Niko Home Control: event execute thermostat 1 with measured 230, setpoint 230, mode 5, overrule 0, overruletime 0, ecosave 0, demand 0
2022-01-13 20:44:06.494 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 1
2022-01-13 20:44:07.792 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":511}}
(This is my 2nd thermostat, nothing changed on that one)
But then this :
2022-01-13 20:44:19.826 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":513}}
2022-01-13 20:44:19.842 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":513}}
2022-01-13 20:44:21.705 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"listthermostat","data":[ {"id":0,"measured":214,"setpoint":200,"mode":6,"overrule":200,"overruletime":"00:14","ecosave":0}]}
2022-01-13 20:44:21.705 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - Niko Home Control: event execute thermostat 0 with measured 214, setpoint 200, mode 6, overrule 200, overruletime 14, ecosave 0, demand -1
2022-01-13 20:44:21.705 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 0
2022-01-13 20:44:21.846 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":511}}
2022-01-13 20:44:21.846 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":511}}
2022-01-13 20:44:23.851 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":510}}
2022-01-13 20:44:23.867 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":510}}
2022-01-13 20:44:25.641 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - discovery broadcast on 192.168.20.255
2022-01-13 20:44:25.641 [TRACE] [nal.protocol.NikoHomeControlDiscover] - bridge discovery response 443253F1CB00C0A814B5FFFFFF00
2022-01-13 20:44:25.641 [DEBUG] [nal.protocol.NikoHomeControlDiscover] - IP address is /192.168.20.181, unique ID is 443253f1cb00
2022-01-13 20:44:25.641 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - NHC I bridge found at /192.168.20.181
2022-01-13 20:44:25.859 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":510}}
2022-01-13 20:44:25.859 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":510}}
2022-01-13 20:44:27.409 [DEBUG] [very.NikoHomeControlDiscoveryService] - getting devices on 440e00ee076f
2022-01-13 20:44:27.880 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":556}}
2022-01-13 20:44:27.880 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":556}}
2022-01-13 20:44:29.857 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":565}}
2022-01-13 20:44:29.872 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":565}}
2022-01-13 20:44:31.714 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"listthermostat","data":[ {"id":0,"measured":215,"setpoint":200,"mode":6,"overrule":200,"overruletime":"00:14","ecosave":0}]}
2022-01-13 20:44:31.714 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - Niko Home Control: event execute thermostat 0 with measured 215, setpoint 200, mode 6, overrule 200, overruletime 14, ecosave 0, demand -1
2022-01-13 20:44:31.714 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 0
2022-01-13 20:44:31.886 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":564}}
2022-01-13 20:44:31.886 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":564}}
2022-01-13 20:44:33.907 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":560}}
2022-01-13 20:44:33.907 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":560}}
2022-01-13 20:44:35.910 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":560}}
2022-01-13 20:44:35.910 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":560}}
2022-01-13 20:44:37.915 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":555}}
2022-01-13 20:44:37.915 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":555}}
2022-01-13 20:44:39.923 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":561}}
2022-01-13 20:44:39.923 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":561}}
2022-01-13 20:44:41.928 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":558}}
2022-01-13 20:44:41.943 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":558}}
2022-01-13 20:44:43.919 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":560}}
2022-01-13 20:44:43.919 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":560}}
2022-01-13 20:44:45.925 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":562}}
2022-01-13 20:44:45.925 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":562}}
2022-01-13 20:44:46.741 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"listthermostat","data":[ {"id":0,"measured":214,"setpoint":200,"mode":6,"overrule":200,"overruletime":"00:14","ecosave":0}]}
2022-01-13 20:44:46.741 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - Niko Home Control: event execute thermostat 0 with measured 214, setpoint 200, mode 6, overrule 200, overruletime 14, ecosave 0, demand -1
2022-01-13 20:44:46.741 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 0
2022-01-13 20:44:47.942 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - received json {"event":"getlive","data":{"channel":0, "v":568}}
2022-01-13 20:44:47.942 [DEBUG] [l.nhc1.NikoHomeControlCommunication1] - not acted on json {"event":"getlive","data":{"channel":0, "v":568}}
As soon as these messages appear, the channel goes back to Zero.
What also seems strange is that the overrule time stays 14, even 2 minutes later.
This is not a big deal, but it seems that something is still missing… 