store a variable persistent in config section

Moderators: Voyager, BertB, rtenklooster, Stuntteam, grovkillen, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 297
Joined: 26 Dec 2017, 18:02

store a variable persistent in config section

#1 Post by riker1 » 06 Jan 2019, 11:10

Hi
I am wondering if I can store a variable persistent in a flash part maybe config sections ?

thanks T

User avatar
grovkillen
Normal user
Posts: 2995
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: store a variable persistent in config section

#2 Post by grovkillen » 06 Jan 2019, 11:26

Yes and no. Nothing which is set dynamically will survive a boot. BUT you can use a MQTT broker and MQTT import to fetch the value from there (if you have the retained setting checked).

But we're discussing a external flash (EEPROM) which could be used.
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 :idea: :idea: :idea:

riker1
Normal user
Posts: 297
Joined: 26 Dec 2017, 18:02

Re: store a variable persistent in config section

#3 Post by riker1 » 06 Jan 2019, 12:09

ok thanks

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests