[4/14/2017, 4:07:14 AM] Loaded plugin: homebridge-gpio-wpi2
[4/14/2017, 4:07:14 AM] Registering platform 'homebridge-gpio-wpi2.WiringPiPlatform'
[4/14/2017, 4:07:14 AM] ---
[4/14/2017, 4:07:14 AM] Loaded config.json with 1 accessories and 0 platforms.
[4/14/2017, 4:07:14 AM] ---
[4/14/2017, 4:07:14 AM] Loading 0 platforms...
[4/14/2017, 4:07:14 AM] Loading 1 accessories...
/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 'GPIO' 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:254:42)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:81:38)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
this is my config.json file:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:31",
"port": 51826,
"pin": "031-45-155"
},
"accessories": [
{
"accessory": "GPIO",
"name": "Light",
"pin": 27
}
],
"platforms": []
}
the error is:"The requested accessory 'GPIO' was not registered by any plugin."
how to fix it?
[4/14/2017, 4:07:14 AM] Loaded plugin: homebridge-gpio-wpi2 [4/14/2017, 4:07:14 AM] Registering platform 'homebridge-gpio-wpi2.WiringPiPlatform' [4/14/2017, 4:07:14 AM] --- [4/14/2017, 4:07:14 AM] Loaded config.json with 1 accessories and 0 platforms. [4/14/2017, 4:07:14 AM] --- [4/14/2017, 4:07:14 AM] Loading 0 platforms... [4/14/2017, 4:07:14 AM] Loading 1 accessories... /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 'GPIO' 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:254:42) at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:81:38) at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10) at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
this is my config.json file: { "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:31", "port": 51826, "pin": "031-45-155" }, "accessories": [ { "accessory": "GPIO", "name": "Light", "pin": 27 } ],
}
the error is:"The requested accessory 'GPIO' was not registered by any plugin." how to fix it?