So I have a wemos D1 mini that I am using for remote water tank level sensing via the thingspeak IOT. I send the esp into deepsleep for 1 hour then wake, turn on a ping sensor and take a reading, measure the battery voltage and then connect to the network and send the readings to thingspeak. My issue is that after about two days it fails to go into deepsleep and sends the battery flat. I have a "deepsleep on fail to connect to wifi" routine in the sketch. this one
https://www.youtube.com/watch?v=okP4a6NrhlQ this was something I sent Stavros in the early hours :-)
@moose4621 I want to pop that in VAR's starting after the * eg.
char devname, char location, byte month, byte day, byte hour,byte second ..etc
if you have a quick way I'd appreciate it .. I was thinking SPRINTF and SSCANF
I am looking at this now.