Could you please explain how to work with buttons using Blynk API?
I’ve read FAQ and API docs on apilari.
I use GET to receive and update data.
Now I’d like to receive commands.
My current flow:
- sensor sleeps
- wake up, connect to WiFi, measure, send data using Blynk API
- get new parameters (LED display brightness, sleep time, etc)
- go to sleep
What about button which I push and release?
Will I receive its status via GET that it WAS pushed during my sleep period despite of it is released now?
I guess I can use the button in a switch mode and change back to Off via API after receiving its state/command (when wakes up).
But what about simple “push” button? Theoretically short click can be missed even when using the native Blink library. Or not?