Giter Club home page Giter Club logo

Comments (9)

fa505305 avatar fa505305 commented on June 19, 2024 1

It would be very nice if we could get manual hub IP.
thank you again for your replies

from harmony-api.

maddox avatar maddox commented on June 19, 2024

from harmony-api.

fa505305 avatar fa505305 commented on June 19, 2024

Hi,
nothing. no problem with host which seems to work fine. i can access Harmony API web page via local port 3775 (8282 container port). The problem is the HUB that is in different subnet than the host.
please find the logs.
FYI : running docker on synology, and i can ping the hub from the container.
please find the logs :
harmony1csv.txt

thank you in advance
fabien

from harmony-api.

maddox avatar maddox commented on June 19, 2024

Oh if you're running Harmony API in Docker, you have to use host networking for discovery to work. Manually setting the hub host doesn't work.

from harmony-api.

fa505305 avatar fa505305 commented on June 19, 2024

host network is bridged so host IP and container IP are the same. access to different services via different ports.

from harmony-api.

maddox avatar maddox commented on June 19, 2024

Oh so even the host is on a different subnet from the harmony hub? Yeah that's going to be an issue. UPnP won't work across subnets.

I can try to get manual hub IP settings back in there, but I can't make any promises of when.

from harmony-api.

fa505305 avatar fa505305 commented on June 19, 2024

yes correct and this is due to the nature of the hub that does not have an ethernet connection. I have different vlan for different services ... even at home and WIFI is separated ;-)

from harmony-api.

ADN182 avatar ADN182 commented on June 19, 2024

I have the same problem, but in the same network. With Docker and i use host networking (--net=host) but the Hub are not discover.

from harmony-api.

ADN182 avatar ADN182 commented on June 19, 2024

Work for me with this docker : https://hub.docker.com/r/jawilson/harmony-api/ and config like that :
{
"hubs": [
{
"name": "Living Room",
"ip": "192.168.1.111"
},
{
"name": "Bedroom",
"ip": "192.168.1.112"
},
]:
}

from harmony-api.

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.