Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

how to use #6

Open
fifa255 opened this issue Jun 3, 2018 · 1 comment
Open

how to use #6

fifa255 opened this issue Jun 3, 2018 · 1 comment

Comments

@fifa255
Copy link

fifa255 commented Jun 3, 2018

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.

@GeekVisit
Copy link

GeekVisit commented Sep 1, 2018

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

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

No branches or pull requests

2 participants