rvdvoorde / domoticz-homewizard

Plugin for Domoticz
http://www.domoticz.com/
GNU General Public License v3.0
12 stars 10 forks source link

Heatlink is not working #10

Closed avdl72 closed 5 years ago

avdl72 commented 6 years ago

I have just installed this plugin and noticed that the Heatlink is not working. The Domoticz log gives the following error: 2017-12-11 11:33:00.728 (Homewizard) No. of Heatlinks found: 1 2017-12-11 11:33:00.729 Error: (Homewizard) Error at setting the heatlink values!

This is the output of get-sensors: "heatlinks": [ { "id": 0, "favorite": "no", "name": "HeatLink", "code": "106897", "pump": "off", "heating": "off", "dhw": "off", "rte": 20.988, "rsp": 21, "tte": 0, "ttm": null, "wp": 6, "wte": 39, "ofc": 0, "odc": 0, "presets": [ { "id": 0, "te": 21 }, { "id": 1, "te": 16 }, { "id": 2, "te": 22 }, { "id": 3, "te": 18 } ]

IvorNL commented 6 years ago

Same error here with heatlink.. Since I can't write Python I made things work in PHP by using the Domoticz API.. But would be nice to see this working!

rvdvoorde commented 6 years ago

Modified the heatlink part, please let me know if it works as expected now.

arjen1985 commented 6 years ago

It not working for me. (Homewizard) No. of Energylinks found: 1 2018-05-17 22:48:06.222 Error: (Homewizard) Error at setting the full energylink values! 2018-05-17 22:48:19.723 (Homewizard) No. of Energylinks found: 3 2018-05-17 22:48:19.731 (Homewizard) Update 0:'1669.761;1701.561;393.72;891.417;0;0' (Homewizard - Electricity) 2018-05-17 22:48:51.230 (Homewizard) No. of Heatlinks found: 1

avdl72 commented 6 years ago

Bij mij werkt het ook nog niet.

2018-05-21 11:49:17.091 (Homewizard) No. of Heatlinks found: 1 2018-05-21 11:49:17.091 (Homewizard) Creating device 'HL Pump'. 2018-05-21 11:49:17.093 (Homewizard) Creating device 'HL Heating'. 2018-05-21 11:49:17.096 (Homewizard) No. of Energylinks found: 1 2018-05-21 11:49:17.097 Error: (Homewizard) Error at setting the full energylink values!

De waardes van elektriciteit en gas kloppen nog steeds niet.

2018-05-21 11:54:08.762 (Homewizard) No. of Energylinks found: 3 2018-05-21 11:54:08.762 (Homewizard - Electricity) Updating device from 0:'3647.606;3924.921;704.466;1577.83;0;0' to have values 0:'3647.606;3924.921;704.518;1577.83;0;0'. 2018-05-21 11:54:08.772 (Homewizard) Update 0:'3647.606;3924.921;704.518;1577.83;0;0' (Homewizard - Electricity)

En de Heatlink werkt ook niet. Deze wordt aangemaakt als HL Heating schakelaar, en als je die indrukt dan krijg je dit: 2018-05-21 11:55:38.422 User: Admin initiated a switch command (3664/Homewizard - HL Heating/On) 2018-05-21 11:55:38.423 (Homewizard) Pushing 'onCommandCallback' on to queue 2018-05-21 11:55:38.441 (Homewizard) Processing 'onCommandCallback' message 2018-05-21 11:55:38.442 (Homewizard) Calling message handler 'onCommand'. 2018-05-21 11:55:38.442 (Homewizard) onCommand called for Unit 127: Parameter 'On', Level: 0 2018-05-21 11:55:38.442 Error: (Homewizard) 'onCommand' failed 'KeyError'. 2018-05-21 11:55:38.442 Error: (Homewizard) ----> Line 646 in /home/pi/domoticz/plugins/domoticz-homewizard/plugin.py, function onCommand 2018-05-21 11:55:38.443 Error: (Homewizard) ----> Line 330 in /home/pi/domoticz/plugins/domoticz-homewizard/plugin.py, function onCommand