-
Notifications
You must be signed in to change notification settings - Fork 16
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 LOADING PLUGIN homebridge-gpio-wpi2: #41
Comments
try sudo npm install -g --unsafe-perm homebridge-gpio-wpi2 I had this problem too |
Also here. And running: |
Looks like the node-wiring-pi dependency is failing to build. Can you try
npm install node-wiring-Pi
...and post any errors from that?
…On Sun, 11 Feb 2018 at 18:32, Kimovitzh ***@***.***> wrote:
Also here. And running:
sudo npm install -g --unsafe-perm homebridge-gpio-wpi2
didn't help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARe_tcPJ52-20P8fB27CpY3BteLUW6i8ks5tTzJLgaJpZM4RrpjG>
.
|
Running it as sudo, I get: pi@raspberrypi:~ $ sudo npm install node-wiring-Pi npm ERR! A complete log of this run can be found in: |
Tried something else: root@raspberrypi:/home/pi# sudo npm -g install --unsafe-perm node-wiring-pi node-wiring-pi@0.0.4 install /usr/lib/node_modules/node-wiring-pi Checking for wiringpi: install ok installed
|
Any news on this? |
Tried to install it, but now I just get: pi@raspberrypi:~ $ sudo npm install homebridge-gpio-wpi2
|
From what I can tell, it looks more like an That said, it looks like homebridge-gpio-wpi2 is installed correctly (as per the last line). If homebridge still won't start (and your earlier message shows that node-wiring-pi is building OK), then it may be down to permissions on your There's some tips here: https://github.com/npm/npm/wiki/Troubleshooting - but upgrading node / npm to the latest versions, and running a cache clean - then The combinations of |
After the install, homebridge-gpio-wpi2 dosen't appear under /usr/lib/node_modules. [2018-2-17 17:41:22] Loaded config.json with 0 accessories and 1 platforms. Error: The requested platform 'WiringPiPlatform' was not registered by any plugin. |
Did you install using -g? |
That did something ... This is now the output: pi@raspberrypi:~ $ homebridge Error: The requested platform 'WiringPiPlatform' was not registered by any plugin. |
Also, I don't know if it has any relevance but, the ´node make-gpio-script config.json set-gpio.sh´ gives me this: pi@raspberrypi:~ $ node make-gpio-script config.json set-gpio.sh Error: Cannot find module '/home/pi/make-gpio-script' |
I managed to get it working the third time I tried on a vanilla install. Now, I can start the homebridge connect to it via HomeKit at switch on and off. [2018-2-18 21:29:20] [Pi GPIO (WiringPi)] Turning on pin #7 But the diode on pin 7 dosen's do anything. |
Hi guys, |
@Kimovitzh it seems that everything from the software side is working correctly, are your sure you have wired everything correctly? How did you connect your LED? |
Diodes negative to negative and diodes positive to pin 7. |
Could you confirm which physical pin you’re connecting to?
https://pinout.xyz/
Pin 7 in the config corresponds to pin 26 on the connector. Physical pin 7
would correspond to Pin 4 in the config.
…On Mon, 19 Feb 2018 at 10:12, Kimovitzh ***@***.***> wrote:
@Kepete <https://github.com/kepete>
Diodes negative to negative and diodes positive to pin 7.
Normally I use a darlington array, the diode is just to confirm that it's
working. I had the diode turn on and off with HAP-NodeJS and I works fine,
so it's not the hardware.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARe_tcaGQO0Yux5DujQ8hh7DrB3iXQ64ks5tWUkGgaJpZM4RrpjG>
.
|
TY! I'm used to use the physical pinout. Using the BCM pins work! |
Hi, I meet the same problem, and i can true my problem is caused by the
Could you have any ideas? |
I get this error when running homebridge:
This is my config file that has worked before:
Wiring Pi is installed:
Whats the problem?
The text was updated successfully, but these errors were encountered: