hi, i have a pulse counter to record my gas consumption
i use the task: generic - pulse counter
and i record the "total"
is it possible to save this value to persist when the espeasyy if rebooted ?
save value on memory also if esp is rebooted
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: save value on memory also if esp is rebooted
No, the only way of getting it persistent is to have it fed back into the unit by a controller or a broker.
It is possible to have a external EEPROM for saving stuff like this but we have not (yet) implemented that.
It is possible to have a external EEPROM for saving stuff like this but we have not (yet) implemented that.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: save value on memory also if esp is rebooted
I have a pulse sensor to monitoring gas value and i'm looking for total value.
Every time that i reboot or power off sonoff with espeasy i lost the total and the total become zero
How i can prevent that?
Any idea or workaround?
Every time that i reboot or power off sonoff with espeasy i lost the total and the total become zero
How i can prevent that?
Any idea or workaround?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: save value on memory also if esp is rebooted
If you use MQTT you could have the total reported to the broker and if it's set to be retained you could have it fetched upon boot.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 98 guests