Arduino + Apple TV

Hey Arduino community,

Recently, I made a small project using Home Assistant, an ESP32 Mini, and an NFC reader that allows me to open a specific link on my Apple TV once a tag touches the NFC reader. This works thanks to Home Assistant automation.

Is it possible to achieve the same action but without Home Assistant, by pairing the ESP32 directly with Apple TV?
Can I make make a bridge between Arduino and Apple TV without anythings? Maybe I can use phone to pair them but let them work together after

Thanks for your help!

Demo: Home Assistant + ESP32 + NFC reader - Album on Imgur

Not really. The Apple TV primarily uses the Apple TV Remote Protocol for communication and I'm not aware of anything robust for ESP32.

Home Assistant uses the pyatv library, which is a well-maintained Python library that implements the Apple TV Remote Protocol and other related protocols but it still depends solely on private and reverse engineered protocols and so things could break...

Interesting! Thank you for sharing the link.
Is it possible to run pyatv on arduino?

I don't think so

circuitPython is too light for it (need a full Python 3.7 and a handful of libraries like asyncio, aiohttp, zeroconf, protobuf, or cryptography...)

Will Raspberry Pi Zero be able to run full Python? Or are there any other devices that can?

Yes, the Raspberry Pi Zero is capable of running full Python 3.7 and the standard libraries and most Python packages. (I’ve never tried one though)

Performance may be limited for more demanding tasks due to its lower processing power and limited memory - worth trying.

(There are more capable RPi)

Thanks for helping!
I will try to do it with Raspberry and post the result here

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.