myServer 6 supports AppleTV (4Gen and newer) via IP
The myServer user interface mimics the handheld IR remote control.
Simply install the AppleTV driver, and the AppleTV will be self discovered.
Doesn't get any easier than that!
Note: the AppleTV must be on same "control" subnet network as myServer 6.
For security, the AppleTV will require for you to pair it with myServer6. The AppleTV UI will pop up a dialog saying to open a command window and execute a command. Doing that will return long authentication token which you must then copy and paste into the notes field for the device. After that myServer 6 should have control like the handheld AppleTV remote.
You can also control the AppleTV via IR:
Typically the IR would be via a Global Cache IP2IR hardware or Allonis's myIR16/32 hardware.
4K Apple TV IR Sensor location
On the 4th generation AppleTV the IR sensor was located about ½ inch to the left of the LED on the box's front side. Through experimentation we have found that it has been moved on the 4K AppleTV. The new location is about 1" in from the left side edge of the box on the front.
At a global level, there is an ever-increasing appetite for data delivered in real time, with WebSockets being probably the most popular transport protocol for such use cases. Before WebSockets came along, the “realtime” web existed, but it was difficult to achieve, typically slower, and was delivered by hacking existing web technologies which were not designed for realtime applications. The WebSocket protocol paved the way to a truly realtime web.
tvOS is a dedicated platform for Apple TV that is heavily inspired by iOS. Initially known as Apple TV Software, tvOS was renamed and launched in 2015 when Apple introduced the 4th generation Apple TV, with support for third-party applications.
tvOS leverages the unified standard library frameworks that are part of the Apple developer ecosystem. The WebSocket protocol is available as part of the URLSessionWebSocketTask class available within the Foundation framework. For low-level WebSocket protocol access, you can also use the Network framework, which provides fine-grained control on WebSocket protocol connection and packet transport, via the NWProtocolWebSocket class. These classes are available for tvOS in Swift (and Objective-C, but only for the former).