ilcato / homebridge-Fibaro-HC2

Homebridge plugin for Fibaro Home Center 2 (and Home Center Lite ...)
Apache License 2.0
66 stars 27 forks source link

Problems Homebridge pluging Fibaro HC2 #65

Closed MeesHazeleger closed 7 years ago

MeesHazeleger commented 7 years ago

I've recently have updated the homebridge because of a pluging problem, now the homebridge is working fine but can't load the FIBARO HC2 plugin.

*** throw new Error("The requested platform '" + name + "' was not registered by any plugin."); Error: The requested platform 'Fibaro-HC2' was not registered by any plugin. at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)

GET https://registry.npmjs.org/homebridge-fibaro-hc2 npm info retry will retry, error on last attempt: TypeError: The header content contains invalid character***

I'm running homebridge om a docker in Synology

All the help is welcome !

ilcato commented 7 years ago

It seems you didn't install the plugin properly. Try again with:

sudo npm install -g homebridge-fibaro-hc2

and share the result of the installation.

MeesHazeleger commented 7 years ago

unfortunately, this doesn't solve the problem

Same error as before

ilcato commented 7 years ago

Is the plugin correctly installed? Whats the log of the installation procedure?

MeesHazeleger commented 7 years ago

Document1.pdf

I've uploaded the log of the terminal

MeesHazeleger commented 7 years ago

complete log

ilcato commented 7 years ago

I mean the terminal log of the command:

sudo npm install -g homebridge-fibaro-hc2

MeesHazeleger commented 7 years ago

I've trieded to install de plug in in the terminal of de docker typing npm install homebridge-fibaro-hc2, that worked well. Then I've rerun the container with the install.sh file and config.json file, run the container and everything is working again. Thanks for your support