Start | Scan, Pair and Connect | Device Information | Control | Power Management | Features | Metadata | Listeners | Stream | Storage | Apps | Audio | Keyboard | Logging | Examples

Device Information

pyatv can extract various information about a device, e.g. which operating system (and version) it runs or its hardware model (3, 4K, etc.). This information is exposed via the interface interface.DeviceInfo.

Using the Device Information API

After connecting to a device, you get device info via interface.AppleTV.device_info:

atv = await pyatv.connect(config, ...)
devinfo = atv.device_info

You can then access the actual information via properties:


Just printing devinfo will produce a summary of the device information (MAC-address is not included here):

 >>> print(devinfo)
 4K tvOS 13.3.1 build 17K795
← Scan, Pair and Connect | Control →