I’ve got a sonoff power meter, one of many exhibiting a strange issue on a utility meter.
The utility meter resets at zero, but the tariff switches to off-peak at 00:30 till 05:30.
The makes some of my utility meters a bit screwy if there’s a large demand between midnight and 00:30, such as the car charging
But this is a simpler meter. it switches on at 03:00 and heats the water till hot. But the result is a 6kw starting reading this morning
Yep ive now changed that but have gone from the frying poan into ther fire!!
My units have now converted to kkWhh:
From developer states;
state_class: total
source: sensor.sonoff_1001487da4_energy
unit_of_measurement: kkWhh
device_class: energy
icon: mdi:chart-histogram
friendly_name: aswh_power
sensors.yaml:
platform: integration
source: sensor.sonoff_1001487da4_energy
name: aswh_power
unit_prefix: k
round: 1
any ideas?
ive removed the entities and restarted so they cleared themselves up initially, but they have returned when I re-added the config?
Note, all other Sonoff entries configured this way show no errors
You feed energy to the utility meter. Your source sensor for the utility meter was this sensor.aswh_power which appeared to be a power sensor. Maybe you just misnamed it?
You feed power sensors to the Riemann Sum to get energy.
If you have an energy sensor already (sensor.sonoff_1001487da4_energy) just feed that to the utility meter.
Coming back to this ticket again, the issue semes to be that the utility meter totalises every 60 minutes.
The peak rate is high as its also included 30 minute of offpeak usage where there has been high usage
I (and all Octopus users) need it to update its cycle every 30 minutes as all the intelligent metering, and all smart meters, update every 30 minutes, not on the hour.
No sure what you mean by this. The utility meter actually updates every time the source sensor updates and resets at midnight as you have set a daily cycle. If you are seeing hourly updates that is because your source sensor updates hourly.
If you are talking about the tariff switching not occurring on the half hour that is down to however you are triggering the automation that switches the tariff.
our tariff can change every 30 minutes, but the “totaliser” runs on the hour.
If the tariff changes at 30 minutes pas the hour, the “totaliser” counts the last 60 minutes at the current tariff/
So if i use 4kWh in the first 30 minutes at offpeak and 1kWh in the second 30 minutes, the “totaliser” shows that ive racked up 5kWh at peak rate
Still not following what you mean by a “totaliser”.
As I said, the utility meter updates its total whenever the source sensor changes. Not at the end of the hour. If your source sensor only updates hourly then I you need a better sensor,
There’s a stored script that rolls up the usage for the past 60 minutes, so “totalises” the usage
Hence the delay in readings when you add items to the Energy dashboard.
However, if you’re tariff can change at 30 minute past the hour, you end up adding minute 0-29 (peak rate) into the figures for minute 30-59 (offpeak)