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

Feature request: Ability to set screen Display sleep time via MQTT and HA #107

Open
dalehumby opened this issue Jun 23, 2024 · 3 comments
Open
Labels
feature request Feature request implemented New feature or bug implemented planned to v2.3

Comments

@dalehumby
Copy link

The Display sleep time can be set to 15s, 30 min, never, etc. via the app or Android Settings. It would be great if this could also be set via the Home Assistant / MQTT integration.

My use case is that during the day and when the home is occupied the screen never sleeps. At night when the room lights are off (or when no one is home) I set the display sleep to 2 minutes.

I appreciate that this can be done using "Screen on time" for week days and weekends, and the screen can easily be turned on with wave or tap. However, setting this behaviour using HA automations allows more complex scenarios for when the screen should be on or off.

Thanks for a great project!

PS – A more general version of this feature request is "please make as many settings as possible changeable via MQTT"

@maodun96
Copy link

maodun96 commented Jun 23, 2024

Can the existing "wake up" and "sleep" achieve the effect you want?
You can keep the screen on permanently, and at night, set event.device_proximity to trigger "wake up-2min-sleep"

@dalehumby
Copy link
Author

Thanks @maodun96, that's a great suggestion. I'll give that a go.

It would still be nice to change settings via MQTT/HA so that HA is more of a supervisor and changes a setting a couple of times a day, rather than involved with screen brightness on every tap. But this is a nice to have and not critical.

@seaky
Copy link
Owner

seaky commented Jun 24, 2024

Full device provisioning via mqtt will be implemented in v2.3.0.

I had to rewrite the json part to enable this. So from next release you will be able to configure whatever you want by mqtt.

@seaky seaky added the implemented New feature or bug implemented label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request implemented New feature or bug implemented planned to v2.3
Projects
None yet
Development

No branches or pull requests

3 participants