HomeWizard Wi-Fi P1 Meter does not show power usage of phases

Python and python framework

Moderator: leecollings

Post Reply
freekdk
Posts: 22
Joined: Monday 01 February 2021 16:33
Target OS: Linux
Domoticz version: V2024.7
Location: Netherlands
Contact:

HomeWizard Wi-Fi P1 Meter does not show power usage of phases

Post by freekdk »

I did install the python plugin for the HomeWizard Wi-Fi P1 Meter in Domoticz 2024.6.
After adding the hardware I get 14 devices, among which are power usage for the 3 phases.
However trying to get the graphs of this usage, they show nothing.
When I inspect the data in the table meter for these devices the values of Value, the second element in the row all show 0.
When inspecting these data for Current power usage, i see counter values in these positions.
The graph for this shows Watts in yellow and Wh as blue blocks.
However I would expect the graphs for power usage for the 3 phases to show yellow lines.

Is this a bug?
User avatar
gizmocuz
Posts: 2488
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: HomeWizard Wi-Fi P1 Meter does not show power usage of phases

Post by gizmocuz »

You have to ask the creator of the python plugin, as this is not related to the core Domoticz code and is therefore not a Domoticz bug

And 2024.6 is very old! Time to update, could solve this issue as well
Quality outlives Quantity!
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HomeWizard Wi-Fi P1 Meter does not show power usage of phases

Post by WouterO »

2024.7 (most recent Stable) doesn’t solve the issue as mentioned by the OP. And 2024.6 is not that old.
freekdk
Posts: 22
Joined: Monday 01 February 2021 16:33
Target OS: Linux
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: HomeWizard Wi-Fi P1 Meter does not show power usage of phases

Post by freekdk »

I do have 2024.7. The device creation is done with:
Domoticz.Device(Name="Current phase-1 power usage", Unit=self.active_power_l1_id, Type=243, Subtype=29).Create()
I wonder if adding Options={'EnergyMeterMode': '1' } to this statement should solve the problem.
Adding an entry in table meter is done with:
UpdateDevice(self.active_power_l1_id, 0, numStr(self.active_power_l1_w) + ";0", True),
where numStr removes a dot '.' from the string str(active_power_l1_w).
freekdk
Posts: 22
Joined: Monday 01 February 2021 16:33
Target OS: Linux
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: HomeWizard Wi-Fi P1 Meter does not show power usage of phases

Post by freekdk »

When changing these devices in the Others tab to enable Computed after "Energy read:" brings the required graphs on the screen.

Btw:
the attached patch
plugin.patch.txt
(5.64 KiB) Downloaded 18 times
is needed when you have negative power usage (=production by i.e. a PV installation):
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests