JointSpace API Request -> Philips TV

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

Hey dear programmer community,

I’m writing a script with which I can control our Philips TV (No Android TV – 2013) with Tkinter

Pastebin

This is workind great but it’s verry slow and complicated.

The TV uses the Joint Space API (Documentation).

According to this, I should be able to easily change my input, but I can’t get it done that post is executed.

import requests
x = requests.post(‘http://192.168.178.9:1925/1/input/key’, json={“key”: “VolumeDown”})
print(x)

↑ gives me <Response [200]> but the volume is not changed.

Can you tell me what I’m doing wrong.

Greetings

‫أضف إجابة

تصفح
تصفح

مجهول يجيب