Hello, i recently added my Toon 'meteradapter' to HomeAssistant.
Now it shows the historical gas usage (600+ m3 gas).
Where can i reset this value?
I would like to count from 0.
Do i have to edit a file in /mnt/data/qmf/var/hcb_rrd via Putty or is there a much easier way?
A possible option is to delete the .rra files within the RRD folder...but which one (or the whole RRD folder?) AND will the Toon make a new RRD folder when it reatarts?
Thanks!
Reset gas usage
Moderators: marcelr, TheHogNL, Toonz
-
- Advanced Member
- Posts: 663
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Reset gas usage
Why not reset of offset the counter value of your sensor in home assistant?
Re: Reset gas usage
Thanks for the tip!
I did:
service: utility_meter.calibrate
target:
entity_id: sensor.toon_gas_used_cnt
data:
value: '0'
But the 'call service' button doesn't become green, so i didn.t work (without an error).
I will try a few other things, but if you have any advise...thats always welcome
I did:
service: utility_meter.calibrate
target:
entity_id: sensor.toon_gas_used_cnt
data:
value: '0'
But the 'call service' button doesn't become green, so i didn.t work (without an error).
I will try a few other things, but if you have any advise...thats always welcome
Re: Reset gas usage
Unfortunatly it didn't work.
When i go to 'developer' , 'services' and use this at Yaml:
service: counter.reset
data: {}
target:
entity_id: sensor.toon_gas_used_cnt
i see an green check mark. But after a few seconds the old value is visible
The same result with:
service: counter.reset
entity_id: sensor.toon_gas_used_cnt
and:
service: counter.set_value
data:
value: "0"
target:
entity_id: sensor.toon_gas_used_cnt
When i go to 'developer', 'status' and type "0" exactly the same result, a few seconds the sensor displays "0" but the the old value overwrites the 0
EDIT
A reboot did the trick. While rebooting i did the counter reset again and now its "0" .
Case closed
When i go to 'developer' , 'services' and use this at Yaml:
service: counter.reset
data: {}
target:
entity_id: sensor.toon_gas_used_cnt
i see an green check mark. But after a few seconds the old value is visible
The same result with:
service: counter.reset
entity_id: sensor.toon_gas_used_cnt
and:
service: counter.set_value
data:
value: "0"
target:
entity_id: sensor.toon_gas_used_cnt
When i go to 'developer', 'status' and type "0" exactly the same result, a few seconds the sensor displays "0" but the the old value overwrites the 0
EDIT
A reboot did the trick. While rebooting i did the counter reset again and now its "0" .
Case closed
Re: Reset gas usage
Today I finally received a ‘slimme gasmeter’, for this the already smart powermeter was also replaced.
Added the gasmeter to toon (01 connected wit powermeter ) but the counter is not 0 as on the meter. It is showing -159,x cubic meter gas.
Any way to set this to actual value?
Added the gasmeter to toon (01 connected wit powermeter ) but the counter is not 0 as on the meter. It is showing -159,x cubic meter gas.
Any way to set this to actual value?
Re: Reset gas usage
I think this takes a day to settle down. Should be fine today.Vriesfde wrote: ↑Tue Oct 01, 2024 8:09 pm Today I finally received a ‘slimme gasmeter’, for this the already smart powermeter was also replaced.
Added the gasmeter to toon (01 connected wit powermeter ) but the counter is not 0 as on the meter. It is showing -159,x cubic meter gas.
Any way to set this to actual value?
member of the Toon Software Collective