SomeRandomGuy
Iβm not able to fully understand this sorry, WLED HTTP and external bash script are alien to me, im sure one of the devs can confirm.
but regarding lights, whilst not directly in the ambient light setting area, I have my head unit to react with light switch, so when my lights turn on automatically or manually at night, the theme changes from day mode to night mode.
In the Dudu ambient settings, I then have set different brightnesses, one for day mode and lower brightness for night mode, however you can change to any brightness, colour etc per event.