Skip to main content

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.example.com", 6)
tv.getSystem()
print(tv.system)

Pairing with TV

from haphilipsjs import PhilipsTV

tv = PhilipsTV("tv2.example.com", 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)

Command line utility:

usage: python -m haphilipsjs [-h] [-d] -i HOST -a API [-u USERNAME] [-p PASSWORD] {status,monitor,ambilight,pair} ...

positional arguments:
  {status,monitor,ambilight,pair}
                        commands
    status              Show current tv status
    monitor             Monitor current tv status
    ambilight           Control ambilight
    pair                Pair with tv

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Debug output
  -i HOST, --host HOST
  -a API, --api API
  -u USERNAME, --username USERNAME
                        Username
  -p PASSWORD, --password PASSWORD
                        Password

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-3.2.5.tar.gz (50.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ha_philipsjs-3.2.5-py3-none-any.whl (48.2 kB view details)

Uploaded Python 3

File details

Details for the file ha_philipsjs-3.2.5.tar.gz.

File metadata

  • Download URL: ha_philipsjs-3.2.5.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ha_philipsjs-3.2.5.tar.gz
Algorithm Hash digest
SHA256 58821e1a6c54fea58140684ee8de1253330d3a51093b424fbe2c8d7999cf4fc3
MD5 7dd22276df28a07cb87d740800085267
BLAKE2b-256 263009bc78e50cfa1c6721e8880f3a5cd137f8e80c8c2dc701b7cb6a2f87f615

See more details on using hashes here.

File details

Details for the file ha_philipsjs-3.2.5-py3-none-any.whl.

File metadata

  • Download URL: ha_philipsjs-3.2.5-py3-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ha_philipsjs-3.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6681ab3871248b25d1bf6440819bb9bd59af44a7c6b3998ac389577f36cd52
MD5 84789b3447045d5b8c5e92d04d313cc1
BLAKE2b-256 1af06b9849427ee9e7c7bcf08f220cbbaa9462ec0c8696b0334204827a6172b5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.2.5 This release

2 files

3.2.4

2 files

3.2.2

1 file

3.2.1

1 file

3.2.0

1 file

3.1.1

1 file

3.1.0

1 file

3.0.1

1 file

3.0.0

1 file

2.9.0

1 file

2.7.6

1 file

2.7.5

1 file

2.7.4

1 file

2.7.3

1 file

2.7.2

1 file

2.7.1

1 file

2.7.0

1 file

2.6.1

1 file

2.6.0

1 file

2.5.3

1 file

2.5.2

1 file

2.5.1

1 file

2.5.0

1 file

2.4.0

1 file

2.3.2

1 file

2.3.1

1 file

2.3.0

1 file

2.2.0

1 file

2.1.0

1 file

2.0.0

1 file

1.3.0

1 file

1.2.0

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

0.1.0

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page