💬 Leaky - water detector
-
-
@openhardware-io
I think this is not too useful concept.
In circuit diagram, there is no connection GPIO16 to RESET - so no deep sleep mode.
It seems, your node only connect to server when water leaks.
But what after two years, you do not know if battery are still good and your detector alive.
Better way use deep sleep, after some number deep sleep cycles ( one per day? ),
connect to wifi and send battery voltage for example.
If this message is missed, your controller can send you battery replacement message.
-
Thank you for your input. In order to lower power consumption I do not want to wake up ESP8266 every hour. That's why I did not choose the deep sleep route. ESP32 could be use instead for longer deep sleep, but seems to me be overkill for such simple circuit. Sure voltage checking would nice, no doubt. Nevertheless it is a good idea to check the board from time time that it is working correctly.
-
@Sixkillers
You can wake up every hour, but hold wifi modem off, increment "wake up counter" and go to deep sleep.
Running time between deep sleeps will be very short
And connect to wifi one per day for example.
And make some tweaks for wifi connection:
For inspiration from Step 6 here:https://www.instructables.com/ESP8266-Pro-Tips/
And final tweak here:
https://www.bakke.online/index.php/2017/06/24/esp8266-wifi-power-reduction-avoiding-network-scan/
-
@kimot Thank you for your comment & tips.
Suggested Topics
-
PiDome Domotica/Home Automation
PiDome • 2 Sept 2014, 20:50 • John 13 Jan 2016, 22:53 -
💬 ESP8266 IoT Node
OpenHardware.io • 6 May 2018, 21:01 • openhardware.io 8 May 2018, 18:05 -
MQTT getting data from database - New Domotic Project
Development • 31 May 2017, 18:05 • achumpitazc 31 May 2017, 19:21 -
Incoming MQTT Prefix can't have '/' or '-' in it.
Bug Reports • 13 Nov 2016, 16:19 • Meshx86 13 Nov 2016, 16:38 -
Node-red msg queue form Controller to Gateway over MQTT
Development • 16 Sept 2020, 07:43 • alexelite 16 Sept 2020, 07:43 -
💬 MySensors ESP8266 MQTT gateway
OpenHardware.io • 6 Mar 2017, 20:56 • openhardware.io 23 Jan 2021, 18:11 -
Node Child and MQTT Subscribe
Development • 16 Jan 2015, 15:28 • Gambituk 17 Jan 2015, 14:11