rvdvoorde / domoticz-homewizard

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

Meter found but not created #37

Open HB787 opened 3 years ago

HB787 commented 3 years ago

Hi @rvdvoorde I am happy with this plugin because I still use the Energylink from the Homewizard as a gateway.

The only issue I have, is the fact that it does not create the solar and water meter but it does find them: As it shows in the log: (HomeWizard) Special Meter found t1 : solar t2 : water

Thanks in advance, Harry

HB787 commented 3 years ago

Hi,

Although there was an upgrade these meters are not created.

Thanks in advance, Harry

reneromme commented 3 years ago

Hi, after the ugrade #36 i still see no names for t1 and t2: 2021-01-23 17:24:04.858 (homewizard) Nr. of Energylinks found: 1 2021-01-23 17:24:04.858 (homewizard) Current Meter has 1 counter 2021-01-23 17:24:04.858 (homewizard) Current T1 value: 2021-01-23 17:24:04.858 (homewizard) Current T2 value: 2021-01-23 17:24:04.858 (homewizard) No special meters found homewizard get-sensors command gives as result: "energylinks": [{"id":0,"favorite":"no","name":"EnergyLink","code":"759794", "t1":"water", "c1":1, "t2":"solar", "c2":103, "tariff":1, i hope you can look into this, thanks in advance, Rero

fgerrits commented 2 years ago

Still no update for this issue ? When i update the following lines in the script (506-510) ` def Energylinks(self, strData):

    global el_tariff
    water = 1
    solar = 1`

then its showing up once

2022-03-19 01:03:02.523 (Homewizard) Received route: /get-sensors 2022-03-19 01:03:02.523 (Homewizard) Started handling get-sensors 2022-03-19 01:03:02.523 (Homewizard) No. of switches found: 33 2022-03-19 01:03:02.527 (Homewizard) Retrieve WindMeter Data: 2022-03-19 01:03:02.527 (Homewizard) No. of thermometers found: 2 2022-03-19 01:03:02.528 (Homewizard) Nr. of Energylinks found: 1 2022-03-19 01:03:02.528 (Homewizard) Current Meter has 1 counter 2022-03-19 01:03:02.528 (Homewizard) Current T1 value: solar 2022-03-19 01:03:02.528 (Homewizard) Current T2 value: water 2022-03-19 01:03:02.528 (Homewizard) Special Meter found t1 : solar t2 : water 2022-03-19 01:03:02.528 (Homewizard) Failed to communicate to system at ip 192.168.1.35 and port 80. Command get-sensors 2022-03-19 01:03:02.528 (Homewizard) Processing 'PollIntervalDirective' message 2022-03-19 01:03:02.528 (Homewizard) Heartbeat interval set to: 15.

The failed communication is strange, because port 80 is open.

It's showing up 1 time after restarting the script in hardware, then the T1 and T2 values are empty again.

2022-03-19 01:03:12.030 (Homewizard) Pushing 'onHeartbeatCallback' on to queue 2022-03-19 01:03:12.050 (Homewizard) Processing 'onHeartbeatCallback' message 2022-03-19 01:03:12.051 (Homewizard) Calling message handler 'onHeartbeat'. 2022-03-19 01:03:12.051 (Homewizard) Sending command: get-status 2022-03-19 01:03:12.240 (Homewizard) Received route: /get-status 2022-03-19 01:03:12.240 (Homewizard) Starting handle route /get-status 2022-03-19 01:03:12.240 (Homewizard) No. of switches found: 29 2022-03-19 01:03:12.243 (Homewizard) Retrieve WindMeter Data: 2022-03-19 01:03:12.244 (Homewizard) No. of thermometers found: 2 2022-03-19 01:03:12.244 (Homewizard) Nr. of Energylinks found: 1 2022-03-19 01:03:12.244 (Homewizard) Current Meter has 1 counter 2022-03-19 01:03:12.244 (Homewizard) Current T1 value: 2022-03-19 01:03:12.244 (Homewizard) Current T2 value: 2022-03-19 01:03:12.244 (Homewizard) No special meters found 2022-03-19 01:03:12.245 (Homewizard) Current Energy usage: 701 2022-03-19 01:03:12.245 (Homewizard) Day total Energy usage: 0.98 2022-03-19 01:03:12.245 (Homewizard) Day Aggregate Energy usage: 0.98 2022-03-19 01:03:12.245 (Homewizard - Electricity) Updating device from 0:'1839469;1492469;52769;140418;701;0' to have values 0:'1839495;1492469;52769;140418;701;0'. 2022-03-19 01:03:12.256 (Homewizard) Update 0:'1839495;1492469;52769;140418;701;0' (Homewizard - Electricity) 2022-03-19 01:03:12.257 (Homewizard) No. of sensors found: 9 2022-03-19 01:03:12.257 (Homewizard) Ended handle route /get-status

The detected switches are then dropped from 33 to 29, also the devices for solar and water are deleted.

Maybe a way to hardcode the T1 as solar and T2 as water, because that are the most values that are used, solar is 90% always on T1.