MQTT on ESP12 with battery power and static IP
Colin kerr
on 5 Sep 2021
Latest activity Edit by Colin kerr
on 8 Sep 2021
I'd appreciate comment on whether I understand the limitations with MQTT and low power. Using deep sleep the ESP12 consumes microamps and my sensor is insignificant. The big drain on the battery is WiFi. Sending an MQTT message is taking around 10ms which seems at first sight promising. Unfortunately it looks to me like deep sleep ends the connection, and reconnection takes 4 or more seconds. I'd thought that deep sleep, static IP, and MQTT were the way to get very low power consumption but it looks to me like they don't solve the problem.
2 Comments
Time DescendingHow often are you planning to make a connection and send data?
Sign in to participate