Quantcast
Channel: ThingSpeak IoT Community - All Forums
Viewing all articles
Browse latest Browse all 1833

viiartz on Count elapsed hours

$
0
0

I decided to keep track of uptime on the device (ESP8266 ESP-13). I based my solution on a sketch I came across here https://goo.gl/u63bwU

So, I generate a string (ie "2-21-45") where the first digit is the elapsed days next is the hours and the last digit is the minutes. Upload to field3 of my channel I use a bit of javascript generate the text posted on the web page (ie uptime 2 Day, 21 Hour, 45 Minute).


Viewing all articles
Browse latest Browse all 1833

Trending Articles