ebaauw / homebridge-rpi

Homebridge plugin for Raspberry Pi.
Apache License 2.0
305 stars 18 forks source link

Bh1750 sensor #177

Open basmaaks opened 1 month ago

basmaaks commented 1 month ago

Can you add the bh1750 sensor (lux) ?

ebaauw commented 1 month ago

As I understand, the sensor communicates over I2C. In theory, pigpiod should be able to handle that, but I have no experience with I2C. I won’t have time to look into this before September-ish (2024).

Also it won’t work on a Raspberry Pi 5, which pigpiod doesn’t support. Not sure if an alternative way (still under investigation) to interface with GPIOs would support I2C.