Disarm Alexa Guard


#1

1) Give a description of the problem
I’m trying to figure out how to design a piston that uses a PUT request to disarm Alexa’s Guard mode. This previously could be accomplished with Echo Speaks, but support for that App is being discontinued on September 8th. There is no way to programmatically set the guard mode to home using routines in Alexa, although Alexa routines can set Guard to “away”. Based on info from links below, it appears a PUT request to https://alexa.amazon.com/api/phoenix/state can be used to disarm Guard, I just don’t know how to phrase that request. It seems possible based on an app that runs on HomeAssistant https://www.vcloudinfo.com/2020/08/how-to-enable-alexa-guard-mode-via-home-assistant-using-presence-detection.html
More info on how to phrase the request
https://github.com/custom-components/alexa_media_player/issues/186

2) What is the expected behaviour?
Alexa Guard can be disarmed when ST location changes from Away to Home.

3) What is happening/not happening?
Unable to figure out how to code the PUT request

**4) Post a Green Snapshot of the piston!
Here’s what I have so far

5) Attach logs after turning logging level to Full
No logs yet, haven’t been able to develop

Not sure how to figure out my entity ID, or configure the Alexa API login/authentication. Thanks for any thoughts on this