-->
Page 1 of 1

Speed up boot time?

PostPosted: Fri Mar 06, 2015 6:25 am
by Nerobot
Hi All,

I've been developing a a small home automation project and at the moment I'm using MQTT on the ESP board to send temperature measurements to Openhab, which so far seems to be going well.

At the moment, the device is being powered by mains (via 5v power supply, then 3.3v buck regulator), but like many of you, I'd like to experiment with battery power.

I've read up on ways to get the device into deep sleep when it restarts itself (though I've not actually done any work on that yet). However, one of the issues I have with that at the moment is that my device seems to take about 4-5 seconds before it connects to my router than then makes a connection with the MQTT broker (Mossquitto on Raspberry Pi). Obviously, during this time, the current draw will be high (though I'll be measuring it soon), thus reducing the potential battery life.

Has anyone done any work on making the ESP boot up quicker, or could put me in the right direction. This is using C not lua.

Thanks in advance for any help.

Steven