rsjudka / intelligent-auto

41 stars 15 forks source link

sync openauto night mode with dark mode #28

Closed rsjudka closed 4 years ago

rsjudka commented 4 years ago

Dark mode will now be synced with openauto night mode.

NOTE for this to work you'll need to go into the developer setting of Android Auto and set the night mode to be controlled by the car.

The original plan was to allow night mode to either be synced from phone->car (for that sweet automatic dark mode when the sun goes down) or car->phone but it doesn't seem like there is an indication of when night mode changes.

You can still probably work around that by continuously polling the night mode status, but that just seems like a major hack and I was not a fan of that approach. It may just be better to include an automatic "sun goes down" mode in ia that will automatically adjust to based on time of day.

But for those who plan on using other indicators (like light sensors and stuff) they would want to control the syncing anyway.