ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
897 stars 91 forks source link

Plugin Installation not possible (homebridge-config-ui-x) #1105

Closed cl4udiu5 closed 2 years ago

cl4udiu5 commented 2 years ago

Issue

Setup a new homebridge (https://github.com/homebridge/homebridge-raspbian-image/wiki/Getting-Started). All plugins I wanted, were successfully installed. Plugin homebridge-hue not successful. Also tried 0.13.39 -> same error

It's a Raspberry Pi Model B Rev 2. Reinstalled Node.js from https://unofficial-builds.nodejs.org/download/release/v16.15.1/ Everything is working fine but homebridge-hue installation.

Bildschirmfoto 2022-06-28 um 16 43 13
ebaauw commented 2 years ago

Sorry, I have no clue. This is an issue with npm, not with the plugin. Did you check the mentioned debug file?

cl4udiu5 commented 2 years ago

Tried to find the debug file but couldn't find it. Could you please help me with that?

ebaauw commented 2 years ago

The path is listed on screen. If it’s no longer there, I’d give it another try and look at it immediately after.

cl4udiu5 commented 2 years ago

Tried something new...

Flashed SD card again and installed homebridge manually. https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Raspbian

After that installed Node.js again because I need arm6 compatible version.

wget https://unofficial-builds.nodejs.org/download/release/v16.15.1/node-v16.15.1-linux-armv6l.tar.gz
tar xf node-v16.15.1-linux-armv6l.tar.gz
sudo cp -R node-v16.15.1-linux-armv6l/* /usr/local

Restarted Pi, Homebridge started, everything is fine. Installed plugins with no issues (Harmony, Samsung Tizen,...). Tried to install homebridge-hue Plugin - same error

ebaauw commented 2 years ago

What does the npm log say?

cl4udiu5 commented 2 years ago

Solved the problem by opening console in Homebridge UI and then installed the plugin with:

hb-service add homebridge-hue

After reboot the plugin was available and ready to configure. Hopefully I can update it in the future.