Pylips-Control Philips TVs (2015+) and Ambilight (+ Hue)(+ MQTT support!)

Python and python framework

Moderator: leecollings

Post Reply
QSKONE
Posts: 38
Joined: Monday 12 February 2018 12:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Pylips-Control Philips TVs (2015+) and Ambilight (+ Hue)(+ MQTT support!)

Post by QSKONE »

Hello ,
I found this python script for controlling Philips TV. https://github.com/eslavnov/pylips
I tested in and works very well via command line.
example: python3 pylips.py --host 192.168.XX.XX --user XXXXXX --pass XXXXX --command standby
Can anybody help me for using this in Domoticz?
Thanks
Tjeerd13
Posts: 34
Joined: Thursday 07 May 2015 16:57
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Assen
Contact:

Re: Pylips-Control Philips TVs (2015+) and Ambilight (+ Hue)(+ MQTT support!)

Post by Tjeerd13 »

Hello,

Did you found a solution for this? I can't get it to work.

I created a script in the scripts map with HUEon.sh (with and without exit 0 but i can't get it working. Uses some variations. Writing to dev0 and more. The script is activated from a script// comand when switch is turndon.

Code: Select all

#!/bin/sh
python3 /home/pi/dev/pylips/pylips.py --command ambihue_on
exit 0
Pi3, Pi4, Pi4 for Testing, Dashticz, RFXtrx433, Nest: "Thermostat V2, V3, Hello". Honywell Lyric T6R, RFXCom, KaKu, HUE, P1, Open Zwave USB,
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest