Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Home Integration #8

Open
mgarland1988 opened this issue Feb 19, 2020 · 2 comments
Open

Google Home Integration #8

mgarland1988 opened this issue Feb 19, 2020 · 2 comments

Comments

@mgarland1988
Copy link

I wanted to thank you on your code - it is excellent.

This is not an issue - but I am hoping that you can help, or point me in the right direction.

I have the commands successfully controlling my sky box via my Raspberry pi using:
sky-remote-cli action

I would like to add a voice command to Google Home, to initiate a command from the Pi. Do you know if this is something that has been developed? Therefore, instead of typing the commands, you could say: OK Google, Sky Channel 101

I appreciate any help - thank you

@YG-UK
Copy link

YG-UK commented Feb 20, 2020

Hi, I have done this previously using IFTTT to send commands to Home Assistant (Hass.io) server running on the Pi to send the commands. You’ll need to sign up to IFTTT and link it to your Google Home. Write your sky remote cli commands as simple shell scripts on the Pi. Then set up Hass to be able call the shell scripts as an action. When you issue a Google Home voice command, it’ll invoke IFTTT to send a HTTPS webhook over the Internet to your Hass server on your Pi, which calls the sky remote cli script. Your Hass server needs to be accessible from the Internet (port forwarding through your home router/firewall, dynamic DNS assuming you have a dynamic public IP). API key on Hass for security. It’s quite a bit of set up but there are decent guides out there. I believe it’s also possible to do all this entirely locally (no internet webhook) without IFTTT with a Google Home in developer mode but I’ve not tried. Of course setting up IFTTT to Hass also opens up allowing you to call any Hass action remotely via Google Assistant.

@mgarland1988
Copy link
Author

Thank you so much for your reply. Very helpful.

I am in the process of following this guide, which is along the same lines as what you explained above:
https://github.com/wadoadi/Google-Assistant-SkyHD-Box-Integration

Ideally, I'd rather not port forward and you mentioned the possibility of achieving this locally.

Would the above guide still require me to open ports?

The guide advises to modify the script for SkyQ users (using your commands work flawlessly). I am not sure if the skyhdgooglecontrol.py or config.ini will need further editing to support SkyQ, or whether I can use your commands?

If I incorporate your great work along with the above, do you think this would work?

Again, thank you very much for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants