Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The requested accessory 'GPIODevice' was not registered by any plugin. #107

Open
LegendaryWiz opened this issue Jan 18, 2021 · 1 comment

Comments

@LegendaryWiz
Copy link

Can't seem to start Homebridge, did all as instructed. However this error keeps coming as I start Homebrigde.

Does anyone have any clue? Please shed some light to me, thank you so much!

[1/18/2021, 2:41:03 PM] ====================
[1/18/2021, 2:41:03 PM] ERROR LOADING PLUGIN homebridge-gpio-device:
[1/18/2021, 2:41:03 PM] Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/build/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/build/Debug/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/build/Release/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/out/Debug/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/Debug/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/out/Release/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/Release/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/build/default/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/compiled/12.20.0/linux/arm/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/addon-build/release/install-root/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/addon-build/debug/install-root/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/addon-build/default/install-root/epoll.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/lib/binding/node-v72-linux-arm/epoll.node
at bindings (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/bindings/bindings.js:126:9)
at /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/epoll.js:7:31
at Object. (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/epoll/epoll.js:15:3)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/onoff/onoff.js:5:15)
[1/18/2021, 2:41:03 PM] ====================
[1/18/2021, 2:41:03 PM] Loaded plugin: [email protected]
[1/18/2021, 2:41:03 PM] Registering accessory 'homebridge-raspberrypi-temperature.RaspberryPiTemperature'
[1/18/2021, 2:41:03 PM] ---
[1/18/2021, 2:41:04 PM] Loaded plugin: [email protected]
[1/18/2021, 2:41:04 PM] Registering platform 'homebridge-samsung-tizen.SamsungTizen'
[1/18/2021, 2:41:04 PM] ---
[1/18/2021, 2:41:04 PM] Loading 2 platforms...
[1/18/2021, 2:41:04 PM] [SamsungTizen] Initializing SamsungTizen platform...
[1/18/2021, 2:41:04 PM] [Raspberry Pi] Initializing cmdSwitch2 platform...
[1/18/2021, 2:41:04 PM] Loading 2 accessories...
[1/18/2021, 2:41:04 PM] [RaspberryPi CPU Temperature] Initializing RaspberryPiTemperature accessory...
[1/18/2021, 2:41:04 PM] Error loading accessory requested in your config.json at position 2
[1/18/2021, 2:41:04 PM] Error: The requested accessory 'GPIODevice' was not registered by any plugin.
at PluginManager.getPluginForAccessory (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:198:15)
at /usr/local/lib/node_modules/homebridge/src/server.ts:347:37
at Array.forEach ()
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:330:29)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:156:12)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)

@c0defre4k
Copy link

Running this fixed it for me:
npm install node-gyp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants