Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Dockerfile
README.md
api.py
chrome.py
chromeevent.py
chromestate.py
dr.py
logger.py
netflix.py
requirements.txt
streamdata.py
streams.json

README.md

Chromecast to MQTT

This is a small python script using pychromecast to propegate status from chromecast devices to MQTT. Currently it only supports one AUDIO and one VIDEO chromecasts, and it expects both to be available!

It also implement a simple webservice to control the chromecast (ie. start stream, pause/forward/stop etc), which I have used in a companion dashboard

The listed audio / video streams (in streams.json) is mainly for some danish tv/radio channels

Please note that it requires a config directory located at /config, here you can place the config.ini, and streams.json files

xmltv data for the streams / channels is expected at /config/xmltv/<channelname>.xml

the included Dockerfile can be used to build a docker image, with the following command

docker build -t chromecast-integrator .

afterwards start it with

docker run --name chromecast --restart unless-stopped -v /opt/chromecast:/config -d -t --net=host -p8181:8181 chromecast-integrator
You can’t perform that action at this time.