{"id":21521893,"url":"https://github.com/robertmuth/mqtt2cast","last_synced_at":"2026-05-19T15:12:26.807Z","repository":{"id":128248107,"uuid":"241158288","full_name":"robertmuth/mqtt2cast","owner":"robertmuth","description":"MQTT to Google Cast Bridge","archived":false,"fork":false,"pushed_at":"2021-03-31T03:01:59.000Z","size":46,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T20:24:00.242Z","etag":null,"topics":["chromecast","mqtt","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertmuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-17T16:45:28.000Z","updated_at":"2021-03-31T03:02:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"251d18c5-6ef8-4588-baa2-91ca1c6a20b1","html_url":"https://github.com/robertmuth/mqtt2cast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertmuth/mqtt2cast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertmuth%2Fmqtt2cast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertmuth%2Fmqtt2cast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertmuth%2Fmqtt2cast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertmuth%2Fmqtt2cast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertmuth","download_url":"https://codeload.github.com/robertmuth/mqtt2cast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertmuth%2Fmqtt2cast/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264027932,"owners_count":23546161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chromecast","mqtt","python3"],"created_at":"2024-11-24T01:08:39.048Z","updated_at":"2026-05-19T15:12:26.761Z","avatar_url":"https://github.com/robertmuth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MQTT \u003c-\u003e Google Cast Bridge\n\n\nMote: this is very much work in progress.\n\n\nTypical invocation\n\n```\n./mqtt2cast.py --verbose --use_zeroconf --mqtt_broker MQTT-BROKER \n\n```\n\n### MQTT messages\n\n#### Messages that the bridges is listening for\n\n* `mqtt2cast/action/CAST-DEVICE/play_media`   `\u003curl\u003e [\u003cmime_type\u003e]`\n  Play/Show the given media file (can be a playlist\n* `mqtt2cast/action/CAST-DEVICE/load_url`   `\u003curl\u003e`\n  Display a URL (does not work for all URLs)\n* `mqtt2cast/action/CAST-DEVICE/queue_next`\n  Skip current song - extremely flaky, needs more work\n* `mqtt2cast/action/CAST-DEVICE/set_volume`  `\u003cvalue between 0 and 1\u003e`\n  \nCAST-DEVICE is on off:\n* ip-address\n* friendly name\n* empty string which means all devices will receive the command\n\nTesting\n```\nmosquitto_pub -h BORKER -t \"mqtt2cast/action/CAST-DEVICE/play_media\" -m \"http://somafm.com/lush130.pls\"\n\n```\n\n  \n#### Message that the bridge is emitting\n\n* `mqtt2cast/event/FRIENDLY-NAME/\u003cevent_kind\u003e` `\u003cjson\u003e` \n\nTesting\n```\nmosquitto_sub -v -h MQTT-BROKER -t \"mqtt2cast/#\"\n```\n\n### Webserver\n\nA simple webserver shows the most recents events for each device. Default port is localhost:7777\n\n### Deps\n\n* pychromecast\n* paho.mqtt\n\n\n\n### Author\n\nrobert@muth.org\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertmuth%2Fmqtt2cast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertmuth%2Fmqtt2cast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertmuth%2Fmqtt2cast/lists"}