By default the app tells you if a devices is online or offline (click on the chip symbol at the top of each project); if offline it also says when it went offline (date/time)
It would be nice to have the same info when online.
I know I can do this in code, but a basic default notification for all devices would be useful.
thnx
billd
I’ve implemented this in code in the terminal section. Don’t know how to add the link here but you can search for ESP.reset terminal mohan_sundaram. This will work when device is online. You are asking for info on the Blynk screen to be shown from the server.
For my education. What would that single line of code look like? I’ve captured the epoch number since boot using now(), converted it to days:hours:minutes and then display it. Was definitely much more than a line.
Yes, thats exactly what I’m asking for . It shows date/time when it goes offline, but not when back online. (iOS) I dont see why it would be different . . .?
See it on my phone too (Android). However, this is off by 13 minutes. I maintain timestamp of the last connect using BLYNK_CONNECTED() and display it in my terminal for uptime. That is 13 minutes earlier than the time reported by Blynk on its device panel.
Not a critical error or something that breaks any program. Curious to know why the difference occurs. I can understand if my timestamp is later than Blynk’s.
Am seeing a mismatch for the last 2 days. Device shows uptime of 22hrs while Blynk server shows 12hrs. Uptime since timestamp is calculated on BLYNK_CONNECTED(). Has anyone else observed this?