Is your feature request related to a problem? Please describe.
Two related annoyances, which I think could share the same underlying trigger logic:
Screen brightness — now that MG4Control can set infotainment brightness, it would be great if it could change automatically rather than manually. A fixed schedule works, but sunset/sunrise-based (calculated from GPS, no internet needed) or headlight/ambient-light-based switching would handle seasonal variation, tunnels and carparks properly.
Android Auto day/night theme — there's a known quirk on the MG4 where Android Auto's day/night/auto theme doesn't switch unless the auto headlights option is toggled off/on. This suggests the head unit only updates its night-mode flag from headlight state when headlights are set to auto. It would be great if MG4Control could fix or work around this.
Describe the solution you'd like
An "automatic display mode" feature with a configurable trigger source:
- Sunset/sunrise (calculated locally from GPS position, with optional offset), and/or
- Headlight state / ambient light sensor, if these are readable as vehicle properties
Describe alternatives you've considered
If the night-mode property turns out to be read-only or AA doesn't respond to it, a pragmatic fallback would be for MG4Control to programmatically enable the auto-headlights setting (e.g. on boot), since manually toggling it is the known workaround today.
Is your feature request related to a problem? Please describe.
Two related annoyances, which I think could share the same underlying trigger logic:
Screen brightness — now that MG4Control can set infotainment brightness, it would be great if it could change automatically rather than manually. A fixed schedule works, but sunset/sunrise-based (calculated from GPS, no internet needed) or headlight/ambient-light-based switching would handle seasonal variation, tunnels and carparks properly.
Android Auto day/night theme — there's a known quirk on the MG4 where Android Auto's day/night/auto theme doesn't switch unless the auto headlights option is toggled off/on. This suggests the head unit only updates its night-mode flag from headlight state when headlights are set to auto. It would be great if MG4Control could fix or work around this.
Describe the solution you'd like
An "automatic display mode" feature with a configurable trigger source:
Describe alternatives you've considered
If the night-mode property turns out to be read-only or AA doesn't respond to it, a pragmatic fallback would be for MG4Control to programmatically enable the auto-headlights setting (e.g. on boot), since manually toggling it is the known workaround today.