esp32 sleep mode with relays
Posted: Tue Aug 30, 2022 2:47 pm
Hi everyone, this is the first time that I write on this forum and I don't know if I should introduce myself. Let me know if I should do it. However I am developing an IOT architecture where I am using the Esp32 board and some sensors and relays.
I tried to show it without linking the GPIO channels.
I have 3 sensors that each 4 hours send their values to a WEB server, because I would monitor the water values. I thought to use the board deep sleep mode waking up it each 4 hours with a timer RTC. Summarize, the board gets some values each 4 hours , it sends them to a WEB server and looking over this values decides to change the state of relay to turn on or to turn off the related accessories. The problem is that when the board goes to sleep, it turns off all the relays and all the related accessories linked turn off. Can I hundle the relays states also when the Esp32 is sleeping? I don't know, can I get the relay module indipendent from all keeping all their states that the board will change based on the situation?
I tried to show it without linking the GPIO channels.
I have 3 sensors that each 4 hours send their values to a WEB server, because I would monitor the water values. I thought to use the board deep sleep mode waking up it each 4 hours with a timer RTC. Summarize, the board gets some values each 4 hours , it sends them to a WEB server and looking over this values decides to change the state of relay to turn on or to turn off the related accessories. The problem is that when the board goes to sleep, it turns off all the relays and all the related accessories linked turn off. Can I hundle the relays states also when the Esp32 is sleeping? I don't know, can I get the relay module indipendent from all keeping all their states that the board will change based on the situation?