GPIO state on reboot

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
albertobonati
Normal user
Posts: 40
Joined: 13 Dec 2016, 15:25

GPIO state on reboot

#1 Post by albertobonati » 13 Dec 2016, 15:49

Hi
I noticed this happen:

- If I set "Pin mode" of pin 2 as LOW in GPIO boot state this work fine, I reboot my ESP 01 and after some second GPO2 go LOW state.

- If I add a switch device, after reboot GPIO2 is always HIGH, doe not matter I set "Send Boot state" on or Off, "send data" on or off...

If i send on/off command from domotic it work fine...

This on ESP 01 - Build 120

Some suggestion?

Thanks

Alberto

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

Re: GPIO state on reboot

#2 Post by toffel969 » 08 Jan 2017, 20:32

Can you maybe use Rules to set it to desired state with onboot event?
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 101 guests