Open nov- opened 4 years ago
Same problem. Did fresh raspberry pi install, installed homebridge, homebridge UI, and GPIODevice only, no special config yet, and getting the same error. Node v10.19.0.
[5/11/2020, 10:11:37 AM] [HB Supervisor] Started Homebridge v1.0.4 with PID: 4849 [5/11/2020, 10:11:41 AM] Loaded config.json with 0 accessories and 1 platforms. [5/11/2020, 10:11:41 AM] --- [5/11/2020, 10:11:45 AM] Loaded plugin: homebridge-config-ui-x [5/11/2020, 10:11:45 AM] Registering platform 'homebridge-config-ui-x.config' [5/11/2020, 10:11:45 AM] --- [5/11/2020, 10:11:46 AM] ==================== [5/11/2020, 10:11:46 AM] ERROR LOADING PLUGIN homebridge-gpio-device: [5/11/2020, 10:11:46 AM] 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/10.19.0/linux/arm/nodeWiringPi.node at bindings (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/bindings/bindings.js:88:9) at Object.<anonymous> (/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:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-gpio-device/index.js:3:11) [5/11/2020, 10:11:46 AM] ==================== [5/11/2020, 10:11:46 AM] Loading 1 platforms... [5/11/2020, 10:11:46 AM] [Config] Initializing config platform... [5/11/2020, 10:11:46 AM] [Config] Running in Service Mode
Same problem here. Also fresh install.
Error: Could not locate the bindings file. Tried:
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/build/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/build/Debug/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/build/Release/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/out/Debug/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/Debug/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/out/Release/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/Release/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/build/default/nodeWiringPi.node
→ /home/hoobs/.hoobs/node_modules/node-wiring-pi/compiled/12.13.1/linux/arm/nodeWiringPi.node
at bindings (/home/hoobs/.hoobs/node_modules/bindings/bindings.js:88:9)
at Object.
gpio -v gpio version: 2.46 Copyright (c) 2012-2018 Gordon Henderson This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty
Raspberry Pi Details: Type: Pi 3, Revision: 02, Memory: 1024MB, Maker: Sony
Same problem here
Right now I think that the only way to keep this plugin working is to stay on Node.js v10, Homebridge 0.4.53, and WiringPi 2.46. Otherwise, consider moving to homebridge-rpi.
same issue here
same issue with both Homebridge on RPi4 and Hoobs on RPi 3B+.
Right now I think that the only way to keep this plugin working is to stay on Node.js v10, Homebridge 0.4.53, and WiringPi 2.46.
That's awful... Does anyone know will the owner work on the plugin?
Pls fix this problem! Plssss
Right now I think that the only way to keep this plugin working is to stay on Node.js v10, Homebridge 0.4.53, and WiringPi 2.46. Otherwise, consider moving to homebridge-rpi.
Can confirm, I had to downgrade to Homebridge 0.4.53 && use wiringpi 2.46 in order to get this up and running again, I'm running Node.js 10.21
Otherwise, consider moving to homebridge-rpi.
Same problem here.
Moving to homebridge-rpi
did not change a thing.
Finally got it working on homebridge-rpi
with the following steps:
sudo hb-service stop
sudo npm uninstall -g homebridge
and sudo npm uninstall -g homebridge-config-ui-x
. Uninstall homebridge-gpio-device too if it is still around from testing sudo npm uninstall -g homebridge-gpio-device
sudo npm install -g n 10
and sudo n 10
sudo npm install -g homebridge-gpio-device --unsafe-perm
and sudo npm install -g homebridge-config-ui-x --unsafe-perm
. Both are now built to fit perfectly to the installed version of Node.sudo apt install wiringpi
sudo npm install -g homebridge-gpio-device --unsafe-perm
Now the plugin should work fine with the latest version of Homebridge (1.1.1) and Homebridge-Config-UI-X (4.24.0) on Node 10.22.0 - at least it does for me ;-). But keep in mind to NOT update Node when updating the system unless the compatibility-issues are fixed.
I have not tested it, but I'd assume that these steps should also work on other installations (meaning not homebridge-rpi).
Is there any way to correct install all dependency for plugin? Permanently get error on Homebridge start.
gpio
installed and seems like works