-->
Page 1 of 1

Esp-01 gpioO High on boot and relais triggered at startup..

PostPosted: Wed Dec 02, 2020 1:39 am
by pippo
Hello everybody!
I know that's an old known issue, but I haven't found any workaround anywhere on internet..
How people deal with relais and automations in general? When the ESP relais module boots, gpio0 goes high, triggering whatever is connected. And all the esp-01 modules you buy on internet have gpio0 and gpio2 pins available..
So, by my POV this is a no-go but I'm sure there is a way, considering that esp modules are a pillar of IOT...

Thanks...

Re: Esp-01 gpioO High on boot and relais triggered at startu

PostPosted: Thu Dec 10, 2020 9:56 pm
by guysnraw
It's better to use ESP12E with more pins and also to note that some pins still go high at boot, we got to select pins. As of ESP01 u could try esphome if you have HA to change high/low at boot. No other way i guess.

Re: Esp-01 gpioO High on boot and relais triggered at startu

PostPosted: Sat Dec 12, 2020 2:13 pm
by StanJ
See

https://randomnerdtutorials.com/esp8266 ... nce-gpios/

and

https://rabbithole.wwwdotorg.org/2017/0 ... -gpio.html

There are only 2 GPIOs that are low throughout boot: GPIO4 and GPIO5. Neither of them is available on the ESP-01 unless you cut a trace and wire directly to the ESP8266, which is truly annoying to do.

I'm also utterly opposed to using relays for anything when better components have been available for hobby use since 1953...

Re: Esp-01 gpioO High on boot and relais triggered at startu

PostPosted: Mon Dec 14, 2020 12:49 pm
by pippo
thanks StanJ.

Im looking at serial relay boards now, they probably fit.
So you confirmed what I thought.
I still ask myself why those modules are sooo popular then...
Btw, which better components r u talking about? I have to manage the usual IOT stuff like light switches, appliances automations, sensors etc.
I didnt know there are other ways to control 250V appliances or lamps..