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

Possible to adjust energy saving settings? #155

Open
jorlarsen opened this issue Feb 7, 2024 · 2 comments
Open

Possible to adjust energy saving settings? #155

jorlarsen opened this issue Feb 7, 2024 · 2 comments

Comments

@jorlarsen
Copy link

Hi, I just wondered if it is possible to change the energy saving settings (screen brightness) with this tool?

@klattimer
Copy link
Owner

It should be possible, especially considering we now have cursor support in there although it might be a bit around the houses.

It might even be worth implementing a setBrightness stub in the code if there is a web remote method for it now.

It would be something like this in remote.py

def setVolume(self, level, callback=None):
    self.__send_command("request", "ssap://audio/setVolume", {"volume": level}, callback)

You'd have to figure out the url though, maybe ssap://display/setBrightness?

@jorlarsen
Copy link
Author

Great, will give it a shot in the near future 👍

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

No branches or pull requests

2 participants