sentry07 / directpy Goto Github PK
View Code? Open in Web Editor NEWA python library for interacting with DirecTV receivers
A python library for interacting with DirecTV receivers
When attempting to add a new object using dtv = DIRECTV('10.0.0.151')
the following error results:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/srv/hass/lib/python3.6/site-packages/DirectPy.py", line 33, in __init__
self.get_tuned()
File "/srv/hass/lib/python3.6/site-packages/DirectPy.py", line 74, in get_tuned
self.channel = self._combine_channel(jResp['major'],jResp['minor'])
KeyError: 'major'
This might be caused by the HS-17 having no video output capabilities.
As I understand from the library, it based on DirectTV's SHEF protocol.
Is it still the used protocol (via http requrests) in modern's DirectTV set top boxes?
Thanks
The version that installs from pypi.or using pip3 is outdated and returns errors when using the clientAddr variable. Pulling the current version from github resolves this issue.
Would it be possible to update the version on pypi, as my current work around is to reinstall into my docker container after every homeassistant update.
Thanks.
In your example you have it say "from DIrectPy import DIRECTV" but in the code your class name is "directv" so when you call it none of the functions can be used.
I was setting up some automation and ran into the small problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.