Hello,
I recently needed to force an update to my Chromecast but couldn't find any way how to do it.
I'm sorry if it has been already posted here but Google couldn't find anything about it.
Most of you probably know the HTTP interface to various Chromecast settings, but it seems like nobody has found the way how to force it to check for an update.
Normally you can request a restart by sending a POST message like this:
If you want it to actively check for an update and download it you have to send the following (notice the "ota foreground"):
If there's an update available it should shortly start to increase the percentage of the download, otherwise it will just stay at 0%.
The download itself took probably half an hour to complete for me.
When the download is finished it is necessary to force a reboot with the first command.
PS: That's where I found out about it: https://chromium.googlesource.com/c...st/+/master/server/cros/sonic_client_utils.py
Greetings
Hagn
I recently needed to force an update to my Chromecast but couldn't find any way how to do it.
I'm sorry if it has been already posted here but Google couldn't find anything about it.
Most of you probably know the HTTP interface to various Chromecast settings, but it seems like nobody has found the way how to force it to check for an update.
Normally you can request a restart by sending a POST message like this:
Code:
curl -X POST -H "Content-Type: application/json" -d '{"params": "now"}' http://<chromecastIp>:8008/setup/reboot -v
If you want it to actively check for an update and download it you have to send the following (notice the "ota foreground"):
Code:
curl -X POST -H "Content-Type: application/json" -d '{"params": "ota foreground"}' http://<chromecastIp>:8008/setup/reboot -v
If there's an update available it should shortly start to increase the percentage of the download, otherwise it will just stay at 0%.
The download itself took probably half an hour to complete for me.
When the download is finished it is necessary to force a reboot with the first command.
PS: That's where I found out about it: https://chromium.googlesource.com/c...st/+/master/server/cros/sonic_client_utils.py
Greetings
Hagn
Attachments
Last edited: