Niko Home Control II

I downloaded your link, put it in the addons folder, wait for a minute so it is picked up and get the same error. Or should I really restart the binding entirely? Current version:

191 │ Active │ 80 │ 2.5.0.201901082011 │ Niko Home Control Binding

2019-01-08 21:44:31.008 [ERROR] [ansport.mqtt.internal.ClientCallback] - MQTT message received. MqttMessageSubscriber#processMessage() implementation failure
java.lang.NumberFormatException: For input string: "False"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:?]
	at java.lang.Integer.parseInt(Integer.java:580) ~[?:?]
	at java.lang.Integer.valueOf(Integer.java:766) ~[?:?]
	at org.openhab.binding.nikohomecontrol.internal.protocol.nhc2.NikoHomeControlCommunication2.updateThermostatState(NikoHomeControlCommunication2.java:527) ~[?:?]
	at org.openhab.binding.nikohomecontrol.internal.protocol.nhc2.NikoHomeControlCommunication2.devicesListRsp(NikoHomeControlCommunication2.java:391) ~[?:?]
	at org.openhab.binding.nikohomecontrol.internal.protocol.nhc2.NikoHomeControlCommunication2.processMessage(NikoHomeControlCommunication2.java:674) ~[?:?]
	at org.eclipse.smarthome.io.transport.mqtt.internal.ClientCallback.lambda$3(ClientCallback.java:90) ~[204:org.eclipse.smarthome.io.transport.mqtt:0.11.0.201901030053]
	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:?]
	at org.eclipse.smarthome.io.transport.mqtt.internal.ClientCallback.messageArrived(ClientCallback.java:90) [204:org.eclipse.smarthome.io.transport.mqtt:0.11.0.201901030053]
	at org.eclipse.paho.client.mqttv3.internal.CommsCallback.deliverMessage(CommsCallback.java:499) [200:org.eclipse.paho.client.mqttv3:1.2.0]
	at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:402) [200:org.eclipse.paho.client.mqttv3:1.2.0]
	at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:206) [200:org.eclipse.paho.client.mqttv3:1.2.0]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

No, you did the right thing. But the error is in another line in the code, so a different, but very similar one. :expressionless:

Ha sorry, you are right. Apologies for providing the wrong intel. Close but no cigar then :wink:

@cwegh @blatruwe The latest version should get over this next error.

I just loaded the latest version from your dropbox link, but the error was the same as @cwegh, is this the latest version?

204 │ Active │ 80 │ 2.5.0.201901082011 │ Niko Home Control Binding

No, it isn’t there should be a newer one.

This is the latest one:

238 │ Active │ 80 │ 2.5.0.201901090801

I can confirm the binding is online and discovered 39 things! Great job @Mherwege! I’ll let you know if I get any errors.

What do you need for the energy monitoring?

It would be helpful to enable the TRACE log in the karaf console:

log:set TRACE org.openhab.binding.nikohomecontrol

Then, perform a few actions in your touchscreen (or app on your phone) inside the energy panel. Please try to describe all steps you perform in the correct order and post the logs here if you want. (openhab.log & events.log).

I’ll see what I can brew.

Extra question, you do not discover switched power outlets, correct?

PS: I use advanced actions for steering my ventilation unit using a 0-10V module. These are discovered as push buttons.

@cwegh

What Niko article numbers do you have for switched power outlets?

For the ventilation buttons, you will probably see something like this in the logs:

{“Properties”:[{“BasicState”:“Off”}],“Name”:“Vrije start/stop actie 1”,“Technology”:“nikohomecontrol”,“Uuid”:“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,“Identifier”:“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,“PropertyDefinitions”:[{ “BasicState”:{“Description”:“Choice(On,Off,Triggered)” ,“HasStatus”:“true”,“CanControl”:“true”}}],“Online”:“True”, “Model”:“generic” ,“Traits”:[],“Type”:“action”,“Parameters”:[{“LocationId”:“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”},{“LocationName”:“Home”},{“LocationIcon”:“attic”}]}

If these actions are of the generic type, they should be supported but we haven’t tested them. You are welcome to clarify your functions and explain what they do, accompanied by a corresponding log.

If you switched power outlets are connected to a module like this, they should be detected as a normal switch in OH.

https://www.niko.eu/nlbe/artikel/550-00106

I just use standard buttons or through the app, I do not use the specific ventilation buttons. I was just mentioning this since I now can completely control my ventilation unit from OpenHAB.

It are the standard power outlets (https://www.niko.eu/enus/article/170-33100), controlled via the switching module (https://www.niko.eu/enus/article/550-00103 or https://www.niko.eu/enus/article/550-00106).

What also would be nice is to have the motion detectors discovered (https://www.niko.eu/enus/article/550-20210 or https://www.niko.eu/enus/article/550-20200 or https://www.niko.eu/enus/article/550-20220). Is that possible?

OK, well that is not the case then.

Ok, can you just delete the openhab.log and events.log in /var/log/openhab2 and restart the server or OH service. The output of your switching module is probably not defined as a “light” in the NHC2 software. It will have another “tag”.

Please send your fresh logs to Mark.

For the PIR sensors, we also need logs to investigate as Mark and I don’t have such things (yet).

Yep found them in the log all the things not discovered. Some of them are also switches. I notice now I did a bad job in naming consistency :slight_smile:

> 2019-01-09 20:41:39.113 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for a752abde-53da-4f06-8a50-68f7cec7bdfa Stopcontact eetkamer
> 2019-01-09 20:41:39.116 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for a21c6705-24dc-4a3b-8d55-a7d04a539628 Stopc living perma
> 2019-01-09 20:41:39.118 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 9cdc8760-49d7-4d75-ad65-f6287b6a77de Stopc zetelhoek
> 2019-01-09 20:41:39.125 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 4ce25196-83d2-4cda-8465-da04c046e4d7 Bedlamp E
> 2019-01-09 20:41:39.126 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 51ddea75-e5c1-4ef9-af12-c9cef4bdd6b2 Licht achterinkom
> 2019-01-09 20:41:39.131 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for bac5273b-759f-49c9-8cce-878a05fde534 Licht technische ruimte
> 2019-01-09 20:41:39.134 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 3383c620-2ca6-4bce-8462-efb55b0165d0 Stopc tuin
> 2019-01-09 20:41:39.138 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for fe738802-d986-4481-9e3f-431a350c41e7 Stopc. bureaulamp
> 2019-01-09 20:41:39.150 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 36775ffe-5ae9-464e-908f-48826468311d Licht wasplaats
> 2019-01-09 20:41:39.151 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 4fd8fd62-abe9-4e95-a74c-8ccd4e50ad71 Bedlamp C
> 2019-01-09 20:41:39.152 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 6317cfda-8769-4913-ae33-eed513e4fd6e Stopc naast zetel
> 2019-01-09 20:41:39.153 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: unrecognized action type GENERIC for 803cccac-55be-490e-8fc8-c003e244b8f7 Sonos

@cwegh you should find a pretty long message in the openhab.log file just after the binding start that shows the full response to the devices.list command. That will list erverything I can find out about your devices. I create actions, thermostats or pushbutton devices based on the model type (and I ignore some). I can investigate why your devices are not showing up based on that info.
You can send me a direct message with this log if you want, to avoid listing you uuid in the log.

After a bit of struggling my installation came back online. Thermostat is now discovered. In openhab I can see now the 4 channels associated with my device. Measured shows the current temperature. In mode I can see the different modes which are present on the thermostat. And there is the temp and time to override the current mode.

Reading out the current settings seems to work fine. Sending commands does not yet seem to work.

2019-01-09 23:33:52.910 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - Niko Home Control: NHC II bridge found at /192.168.123.184
2019-01-09 23:34:20.317 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: thermostat intialized d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-09 23:34:29.874 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:measured
2019-01-09 23:34:36.573 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:mode
2019-01-09 23:34:41.180 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:setpoint
2019-01-09 23:34:46.150 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:overruletime
2019-01-09 23:35:07.517 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 15 for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:overruletime
2019-01-09 23:35:07.527 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat overrule 0 during 15 min for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-09 23:35:07.533 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-09 23:35:07.537 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish e4f19813-555e-494b-8306-c735dde10860/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[
{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"OverruleActive":"True","OverruleSetpoint":"0","OverruleTime":"15"}]}]}]}
2019-01-09 23:35:11.681 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 22 °C for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:setpoint
2019-01-09 23:35:11.698 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat overrule 220 during 60 min for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-09 23:35:11.707 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-09 23:35:11.717 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish e4f19813-555e-494b-8306-c735dde10860/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[
{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"OverruleActive":"True","OverruleSetpoint":"22","OverruleTime":"60"}]}]}]}
2019-01-09 23:39:19.429 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 5 for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:overruletime
2019-01-09 23:39:19.439 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat overrule 0 during 5 min for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-09 23:39:19.449 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-09 23:39:19.461 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish e4f19813-555e-494b-8306-c735dde10860/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[
{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"OverruleActive":"True","OverruleSetpoint":"0","OverruleTime":"5"}]}]}]}
2019-01-09 23:39:20.721 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 22 °C for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:setpoint
2019-01-09 23:39:20.732 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat overrule 220 during 60 min for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-09 23:39:20.746 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-09 23:39:20.757 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish e4f19813-555e-494b-8306-c735dde10860/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[
{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"OverruleActive":"True","OverruleSetpoint":"22","OverruleTime":"60"}]}]}]}
2019-01-09 23:39:48.986 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 3 for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:mode
2019-01-09 23:39:48.995 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat mode 3 for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-09 23:39:49.011 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-09 23:39:49.018 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish e4f19813-555e-494b-8306-c735dde10860/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[
{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"Program":"Off","OverruleActive":"False"}]}]}]}

@blatruwe I loaded a new version. Get me a log of the behaviour, even if it works as expected. I want to see what is being sent and received exactly.

with the latest version, trying to change temperature and mode

2019-01-10 17:24:01.868 [DEBUG] [org.openhab.binding.nikohomecontrol ] - BundleEvent [unknown:512] - org.openhab.binding.nikohomecontrol
2019-01-10 17:24:01.895 [DEBUG] [org.openhab.binding.nikohomecontrol ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=123, service.bundleid=201, service.scope=bundle, component.name=org.openhab.binding.nikohomecontrol.internal.NikoHomeControlHandlerFactory, component.id=15} - org.openhab.binding.nikohomecontrol
2019-01-10 17:24:02.295 [DEBUG] [org.openhab.binding.nikohomecontrol ] - BundleEvent STARTING - org.openhab.binding.nikohomecontrol
2019-01-10 17:24:02.301 [DEBUG] [org.openhab.binding.nikohomecontrol ] - BundleEvent STARTED - org.openhab.binding.nikohomecontrol
2019-01-10 17:24:03.489 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - Niko Home Control: bridge discovery service started
2019-01-10 17:24:03.492 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - Niko Home Control: Start background bridge discovery
2019-01-10 17:24:03.498 [DEBUG] [org.openhab.binding.nikohomecontrol ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=154, service.bundleid=201, service.scope=bundle, component.name=org.openhab.binding.nikohomecontrol.internal.discovery.NikoHomeControlBridgeDiscoveryService, component.id=14} - org.openhab.binding.nikohomecontrol
2019-01-10 17:24:03.505 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - Niko Home Control: discovery broadcast on 192.168.123.255
2019-01-10 17:24:03.527 [DEBUG] [nal.protocol.NikoHomeControlDiscover] - Niko Home Control: IP address is /192.168.123.184, unique ID is 443b00ee4b2a
2019-01-10 17:24:03.529 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - Niko Home Control: NHC II bridge found at /192.168.123.184
2019-01-10 17:24:04.486 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-01-10 17:24:04.531 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-01-10 17:24:14.123 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-01-10 17:24:15.331 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'nikohomecontrol:bridge2:443b00ee4b2a' to inbox.
2019-01-10 17:24:15.588 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: discovery service org.openhab.binding.nikohomecontrol.internal.handler.NikoHomeControlBridgeHandler2@15f80e6
2019-01-10 17:24:15.592 [DEBUG] [org.openhab.binding.nikohomecontrol ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=308, service.bundleid=201, service.scope=singleton} - org.openhab.binding.nikohomecontrol
2019-01-10 17:24:16.260 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.123.204:8080
2019-01-10 17:24:16.263 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.123.204:8443
2019-01-10 17:24:17.181 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2019-01-10 17:24:33.576 [DEBUG] [andler.NikoHomeControlBridgeHandler2] - Niko Home Control: initializing NHC II bridge handler
2019-01-10 17:24:33.579 [DEBUG] [andler.NikoHomeControlBridgeHandler2] - Niko Home Control: touch profile openhab
2019-01-10 17:24:33.583 [DEBUG] [andler.NikoHomeControlBridgeHandler2] - Niko Home Control: clientid 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a, userdata folder /var/lib/openhab2
2019-01-10 17:24:33.605 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: base persistence path set to /var/lib/openhab2/nikohomecontrol
2019-01-10 17:24:33.633 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: initializing for mqtt connection to CoCo on 192.168.123.184:8883
2019-01-10 17:24:33.646 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: persistence path set to /var/lib/openhab2/nikohomecontrol/127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-public
2019-01-10 17:24:33.781 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '192.168.123.184' with clientid 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-public and file store '/var/lib/openhab2/nikohomecontrol/127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-public'
2019-01-10 17:24:34.109 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-public
2019-01-10 17:24:34.112 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish public/system/cmd, {"Method":"systeminfo.publish","ErrCode":"","ErrMessage":""}
2019-01-10 17:24:34.120 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-public
2019-01-10 17:24:34.121 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish public/authentication/cmd, {"Method":"profiles.list","ErrCode":"","ErrMessage":""}
2019-01-10 17:24:34.181 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: received topic public/system/rsp, payload {"Method":"systeminfo.publish","Params":[{"SystemInfo":[{"LastConfig":"20190110162113","WaterTariff":"0","Currency":"EUR","Units":"0","Language":"NL","SWversions":[{"NhcVersion":"2.3.2.8931"},{"CocoImage":"2018.3-20181121105246"}],"ElectricityTariff":"0","GasTariff":"0"}]}]}
2019-01-10 17:24:34.187 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: received topic public/authentication/rsp, payload {"Method":"profiles.list","Params":[{"Profiles":[{"Name":"openhab","Type":"Touch","Uuid":"4faaca81-4034-494d-afc3-b7d2c676039f"},{"Name":"default","Type":"Touch","Uuid":"4cb93514-6414-4efb-93c7-def2b6ff5eb2"},{"Name":"test","Type":"Touch","Uuid":"e4f19813-555e-494b-8306-c735dde10860"}]}]}
2019-01-10 17:24:34.220 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: persistence path set to /var/lib/openhab2/nikohomecontrol/127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:34.253 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '192.168.123.184' with clientid 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile and file store '/var/lib/openhab2/nikohomecontrol/127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile'
2019-01-10 17:24:34.451 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:34.453 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish 4faaca81-4034-494d-afc3-b7d2c676039f/authentication/cmd, {"Method":"services.list","ErrCode":"","ErrMessage":""}
2019-01-10 17:24:34.455 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:34.457 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish 4faaca81-4034-494d-afc3-b7d2c676039f/control/devices/cmd, {"Method":"devices.list","ErrCode":"","ErrMessage":""}
2019-01-10 17:24:34.460 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:34.462 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish 4faaca81-4034-494d-afc3-b7d2c676039f/control/locations/cmd, {"Method":"locations.list","ErrCode":"","ErrMessage":""}
2019-01-10 17:24:34.464 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:34.467 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish 4faaca81-4034-494d-afc3-b7d2c676039f/notification/cmd, {"Method":"notifications.list","ErrCode":"","ErrMessage":""}
2019-01-10 17:24:34.467 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: received topic 4faaca81-4034-494d-afc3-b7d2c676039f/authentication/rsp, payload {"Method":"services.list","Params":[{"Services":[{"Name":"control"},{"Name":"authentication"},{"Name":"system"}]}]}
2019-01-10 17:24:35.234 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: received topic 4faaca81-4034-494d-afc3-b7d2c676039f/control/devices/rsp, payload {"Method":"devices.list","Params":[{"Devices":[{"Properties":[{"OverruleActive":"False"},{"SetpointTemperature":"14.00"},{"OverruleSetpoint":"20.00"},{"OverruleTime":"60"},{"Program":"Night"},{"EcoSave":"False"},{"Demand":"None"},{"AmbientTemperature":"15.50"}],"Name":"Thermostaat Living","Technology":"nikohomecontrol","Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Identifier":"bc668b6b-997e-4a51-b800-3ece94e3f574","PropertyDefinitions":[{"OverruleActive":{"Description":"Boolean","HasStatus":"true","CanControl":"true"}},{"SetpointTemperature":{"Description":"Range(5.00,30.00,0.50)","HasStatus":"true","CanControl":"false"}},{"OverruleSetpoint":{"Description":"Range(5.00,30.00,0.50)","HasStatus":"true","CanControl":"true"}},{"OverruleTime":{"Description":"Range(1.00,1439.00,1.00)","HasStatus":"true","CanControl":"true"}},{"Program":{"Description":"Choice(Day,Night,Eco,Off,Cool,Prog1,Prog2,Prog3)","HasStatus":"true","CanControl":"true"}},{"EcoSave":{"Description":"Boolean","HasStatus":"true","CanControl":"true"}},{"Demand":{"Description":"Choice(Heating,Cooling,None)","HasStatus":"true","CanControl":"false"}},{"AmbientTemperature":{"Description":"Range(-5.00,45.00,0.50)","HasStatus":"true","CanControl":"false"}}],"Online":"True","Model":"thermostat","Traits":[{"MacAddress":"004a1036"}],"Type":"thermostat","Parameters":[{"LocationId":"68d0600a-d31d-495e-bda1-d930c6eab29f"},{"LocationName":"Living"},{"LocationIcon":"general"}]}]}]}
2019-01-10 17:24:35.247 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: adding thermostatdevice Thermostaat Living
2019-01-10 17:24:35.271 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: setting thermostat d4187ab8-194b-492e-9770-6d1e986134f9 with measured 155, setpoint 140, mode 1, overrule 0, overruletime 0, ecosave 0
2019-01-10 17:24:35.272 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: Communication start complete.
2019-01-10 17:24:35.277 [DEBUG] [handler.NikoHomeControlBridgeHandler] - Niko Home Control: restart bridge connection every 300 min
2019-01-10 17:24:35.283 [DEBUG] [very.NikoHomeControlDiscoveryService] - Niko Home Control: getting devices on 443b00ee4b2a
2019-01-10 17:24:35.290 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9' to inbox.
2019-01-10 17:24:38.726 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: thermostat intialized d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-10 17:24:38.772 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:measured
2019-01-10 17:24:38.785 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:mode
2019-01-10 17:24:38.792 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:setpoint
2019-01-10 17:24:38.794 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command REFRESH for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:overruletime
2019-01-10 17:24:46.200 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 0 for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:mode
2019-01-10 17:24:46.205 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat mode 0 for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-10 17:24:46.209 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:46.212 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish 4faaca81-4034-494d-afc3-b7d2c676039f/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"Program":"Day","OverruleActive":"False"}]}]}]}
2019-01-10 17:24:46.756 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: received topic public/system/evt, payload {"Method":"time.published","Params":[{"TimeInfo":[{"GMTOffset":"3600","Timezone":"Europe/Brussels","IsDST":"0","UTCTime":"20190110162446"}]}]}
2019-01-10 17:24:46.760 [DEBUG] [l.nhc2.NikoHomeControlCommunication2] - Niko Home Control: received topic 4faaca81-4034-494d-afc3-b7d2c676039f/system/evt, payload {"Method":"time.published","Params":[{"TimeInfo":[{"GMTOffset":"3600","Timezone":"Europe/Brussels","IsDST":"0","UTCTime":"20190110162446"}]}]}
2019-01-10 17:24:58.482 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 60 for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:overruletime
2019-01-10 17:24:58.487 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat overrule 140 during 60 min for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-10 17:24:58.493 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:58.496 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish 4faaca81-4034-494d-afc3-b7d2c676039f/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"OverruleActive":"True","OverruleSetpoint":"14","OverruleTime":"60"}]}]}]}
2019-01-10 17:24:58.905 [DEBUG] [ler.NikoHomeControlThermostatHandler] - Niko Home Control: handle command 18 °C for nikohomecontrol:thermostat:443b00ee4b2a:d4187ab8-194b-492e-9770-6d1e986134f9:setpoint
2019-01-10 17:24:58.910 [DEBUG] [nternal.protocol.nhc2.NhcThermostat2] - Niko Home Control: execute thermostat overrule 180 during 60 min for d4187ab8-194b-492e-9770-6d1e986134f9
2019-01-10 17:24:58.915 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: connection state CONNECTED for 127_0_1_1-nikohomecontrol_bridge2_443b00ee4b2a-profile
2019-01-10 17:24:58.920 [DEBUG] [nal.protocol.nhc2.NhcMqttConnection2] - Niko Home Control: publish 4faaca81-4034-494d-afc3-b7d2c676039f/control/devices/cmd, {"Method":"devices.control","ErrCode":"","ErrMessage":"","Params":[{"Devices":[{"Uuid":"d4187ab8-194b-492e-9770-6d1e986134f9","Properties":[{"OverruleActive":"True","OverruleSetpoint":"18","OverruleTime":"60"}]}]}]}
2019-01-10 17:25:03.546 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - Niko Home Control: discovery broadcast on 192.168.123.255
2019-01-10 17:25:03.556 [DEBUG] [nal.protocol.NikoHomeControlDiscover] - Niko Home Control: IP address is /192.168.123.184, unique ID is 443b00ee4b2a
2019-01-10 17:25:03.560 [DEBUG] [ikoHomeControlBridgeDiscoveryService] - Niko Home Control: NHC II bridge found at /192.168.123.184