Niko Home Control II

Can’t see to find the solution: {42:<the answer to Life, The Universe and Everything Else>}

Welcome to the forums, hope this helps.

{“answer” : 42}

I seem to be having an issue with the Niko thermostats. It appears setpoint does not get changed on a change of mode. Also, overruletime does not appear to change either.

However, changing the setpoint or the overruletime within openhab does get reflected on the Niko thermostat.

So, when I change the mode, below are the only elements to change.

The actual Niko thermostat is reporting the change to settings, but they seem not to be reflected through the binding, is this a Niko bug or binding issue? Or just me being an idiot!

Is anybody else seeing this?

2022-02-11 09:31:05.527 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Downstairs_Thermostat_Mode' received command 0
2022-02-11 09:31:05.531 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Downstairs_Thermostat_Mode' predicted to become 0
2022-02-11 09:31:05.548 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Mode' changed from 3 to 0

@Jorggs It is a bug in the binding. A PR #11963 to fix and enhance thermostat support has already been submitted a while ago for review.
You can use the version available here. Note this version has my latest developments with new functionality beyond what is submitted for review (access control, NHC I energy) in it and changes very regularly as I develop, so it may not work on specific days. I am always keen to get feedback on this version.

aha, many thanks for the update, apologies for raising a known issue.

Hi Mark, the download link gives me a version of 3.3.0.202202110742, however, I’m seeing no change in behaviour with regard to the overruletime or setpoint, that is, they do not get changed own a change of mode.

@Jorgss you showed the event log above. It shows you changing the mode in OH, and the mode change taking effect, which means it got updated from Niko as well. If the mode change implies a new setpoint, I would expect to also see that coming in as an event from Niko. If not, it will not get updated.
I am more interested in the trace openhab.log than the event log for this to analyze further. Could you provide that? Switch the binding to trace logging.

I’ll have a look into it, Not sure how to do that, but I’ll do some research. Thanks again.

edit: [quick search reveals how to sort out logging!]

Ok, so, here goes, below is a change of mode, which works as expected.

2022-02-12 09:48:55.307 [DEBUG] [very.NikoHomeControlDiscoveryService] - getting devices on ed2796ff61
2022-02-12 09:48:58.095 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - discovery broadcast on 10.0.1.255
2022-02-12 09:48:58.100 [TRACE] [nal.protocol.NikoHomeControlDiscover] - bridge discovery response 443B00EE3AF60A000107FFFFFF0019020102000D0001005400
2022-02-12 09:48:58.101 [DEBUG] [nal.protocol.NikoHomeControlDiscover] - IP address is /10.0.1.7, unique ID is 443b00ee3af6
2022-02-12 09:48:58.603 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - NHC II bridge found at /10.0.1.7
2022-02-12 09:49:00.932 [DEBUG] [ler.NikoHomeControlThermostatHandler] - handle command 5 for nikohomecontrol:thermostat:ed2796ff61:5eceafb6-5279-486f-9de3-6812e3005563:mode
2022-02-12 09:49:00.934 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - execute thermostat mode 5 for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:49:00.935 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - connection state CONNECTED for 10_0_1_71-nikohomecontrol_bridge2_ed2796ff61
2022-02-12 09:49:00.937 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - publish hobby/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Prog1"}]}]}]}
2022-02-12 09:49:00.944 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - not acted on received message topic hobby/control/devices/cmd, payload {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Prog1"}]}]}]}
2022-02-12 09:49:01.066 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"Program":"Prog1"},{"OverruleActive":"False"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:49:01.069 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.071 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 70, mode 5, overrule 70, overruletime 0, ecosave 0, demand 0
2022-02-12 09:49:01.073 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:49:01.075 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.078 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.176 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"SetpointTemperature":"21.00"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:49:01.179 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.181 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 210, mode 5, overrule 70, overruletime 0, ecosave 0, demand 0
2022-02-12 09:49:01.183 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:49:01.187 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.190 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.380 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"Demand":"Heating"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:49:01.383 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.385 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 210, mode 5, overrule 70, overruletime 0, ecosave 0, demand 1
2022-02-12 09:49:01.387 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:49:01.389 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:01.392 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
==> /var/log/openhab/events.log <==
2022-02-12 09:49:00.918 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Downstairs_Thermostat_Mode' received command 5
2022-02-12 09:49:00.931 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Downstairs_Thermostat_Mode' predicted to become 5
2022-02-12 09:49:00.941 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Mode' changed from 3 to 5
2022-02-12 09:49:01.195 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Requested' changed from 7 to 21

Again, change of mode works as expected


2022-02-12 09:49:40.162 [DEBUG] [ler.NikoHomeControlThermostatHandler] - handle command 3 for nikohomecontrol:thermostat:ed2796ff61:5eceafb6-5279-486f-9de3-6812e3005563:mode
2022-02-12 09:49:40.163 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - execute thermostat mode 3 for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:49:40.165 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - connection state CONNECTED for 10_0_1_71-nikohomecontrol_bridge2_ed2796ff61
2022-02-12 09:49:40.167 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - publish hobby/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Off"}]}]}]}
2022-02-12 09:49:40.175 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - not acted on received message topic hobby/control/devices/cmd, payload {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Off"}]}]}]}
2022-02-12 09:49:40.315 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"Program":"Off"},{"OverruleActive":"False"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:49:40.318 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:40.320 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 210, mode 3, overrule 70, overruletime 0, ecosave 0, demand 1
2022-02-12 09:49:40.322 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:49:40.325 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:40.328 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:40.424 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"SetpointTemperature":"7.00"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:49:40.427 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:40.428 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 70, mode 3, overrule 70, overruletime 0, ecosave 0, demand 1
2022-02-12 09:49:40.430 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:49:40.433 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:49:40.435 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
==> /var/log/openhab/events.log <==
2022-02-12 09:49:40.156 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Downstairs_Thermostat_Mode' received command 3
2022-02-12 09:49:40.169 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Downstairs_Thermostat_Mode' predicted to become 3
2022-02-12 09:49:40.173 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Mode' changed from 5 to 3
2022-02-12 09:49:40.448 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Requested' changed from 21 to 7

Now a change to the requested temperature from existing 7 degrees to 8 degrees, and again, expected behaviour.

2022-02-12 09:50:23.642 [DEBUG] [ler.NikoHomeControlThermostatHandler] - handle command 8 °C for nikohomecontrol:thermostat:ed2796ff61:5eceafb6-5279-486f-9de3-6812e3005563:setpoint
2022-02-12 09:50:23.643 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - execute thermostat overrule 80 during 60 min for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:50:23.644 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - connection state CONNECTED for 10_0_1_71-nikohomecontrol_bridge2_ed2796ff61
2022-02-12 09:50:23.646 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - publish hobby/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"True"},{"OverruleSetpoint":"8.0"},{"OverruleTime":"60"}]}]}]}
2022-02-12 09:50:23.659 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - not acted on received message topic hobby/control/devices/cmd, payload {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"True"},{"OverruleSetpoint":"8.0"},{"OverruleTime":"60"}]}]}]}
2022-02-12 09:50:23.840 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"OverruleSetpoint":"8.00"},{"SetpointTemperature":"8.00"},{"OverruleTime":"60"},{"OverruleActive":"True"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:50:23.842 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 0
2022-02-12 09:50:23.844 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 80, mode 3, overrule 80, overruletime 60, ecosave 0, demand 0
2022-02-12 09:50:23.846 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:50:23.849 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:23.852 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
==> /var/log/openhab/events.log <==
2022-02-12 09:50:23.632 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Downstairs_Thermostat_Requested' received command 8
2022-02-12 09:50:23.640 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Downstairs_Thermostat_Requested' predicted to become 8
2022-02-12 09:50:23.654 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Requested' changed from 7 to 8
2022-02-12 09:50:23.857 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Overrule' changed from 0 to 60

Now a change of mode again (given that overruletime is now 60 mins), no change in overruletime or requested temperature although mode gets changed

2022-02-12 09:50:57.775 [DEBUG] [ler.NikoHomeControlThermostatHandler] - handle command 0 for nikohomecontrol:thermostat:ed2796ff61:5eceafb6-5279-486f-9de3-6812e3005563:mode
2022-02-12 09:50:57.776 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - execute thermostat mode 0 for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:50:57.777 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - connection state CONNECTED for 10_0_1_71-nikohomecontrol_bridge2_ed2796ff61
2022-02-12 09:50:57.779 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - publish hobby/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Day"}]}]}]}
2022-02-12 09:50:57.785 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - not acted on received message topic hobby/control/devices/cmd, payload {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Day"}]}]}]}
2022-02-12 09:50:57.907 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"Program":"Day"},{"OverruleActive":"False"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:50:57.909 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:57.911 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 80, mode 0, overrule 80, overruletime 60, ecosave 0, demand 0
2022-02-12 09:50:57.912 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:50:57.915 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:57.918 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:58.041 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"SetpointTemperature":"21.00"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:50:58.043 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:58.045 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 210, mode 0, overrule 80, overruletime 60, ecosave 0, demand 0
2022-02-12 09:50:58.046 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:50:58.048 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:58.051 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:58.413 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"Demand":"Heating"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:50:58.415 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:58.417 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 210, mode 0, overrule 80, overruletime 60, ecosave 0, demand 1
2022-02-12 09:50:58.419 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:50:58.422 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
2022-02-12 09:50:58.425 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 60
==> /var/log/openhab/events.log <==
2022-02-12 09:50:57.770 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Downstairs_Thermostat_Mode' received command 0
2022-02-12 09:50:57.779 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Downstairs_Thermostat_Mode' predicted to become 0
2022-02-12 09:50:57.783 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Mode' changed from 3 to 0

Again, now that overruletime is set, another change to mode yields no change in requested temperature or overruletime

2022-02-12 09:51:39.925 [DEBUG] [ler.NikoHomeControlThermostatHandler] - handle command 3 for nikohomecontrol:thermostat:ed2796ff61:5eceafb6-5279-486f-9de3-6812e3005563:mode
2022-02-12 09:51:39.926 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - execute thermostat mode 3 for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:51:39.927 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - connection state CONNECTED for 10_0_1_71-nikohomecontrol_bridge2_ed2796ff61
2022-02-12 09:51:39.928 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - publish hobby/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Off"}]}]}]}
2022-02-12 09:51:39.940 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - not acted on received message topic hobby/control/devices/cmd, payload {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"},{"Program":"Off"}]}]}]}
2022-02-12 09:51:40.066 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"Program":"Off"},{"OverruleActive":"False"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:51:40.068 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.069 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 210, mode 3, overrule 80, overruletime 59, ecosave 0, demand 1
2022-02-12 09:51:40.070 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:51:40.071 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.077 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.204 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"SetpointTemperature":"7.00"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:51:40.206 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.207 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 70, mode 3, overrule 80, overruletime 59, ecosave 0, demand 1
2022-02-12 09:51:40.208 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:51:40.211 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.213 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.312 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"Demand":"None"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:51:40.315 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.316 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 70, mode 3, overrule 80, overruletime 59, ecosave 0, demand 0
2022-02-12 09:51:40.318 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:51:40.321 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:51:40.324 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
==> /var/log/openhab/events.log <==
2022-02-12 09:51:39.925 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Downstairs_Thermostat_Mode' received command 3
2022-02-12 09:51:39.932 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Downstairs_Thermostat_Mode' predicted to become 3
2022-02-12 09:51:39.943 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Mode' changed from 0 to 3
2022-02-12 09:51:40.091 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Overrule' changed from 60 to 59

Finally, trying to manually change the overruletime manually ultimately does not actually change the overruletime value



2022-02-12 09:52:07.209 [DEBUG] [ler.NikoHomeControlThermostatHandler] - handle command 0 for nikohomecontrol:thermostat:ed2796ff61:5eceafb6-5279-486f-9de3-6812e3005563:overruletime
2022-02-12 09:52:07.210 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - execute thermostat overrule 0 during 0 min for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:52:07.211 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - connection state CONNECTED for 10_0_1_71-nikohomecontrol_bridge2_ed2796ff61
2022-02-12 09:52:07.213 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - publish hobby/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"}]}]}]}
2022-02-12 09:52:07.219 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - not acted on received message topic hobby/control/devices/cmd, payload {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Name":"","Uuid":"5eceafb6-5279-486f-9de3-6812e3005563","Technology":"","Identifier":"","Model":"","Type":"","Online":"","Properties":[{"OverruleActive":"False"}]}]}]}
2022-02-12 09:52:07.405 [TRACE] [l.nhc2.NikoHomeControlCommunication2] - received topic hobby/control/devices/evt, payload {"Method":"devices.status","Params":[{"Devices":[{"Properties":[{"OverruleActive":"False"}],"Uuid":"5eceafb6-5279-486f-9de3-6812e3005563"}]}]}
2022-02-12 09:52:07.407 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:52:07.408 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - setting thermostat 5eceafb6-5279-486f-9de3-6812e3005563 with measured 210, setpoint 70, mode 3, overrule 80, overruletime 59, ecosave 0, demand 0
2022-02-12 09:52:07.409 [DEBUG] [trol.internal.protocol.NhcThermostat] - update channels for 5eceafb6-5279-486f-9de3-6812e3005563
2022-02-12 09:52:07.410 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
2022-02-12 09:52:07.412 [TRACE] [trol.internal.protocol.NhcThermostat] - Getting remaining overrule time, remaining: 59
==> /var/log/openhab/events.log <==
2022-02-12 09:52:07.201 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Downstairs_Thermostat_Overrule' received command 0
2022-02-12 09:52:07.208 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Downstairs_Thermostat_Overrule' predicted to become 0
2022-02-12 09:52:07.217 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Overrule' changed from 59 to 0
2022-02-12 09:52:07.420 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Downstairs_Thermostat_Overrule' changed from 0 to 59

Interestingly, at this point any change within openhab to change the thermostat temperature or overruletime results in a change on the niko thermostat. However, any change on the niko thermostat is not then reflected in openhab.

Unless I’m doing something wrong!?

Hope this helps.

@Jorggs Thank you for the logs with good examples. It made it easy to locate the issue. I loaded a new version, trying to fix this. Can you check?

Just done a few tests, this all seems to work now, speedy and impressive! Many thanks.

Unfortunately it says it isn’t correct

I have a question about the item state of a Niko Home Control item.

When I control an action via NHC then the Openhab item receives an state update.
Is there a way to change this in a sendcommand for this item? (without an extra rule).

Reason:
I created an action in NHC that need to trigger a “received command” for this item in another rule (and I can’t change the trigger of this rule to “receive update”).

I am not sure I fully understand what you want to achieve. Normal logic is, you command from the OH side (UI, rules, other items connected to the same channel) and you receive updates from the binding side when something changes in the device. A binding will always send state updates.

Is there a way to let the binding send commends instead of state updates? can this be set form some of the channels/items?

@DaanDW See my question before. I don’t understand what you want to achieve. A binding normally sends state updates, not commands. Command are for communication to the binding.

I’m not sure what you want to achieve either, but from my understanding, I’m going to guess at possible solution, forgive me if I’m completely wrong.

Can you use a virtual device in NHC which is set and then act on that changing within some rule in OH?

I have maybe a weird question, I have changed some settings on my Niko Doorbell, and ofcourse felt to good at the time to take a backup first.

Now I’m running in some issues where the camera of my doorbell stops working, if I restart it, it works again for a few days.

I suspect it is because I use to much system resources (maybe my second stream to my Synology Nas or something)

But I would like to also set my events back as it was, could maybe someone share me a screenshot of their settings, specifically of the following pages:
http:///?m2=Events
http:///?m2=Recording
http:///?m2=Schedules

I would really appreciate it, thanks in advance!

Hi Jo,

I have just upgraded to NHC 2.16.1
After the upgrade it seems i can’t access the videophone anymore on IP:15110

Tried to reboot the controller, but no luck…
nmap port scan is also not showing the port anymore :frowning:

Nmap scan report for xxxxx.iot (x.x.x.x)
Host is up (0.00084s latency).
Not shown: 65526 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
3580/tcp open nati-svrloc
4443/tcp open pharos
5060/tcp open sip
5061/tcp open sip-tls
8883/tcp open secure-mqtt
8884/tcp open unknown

Do you see a similar behaviour?

It looks like you are not alone: see our friends on the HomeAssistant side.