harperreed/google-home-notifier-python

how to use

Opened this issue · 1 comments

I ran your notifi.sh shell script and started the docker image. Now how do I access the /say/ or /play/ URLs. When I enter http://localhost/say/?text=Hello or http://127.0.0.1/say/?text=Hello nothing works. Do I need to a have a webserver such as apache running on the machine.

No -Docker is not necessary and neither is a weberver , just run "python main.py"
Make sure you edit the main.py to put in your servier IP (I use a raspberry pi) and specific chromecast groups, in my case I used "Home group" for home.

When you run it it will give the server you need to point to and the port, in my case it says "Running on http://192.168.22:5000/ (Press CTRL+C to quit"

So you in your browser do "http://192.168.22:5000/play/doorbell1.mp3" and it will play the doorbell on the chomecasts. Or do the "say" routines (see readme) to say the text