Depuis Domoticz 2024.7 (du moins je le pense), la valeur de puissance instantanée affichée par le widget P1 Meter- Total Power Usage est 10x trop élevée. J'ai comparé avec le chiffre renvoyé par mon compteur (page web http://192.168.1.17/api/v1/data)
Tandis que Domoticz affiche 7620 W
Le compteur renvoi : (la puissance instantanée est "active_power_w")
{"wifi_ssid":"HOME","wifi_strength":38,"smr_version":50,"meter_model":"Fluvius 253769484_A","unique_id":"3153414733313030363531333635","active_tariff":1,"total_power_import_kwh":4545.117,"total_power_import_t1_kwh":2179.446,"total_power_import_t2_kwh":2365.671,"total_power_export_kwh":3615.351,"total_power_export_t1_kwh":2512.603,"total_power_export_t2_kwh":1102.748,"active_power_w":762.000,"active_power_l1_w":472.000,"active_power_l2_w":102.000,"active_power_l3_w":187.000,"active_voltage_l1_v":231.300,"active_voltage_l2_v":225.100,"active_voltage_l3_v":229.800,"active_current_a":4.950,"active_current_l1_a":2.560,"active_current_l2_a":0.950,"active_current_l3_a":1.440,"active_power_average_w":99.000,"montly_power_peak_w":3828.000,"montly_power_peak_timestamp":240913153000,"external":[]}
Quelqu'un peut-il m'indiquer où se trouve le code du plugin ?
Merci
Plugin Homewizard Wifi P1 meter erreur décodage
Moderator: leecollings
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Plugin Homewizard Wifi P1 meter erreur décodage
This is an English forum so please react in English!!!
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 30
- Joined: Saturday 01 July 2017 12:48
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Plugin Homewizard Wifi P1 meter erreur décodage
Usage power shows not right value multyple by 10
I change in plugin
self.active_power_w = Data['active_power_w']
self.active_power_w = (Data['active_power_w'] / 10)
Now is shows right value
I change in plugin
self.active_power_w = Data['active_power_w']
self.active_power_w = (Data['active_power_w'] / 10)
Now is shows right value
-
- Posts: 40
- Joined: Sunday 14 May 2023 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Plugin Homewizard Wifi P1 meter erreur décodage
This occurs after a firmware update of the Homewizard P1 meter.
There is an improved version of the python plugin around that also repairs the error at:
https://github.com/gettevan/HomeWizard-Wifi-p1-plugin
I contacted the original programmer Eraser3 but he didn’t react.
There is an improved version of the python plugin around that also repairs the error at:
https://github.com/gettevan/HomeWizard-Wifi-p1-plugin
I contacted the original programmer Eraser3 but he didn’t react.
-
- Posts: 5
- Joined: Monday 19 February 2024 13:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Plugin Homewizard Wifi P1 meter erreur décodage
I install the new plugin It works fine. Thank you and sorry for may post in french
Re: Plugin Homewizard Wifi P1 meter erreur décodage
I did a Git Pull; updated the plugin to it's latest version; but the value didn't change. Updates the plugin.py manually as described, after that it was working OK.
Re: Plugin Homewizard Wifi P1 meter erreur décodage
According to https://github.com/Eraser3/HomeWizard-W ... 2241626357 Eraser3 moved away from domoticz. It seems we should be continuing this very useful plugin with gettevan's fork at https://github.com/gettevan/HomeWizard- ... /tree/main.WouterO wrote: ↑Sunday 22 September 2024 13:23 This occurs after a firmware update of the Homewizard P1 meter.
There is an improved version of the python plugin around that also repairs the error at:
https://github.com/gettevan/HomeWizard-Wifi-p1-plugin
I contacted the original programmer Eraser3 but he didn’t react.
Part of the problem of the factor 10 is due to the function `numStr()` which just removes a comma from a resulting value to string conversion.
Instead it should break the string after the comma. Now we use int types there is no comma anymore, but that is not clear from the `numStr` interface.
I'll put this comment in the github code as well.
Who is online
Users browsing this forum: No registered users and 0 guests