Whats the arduino code/procedure to get the latest alexa status from sinric for a switch when initializing my ESP8266?
If my alexa routine changes the on/off of a switch while the device is not connected to the internet or powered off, I would like this to be updated by requesting it from sinric rather that pulling the last known state from SPIFFS. This would ensure that the device is always in sync with alexa.
I'm somewhat new to this library and coding as well so any help would be very appreciated.
Hello
Whats the arduino code/procedure to get the latest alexa status from sinric for a switch when initializing my ESP8266? If my alexa routine changes the on/off of a switch while the device is not connected to the internet or powered off, I would like this to be updated by requesting it from sinric rather that pulling the last known state from SPIFFS. This would ensure that the device is always in sync with alexa. I'm somewhat new to this library and coding as well so any help would be very appreciated.
Thank you