Closed brent20 closed 6 years ago
This gets a bit complicated...
The 5 minute measurement is average usage in watts (as reported by the latest interval in the IDM message, in 100th of kWh. times 10 to get in Wh, times 12 because 5 minutes is 1/12 of an hour). So the unit of measure as W is more appropriate?
The power meter is current meter reading as transmitted by the meter... in 100ths of kWh or 10Wh... at least that's the case as observed on my meter. I have no idea what's appropriate to call this. I'm not sure graphing it is very beneficial as it'll just trend up more sharply during heavier usage.
I'm thinking it might be better to specify a multiplier in the settings and correct the units before sending over MQTT. Below is my meter and how I determined the multiplier.
Thanks @brent20! As of 14998e3 it should correct units before sending to MQTT.
Added
unit_of_measurement
to Home Assistant example. This will allow graphs to be generated from the sensor data