P1 meter vertical resolution steps 60W? (How to decrease to 1W)

Moderator: leecollings

Post Reply
User avatar
andrehj
Posts: 45
Joined: Sunday 06 January 2019 14:26
Target OS: -
Domoticz version:
Contact:

P1 meter vertical resolution steps 60W? (How to decrease to 1W)

Post by andrehj »

When I zoom in to the graph of today's electricity consumption, I see that there are big jumps in the graph of exactly 60W.
So somehow it rounds the consumption to multiples of 60W:
Image
The actual consumption tile (in my Dashboard) works fine.

I also created a P1 meter device for my PV installation (which I update with a script). Here the resolution is even worse, now the steps are 600W! :shock: This makes the graph quite useless.
Image

How can I set this vertical resolution to a normal value, like 1W?
Last edited by andrehj on Saturday 13 November 2021 15:29, edited 1 time in total.
User avatar
waltervl
Posts: 5854
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)

Post by waltervl »

I do not see this rounding behavior on my system. I have random values. Are you sure Domoticz is not really receiving these values somehow? You can perhaps check the log files.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
andrehj
Posts: 45
Joined: Sunday 06 January 2019 14:26
Target OS: -
Domoticz version:
Contact:

Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)

Post by andrehj »

waltervl wrote: Saturday 13 November 2021 15:29 I do not see this rounding behavior on my system. I have random values. Are you sure Domoticz is not really receiving these values somehow? You can perhaps check the log files.
No, the actual values received are OK, with 1W resolution, like they should be:
Image
User avatar
andrehj
Posts: 45
Joined: Sunday 06 January 2019 14:26
Target OS: -
Domoticz version:
Contact:

Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)

Post by andrehj »

I think I already found the answer in this message:
Domoticz doesn't seem to use the Watts values for the graph, but it simply calculates the average from the total values.
The resolution of these total values is in 1 Wh. And with a horizontal resolution of 1 minute, this leads to a vertical resolution of 60W. I can reduce that to 12W, if I set my horizontal resolution back to 5 minutes, but that's not what I want for my other graphs..

This also explains the 600W vertical resolution of my PV system. The data come from an ABB power meter, with an output resolution of only 0.01 kWh (10 Wh).

The P1 meter should simply average the values of the last minute for the power graphs...

Only one question remains for @Waltervl above: How can you have random values? Are you sure they are not multiples of 12?
Last edited by andrehj on Sunday 14 November 2021 10:04, edited 1 time in total.
User avatar
waltervl
Posts: 5854
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)

Post by waltervl »

andrehj wrote: Saturday 13 November 2021 16:14 The P1 meter should simply average the values of the last minute for the power graphs...

Only one question remains for @Waltervl above: How can you have random values? Are you sure they are not multiples of 12?
You are right, when looking more in detail I see it are multiplies of 12. I see this on my test system where I fill this P1 device with a DzVents script just to have some data. I do not have a P1 on my production system.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest