stfnhmplr / node-red-contrib-homee

access the homee api with node-red
37 stars 8 forks source link

Virtual Homee within Docker Container #39

Closed belveder79 closed 11 months ago

belveder79 commented 11 months ago

I was running the virtual homee in node-red nicely on bare metal, but since I upgraded the hardware I have moved node-red into docker. Now I can't connect to the virtual homee from the real homee any more...

Which are the ports that should be forwarded from the docker container? I saw that 7681 should certainly be forwarded, but can someone provide a full list including protocols required? Thx...

belveder79 commented 11 months ago

Ok, to answer the question myself, there are 2 Ports which should be exposed by docker:

Therefore a potential start command looks like

docker run -tid \
  --restart=always \
  -p 1880:1880 \
  -p 7681:7681 \
  -p 15263:15263/udp 
  -v /mywhateverstorage/nodered-data:/data \
  --name nodered \
  nodered/node-red

Works flawlessly...