Brightness Detection and Auto-Brightness
Please see a module that samples images from a webcam to calculate the ambient brightness of the light in the room, sends a matching notification with the light level in percentage, while also (optionally) sends a notification to the MMM-RemoteControl to adjust the brightness of the screen accordingly (using that module’s brightness range of 10-200).
The module samples one image every predefined interval (defaults to 1 minute), and currently supports (and tested over) USB Webcams, while I plan to add support for the PI camera module, which I do not currently have handy, but soon.
Hope you’d like it. It was born because the mirror was too bright for me at night, or too dim in the daylight, and I wanted to create auto-brightness.
I’d appreciate your tests and comments!