Device values persistence

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
paveleremin
Normal user
Posts: 12
Joined: 29 Dec 2016, 10:19

Device values persistence

#1 Post by paveleremin » 10 Jan 2017, 22:39

Is it possible save/restore Device's values before/after reboot?
Same question regarding the switch the electricity?

User avatar
paveleremin
Normal user
Posts: 12
Joined: 29 Dec 2016, 10:19

Re: Device values persistence

#2 Post by paveleremin » 11 Jan 2017, 18:38

To be more clear, how to save this values before reload(power off):
Image

User avatar
paveleremin
Normal user
Posts: 12
Joined: 29 Dec 2016, 10:19

Re: Device values persistence

#3 Post by paveleremin » 16 Jan 2017, 13:26

:idea: Maybe it's possible add some checkbox for each value, something like "Persistent data" and add some more code to handle it
:!: It will cool feature

mlemes
Normal user
Posts: 4
Joined: 07 Mar 2017, 18:58

Re: Device values persistence

#4 Post by mlemes » 07 Mar 2017, 19:09

I think that it would be useful ! If anybody know...

paxi
Normal user
Posts: 121
Joined: 02 Feb 2017, 00:48
Location: Germany

Re: Device values persistence

#5 Post by paxi » 08 Mar 2017, 12:45

I think there is a way to use the broker to srore and retrieve values. Using ESPEasy in standalone mode I can't guide you but it may be "MQTT Retain Msg" in advanced settings. Keep in mind that writing to flash memory causes wear and - depending on how often this is done - will brick the device at some point (see the sticky threads). Implementing this locally could be a bad idea. ;)

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Device values persistence

#6 Post by toffel969 » 18 Mar 2017, 11:14

The feature is there in the mega version.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

User avatar
paveleremin
Normal user
Posts: 12
Joined: 29 Dec 2016, 10:19

Re: Device values persistence

#7 Post by paveleremin » 31 Jul 2017, 18:48

toffel969 wrote:
18 Mar 2017, 11:14
The feature is there in the mega version.
Hello, what do you mean? Where I can find it? Could please provide some breadcrumbs or screenshot, please

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests