Page 1 of 1
P1 meter vertical resolution steps 60W? (How to decrease to 1W)
Posted: Saturday 13 November 2021 15:21
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:

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!

This makes the graph quite useless.
How can I set this vertical resolution to a normal value, like 1W?
Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)
Posted: Saturday 13 November 2021 15:29
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.
Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)
Posted: Saturday 13 November 2021 15:56
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:

Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)
Posted: Saturday 13 November 2021 16:14
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?
Re: P1 meter vertical resolution steps 60W? (How to decrease to 1W)
Posted: Saturday 13 November 2021 17:57
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.