dubocr / homebridge-gpio-device

Homebridge GPIO device expose several HomeKit accessories interacting with GPIO
Apache License 2.0
66 stars 20 forks source link

Can't Load Plugin homebridge-gpio-device #99

Open SK8081 opened 3 years ago

SK8081 commented 3 years ago

I have the lastest Raspberry Pi release from Homebridge.io. Installed wiringpi 2.46. Loaded the latest homebridge-gpio-device and as soon as I start homebridge, I receive this error.

[9/28/2020, 12:19:51] ERROR LOADING PLUGIN homebridge-gpio-device: [9/28/2020, 12:19:51] Error: Could not locate the bindings file. Tried: → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Debug/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Release/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Debug/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Debug/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Release/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Release/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/default/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/compiled/12.18.4/linux/arm/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/addon-build/release/install-root/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/addon-build/debug/install-root/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/addon-build/default/install-root/nodeWiringPi.node → /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/lib/binding/node-v72-linux-arm/nodeWiringPi.node at bindings (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/bindings/bindings.js:126:9) at Object. (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/index.js:1:37) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object. (/usr/local/lib/node_modules/homebridge-gpio-device/index.js:3:11) at Module._compile (internal/modules/cjs/loader.js:1137:30)

Doe anyone have a fix?

LangBalthazar commented 3 years ago

I have the same issue tried multiple things following previous reports of this issue.

I have wiring pi working from terminal but the plugin in hombrigde renders the same error

`pi@NFCbridge:/wiringpi $ gpio -v gpio version: 2.60 Copyright (c) 2012-2018 Gordon Henderson This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty

Raspberry Pi Details: Type: Pi 3A+, Revision: 00, Memory: 512MB, Maker: Sony

ajhubs commented 3 years ago

Anyone find a fix for this ? I have the same issue.

SK8081 commented 3 years ago

I was using this for my garage door opener and have since migrated away from it because of this issue. No fix that I am aware of..

ajhubs commented 3 years ago

Thanks - Iv done the same using this instead, https://github.com/dubocr/homebridge-gpio-device/issues/99 - works well :)

danalvi commented 3 years ago

Same issue persists!