{"id":13572337,"url":"https://github.com/harperreed/chromecast-control","last_synced_at":"2026-01-10T19:41:15.340Z","repository":{"id":66694559,"uuid":"12328582","full_name":"harperreed/chromecast-control","owner":"harperreed","description":"Control a chromecast with python","archived":true,"fork":false,"pushed_at":"2024-02-27T19:33:13.000Z","size":6,"stargazers_count":46,"open_issues_count":4,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T10:52:26.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harperreed.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":"2013-08-23T17:25:55.000Z","updated_at":"2024-02-27T19:33:35.000Z","dependencies_parsed_at":"2024-11-05T05:31:21.594Z","dependency_job_id":"2fed7de4-d95a-4798-b025-c4c8b376762e","html_url":"https://github.com/harperreed/chromecast-control","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harperreed%2Fchromecast-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harperreed%2Fchromecast-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harperreed%2Fchromecast-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harperreed%2Fchromecast-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harperreed","download_url":"https://codeload.github.com/harperreed/chromecast-control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247154039,"owners_count":20892779,"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":[],"created_at":"2024-08-01T14:01:20.480Z","updated_at":"2025-04-04T09:32:16.984Z","avatar_url":"https://github.com/harperreed.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# chromecast-control\n## Control a chromecast with python\n\nWe got chromecasts at [ltc](http://ltc.io) and I immediately wanted to use them to power our [dashing](http://shopify.github.io/dashing/) dashboards. It is the cheapest route and being that it is just a chrome browser, makes the most sense. \n\nThis script will start, stop get info on a particular appid and a target chromecast (ip).\n\n## REST\n\nTurns out that interacting with the chromecast is just rest. \n\nYou do REST operations on the appid url: `http://CHROMECAST_IP:8008/apps/APPID` \n\nYou stop it by DELETING to the appid URL. You also start by POSTING to it. \n\n\n## More interesting \n\nThere are other URLS that show up when you sniff traffic: \n\n* http://CHROMECAST_IP:8008/ssdp/device-desc.xml\n* http://CHROMECAST_IP:8008/apps/ChromeCast\n* http://CHROMECAST_IP:8008/apps/\n\nNo idea what this does:\n\nPOST `http://CHROMECAST_IP:8008/connection/ChromeCast`\n\n\t{\n    \t\"channel\": 0,\n\t    \"senderId\": {\n    \t    \"appName\": \"ChromeCast\",\n\t        \"senderId\": \"\"\n    \t}\n\t}\n\t\n\n\n### Youtube\t\n#### Start:\n\nPOST `http://CHROMECAST_IP:8008/apps/YouTube`\n\n\tpairingCode:  No idea\n\tv:            awMIbA34MT8\n\n#### Stop:\n\nDELETE `http://CHROMECAST_IP:8008/apps/YouTube`\n\n\n# Please help\n\nThere is a lot of work to do  (discovery, etc) that would make this useful. The chromecast is very powerful, but it is wrapped in an annoying interaction model (browser extension, etc). \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharperreed%2Fchromecast-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharperreed%2Fchromecast-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharperreed%2Fchromecast-control/lists"}