Adjusting lights in room based on TV screen brightness

Hi All,

I’m trying to see if there is a way to adjust the light level in a room based on what content is on the TV screen (I’m not interested in colour, just the light level of the lights), this is so when watching a movie if there is a night time scene, the lights go to a lower level, and when you get bright daylight scenes the light level increases a bit.

I’ve got 4 Hue White Ambiance lights in the room and the home theatre runs off a Windows 10 PC so was trying to see if something could be done with screenshotting in Windows, extracting values and publishing to MQTT or a light sensor with a low refresh interval put in front of the screen.

I’m not knowledgeable enough to program/code something for this purpose so something I am going to try is getting an Aqara P1 and setting it’s timeout interval to 2sec (I think this is the lowest that can be set in zigbee2mqtt), placing it somewhere in front of the TV and angling it towards the screen and seeing what happens with lux levels.

I’ve Googled a fair bit but can’t seem to find anything existing so If anyone has any ideas would be most appreciated.

Thanks

Maybe you could use this in some way. I use it for amblight on my TV and have for years. Not sure it will do what you want though.

Thanks for responding, I did come across Hyperion, adrilight, Hue Play Sync Box and various others, some are quite expensive like the Philips kit, adrilight needs additional hardware to make it work I think like light strips.

I’ve installed Hyperion on Windows and connected it to Home Assistant via the HA plugin, is there a way HA can read values from Hyperion that would give me something to work with for the HA automations ?

Sorry I have no idea, there is an API and an integration but I would have no idea how to do what you want.