Giter Club home page Giter Club logo

Comments (11)

alexryd avatar alexryd commented on June 14, 2024 3

Try adding "networkInterface": "<device-ip>" to the config, where <device-ip> is the local IP address of whatever you are running homebridge on.

from homebridge-shelly.

MaurizioB84 avatar MaurizioB84 commented on June 14, 2024

when I remove the plugin the error not happening.... I'm sure the error is on the plugin

from homebridge-shelly.

AlexErl avatar AlexErl commented on June 14, 2024

I have the same issue. First I added a shelly 2.5 shutter and got this error. I fixed this with the "NetworkInterface" option.
Now, I added a second shelly to the network and the error popped up again.
I have also a Docker Pi-hole container running on the same PI.

I uninstalled the plugin, but the shellys are still discovered. I also deleted the CachedAccessories, but without success.
Do you have a clue why adding a second shelly to the network is bringing up that error again.

from homebridge-shelly.

MaurizioB84 avatar MaurizioB84 commented on June 14, 2024

I resolve the issue for now but I think is temporary fix.
I following steps:
1 - remove network manager libraries (apt-get remove)
2 - stop and delete container plus all file in accessories and persist folder
3 - docker prune -all (in order to remove all file related and the image of homebridge) --> maybe not needed but in order to update all I prefer to procede in this way.
4 - docker start with the same configuration and now it's work...

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

EADDRINUSE means that another application is already using the address and port that this plugin is trying to use. This usually occurs when another instance of homebridge is running. Try something like $ ps aux | grep homebridge to see if homebridge is already running.

from homebridge-shelly.

MaurizioB84 avatar MaurizioB84 commented on June 14, 2024

I'm sure no other app use the same port, in fact when I reinstall all it's work

from homebridge-shelly.

AlexErl avatar AlexErl commented on June 14, 2024

That is what I did when I added my first shelly 2.5 to the homebridge.
The temp. solution for me is that I uninstalled the docker-ce.
Did you already tested it with installed docker-ce?

from homebridge-shelly.

Frucoboti avatar Frucoboti commented on June 14, 2024

Try adding "networkInterface": "<device-ip>" to the config, where <device-ip> is the local IP address of whatever you are running homebridge on.

Hello,

Please confirm that is the IP of the Raspberry or the IP of the Shelly.
In my case I have 4 Shelly installed.

Thanks

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

The IP address of your Raspberry Pi.

from homebridge-shelly.

Frucoboti avatar Frucoboti commented on June 14, 2024

Thanks!, running ok again.

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

Please close it :)

from homebridge-shelly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.