Giter Club home page Giter Club logo

Comments (4)

dghh avatar dghh commented on June 3, 2024

I think i found the the issue here (at least i have a workaround):

I´m running deCONZ as a service in /etc/systemd/system. I´m also running ha-bridge as a service. (both on different ports) Nevertheless they are interfering with each other.
Mostly the one or the other didn´t start or is exiting shortly after start or is having the wrong port (sometimes even 80 although this should be occupied/blocked by the webserver).
Seems there is an issue on upnp port 1900 ? If ha-bridge comes not up there is the error that this port is blocked by another application/service.
If i disable the deCONZ service (systemctl disable ...) and start the service as last line in crontab (@reboot systemctl start ...) or completely manually, both services are working correct.
The other way round, disabling the ha-bridge service and enabling deCONZ didn´t work. Starting then ha-bridge manually after deCONZ is running a port 1900 failure occurs.

I didn´t update ha-bridge, but i updated deCONZ in the last days. Before this it was running for months without problems. (updated today also ha-bridge, but still same weird behaviour)

Maybe you can look into this, although it is running now somehow.

from deconz-rest-plugin.

manup avatar manup commented on June 3, 2024

I´m running deCONZ as a service in /etc/systemd/system.

FYI deCONZ version 2.04.50 installs /etc/systemd/system/deconz.service it's not yet documented nor enabled and fairly basic. Intention is to provide headless support (no X needed).

deCONZ uses upnp port 1900 in shared mode so even if other services use it. As you have observed, if deCONZ is started last in row it should work fine. Looks like ha-bridge doesn't try to open port 1900 in shared mode?

In this case it should be possible to let systemd start deCONZ after ha-bridge, not sure about the details but systemd has dependency support which could be used for that.

from deconz-rest-plugin.

ebaauw avatar ebaauw commented on June 3, 2024

Intention is to provide headless support (no X needed).

Yes!

from deconz-rest-plugin.

dghh avatar dghh commented on June 3, 2024

Ok,thanks.
Maybe the problem was, that i created this service already weeks ago and activated it. (with port 8080)
This was was possibly overwritten then.

from deconz-rest-plugin.

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.