-
-
Notifications
You must be signed in to change notification settings - Fork 126
atvremote push_updates always shows Idle, python library works #2838
Copy link
Copy link
Open
Labels
Description
Describe the bug
Running atvremote with push_updates always shows the device as Idle, even when something is playing. On the same machine I have a python script running that connects and uses push_updater.listener to listen for state changes. This works. What could be the reason?
Error log
./atvremote --debug -s 192.168.10.112 push_updates
2026-03-23 12:07:55 DEBUG [pyatv.scripts]: Running with pyatv 0.17.0
2026-03-23 12:07:55 DEBUG [pyatv.storage.file_storage]: Loading settings from /home/cinema/.pyatv.conf
2026-03-23 12:07:55 DEBUG [pyatv.support.knock]: Knocking at port 3689 on 192.168.10.112
2026-03-23 12:07:55 DEBUG [pyatv.support.knock]: Knocking at port 7000 on 192.168.10.112
2026-03-23 12:07:55 DEBUG [pyatv.support.knock]: Knocking at port 49152 on 192.168.10.112
2026-03-23 12:07:55 DEBUG [pyatv.support.knock]: Knocking at port 32498 on 192.168.10.112
2026-03-23 12:07:55 DEBUG [pyatv.core.scan]: Auto-discovered Apple TV at 192.168.10.112:7000 via Protocol.AirPlay ... (redacted)
2026-03-23 12:07:55 INFO [pyatv.scripts.atvremote]: Auto-discovered Apple TV at 192.168.10.112
2026-03-23 12:07:55 DEBUG [pyatv]: Loading settings from FileStorage:/home/cinema/.pyatv.conf
2026-03-23 12:07:55 DEBUG [pyatv.core.facade]: Adding handler for protocol Protocol.AirPlay
2026-03-23 12:07:55 DEBUG [pyatv.protocols.airplay]: Remote control not supported by device
2026-03-23 12:07:55 DEBUG [pyatv.protocols.companion]: Not adding Companion as credentials are missing
2026-03-23 12:07:55 DEBUG [pyatv.core.facade]: Adding handler for protocol Protocol.RAOP
2026-03-23 12:07:55 DEBUG [pyatv.core.facade]: Connecting to protocol: Protocol.AirPlay
2026-03-23 12:07:55 DEBUG [pyatv.core.facade]: Connected to protocol: Protocol.AirPlay
2026-03-23 12:07:55 DEBUG [pyatv.core.facade]: Connecting to protocol: Protocol.RAOP
2026-03-23 12:07:55 DEBUG [pyatv.core.facade]: Connected to protocol: Protocol.RAOP
2026-03-23 12:07:55 DEBUG [pyatv.core.facade]: Power management not supported by any protocols
Press ENTER to stop
Media type: Unknown
Device state: Idle
--------------------
How to reproduce the bug?
See above but probably machine specific.
What is expected behavior?
atvremote shows state changes.
Operating System
Linux
Python
3.11
pyatv
0.17.0
Device
Apple TV 4K (gen 3), tvOS 26.3
Additional context
My machine has two network interfaces, could that be a reason?
Reactions are currently unavailable