Hi All, I have a ds18b20 temp sensor on an esp8266 -13 uP updating one of my channels every couple of minutes. The board is running from a 10000mAh power bank and based on my calculations it should run for about 200 hours. I'm just testing at the moment so I'm deleting all the data in the channel and starting afresh each time I replace the batteries. So, I wondering how I could keep track of how many hours I've been running with Matlab code and save the (count) calculation to a field on the channel. I'm already running code that looks up the max and min temp for the last 24 hours every five minutes so I could place the snippet of code there, I just don't know how to go about doing the counting of elapsed hours from initial power up, I do know how to save data to a field.
Any thought, ideas, hints, examples?