Closed feelingwalnut closed 10 months ago
using the second example, it now appears accurate.
[18:00:50][D][Vue:264]: Meter Divisor: 1 [18:00:50][D][Vue:265]: Meter Cost Unit: 1000 [18:00:50][D][Vue:266]: Meter Flags: 31 33 [18:00:50][D][Vue:267]: Meter Energy Flags: 00 [18:00:50][D][Vue:268]: Meter Power Flags: 00 [18:00:50][D][Vue:270]: Meter Timestamp: 157472 [18:00:50][D][Vue:271]: Meter Energy: 3060.725kWh [18:00:50][D][Vue:272]: Meter Power: 1280W
watts = ((float)watts_raw 40) (float)meter_div; also watt_hours = ((float)watt_hours_raw 40) (float)meter_div;
in domoticz you need to remove your logging history or wait 24hr as the multiplier will make that day's kwh usage crazy high.
i... could probably describe that better. both the original emporia firmware and this replacement firmware will read from the meter properly but the meter itself only displays 1/40th of the billed/consumed power.
take difference from one point in time to the next, multiply by 40 and you get your kwh. i'm trying to figure out if the change is as simple as watt_hours = (float)watt_hours_raw (float)meter_div; to watt_hours = (float)watt_hours_raw 40; or watt_hours = (float)watt_hours_raw (float)meter_div 40; since meter_div shows 1.
or if i am waaay off.
Thank you