stepir / homebridge-solaredge

Homebridge plugin for Solaredge
MIT License
0 stars 0 forks source link

Install in Docker Homebridge #1

Open atcodrinky opened 1 year ago

atcodrinky commented 1 year ago

Hi, I'd really like to test your version of the plugin however I'm unable to find your plugin searching on the UI as it is not present on npm. I run Homebridge via Docker on my Synology NAS; how can I install your plugin? Grazie

stepir commented 1 year ago

should be

npm install -g stepir75/homebridge-solaredge

either from console or via startup/install script

atcodrinky commented 1 year ago

Tried via Terminal UI and this is the result:

root@DS918:/var/lib/homebridge $ npm install -g stepir75/homebridge-solaredge
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/stepir75/homebridge-solaredge.git
npm ERR! Warning: Permanently added the ECDSA host key for IP address '140.82.121.4' to the list of known hosts.
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/homebridge/.npm/_logs/2023-04-13T21_23_05_572Z-debug-0.log

If I type:

root@DS918:/var/lib/homebridge $ npm install -g stepir/homebridge-solaredge

changed 11 packages in 11s

I receive this result but then no plugin is found under plugins

atcodrinky commented 1 year ago

I finally made it. I tried by mistake on Terminal instead of via Script. This code didn't work: npm install -g stepir75/homebridge-solaredge

This one did: npm install -g stepir75/homebridge-solaredge

Now I'll have to retrive the API and then I'll try to test your plugin. I'll get back to you if something arises