6) Set Up IFTTT
Set Up IFTTT
Install IFTTT app on your phone and sign in (you need the app running for geolocation to work).
Go to create a new applet in the app or on the website.
Under "This" choose location > you enter an area
Search for the area you want and adjust the zoom to change the area it encompasses.
Click "Create Trigger"
Under "That" choose Webhooks
Set the URL to:
http://123.123.123.123:8123/api/services/tts/google_say?api_password=ABC123
Change 123.123.123.123 to your external facing IP address or the name you chose when signing up to No-IP, change ABC123 to your API password you put in your configuration.yaml file.
Set Method to "POST"
Content Type to "appllication/json"
Body needs to be:
{"entity_id": "media_player.lounge_speaker","message":"Enter what you want it to say here"}
Save the applet. Restart your PC
You are done
Install IFTTT app on your phone and sign in (you need the app running for geolocation to work).
Go to create a new applet in the app or on the website.
Under "This" choose location > you enter an area
Search for the area you want and adjust the zoom to change the area it encompasses.
Click "Create Trigger"
Under "That" choose Webhooks
Set the URL to:
http://123.123.123.123:8123/api/services/tts/google_say?api_password=ABC123
Change 123.123.123.123 to your external facing IP address or the name you chose when signing up to No-IP, change ABC123 to your API password you put in your configuration.yaml file.
Set Method to "POST"
Content Type to "appllication/json"
Body needs to be:
{"entity_id": "media_player.lounge_speaker","message":"Enter what you want it to say here"}
Save the applet. Restart your PC
You are done
Comments
Post a Comment