How to tell from script inside the device accepted incoming connection ? how to monitor this connection and execute some code?
I wanted to send some data back to app from device when blynk app opened and project is connected.
Thank you for your help.
It is not easy at the moment. See for instance this example. Later Blynk library will have additional handlers for that.
I put a 1 second counter in the arduino code and push that value back to an app value widget. If the value isn’t changing then there is no connection
I think we could add a widget for that.
Maybe put it in the Notify widget? You can set the status with the color of the thing.