ebaauw / homebridge-rpi

Homebridge plugin for Raspberry Pi.
Apache License 2.0
311 stars 19 forks source link

Bh1750 sensor #177

Open basmaaks opened 5 months ago

basmaaks commented 5 months ago

Can you add the bh1750 sensor (lux) ?

ebaauw commented 5 months 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.