lopelex / node-red-contrib-harmony

Node-RED integration for Harmony hub
MIT License
13 stars 6 forks source link

Can't find any Hub #8

Closed nicedevil007 closed 4 years ago

nicedevil007 commented 4 years ago

Hey guys,

I have a small problem to get this nodes to work well.

First things first: The setup I'm using is a raspberry pi 4 in the same network as the harmony hub is. The raspberry is a docker host with node-red. The node-red network is not the hosts network.

I can enter the IP Adress of my hub manually like this way:

image

Everything is working with this but after a restart of node-red the connection is lost and I have to change the IP Adress manually to another one and then deploy and change the IP Adress back. The automatic search method isn't working on my setup. In my opinion that is the main reason why the connection won't work after a restart of node-red or something like this.

And that is maybe because of missing portforward to the node-red network from the docker host.

Do you know which port is used for the automatic search? (I guess you do ;).

Thank you in advance

lopelex commented 4 years ago

The discovery of the hub runs via ssdp. Should run over port 1900. Communication to the hub runs on port 8088.

lopelex commented 4 years ago

Did you get it going?

nicedevil007 commented 4 years ago

Nope not on this way, but friend told me, that I'm able to give the hosts IP Adress to harmony while searching my "host's network" for devices. That fixed some discovering issue's on his setup. While I don't know where he set it up, I have to be a bit more patient :)

For now it just works if the harmony and node-red is in the same network and node-red isn't in its own docker network.

Pepe962 commented 4 years ago

I have been having this same problem for the past few months I have to change the IP address of the hubs (both of them) to something incorrect, deploy, and then change then back again This happens every time I restart node red

lopelex commented 4 years ago

Please turn on the debug option. Maybe something can be found in the log.

lopelex commented 4 years ago

20200314_192846