My main HT Apple TV 4k originally worked with the driver, then stopped. The ATV is one of the versions that comes up with the device address as blank and the mac in the serial number. Last time I got it working again by deleting the driver, then rescanning and adding it back as a new device number and then copying the device address from the serial number and pasting it into the device address column. I then re-ran the pair airplay and pair companion steps and it worked again.
It stopped again recently. However I noticed that it was partially working this time. All sendkey commands did nothing, however the launching of an app works.
From the system events
AV|12~Launch~com.hulu.plus
Cmd=[12~Launch~hulu.plus] Client=[dashboard-fx-b14o]- works, It launches the app
If I try to send a key down or left or right or whatever button commands. Nothing
From the system Events
AV|12~SendKey~Down
Cmd=[12~SendKey~Down] Client=[dashboard-fx-b14o] None of these sendkey commands do anything.
I then decided to see if the issue may have been on the pyatv/atvremote side. I checked and I was running 14.x and there has been some updates made and the current version is 17. I upgraded pyatv to 17 then tried again. sendkey commands not working, will launch an app.
I deleted the remote devices in my appletv, and re-ran the pairing steps. Same.
I then tried to run commands from the command line of my Raspberry PI to test out the atvremote app:
atvremote --id 42:D4:04:CD:B5:DC select delay=1000 left
allonis@AllonisPi5:~ $ atvremote --id 42:D4:04:CD:B5:DC select delay=1000 left
allonis@AllonisPi5:~ $ atvremote --id 42:D4:04:CD:B5:DC select delay=1000 left
allonis@AllonisPi5:~ $ atvremote --id 42:D4:04:CD:B5:DC right
allonis@AllonisPi5:~ $ atvremote --id 42:D4:04:CD:B5:DC right
allonis@AllonisPi5:~ $
All of these commands worked
I then deleted and reinstalled the driver. Configured it with the correct device id, reused the same Tokens as those are working with the command line. Still the sendkey commands from the driver do nothing. Apps launch.
I'm not sure if I can find any logs with what the allonis server is sending , but those sendkey commands are not working, and it appears to be on the driver side, not the ATVRemote side.
I hope this helps in possibly debugging.
Thanks!
Last edit: 7 months 1 week ago by
Mark Stocku. Reason: typo
Please Log in or Create an account to join the conversation.