{"id":15022056,"url":"https://github.com/danielperna84/ha-philipsjs","last_synced_at":"2025-10-20T00:41:39.001Z","repository":{"id":12738214,"uuid":"72679323","full_name":"danielperna84/ha-philipsjs","owner":"danielperna84","description":"Wrapper library to integrate Philips TVs with jointSPACE API into Home-Assistant","archived":false,"fork":false,"pushed_at":"2024-11-13T18:00:36.000Z","size":333,"stargazers_count":20,"open_issues_count":5,"forks_count":25,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T19:24:16.683Z","etag":null,"topics":["home-assistant","philips"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielperna84.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-02T20:38:39.000Z","updated_at":"2024-11-13T17:59:49.000Z","dependencies_parsed_at":"2023-02-13T04:55:37.534Z","dependency_job_id":"4f6f3a34-9ce0-4447-86b1-493176e09433","html_url":"https://github.com/danielperna84/ha-philipsjs","commit_stats":{"total_commits":278,"total_committers":10,"mean_commits":27.8,"dds":0.1079136690647482,"last_synced_commit":"e5fcd24396abc4a7cb206d166f344742ae6432ab"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperna84%2Fha-philipsjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperna84%2Fha-philipsjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperna84%2Fha-philipsjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperna84%2Fha-philipsjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielperna84","download_url":"https://codeload.github.com/danielperna84/ha-philipsjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253683334,"owners_count":21947118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["home-assistant","philips"],"created_at":"2024-09-24T19:57:23.937Z","updated_at":"2025-10-20T00:41:38.884Z","avatar_url":"https://github.com/danielperna84.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ha-philipsjs\nWrapper library to integrate Philips TVs with jointSPACE API into Home-Assistant\n\nThis is just being used to wrap the API into a nice object. Nothing fancy.\n\n* Support version 1 and 6 of the jointspace API\n* Support pairing process\n* Python typing information on endpoints\n* NotifyChange support for supported tv's\n\nPrint system data\n```python\nfrom haphilipsjs import PhilipsTV\n\ntv = PhilipsTV(\"tv2.example.com\", 6)\ntv.getSystem()\nprint(tv.system)\n```\n\nPairing with TV\n```python\nfrom haphilipsjs import PhilipsTV\n\ntv = PhilipsTV(\"tv2.example.com\", 6)\ntv.getSystem()\n\nstate = tv.pairRequest(\"my_test_app\", \"My Test App\", \"mox\", \"OSX\", \"native\")\n\npin = input(\"Enter pin:\")\n\nusername, password = tv.pairGrant(state, pin)\n\nprint(username)\nprint(password)\n```\n\n\nCommand line utility:\n```\nusage: python -m haphilipsjs [-h] [-d] -i HOST -a API [-u USERNAME] [-p PASSWORD] {status,monitor,ambilight,pair} ...\n\npositional arguments:\n  {status,monitor,ambilight,pair}\n                        commands\n    status              Show current tv status\n    monitor             Monitor current tv status\n    ambilight           Control ambilight\n    pair                Pair with tv\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -d, --debug           Debug output\n  -i HOST, --host HOST\n  -a API, --api API\n  -u USERNAME, --username USERNAME\n                        Username\n  -p PASSWORD, --password PASSWORD\n                        Password\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielperna84%2Fha-philipsjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielperna84%2Fha-philipsjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielperna84%2Fha-philipsjs/lists"}