Eraser3 / HomeWizard-Wifi-p1-plugin

A Python plugin for Domoticz that creates several devices for the HomeWizard Wifi p1 meter
11 stars 5 forks source link

Error: Homewizard Elmätare Huset: Failed to read response data #9

Open Empha88 opened 7 months ago

Empha88 commented 7 months ago

Im getting this error when adding the Hardware. Local API is enabled. What can be the issue? Updated the P1 meter to 5.05

Empha88 commented 7 months ago

if i go to http://192.168.32.30/api/v1/data i can read all the data.

Empha88 commented 7 months ago

"wifi_ssid":"TELIA4G", "wifi_strength":24, "meter_model":"ELL5\253926427_A", "unique_id":"blurred", "total_power_import_kwh":10425.198, "total_power_import_t1_kwh":10425.198, "total_power_export_kwh":0.159, "total_power_export_t1_kwh":0.159, "active_power_w":1756, "active_power_l1_w":167, "active_power_l2_w":1434, "active_power_l3_w":153, "active_voltage_l1_v":231.9, "active_voltage_l2_v":230.1, "active_voltage_l3_v":232.5, "active_current_l1_a":0.9, "active_current_l2_a":6.2, "active_current_l3_a":0.9, "external":[ ]

gettevan commented 2 months ago

Hi, I am new here, so i am probably doing not everything right. The plugin seems to have an issue with when the power meter does not report a t2 total_power, like in Sweden for certain providers. I created a fork which solves this problem. If you can, try it out please. I'm not used to python, so the way I solved it may not be very elegent, but it does the trick for me. I noticed that the reported Power values in Watt appear to be 10 times higher than the reality. But that is for later.

gettevan commented 2 months ago

Also fixed for the multiplication by 10 in domoticz, see my branch.