postlund/pyatv

How to find AppleTV on other network

Opened this issue · 2 comments

Describe the bug

A atvremote wizard does not find my device which is connected remotely but my coomputer is connected to that remote network via VPN.

local network: 192.168.0.0
remote network: 192.168.10.0

Apple tv: 192.168.10.183

And ping also works:


❯ ping 192.168.10.183
PING 192.168.10.183 (192.168.10.183): 56 data bytes
64 bytes from 192.168.10.183: icmp_seq=0 ttl=63 time=7.040 ms
^C
--- 192.168.10.183 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 7.040/7.040/7.040/nan ms

Error log

<place log here>

How to reproduce the bug?

see description

What is expected behavior?

it should find the device

Operating System

MacOs

Python

3.8

pyatv

0.15.0

Device

AppleTV 17

Additional context

none

You need an MDNS responder for this setup to work. MDNS traffic is not forwarded between subnets by default, nor were they designed to in the first place.

I see, isn't there any possibility to manually define the IP? I tried several things but without success.