Hello everyone !
I will try to be as precise as possible. Sorry for my bad english if i am not able to put in the scene properly -----
I have a relay that is controlled both over physical button as well as Blynk app. Which works well. But the issue i am facing is =
When the device boots for the 1st time it just sync with the previous state stored in the server.(Good) And lets say i have turned on the relay from the app.
But later when the connection drops(internet) i will no longer be able to control it over the app. So i use the physical button to say turn the relay off
Now when the connection is up again what’s happening is it will sync from the app side and will turn the relay back on (which i dont want), as i had that previously turned on from the app.
What i am trying to achieve is, after the connection drop the App must sync to the hardware. Not vice versa (hardware syncing to App)
But at the boot process let the hardware sync from the app(server).
Is there a way out ??