{"id":15202983,"url":"https://github.com/nstevens1040/reboot-chromecast","last_synced_at":"2026-02-09T06:35:27.087Z","repository":{"id":70279069,"uuid":"421665340","full_name":"nstevens1040/Reboot-Chromecast","owner":"nstevens1040","description":"Windows PowerShell script that will reboot Chromecast devices on my local network.","archived":false,"fork":false,"pushed_at":"2022-06-09T05:23:47.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T22:42:36.378Z","etag":null,"topics":["authorization","chromecast","gpsoauth","grpcurl","python","python3","python39","reboot","rest-api","windows-powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/nstevens1040.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":"2021-10-27T03:35:11.000Z","updated_at":"2022-05-10T06:38:29.000Z","dependencies_parsed_at":"2023-02-27T03:46:35.319Z","dependency_job_id":null,"html_url":"https://github.com/nstevens1040/Reboot-Chromecast","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"03495cf228d0cc56c646520f653ac36cce7b4229"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FReboot-Chromecast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FReboot-Chromecast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FReboot-Chromecast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FReboot-Chromecast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nstevens1040","download_url":"https://codeload.github.com/nstevens1040/Reboot-Chromecast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242005024,"owners_count":20056423,"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":["authorization","chromecast","gpsoauth","grpcurl","python","python3","python39","reboot","rest-api","windows-powershell"],"created_at":"2024-09-28T04:21:20.204Z","updated_at":"2026-02-09T06:35:27.057Z","avatar_url":"https://github.com/nstevens1040.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reboot-Chromecast\nWindows PowerShell script that will reboot Chromecast devices on my local network.  \nYou will likely need to edit this script if you want to use it.  \n  \nThis script uses\n   - [gpsoauth](https://github.com/simon-weber/gpsoauth) by [simon-weber](https://github.com/simon-weber)\n   - this [gist](https://gist.github.com/rithvikvibhu/952f83ea656c6782fbd0f1645059055d) by [rithvikvibhu](https://github.com/rithvikvibhu) to retrieve the **master_token** and the **access_token**.\n   - [grpcurl](https://github.com/fullstorydev/grpcurl) by [fullstorydev](https://github.com/fullstorydev) to invoke **RPC** on **googlehomefoyer-pa.googleapis.com:443**  \n  \nThe script assumes that you have\n   - set an environment variable named **HOMEGRAPH_SERVICE_ACCOUNT** to your Google service account's **email address** ```\u003cservice-account-name\u003e@\u003cproject-id\u003e.iam.gserviceaccount.com```\n   - hard-coded your Google master token by setting the environment variable **GOOGLE_MASTER_TOKEN** to the value of your master token\n   - In this case, I have set an environment variable entitled **CHROMECASTMAC** to my Chromecast MAC address. This isn't necessary, but it was convenient for me during testing as a way to quickly retrieve that value.\n\n*You will need to remove the parameter DeviceName's default value unless you also happen to have a Chromecast named Nick's Bedroom TV*\n\n## Quick Start\nOnce you have set your environment variables, you can make **Reboot-Chromecast** available in a **Windows PowerShell** session by running the commands below.\n```ps1\nSet-ExecutionPolicy Bypass -Scope Process -Force;\n[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;\niex (irm https://raw.githubusercontent.com/nstevens1040/Reboot-Chromecast/main/Reboot-Chromecast.ps1)\n```  \n  \n# Usage\n```ps1\n\nNAME\n    Reboot-Chromecast\n    \nSYNTAX\n    Reboot-Chromecast [-DeviceName] \u003cstring\u003e  [\u003cCommonParameters\u003e]\n    \n    \nPARAMETERS\n    -DeviceName \u003cstring\u003e\n        \n        Required?                    true\n        Position?                    0\n        Accept pipeline input?       false\n        Parameter set name           (All)\n        Aliases                      None\n        Dynamic?                     false\n        \n    \u003cCommonParameters\u003e\n        This cmdlet supports the common parameters: Verbose, Debug,\n        ErrorAction, ErrorVariable, WarningAction, WarningVariable,\n        OutBuffer, PipelineVariable, and OutVariable. For more information, see \n        about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). \n    \n    \nINPUTS\n    None\n    \n    \nOUTPUTS\n    System.Object\n    \nALIASES\n    None\n    \n\nREMARKS\n    None\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstevens1040%2Freboot-chromecast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnstevens1040%2Freboot-chromecast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstevens1040%2Freboot-chromecast/lists"}