# \[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:** 10

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [April 10, 2021, 10:04pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/185 "2021-04-10T22:04:14Z")

</div>

I’ve managed to grab and decompile the sources of the Jointspace apk so I might finally be able to shed some light on the pairing issues! Fingers crossed 🤞

---

<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:** [April 10, 2021, 10:38pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/186 "2021-04-10T22:38:26Z")

</div>

Did you take a look at this as well?

> **[eslavnov/pylips](https://github.com/eslavnov/pylips)**
>
> Control Philips TVs (2015+) and Ambilight (+ Hue) through their reverse-engineered API (+ MQTT support!)

It is a phyton api based on Jointspace api, you can download the code from github and maybe find out what your problem is.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [April 11, 2021, 12:55am UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/187 "2021-04-11T00:55:05Z")

</div>

Yes, I’ve discussed many issues about the Jointspace API with Evgeny.

The Homey app has the exact same pairing implementation as the Pylips app. My guess so far has been that the pairing issues are related to platform specific (node) encoding issues in the signing part of the digest auth.

---

<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:** [April 11, 2021, 4:49pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/188 "2021-04-11T16:49:54Z")

</div>

a ok, i run my self the pylips code on my nas and call it using homey.  
So when harmony switches input homey notice this and triggers the pylips code on my nas which then triggers my TV… Pairing is not really a problem, i just noticed when something is rebooted then you often have to repair…

I do also have an other tip regarding the hdmi input, you should add a back function call after 1 or 2 seconds when input source hdmi1/2/3/4 is chosen and executed using the api.  
Why… i regularly noticed that the google assistant bar on TV popups up an you see the command (hdmi1) in the assistant info bar but sometimes this google info bar does not go away and it stays in the picture. You then have to press the back button on the (original) remote to cancel the assistant info bar on the TV.

In my api i do after every hdmi source always a back call after 2 seconds so the assistant info bar on TV always disappears, maybe you could do a similar trick.

An other trick you could add is: Watch Live(cable) TV (does not exist)

- do the command LIST first, wait 3 seconds and then do OK

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [April 11, 2021, 5:31pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/189 "2021-04-11T17:31:28Z")

</div>

Is there anyone here with an Android TV who’s able to connect to it via adb and willing to help me out?

I’m looking for different versions of Jointspace apk than `6.1.0` (check this at `http://192.168.1.123:1925/{version}/system`) OR a version that doesn’t use digest auth paring (pin code pairing). So far I’ve found two places where the `vdex` file can be located:

- `/system/priv-app/xtv/oat/arm/xtv.vdex`
- `/system/app/xtv/oat/arm/xtv.vdex`

If anyone could send me their `xtv.vdex` file you’d help me out greatly ([lucasvdhave@gmail.com](mailto:lucasvdhave@gmail.com)). You can grab the file with `adb pull /system/app/xtv/oat/arm/xtv.vdex`.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [April 11, 2021, 5:51pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/190 "2021-04-11T17:51:31Z")

</div>

Hi @B3rt,

> [@B3rt](#):
>
> Pairing is not really a problem, i just noticed when something is rebooted then you often have to repair

Is the repairing bug an issue you’re experiencing with the Homey app?

> [@B3rt](#):
>
> i regularly noticed that the google assistant bar on TV popups up an you see the command (hdmi1) in the assistant info bar but sometimes this google info bar does not go away and it stays in the picture. You then have to press the back button on the (original) remote to cancel the assistant info bar on the TV

Doesn’t it work if you send the back button key to your TV via the Homey app? If this does work and you’re experiencing this issue you could just add an extra flow action to your homey flow to send this key after changing the input.

> [@B3rt](#):
>
> An other trick you could add is: Watch Live(cable) TV (does not exist)
> 
> - do the command LIST first, wait 3 seconds and then do OK

Are you talking about sending Google Assistent search queries to your TV? I’m planning on adding a flow action so you can send custom search queries.

---

<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:** [April 11, 2021, 6:02pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/191 "2021-04-11T18:02:12Z")

</div>

No i do not have any problem with pairing between homey app and the TV, i do have them between my nas and the TV using my own api.

yes it does, but it would be nice it was done automaticly, therefore i did do the back call after 3 seconds automaticly after each hdmi (source) call so it stays never on the screen.

No just default api calls, there is no app or command in the tv itself to go directly to live tv channels. I discovered when you press list (on right side your channel list opens) and then OK (select) then it switches to live TV.  
There is no command in the list (also not using harmony) to switch directly to live (cable) TV. You can use Watch TV command but this switches back to the last used TV mode.  
So if your watching TV using a setop/cable box (hdmi1 input) and you would like to go to cable signal then you can use this trick to switch from hdmi to coax input.

- something different: did you discover a TV reboot command? Sometimes a reboot (not powerdown) resolves the problem, rebooting the TV seems not that easy, the reboot command is very hidden in the menu and i did not find any option to reboot the TV using any api command.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [April 12, 2021, 9:29am UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/192 "2021-04-12T09:29:01Z")

</div>

> [@B3rt](#):
>
> yes it does, but it would be nice it was done automaticly, therefore i did do the back call after 3 seconds automaticly after each hdmi (source) call so it stays never on the screen.

If I press back button on an HDMI source on my TV it takes me back to the home screen so I don’t think this would be something to implement in the app.

> [@B3rt](#):
>
> No just default api calls, there is no app or command in the tv itself to go directly to live tv channels. I discovered when you press list (on right side your channel list opens) and then OK (select) then it switches to live TV.  
> There is no command in the list (also not using harmony) to switch directly to live (cable) TV. You can use Watch TV command but this switches back to the last used TV mode.  
> So if your watching TV using a setop/cable box (hdmi1 input) and you would like to go to cable signal then you can use this trick to switch from hdmi to coax input.

If this turns out to be a reliable way to switch sources on every Philips TV I’ll consider implementing it. But I foresee a lot of edge-cases, so I wouldn’t get my hopes up.

> [@B3rt](#):
>
> something different: did you discover a TV reboot command? Sometimes a reboot (not powerdown) resolves the problem, rebooting the TV seems not that easy, the reboot command is very hidden in the menu and i did not find any option to reboot the TV using any api command.

At the moment the only way to reboot your TV is via adb or maybe an app if you’ve rooted yours. This is because the Jointspace API only provides an option to set configurable menu items and no option to trigger menu items that are an action.

---

<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:** [April 12, 2021, 1:19pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/193 "2021-04-12T13:19:37Z")

</div>

i did found something else using my own API, maybe this info helps:

Sometimes the Philips TV stops responding and the API gives an error back: api not responding  
When you try the http connection at [http://ip.of.your.tv:1925](http://ip.of.your.tv:1925) then it works but using [https://ip.of.your.tv:1926](https://ip.of.your.tv:1926) then it does NOT work!  
Also getting system info on https does not work on http is does!

I noticed this behavior of the TV the last few days several times, i implemented here a fix, when on the second try it fails then switch to (using an other config) http connection and until now this works fine. Ofcourse you could should to use always the http connection instead.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [April 17, 2021, 3:28pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/194 "2021-04-17T15:28:24Z")

</div>

The Homey app already uses port 1925 and http to fetch the system endpoint. This is only used during pairing though.

---

<div class="post-metadata">

**Author:** ![RGU](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rgu/32/22178_2.png) [@RGU](https://community.homey.app/u/RGU)\
**Post date:** [April 19, 2021, 4:32pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/195 "2021-04-19T16:32:20Z")

</div>

Hi Lucas,  
Thanks for all the effort, the app is improving!  
When do you think the app will be updated with the possibility to use ambi / hue in a flow?  
I want to turn the ambi on / off based on time and or brightness in my living room.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [April 19, 2021, 8:08pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/196 "2021-04-19T20:08:42Z")

</div>

@RGU you should be able to turn on or off the AmbiHue function via a flow card action in the latest test version `v0.5.1`: [Philips TV | Homey](https://homey.app/a/codes.lucasvdh.philips-jointspace/test)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4f638a54399bbd5e2fe3281df6e380668fff2e40.png)

---

<div class="post-metadata">

**Author:** ![RGU](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rgu/32/22178_2.png) [@RGU](https://community.homey.app/u/RGU)\
**Post date:** [April 20, 2021, 10:08am UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/197 "2021-04-20T10:08:11Z")

</div>

Great!!! Thanks 😊

---

<div class="post-metadata">

**Author:** ![Noel\_Nijsten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/noel_nijsten/32/30198_2.png) [@Noel\_Nijsten](https://community.homey.app/u/Noel_Nijsten)\
**Post date:** [May 16, 2021, 6:03pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/198 "2021-05-16T18:03:50Z")

</div>

Dear Lucas, thank you for all the effort you make to make Philips TV’s compatible with Homey. Although I am trying quit a while now to connect my Philips TV through your app with Homey, I didn’t succeed yet. I have type 49PUS7809/12 from 2014. The response I get from [http://192.168.0.128:1925](http://192.168.0.128:1925) is: “Forbidden”. However if I connect to [http://192.168.0.128:1925/1/system](http://192.168.0.128:1925/1/system) I get following respons:  
{  
“menulanguage”: “Dutch”,  
“name”: “PHILIPS TV”,  
“country”: “Netherlands”,  
“serialnumber\_encrypted”: “K2kseVsmQFgkd15gKkJ+agnRxfobJfPcGler+xVrI+g=”,  
“softwareversion\_encrypted”: “K2kseVsmQFgkd15gKkJ+at2sfvuXu9yzKlDMoVPpPs63mv0CvyDJ0YItrFurQ3nf”,  
“model\_encrypted”: “K2kseVsmQFgkd15gKkJ+aj36svdMjVRKXqbs5klhQTo=”,  
“deviceid\_encrypted”: “K2kseVsmQFgkd15gKkJ+ahIt2KLV32R7aRGOuoGFZGg=”,  
“nettvversion”: “4.4.1”,  
“epgsource”: “broadcast”  
}  
So I might think that my API version is 1, however connecting through this IP and Jointspace version 1 is not working. What am I doing wrong, or is my type just not compatible? Would be great to know otherwise I keep digging in the dark.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [May 18, 2021, 11:51am UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/199 "2021-05-18T11:51:29Z")

</div>

Hi @Noel_Nijsten,

A few questions:

1. Are you able to add the device to your Homey or does something fail during the pairing process?

2. Do you receive any errors during pairing/adding of the device?

3. To verify that your TV supports the JointSpace protocol I would suggest that you install the Philips TV Android app and check if that works. (If the Android app doesn’t work, the Homey app won’t work either). I’m not sure if there’s an iphone app.  
[https://play.google.com/store/apps/details?id=com.tpvision.philipstvapp2](https://play.google.com/store/apps/details?id=com.tpvision.philipstvapp2)

Alternatively, if you know how to run a command line Node.js script, you can debug your issue with the pairing test script `tests/pairing.js` which you can find at [https://github.com/lucasvdh/codes.lucasvdh.philips-jointspace](https://github.com/lucasvdh/codes.lucasvdh.philips-jointspace). This outputs a debug log, that you can send to me, to give me a better insight into the issue.

---

<div class="post-metadata">

**Author:** ![Noel\_Nijsten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/noel_nijsten/32/30198_2.png) [@Noel\_Nijsten](https://community.homey.app/u/Noel_Nijsten)\
**Post date:** [May 21, 2021, 3:36pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/200 "2021-05-21T15:36:28Z")

</div>

Dear Lucas, in answer to your questions:

1. No I am not able to add the device in Homey, after saving IP-adress and Jointspace Version, the page of pairing instructions show up again.
2. No I don’t recieve any error messages.
3. The Philips TV Android app works!

Altough I am not familiar with a command line Node.js script, I am going to find out how it works and try to sent you the debug log.

Thank’s in advance!

---

<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:** [June 6, 2021, 11:27am UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/201 "2021-06-06T11:27:30Z")

</div>

I have a problem/question…

I received a new TV but the API does not work on the new TV, changed the IP in the device settings.  
I reinstalled the APP and restarted the pairing proces and the APP worked.

But the next day the APP stopped working again, no idea why (ip of tv is unchanged).

Is there anyway to debug this?

Is there an option to restart the pairing proces manually in the app (i cannot find it) itself?

extra info:  
when i try to add a new (second) TV then the apps keeps loading when trying to connect to the TV, it does not connect to the TV…  
When i use a browser to connect to the API url (ip:1925)of the TV i get responce back, but this is from my laptop, but when i try to connect to [https://ip.tv:1926](https://ip.tv:1926) it does not connect also.  
So it looks like that the API does not respond on port 1926 (https).

Is it possible to add or set the APP to only use http on 1925 instead op https on 1926, i think this wil solve connection problems.  
Auto connect / switch is not working (if build in) or you should try 1925 first and if that does not connect then 1926…

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [June 16, 2021, 5:49pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/202 "2021-06-16T17:49:44Z")

</div>

Can you invite me for the test version @lucasvdh send you an dm

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [June 16, 2021, 6:19pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/203 "2021-06-16T18:19:09Z")

</div>

With the app now in the App Store the loading screen is loading and can’t add my tv

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/98089d425916f4e829666c8b1f2e05c323b96edd.jpeg)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [July 14, 2021, 7:16pm UTC](https://community.homey.app/t/app-pro-philips-tv-jointspace/14064/204 "2021-07-14T19:16:27Z")

</div>

Hey @lucasvdh ,  
When I try to send a button via a flow. I get a error after a while with [Object object].  
I also send you a diagnostic report. diag id: 8849c284-f79f-4191-af39-1c2ac716f9ba

It used to work with the previous app version.

flow: [Gedeelde Flow | Homey](https://homey.app/nl-nl/flow/yGqsCG/)

Use case: when the red button on the remote is pressed it starts the chromecast daydream. I like to have this when I play music via the soundbar 🙂

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

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