I have a simple relay that I really like since it is compatible with 3.3V logic levels (not only 5V). It works great but if I get a power outage / cut the ESP will not boot correctly since it will send a signal to the relay causing it to activate. This happens as soon as the ESP get power. I have tried to use the hardware tab to make the GPIO boot as low but it does not work. I have fixed it by having a switch that cuts the cable, and I then have to have this manually switched to off until the blue led comes to shine. Am I missing something obvious here?
The relay board that I use is found here.
Another thing to consider. If I put the GPIO 16 to have a boot state of HIGH (or was it low?) I will not be able to save settings to the flash memory. My only way of fixing this was to re-flash the unit to get it to be writable again. Should this be mentioned within the GUI?
Power cut cause relay to get activated upon boot
Moderators: grovkillen, Stuntteam, TD-er
-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Power cut cause relay to get activated upon boot
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 469
- Joined: 03 Jan 2017, 10:58
- Location: Germany
Re: Power cut cause relay to get activated upon boot
Maybe just use the pcf8574, it keeps states during reboot, I tried.grovkillen wrote: ↑10 Apr 2017, 11:01 I have a simple relay that I really like since it is compatible with 3.3V logic levels (not only 5V). It works great but if I get a power outage / cut the ESP will not boot correctly since it will send a signal to the relay causing it to activate. This happens as soon as the ESP get power. I have tried to use the hardware tab to make the GPIO boot as low but it does not work. I have fixed it by having a switch that cuts the cable, and I then have to have this manually switched to off until the blue led comes to shine. Am I missing something obvious here?
The relay board that I use is found here.
Another thing to consider. If I put the GPIO 16 to have a boot state of HIGH (or was it low?) I will not be able to save settings to the flash memory. My only way of fixing this was to re-flash the unit to get it to be writable again. Should this be mentioned within the GUI?
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
-
- Normal user
- Posts: 232
- Joined: 02 Feb 2017, 12:12
Re: Power cut cause relay to get activated upon boot
i'm not sure if this is documented properly. if you can still reproduce it, could you file a bug report on github? that way i will take a look at it later and perhaps fix it or disable that GPIO from the hardware settings or something. (or perhaps a link to the wiki in the web gui)grovkillen wrote: ↑10 Apr 2017, 11:01
Another thing to consider. If I put the GPIO 16 to have a boot state of HIGH (or was it low?) I will not be able to save settings to the flash memory. My only way of fixing this was to re-flash the unit to get it to be writable again. Should this be mentioned within the GUI?
-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Re: Power cut cause relay to get activated upon boot
I will try to reproduce.psy0rz wrote: ↑24 Apr 2017, 01:50 i'm not sure if this is documented properly. if you can still reproduce it, could you file a bug report on github? that way i will take a look at it later and perhaps fix it or disable that GPIO from the hardware settings or something. (or perhaps a link to the wiki in the web gui)
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Re: Power cut cause relay to get activated upon boot
I cannot reproduce, please consider this related to the write limit for flash memory.psy0rz wrote: ↑24 Apr 2017, 01:50 i'm not sure if this is documented properly. if you can still reproduce it, could you file a bug report on github? that way i will take a look at it later and perhaps fix it or disable that GPIO from the hardware settings or something. (or perhaps a link to the wiki in the web gui)
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Who is online
Users browsing this forum: Anthropic Claude Bot [bot], Bing [Bot] and 25 guests