You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks everyone for the amazing work on this! I've been using it and enjoying it for a while now! I have recently made the swap over to Siri (Homepod mini's) and wanted to let others know that this project works great with Siri, and in fact it is easier in some ways, as you don't require a publicly accessible endpoint, requests can stay completely local.
It wouldn't let me create a new branch and pull request, but I was just going to update the README, to include an option for Siri shortcut to be used instead of only IFTTT.
Proposed README.md changes:
### D) Set up IFTTT with your Google Home OR shortcut with Siri (Homepod)
Note that IFTTT will require a public endpoint, if you choose to use a Siri Shortcut, you can call the local server directly.
<details>
<summary><b>IFTTT (For Google Home)</b> (Click to expand instructions)</summary><p />
1. Go to [IFTTT](https://ifttt.com)
2. Create a new applet: if *This* then *That*
3. For *This* choose: *Google Assistance*
1. Choose *Say a phrase with a text ingredient*
2. In *What do you want to say?* enter something like:
> Kodi play movie $
3. In *What do you want the Assistant to say in response?* enter something like:
> ok playing $ movie
4. For *That* choose: *Maker Webhooks*
1. Choose *Make a web request*
2. In *URL* enter:
>_YOUR_NODE_SERVER_/playmovie?q={{TextField}}
For example, if your node server address is 'green-icecream.glitch.me', your should enter:
>https\://green-icecream.glitch.me/playmovie?q={{TextField}}
8. Method: *POST*
9. Content Type: *application/json*
10. Body:
>{"token":"*YOUR_CONNECTION_PASSWORD*"}
**Check out [this example](examples/IFTTT_settings_example.png) to make sure your settings are correct**
Now every time you say "Hey Google, Kodi play movie bla bla", it should play bla bla on your kodi.<br>
**Note:** If your external IP changes, this will stop working (consider getting a static IP address)<br>
**Tip:** If you don't want define action for every phrase separatelly, you can use [Phrase broker](#phrase-broker)
</details>
<details>
<summary><b>Siri Shortcut (For Homepod)</b> (Click to expand instructions)</summary><p />
Open up Shortcuts app and create a new Shortcut, you can name it anything you want. "Kodi" will be the trigger word if you say Kodi. This is the Shortcut steps.
It is formatted as....
Action - What to fill in that action
1. Ask for Input - Ask for `Text` with `What would you like to ask Kodi`
2. URL - Add your local URL of the node server `192.168.1.8:8099/broker?phrase={Provided Input}`
3. Get Contents of URL -
1. Get Contents of {URL}
2. Click the drop down and change the method to `POST`
3. Click Request Body, should be on JSON. Click `+` and you can then add your 2 values
1. Key=token Value={TokenValue}
2. Key=kodiid Value={Kodi ID} (If using multiple devices)
Troubleshooting
If your having issues, I would recommend using the Action called `Show Notification` to print out the URL to you.
</details>
The text was updated successfully, but these errors were encountered:
Thanks everyone for the amazing work on this! I've been using it and enjoying it for a while now! I have recently made the swap over to Siri (Homepod mini's) and wanted to let others know that this project works great with Siri, and in fact it is easier in some ways, as you don't require a publicly accessible endpoint, requests can stay completely local.
It wouldn't let me create a new branch and pull request, but I was just going to update the README, to include an option for Siri shortcut to be used instead of only IFTTT.
Proposed README.md changes:
The text was updated successfully, but these errors were encountered: