jointSPACE API for Home-Assistant
Project description
ha-philipsjs
Wrapper library to integrate Philips TVs with jointSPACE API into Home-Assistant
This is just being used to wrap the API into a nice object. Nothing fancy.
- Support version 1 and 6 of the jointspace API
- Support pairing process
- Python typing information on endpoints
- NotifyChange support for supported tv's
Print system data
from haphilipsjs import PhilipsTV
tv = PhilipsTV("tv2.ecce.loc", 6)
tv.getSystem()
print(tv.system)
Pairing with TV
from haphilipsjs import PhilipsTV
tv = PhilipsTV("tv2.ecce.loc", 6)
tv.getSystem()
state = tv.pairRequest("my_test_app", "My Test App", "mox", "OSX", "native")
pin = input("Enter pin:")
username, password = tv.pairGrant(state, pin)
print(username)
print(password)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ha-philipsjs-1.1.1.tar.gz
(9.2 kB
view details)
File details
Details for the file ha-philipsjs-1.1.1.tar.gz
.
File metadata
- Download URL: ha-philipsjs-1.1.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c1f75ba962b4a84b64bda5238d641e22164be08265a6d0c4c23527c118ccf60 |
|
MD5 | bbea9be3b7d0e868a3f627533ac08523 |
|
BLAKE2b-256 | 023244cf5c2d0b45259a5be4fe66276b2ab98fac4a454652b5980cb966d5b61a |