Asynchronous Python client for DirecTV receivers using the SHEF protocol.
This package allows you to monitor and control a DirecTV receiver and its associated client devices.
pip install directv
import asyncio
from directv import DIRECTV
async def main():
"""Show example of connecting to your DIRECTV receiver."""
async with DIRECTV("192.168.1.100") as dtv:
print(dtv)
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())