Skip to content

Raspberry Pi 5 compatibility #12

Description

@siddely

Hello,

I have been using this plugin for the past few years successfully and it has always been very effective and stable, thank you !
I have upgraded my system from a Pi 4 to a Raspberry Pi 5 and it broke the plugin compatibility I think because of the new BCM2712 controller.

Here is the output I get at startup :

[01/01/2024, 23:40:17] [ACCESSORYNAME] Initializing Relay accessory...
bcm2835_init: Unable to open /dev/gpiomem: No such file or directory
[01/01/2024, 23:40:17] Error: Could not initialize bcm2835
at bindcall2 (/var/lib/homebridge/node_modules/homebridge-relays/node_modules/rpio/lib/rpio.js:119:9)
at EventEmitter.rpio.init (/var/lib/homebridge/node_modules/homebridge-relays/node_modules/rpio/lib/rpio.js:837:2)
at rpio.open (/var/lib/homebridge/node_modules/homebridge-relays/node_modules/rpio/lib/rpio.js:871:18)
at new RelayAccessory (/var/lib/homebridge/node_modules/homebridge-relays/index.js:35:14)
at /var/lib/homebridge/node_modules/homebridge/src/server.ts:379:50
at Array.forEach ()
at Server.loadAccessories (/var/lib/homebridge/node_modules/homebridge/src/server.ts:299:29)
at Server.start (/var/lib/homebridge/node_modules/homebridge/src/server.ts:179:12)
[01/01/2024, 23:40:17] Got SIGTERM, shutting down Homebridge...
[01/01/2024, 23:40:17] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
at Bridge.Accessory.setupURI (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:994:11)
at Server.setServerStatus (/var/lib/homebridge/node_modules/homebridge/src/server.ts:155:45)
at Server.teardown (/var/lib/homebridge/node_modules/homebridge/src/server.ts:199:10)
at signalHandler (/var/lib/homebridge/node_modules/homebridge/src/cli.ts:93:12)
at process.emit (node:events:517:28)
at process.emit (/var/lib/homebridge/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)
[01/01/2024, 23:40:22] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null

I get that the Pi 5 is still very new hardware and would gladly help to test for a potential update of the plugin.
Thank you !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions