Raspberry Pi, Sensors, Hardware, DIY, Python.
tutorial. Also, there is a great article about how to use it with Raspberry Pi. The brightness (illuminance) is measured in lux. Wikipedia has a great table explaining illuminance and lux. Based on the table, my use case falls in the range between 20–100 lux, so the 161 photocell is perfectly fine.