P1 smartmeter presentation issues

Moderator: leecollings

Post Reply
krej
Posts: 8
Joined: Saturday 19 January 2019 16:19
Target OS: Linux
Domoticz version:
Contact:

P1 smartmeter presentation issues

Post by krej »

I'm feeding production/consumption data from a Fronius Smartmeter into a virtual P1 SmartMeter device in Domoticz. I see several issues with the presentation of data.

I feed positive values for CONS and PROD to the device, still it displays negative values on the dashboard for CONS-umption.

Image

Checking the database, the values are indeed positive, (3146 and 1206), and should be displayed as such.

sqlite> select * from multimeter where devicerowid=505 order by date desc limit 10;
505|9941083|15412669|3146|1206|0|0|2021-01-17 11:50:00

Second problem; the log graph of the P1 have incorrect units. This graph:

Image

shows the the values for CONS-umed and PROD-uced power, however the unit for the blue (CONS) graph is incorrectly Wh - it should be Watt and plotted using the same scale as PROD.

The description "Energy usage" is also wrong, it's not energy but power that is graphed. I suggest that the label is changed to "Usage 1".
ccaru
Posts: 49
Joined: Tuesday 05 March 2019 16:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 smartmeter presentation issues

Post by ccaru »

I am also attempting to update a P1 Virtual meter and having somewhat similar issues.
The documentation states the following:
updateP1(usage1, usage2, return1, return2, cons, prod)
My meter for some reason doesn't distinguish 2 rates (it reports 1.8.0 only not 1.8.1/1.8.2), so I am updating as following:
usage1 = Total KWh on meter (1.8.0)
usage2 = 0
return1 = Total Kwh return (not important for me as i don't generate anything and this is basically 0)
return2 = 0
cons = current consumption in W
prod = 0

the chart that is being generated is not looking right
Log.jpg
Log.jpg (51 KiB) Viewed 514 times
I could not find any further documentation that verifies whether I have set up these parameters correctly. Today I am trying to switch them around, but if there is anybody out there who can shed some light what usage1 and cons should be, and what are the units expected, it would be great.
RFXCom, Somfy RTS, 433Mhz Lighting, Evohome, Smart watering via Netatmo, solenoid valves, soil humidity sensors, Airthings Radon via bluetooth, Marley heat recovery fresh air units, Blue Iris, Alexa via DA Bridge.
ccaru
Posts: 49
Joined: Tuesday 05 March 2019 16:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 smartmeter presentation issues

Post by ccaru »

The issue above was due to the fact i was sending KWH in the first set (Usage1/2) but W for PROD/CONS. Now I changed to WH and entered a divider of 1000 in Domoticz Setup and it seems to display better.
RFXCom, Somfy RTS, 433Mhz Lighting, Evohome, Smart watering via Netatmo, solenoid valves, soil humidity sensors, Airthings Radon via bluetooth, Marley heat recovery fresh air units, Blue Iris, Alexa via DA Bridge.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest