AppleTV OK key doesn‘t work

Hello everyone, after the initial euphoria, things are unfortunately starting to take a turn for the worse. The battery is catastrophically bad and doesn’t even last half a day. Activities don’t work reliably, which is evident in the fact that sometimes all devices are controlled correctly, sometimes not. For example, sometimes the TV is on, sometimes it stays off… But what’s more than annoying is that I can’t fully control my Apple TV. The OK button isn’t properly integrated, so you can’t select a letter when searching in the Disney+ app, for example. I’ve tried just about everything… Nothing works. Instead of selecting the letter, pressing the OK button with every conceivable and possible assignment causes the cursor to jump to the movie selection… And how do I stop the remote from constantly deregistering from the Apple TV as a keyboard?

1 Like

Have you tried the AppleTV integration instead of using Bluetooth?

My Apple TV is displayed both under Integration (which I named AppleTV) and under Bluetooth Entities (which I named AlleTV BT). However, in the actions, I can only select AppleTV BT. Understandably, only AppleTV BT appears in the key assignments with the keyboard commands or the consumer commands. There’s no OK button here. The Remote 3 is always recognized as a keyboard by the Apple TV. The connection is regularly interrupted, so you have to wait until the connection is re-established before using it. Am I misunderstanding this, or am I doing something wrong? Please help.

When you create an activity you must add both entities of the Apple TV integration. One has an image like a remote and the other like music notes. If you want Bluetooth also add also Apple TV bt. Bluetooth is connected when you press a button and disconnect a few seconds later. The behavior can be changed but only through an API call.

Ralf

Thanks for the help, that explains the strange behavior. However, only AppleTV BT is displayed as an entity. The AppleTV integration doesn’t appear as an entity. I’ve attached a screenshot of what the integration looks like. What am I missing, or where is my mistake? When creating a test activity, I can only select AppleTV BT.

For Apple TV integration you have to allow access of external device otherwise you cannot use it.

See here for more information:

While pairing you must allow access twice.

Ralf

You Apple TV seems to named Fernsehen as you can see in your first screenshot from the Apple TV integration settings. Add this entity to your activity.

Ah, sorry, my mistake. That was apparently a relic from the first attempts. I’ve now renamed “Television” to AppleTV INT (for integration) for easier differentiation. I’ve now added this entity to my activity and replaced the buttons and user interface with the AppleTV integration commands. Now, however, the remote control no longer responds at all, or rather, it doesn’t control the AppleTV at all. You said that you have to add both entities. The integration has a musical note as its symbol, the Bluetooth entity has a Bluetooth symbol an shows “unknown”. What do I switch in the sequence, or what do I have to do with the AppleTV BT entity in the sequences? Sorry if I’m being stupid… I had already enabled the AirPlay sharing.

You only need one entity. Either Bluetooth or the integration. The Bluetooth entity is probably disconnected and is shown as unavailable.

That makes more sense to me. It was stated above that you have to use both. Okay, but why isn’t my Apple TV responding to the remote at all now? I’ve included the entity name I assigned in the integration in my activity and configured all the buttons accordingly… What’s also puzzling me, though, is that I selected one icon for the menu button on the screen, but a different one is displayed on the remote. The others are fine…

Apple TV integration itself already offers 2 entities with different images. When you added your apple tv did it asked twice to allow control? When you add some devices like the Apple TV they must be up and running as they ask to allow control and some show a pin you must enter during setup. Have you allowed external control in the settings of the Apple TV settings? When I had my box the setup was quite straight forward.

Ralf

If I’m not mistaken, I was asked twice during the initial installation. But that was a while ago. If this has nothing to do with the inactive Bluetooth entity, then only one was created for me. What do I do now? Can I delete the Bluetooth entity to keep the system clean, and how do I create the second entity mentioned above? Can I initiate this later, or do I have to delete my Apple TV and re-integrate it? External access is permitted, as described above (Github).

Start Apple TV integration. You should see added entities and if it shows only 1 entity you can press + then it might show the second entity you can add.

To be honest I would think about starting from scratch with Apple TV.

ralf

I’d rather start from scratch. I’ve now completely deleted the Apple TV and created the new integration. The problem was again a bug that prevented you from entering the AirPlay code if it started with a zero. I restarted and was asked for two AirPlay codes, which I entered. Then I tried to create both entities. But I’m only ever offered one, and only one is created… What am I doing wrong? In the Apple TV setup menu, sharing “on the same network” is enabled…

Everything’s working now. Thank you very much for your help. I suspect that during the initial installation, only an AirPlay code was accepted because, as I remember, it also started with a zero. It’s working now, anyway. With a bit of luck, the conflict between the integration and the Bluetooth connection was also the reason why not all devices were connected correctly.

Good luck.

1 Like

The Apple TV integration currently just offers a media player. An addition remote entity is not yet integrated Add remote entity by henrikwidlund · Pull Request #61 · unfoldedcircle/integration-appletv · GitHub

1 Like