sahilchaddha / homebridge-yeelight-platform

Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
MIT License
58 stars 7 forks source link

Home bridge launch problem. #7

Closed withs closed 5 years ago

withs commented 5 years ago

Hello,

Recenly i installed homebridge with yeelight and it was work good, but when i install your plugin this is what i get:

thanks for help :) capture

sahilchaddha commented 5 years ago

Hey @ShibaeO , Please make sure you uninstall homebridge-yeelight properly first. I can see from the logs that homebridge-yeelight is also installed and used. Both plugins need socket port 1982.

You can try uninstalling by npm uninstall -g homebridge-yeelight or sudo rm -rf /usr/local/bin/node_modules/homebridge-yeelight

And then reinstall homebridge-yeelight-platform

withs commented 5 years ago

Hi,

Thanks for reply after uninstall homebridge-yeelight and reinstall homebridge-yeelight-platform, i put config .json and when i start homebridge this is what i get : capture

Im sorry for all this problem ;)

sahilchaddha commented 5 years ago

Hey @ShibaeO , Now this looks like that you already have a running homebridge instance. Port 51826 is used by homebridge. Try restarting your system, it should remove any zombie instances running. Or try setting a different port number in config.json

Let us know if it resolves your issue.