HOMECB
June 18, 2021, 1:01am
1
I have utility_meter
defined in my config as follows
utility_meter:
gr_power_monthly:
source: sensor.gr_power_kwh
cycle: monthly
offset:
days: 15
However, the meter did not reset on the15th of the month. What am I doing wrong?
1 Like
tom_l
June 18, 2021, 1:26am
2
Not sure if it will make a difference but days is only indented one space instead of two in your config.
offset:
days: 15
HOMECB
June 18, 2021, 1:35am
3
Thanks for pointing that out. Adjusted the indentation now I only need to wait for another month to see that works
tom_l
June 18, 2021, 1:41am
4
If it didn’t reset properly last time it has the wrong value so you could set it to tomorrow to test. Then if it works set it back to 15 for next month.
HOMECB
June 18, 2021, 1:54am
5
I set the offset to today plus 15 minutes from current time. Will see.
HOMECB
June 18, 2021, 2:10am
6
Unfortunately, it didn’t work.
tom_l
June 18, 2021, 2:47am
7
You can open an issue here:
HOMECB
June 18, 2021, 2:49am
8
Will probably do. Thanks.
HOMECB
June 18, 2021, 10:18pm
9
Just an update on this in case somebody else faces the same problem.
I just discovered that the cycle resets at the end of day of the specified offset (not at the start 00:00 as I expected).
So, if for example you wish to reset a monthly cycle on the 15th, set your offset to days: 14.
5 Likes