rithvikvibhu / GHLocalApi

(Unofficial) Google Home local API documentation.
https://rithvikvibhu.github.io/GHLocalApi
MIT License
449 stars 38 forks source link

Change locale, timezone and so #41

Open jiauka opened 5 years ago

jiauka commented 5 years ago

name, locale, timezone can be changed by:

curl -X POST -H "Content-Type: application/json" -d '{"name": "myChromecast","settings":{"timezone":"Europe\/Madrid","time_format":2,"locale":"es"},"opt_in":{"stats":false}}' http://10.10.0.10:8008/setup/set_eureka_info

rithvikvibhu commented 5 years ago

Most of the fields from eureka_info are editable with set_eureka_info. But this could be mentioned along with viewing locale and timezone. Will add a note there, then close the issue.

rithvikvibhu commented 4 years ago

Will add this with the documentation overhaul.

darkzbaron commented 2 years ago

Any idea as to how to actually change the language, it does not work when using the above mentionned method!

rithvikvibhu commented 2 years ago

@darkzbaron have you seen the new authentication process? https://rithvikvibhu.github.io/GHLocalApi/#section/Google-Home-Local-API/Authentication

darkzbaron commented 2 years ago

Yes, I am running a post request on set_eureka_info , it returns 200 and set the value but the Google Home does not change language. When I change with the app , howerver, this works

rithvikvibhu commented 2 years ago

Ah. Maybe it's one of those settings that the app sends to Google first, which is then reflected on device. I don't have that device with me right now to test. If you want to give it a try, there's a how-to mitm with grpc in #39.

darkzbaron commented 2 years ago

Cool, I'll do that this week end and revert, thanks so much for the help!