ebaauw / homebridge-rpi

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

Raspberry Pi 5 #165

Open ebaauw opened 8 months ago

ebaauw commented 8 months ago

The Raspberry Pi 5 uses the BCM2712 SoC package and the RP1 southbridge to control the GPIO pins. This hardware setup is very different from the Pi 4B (and from other Pi models). Unfortunately it is not yet (?) supported by pigpio, see https://github.com/joan2937/pigpio/issues/589.

Consequently, currently Homebridge RPi cannot manage a Pi 5 remotely and cannot control the GPIO pins for a local Pi5.

JinShil commented 8 months ago

Consider using rgpio: https://abyz.me.uk/lg/rgpiod.html

ebaauw commented 8 months ago

Does that support the Pi 5?

Does it come pre-installed with Raspberry Pi OS, or can it be installed through apt? I don't want a dependency on some programme that users need to compile themselves.

JinShil commented 8 months ago

It does not yet appear to be in either the Debian repository or the Raspberry Pi repository, so I think users will need to build it and install it themselves using make. There is a discussion on the Raspberry Pi Bookworm Beta forums about replacing pigpio with rgpio, but it doesn't appear to have happened yet, and can't say whether or not it will.