You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
either serialize the current state object or create a unique identifier of it and store this in EEPROM/flash. Again pull request added ESP, removed unneeded file #24 adds names for states which could be used as identifiers; but currently these names are not guaranteed to be unique.
after reboot: create state objects in a way that one of the newly created ones can be identified as the stored one (or detect incompatible state).
if state from EEPROM is valid, initialize state machine with that state.
This would be useful if deep sleep is used to save battery/energy.