Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pairing problem #5

Closed
ghost opened this issue Jul 29, 2021 · 5 comments
Closed

Pairing problem #5

ghost opened this issue Jul 29, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2021

Hey,

I’m using node red official docker image. When I try to pair my Apple TV 4K I’m getting just an error “ No devices retrieved, check your Apple TVs connection settings”. ATV is Running. I have no clue how to debug that.

Greetings

@twocolors
Copy link
Owner

oh, check mdns in docker

@ghost
Copy link
Author

ghost commented Aug 19, 2021

mDNS just works in the same subnet. As docker creates his own subnet the Plugin can't detect the AppleTV. Running the container in "network_mode: host" solves this issue.

Thank you for your hint!

@ghost ghost closed this as completed Aug 19, 2021
@twocolors
Copy link
Owner

i use

  node-red:
#    image: nrchkb/node-red-homekit:latest-12-minimal
    image: nrchkb/node-red-homekit:latest-14-minimal
    hostname: kubik3
    container_name: node-red
    environment:
      - TZ=Europe/Moscow
      - PORT=80
    networks:
      bridge:
      local:
        ipv4_address: 192.168.0.11
    volumes:
      - /home/pi/.node-red:/data
    restart: unless-stopped

networks:
  local:
    external: true
  bridge:
    driver: bridge

and

pi@holyland:~ $ docker network ls
NETWORK ID     NAME        DRIVER    SCOPE
9c4c28970f73   local       macvlan   local

in macvlan full work mDNS in docker and host machins

@ghost
Copy link
Author

ghost commented Aug 27, 2021

Thanks. I'm using macvlan now. With that my PiHole DHCP works also perfekt.

@Jai-Gogineni
Copy link

Hi i am running this

sudo docker run -it --net=host -v node_red_data:/data --name nodered5 nodered/node-red still not able to recognise

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants