evandcoleman / node-appletv

A node module for interacting with an Apple TV (4th-generation or later) over the Media Remote Protocol.
https://evandcoleman.github.io/node-appletv/
MIT License
178 stars 48 forks source link

No Apple TVs found on the network #14

Closed VannaDii closed 4 years ago

VannaDii commented 5 years ago

I totally believe that it didn't find an Apple TV on the network. There is one on the network, though. Are there any advanced options, maybe ports that need to be open, etc.?


[gio@homebridgeserver ~]$ appletv pair
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
No Apple TVs found on the network. Try again.

[gio@homebridgeserver ~]$ ping 10.1.1.82 -c 4
PING 10.1.1.82 (10.1.1.82) 56(84) bytes of data.
64 bytes from 10.1.1.82: icmp_seq=1 ttl=64 time=0.968 ms
64 bytes from 10.1.1.82: icmp_seq=2 ttl=64 time=0.957 ms
64 bytes from 10.1.1.82: icmp_seq=3 ttl=64 time=1.02 ms
64 bytes from 10.1.1.82: icmp_seq=4 ttl=64 time=0.932 ms

--- 10.1.1.82 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 0.932/0.969/1.022/0.050 ms

[gio@homebridgeserver ~]$ ping maintv -c 4
PING maintv (10.1.1.82) 56(84) bytes of data.
64 bytes from MainTV (10.1.1.82): icmp_seq=1 ttl=64 time=0.853 ms
64 bytes from MainTV (10.1.1.82): icmp_seq=2 ttl=64 time=1.05 ms
64 bytes from MainTV (10.1.1.82): icmp_seq=3 ttl=64 time=0.928 ms
64 bytes from MainTV (10.1.1.82): icmp_seq=4 ttl=64 time=1.18 ms

--- maintv ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 0.853/1.006/1.185/0.126 ms```
VannaDii commented 5 years ago

Possibly related to Issue #2

evandcoleman commented 4 years ago

Please try with 1.0.11.

djacobs23 commented 4 years ago

I am running 1.0.16 and facing the same issue