Closed lordchima closed 5 years ago
No one?
Hey, what npm and node version do you have? What raspberry model are you using?
Hey sorry for the long wait my old account i forgot the password haha. I got an raspberry pi 3B npm and node version how do i see those?
Hey, what npm and node version do you have? What raspberry model are you using?
npm version 6.4.1 node version 9.9.1
Yo @rsporny ?
Please try downgrading npm to 3.10.3 and node to 6.6.0. I'll try the newest versions soon, but if the old doesn't work for you, please remove node-modules dir and install plugin again.
Thanks for the help the error is gone! :) Sadly im now getting this error.
/usr/lib/node_modules/homebridge/lib/api.js:64 throw new Error("The requested accessory '" + name + "' was not registered by any plugin."); ^
Error: The requested accessory 'Blinds' was not registered by any plugin.
at API.accessory (/usr/lib/node_modules/homebridge/lib/api.js:64:13)
at Server._loadAccessories (/usr/lib/node_modules/homebridge/lib/server.js:264:42)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:86:38)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.
Config:
{ "accessory": "Blinds", #maybe this isnt the right one? "name": "Sleeproom", "pinUp": 5, "pinDown": 11, "durationUp": 13000, "durationDown": 13000, "durationOffset": 1000, "pinClosed": 17, "pinOpen": 18, "activeLow": false, "reedSwitchActiveLow": false },
Sorry, did you manage to fix it? Probably you still don't have plugin installed. What you get when you run this npm install -g homebridge-gpio-blinds
?
Hey,
Youre plugin seems really cool. Its exactly what i needed. Sadly i get an error.
[2018-10-6 13:35:21] ==================== [2018-10-6 13:35:21] ERROR LOADING PLUGIN homebridge-gpio-blinds: [2018-10-6 13:35:21] Error: Could not locate the bindings file. Tried: → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/build/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/build/Debug/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/build/Release/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/out/Debug/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/Debug/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/out/Release/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/Release/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/build/default/rpio.node → /usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/compiled/8.9.1/linux/arm/rpio.node at bindings (/usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/bindings/bindings.js:93:9) at Object. (/usr/local/lib/node_modules/homebridge-gpio-blinds/node_modules/rpio/lib/rpio.js:17:34)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/homebridge-gpio-blinds/index.js:2:12)
[2018-10-6 13:35:21] ====================
Maybe you could help me.