GHLocalApi icon indicating copy to clipboard operation
GHLocalApi copied to clipboard

Change locale, timezone and so

Open jiauka opened this issue 4 years ago • 7 comments

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

jiauka avatar Aug 27 '19 14:08 jiauka

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 avatar Aug 27 '19 15:08 rithvikvibhu

Will add this with the documentation overhaul.

rithvikvibhu avatar Jun 14 '20 06:06 rithvikvibhu

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

darkzbaron avatar Nov 21 '21 15:11 darkzbaron

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

rithvikvibhu avatar Nov 21 '21 18:11 rithvikvibhu

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

darkzbaron avatar Nov 21 '21 19:11 darkzbaron

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.

rithvikvibhu avatar Nov 22 '21 05:11 rithvikvibhu

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

darkzbaron avatar Nov 22 '21 06:11 darkzbaron