# \[APP\]\[Pro\] Philips TV Jointspace

**URL:** <https://community.homey.app/t/app-pro-philips-tv-jointspace/14064>\
**Category:** Apps\
**Tags:** app\
**Created:** [June 4, 2019, 2:39pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064 "2019-06-04T14:39:27Z")\
**Posts on this page:** 20\
**Page:** 11

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [September 14, 2021, 12:45pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/205 "2021-09-14T12:45:09Z")

</div>

is it possible to add the app: NLziet to the flow card open app?

I was expecting that if i install the app on TV it would automaticly show up, but it doesn’t…  
The app is installed on the TV and working, but not in the list of available apps.

Hope this can be added…

update/edit:  
i restarted the app in Homey and suddenly the NLziet app was available in the flow card, so for me problem solved for now.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [October 7, 2021, 1:18pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/206 "2021-10-07T13:18:04Z")

</div>

Feature request (if possible)…

My Philips TV is an OLED TV and these oled TV’s have 1 BIG disadvantage to normal led/lcd tv’s, when the TV is turned ON for a longer time it will give a popup after a while to turn OFF the TV for screen renewal (or something).

On this popup you have the option to do this or cancel it (can only be canceled twice).

The request would be if it is possible when this popup occurs it triggers a flow.  
Something like:  
IF: oled popup appears  
AND/THEN: home stuff

In my case this would be that it simulates the the button presses to cancel this renewal.

---

<div class="post-metadata">

**Author:** ![DirkdeDraak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkdedraak/32/8620_2.png) [@DirkdeDraak](https://community.homey.app/u/DirkdeDraak)\
**Post date:** [November 21, 2021, 8:08pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/207 "2021-11-21T20:08:58Z")

</div>

Hi, I recently bought a new Philips TV: an OLED856. It is similar to the OLED706 and OLED806 series. It uses Android 10.

I can successfully add a device. I’ve given the tv a static IP address. I have entered the 4 digit PIN code displayed on the tv. I can control various aspects of the tv via the device, like ambilight, sound, …  
WoWLAN is enabled on the tv.  
JointSpace API version is version 6.1.

It seems that [http://IP:1925/](http://IP:1925/) and [http://IP:1926](http://IP:1926) don’t give any sensible output.  
_[http://IP:1925/system](http://IP:1925/system)_ and _[http://IP:1926/6/system](http://IP:1926/6/system)_ however displays JSON output.

It seems the newly added device doesn’t detect if the tv is turned on or off.  
Question: should it self-detect that on/off status of the tv? In my household most times the tv is turned on via a remote, not via Homey.

[https://192.168.1.9:1926/6/powerstate](https://192.168.1.9:1926/6/powerstate) pops up a login prompt for username and password… 😑

Without knowing the current power state, it is hard to check (for example) if the tv was left turned on when I’m away.

---

<div class="post-metadata">

**Author:** ![Pieter\_Pessers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieter_pessers/32/8848_2.png) [@Pieter\_Pessers](https://community.homey.app/u/Pieter_Pessers)\
**Post date:** [December 7, 2021, 2:08am UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/208 "2021-12-07T02:08:34Z")

</div>

Hello.

Everything works except switching on when the tv is in standby mode. WOL is set on in the menu and TV does this with the philps app on the phone. But it can’t be done by homey.

It is a 2020 tv 43pus7855/12 working on api version 6.

{ “menulanguage”: “Dutch”, “name”: “slaapkamer tv”, “country”: “Netherlands”, “serialnumber\_encrypted”: “K2kseVsmQFgkd15gKkJ+asQ7g9HYXwP2NvK1PGrcoRc=”, “softwareversion\_encrypted”: “K2kseVsmQFgkd15gKkJ+avHZ7mOh2CrjkYSBkUtkvmhby6K4uB2NK3o+vX35m2Mx”, “model\_encrypted”: “K2kseVsmQFgkd15gKkJ+asxwDdRHYNGz2OftYgg5EDU=”, “deviceid\_encrypted”: “K2kseVsmQFgkd15gKkJ+au19JOBLxd9LdhfyvmEwP98=”, “nettvversion”: “4.6.0.1”, “epgsource”: “no\_epg”, “api\_version”: { “Major”: 6, “Minor”: 1, “Patch”: 0 }, “featuring”: { “jsonfeatures”: { “recordings”: [“List”, “Schedule”, “Manage”], “ambilight”: [“Hue”, “HueStreaming”, “Ambilight”], “textentry”: [“context\_based”, “initial\_string\_available”], “inputkey”: [“key”, “unicode”], “pointer”: [“context\_based”], “activities”: [“browser”] }, “systemfeatures”: { “tvtype”: “consumer”, “content”: [“dmr”], “pairing\_type”: “none”, “os\_type”: “Linux” } } }

---

<div class="post-metadata">

**Author:** ![GetNameByID](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/getnamebyid/32/48764_2.png) [@GetNameByID](https://community.homey.app/u/GetNameByID)\
**Post date:** [December 11, 2021, 6:43pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/209 "2021-12-11T18:43:25Z")

</div>

Hello there,  
i can’t connect my TV via the APP i tried it with the alpha and beta but I can’t pair my device.

My PhilipsTV with Jointspace API-Version: 1

```auto
{
	"menulanguage": "German",
	"name": "Philips-TV",
	"country": "Austria",
	"serialnumber": "FZ1A1402004138",
	"softwareversion": "QF2EU-0.173.67.0",
	"model": "47PFL6008K/12"
}

```

Also i tried to pair it with your pairing.js and this Error came back:

```auto
? What's your TV's IP? 192.168.0.65
? What's your API version? (1 to 6) 1
? What port number should be used? Either 1925 or 1926 1925
Updating _client config
Sending system info call
['GET [http://192.168.0.65:1925/1/system]',
  'with:',
  {},
  'requested securely?',
  false ]
['GET [http://192.168.0.65:1925/1/system]',
  'with:',
  {},
  'requested securely?',
  false ]
['user regular _client']
['user regular _client']

```

---

<div class="post-metadata">

**Author:** ![Joolee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joolee/32/3064_2.png) [@Joolee](https://community.homey.app/u/Joolee)\
**Post date:** [December 21, 2021, 7:09pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/210 "2021-12-21T19:09:12Z")

</div>

I experienced the same problem and as far as I can read [from the source](https://github.com/lucasvdh/codes.lucasvdh.philips-jointspace/blob/d2853b666170378d8e9ade070bd01e8671b54937/lib/JointspaceClient.js#L508), the app doesn’t try WOL. I can confirm that WOL works correctly when I send the request from my router. I even pulled a UTP cable to be able to wake up my TV 😛 I’ll just use the WOL app for now.

@lucasvdh Is the source as listed in Hithub outdated or am I correct that the WOL function has been removed?

~~Also I noticed that source changes are send to the TV through the [Google Assistant Search](https://github.com/lucasvdh/codes.lucasvdh.philips-jointspace/blob/d2853b666170378d8e9ade070bd01e8671b54937/app.js#L57).  
This won’t work when a user changes the names of the source inputs (found that out the hard way) and works slow at best. At least in the V6 API, you should be able to do a POST to the ‘sources/current’ route to perform that action.~~  
Edit: Scratch that. It’s only for API V1, looks like I might need to mess with ADB to be able to reliably switch input.

Are you still developing the app and/or accept pull requests? I’m willing and able to make the changes myself if you’re open to that but I hate to write code that doesn’t get distributed.

Otherwise, I’ll implement it manually with a ‘request’ flowcard and write down how others can set it up.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [December 27, 2021, 6:04pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/211 "2021-12-27T18:04:18Z")

</div>

Is this app still being developed and/or supported?

---

<div class="post-metadata">

**Author:** ![DirkdeDraak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkdedraak/32/8620_2.png) [@DirkdeDraak](https://community.homey.app/u/DirkdeDraak)\
**Post date:** [December 28, 2021, 3:12pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/212 "2021-12-28T15:12:10Z")

</div>

Found this script and ran it on my Windows system via WSL2:

> **[GitHub - suborb/philips\_android\_tv: Tools to control Philips 2016 Android TVs](https://github.com/suborb/philips_android_tv)**
>
> Tools to control Philips 2016 Android TVs. Contribute to suborb/philips\_android\_tv development by creating an account on GitHub.

The script let’s you pair with your tv returning the username and password required to read for example the powerstate. I guess your app does something similar, but was good to manually do this and know it could work on my new tv.

Any idea why this doesn’t work in the app to read the current powerstate?

---

<div class="post-metadata">

**Author:** ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)\
**Post date:** [January 1, 2022, 9:09pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/213 "2022-01-01T21:09:00Z")

</div>

I installed the app and connected successfully my new Philips 65PUS8506. Thanks for the app… I only have one issue, it keeps continuously sending (67 times in 2 hours) on off notifications.

Any suggestions what to do?

---

<div class="post-metadata">

**Author:** ![w00kiee](https://avatars.discourse-cdn.com/v4/letter/w/5fc32e/32.png) [@w00kiee](https://community.homey.app/u/w00kiee)\
**Post date:** [February 12, 2022, 8:36pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/214 "2022-02-12T20:36:32Z")

</div>

I have a 2021 model TV (55OLED856/12) and it says it has API version 6.1. After initial pairing with pin it works, but after a while it looses connection to the tv and the app thinks the tv is off, while it’s still on. After a while it finds the tv again and then looses it and doesn’t find it anymore. Anybody have a clue on how to fix this?

I’ve installed a homebridge plugin that works well, I can do stuff with homekit that I want to move to homey!

---

<div class="post-metadata">

**Author:** ![Wagenvoort\_SmartHome](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wagenvoort_smarthome/32/51672_2.png) [@Wagenvoort\_SmartHome](https://community.homey.app/u/Wagenvoort_SmartHome)\
**Post date:** [February 13, 2022, 5:17pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/215 "2022-02-13T17:17:10Z")

</div>

I’m having the same problem with the OLED806.

Is there a solutions to this?

---

<div class="post-metadata">

**Author:** ![DirkdeDraak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkdedraak/32/8620_2.png) [@DirkdeDraak](https://community.homey.app/u/DirkdeDraak)\
**Post date:** [February 13, 2022, 9:23pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/216 "2022-02-13T21:23:56Z")

</div>

I haven’t seen a solution… pity…

Some recent posts in this topic have asked if the app is still being developed… I haven’t seen a response from the developer as far as I can see.

---

<div class="post-metadata">

**Author:** ![w00kiee](https://avatars.discourse-cdn.com/v4/letter/w/5fc32e/32.png) [@w00kiee](https://community.homey.app/u/w00kiee)\
**Post date:** [February 14, 2022, 3:23pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/217 "2022-02-14T15:23:46Z")

</div>

I have enabled preliminary Homekit support so my Homey devices are now also available in Homekit, I then setup homebridge in a Docker container and I’m running the [Philips TV plugin](https://github.com/konradknitter/homebridge-philips-android-tv) that works well. I’ve setup rules in Homekit to set the lights when I watch TV. I wish Homey had support for homebridge, so all the love that went into Homebridge could come to Homey, so I wouldn’t have to maintain all these systems

---

<div class="post-metadata">

**Author:** ![Joolee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joolee/32/3064_2.png) [@Joolee](https://community.homey.app/u/Joolee)\
**Post date:** [February 22, 2022, 12:33pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/218 "2022-02-22T12:33:56Z")

</div>

The TV often doesn’t respond to http (API) requests in a correct way and the app assumes; no response = tv off. So the status requests failing and succeeding make the app toggle the on/off capability a lot.

[This seems to fix it](https://github.com/Joolee/codes.lucasvdh.philips-jointspace/commit/41e56dfa3b686f427ad2f0e25cbd5490de9f5667) as a workaround but I think there are more fundamental problems. I’m currently trying to debug those 🙂  
Also tried to fix the WOL support but that’s a bit hard to test because the TV is used as my computer monitor 😛  
When I’ve gotten to the bottom of the issue, I’ll send a pull request of my changes to the app author.

---

<div class="post-metadata">

**Author:** ![Joolee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joolee/32/3064_2.png) [@Joolee](https://community.homey.app/u/Joolee)\
**Post date:** [February 22, 2022, 4:21pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/219 "2022-02-22T16:21:47Z")

</div>

I’ve found the problem. Fixing it requires a bunch of changes to the way the app gets it’s information from the tv though.

Every 10 seconds, a request is done to the ‘/notifychange’ endpoint of the API. The way the API implements it is like this:

1. Send the current state of the TV as you know it to the TV
2. If the state the TV knows is different from what you send, you get a reply immediately
3. Otherwise, the request will hang until either something in the TV state changed or a timeout is reached

This useful for getting state changes immediately from the TV but the app implement it wrong. It tries to use the /notifychange endpoint as a source of information and tries to poll it every 10 seconds. When the TV state doesn’t change, the request reaches a timeout and the app assumes the TV is turned off.

I can fix this but I’ll have to split the real-time /notifychange requests to a separate thread and change the polling methods to request their information in another way.

---

<div class="post-metadata">

**Author:** ![Mimomaj](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mimomaj/32/17200_2.png) [@Mimomaj](https://community.homey.app/u/Mimomaj)\
**Post date:** [February 22, 2022, 5:32pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/220 "2022-02-22T17:32:31Z")

</div>

@Joolee thank you for your work, I’m looking forward to testing your changes on my setup 👍

---

<div class="post-metadata">

**Author:** ![w00kiee](https://avatars.discourse-cdn.com/v4/letter/w/5fc32e/32.png) [@w00kiee](https://community.homey.app/u/w00kiee)\
**Post date:** [February 22, 2022, 9:38pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/221 "2022-02-22T21:38:05Z")

</div>

@Jolee thank you so much! Can you edit an existing app in-place with development tools? If that’s possible I’d like to try your patch

[edit] I’ve installed your patched version. Unfortunately it’s still not usable for me. The most interesting usecase for me is to know that someone turned on the tv, so Homey can run my theater flow, but it’s not correctly detecting if the TV is on.

---

<div class="post-metadata">

**Author:** ![Joolee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joolee/32/3064_2.png) [@Joolee](https://community.homey.app/u/Joolee)\
**Post date:** [February 25, 2022, 11:45am UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/222 "2022-02-25T11:45:34Z")

</div>

That is possible. As soon as I have something stable, I’ll push it to Github and place a howto in this topic.

---

<div class="post-metadata">

**Author:** ![Joolee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joolee/32/3064_2.png) [@Joolee](https://community.homey.app/u/Joolee)\
**Post date:** [March 5, 2022, 3:40pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/223 "2022-03-05T15:40:12Z")

</div>

This seems to work quite stable I’m curious how it works for you guys:

> **[GitHub - Joolee/codes.lucasvdh.philips-jointspace: A Jointspace connector for Philips TV's supporting...](https://github.com/Joolee/codes.lucasvdh.philips-jointspace)**
>
> A Jointspace connector for Philips TV's supporting models up to 2018

### Changes

- Fixed Wake on Lan feature (Allows to turn the TV on when it has been off for \>10 minutes)
- Made app ~75% smaller by removing or substituting big dependencies (Makes development faster, reduces memory (by ~33%) and CPU usage and greatly reduces possible vulnerabilities)
- Added English/Dutch translations for remote button names (in the action card)
- Stop polling the TV when you remove it from Homey (Might fix some crashes)
- Split notifyChange and device polling into separate threads (should stop on/off flickering)

### How to install

- Either install git and use `git clone https://github.com/Joolee/codes.lucasvdh.philips-jointspace.git` or download and unzip from: [https://github.com/Joolee/codes.lucasvdh.philips-jointspace/archive/refs/heads/beta.zip](https://github.com/Joolee/codes.lucasvdh.philips-jointspace/archive/refs/heads/beta.zip)
- Follow step 1 from: [Getting Started | Homey Apps SDK](https://apps.developer.homey.app/the-basics/getting-started) (You don’t need to install the Docker cloud stuff)
- Run (You need to have a console started and cd’d to the directory containing the app.js file)
  - `npm install`
  - `homey login`
  - `homey select`

- Run the app with `homey app run`. Or install permanently with `homey app install`

### Or install using WSL / Linux

I can recommend using WSL(2) with Debian or Ubuntu if you’re comfortable with that. All commands you need to run should be:

```bash
sudo apt update
sudo apt install git npm
mkdir ~/git
cd ~/git
git clone https://github.com/Joolee/codes.lucasvdh.philips-jointspace.git
cd codes.lucasvdh.philips-jointspace
sudo npm install --global --no-optional homey
npm install
homey login
homey select
homey app run

```

### And then

It should not be needed to remove and re-add the TV to Homey.

If you run into any problems, please run the app with `homey app run` and send a copy of the crash or other applicable (error) messages.

---

<div class="post-metadata">

**Author:** ![Martin\_Sarnberger](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_sarnberger/32/47946_2.png) [@Martin\_Sarnberger](https://community.homey.app/u/Martin_Sarnberger)\
**Post date:** [March 5, 2022, 7:53pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/224 "2022-03-05T19:53:00Z")

</div>

Pairing problem  
I got two Philips TV running after some struggle with pairing.  
I can not find a straight instruction on how to pair a new device in the Philips TV app  
I tested the GUI and configured the TV IP but got CONNREFUSED all the time.  
It´s a brand new Philips Android 55PUS7906, it also don´t respond on [http://IP:1925](http://IP:1925)

Any hints, any workarounds?

[Previous page](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064.md?page=10)

[Next page](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064.md?page=12)
