Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Using pylips as a python module? (+ Ambilight colour control) #113

Open
snoms opened this issue Dec 29, 2021 · 1 comment
Open

[FEAT] Using pylips as a python module? (+ Ambilight colour control) #113

snoms opened this issue Dec 29, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@snoms
Copy link

snoms commented Dec 29, 2021

Hi, thanks for the great work on this project. I am messing around with a more user friendly way to control the Ambilight (65OLED806) for custom colours. Basically I have a small webpage with a colour wheel that allows you to send the appropriate command. However, I'm currently calling a Python subprocess to execute it, which is not very efficient, especially if I want to send a bunch of commands quickly.

Have you thought about adapting pylips to work as a module (i.e. import pylips)? From what I gather the current implementation establishes a new connection for every command that you want to send. Is that a requirement, or could we keep the connection alive?

I suppose for my personal use case it may be even better to use ADB? Eventually I would like to expand the 'remote' to offer a way of customising your preferred settings and having them available as simple buttons on the page, and having scheduled changes to settings (e.g. daytime / nighttime picture modes). Also thinking about incorporating an ambient light sensor to adjust the brightness of the Ambilight. And maybe even replace/expand the built in light sensor.

One final side-question: does anyone know anything about setting Ambilight per side? The official Philips mobile remote app offers this for top and sides only, but not for the bottom. I could not find any mention of this functionality in the commands JSON I got from my tv.
EDIT: I found the ambilight/cached path in the API reference, I assume that's how the colour is set per side!

@snoms snoms added the enhancement New feature or request label Dec 29, 2021
@IP-Developer
Copy link

IP-Developer commented Jun 6, 2022

+1 for this. Would love to be able to use it in my app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants