Using a photosensor attached to an ESP8266 to count the pulses on my meter. Previous meter was 1000 pulses /kWh. Had a new meter fitted, this counts at 4000 pulses /kWh.
Meter counter is showing between 6am and 7am today a usage no higher than 0.22kWh for the entire hour - but the energy dashboard is showing 0.73kWh for the same period.
I’m really confused as the sensor is showing the right data, but the dashboard seems to be doubling it?
I charged my EV and the value reported in the dashboard was way more than the total battery capacity (I can only dream my car had that range!).
Any ideas?
My ESPHome code:
- platform: pulse_meter
pin: D2
name: "House Electricity Meter kw"
# device_class: energy
internal_filter: 35ms
unit_of_measurement: 'kW'
filters:
- multiply: 0.015 #works out at 4000 pulses a minute
total:
name: "House Electricity Meter Total"
device_class: energy
unit_of_measurement: 'kWh'
accuracy_decimals: 2
filters:
- multiply: 0.001
One thought - have I got the multiplier right for the total value? I had to lower the kw value from 0.04 (1000/60s) to 0.015 (4000/60s). Didn’t think I needed to change the total value?