GPIO Save Last Status to Boot State

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Hollako
New user
Posts: 3
Joined: 22 Oct 2017, 19:26

GPIO Save Last Status to Boot State

#1 Post by Hollako » 22 Oct 2017, 21:25

Hello All,

How can we configure the ESPeasy firmware to remain the any GPIO output on the last status it has before a power cycle goes Off then On.

Is their any specific rule or is should be done in the configuration, i tried the GPIO Boot State options without results, every time the power goes Off the GPIO 12 i uses on the relay goes Off after the power goes On again.

thank you,

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: GPIO Save Last Status to Boot State

#2 Post by vader » 22 Oct 2017, 21:49

You can realize this with retained MQTT. The ESP itself does not store this state.

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

Re: GPIO Save Last Status to Boot State

#3 Post by toffel969 » 22 Oct 2017, 22:01

Or use i2c expander, they keep their state, even during esp reboot
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests