Skip to content
Discussion options

You must be logged in to vote

You can get the on/auto behaviour today by moving the blanking from labwc into Home Assistant. TouchKio publishes two entities over MQTT that are enough for this:

  • Display: a light entity, so you can turn the screen on and off (and set brightness if your panel supports it).
  • Last Active: a sensor with the minutes since the last touch on the kiosk.

First remove the swayidle ... wlopm line from ~/.config/labwc/autostart. The README mentions that once TouchKio turns the display back on, swayidle still thinks it's off and won't blank it again until there's some interaction, so the two end up fighting each other.

Then let an automation do the blanking with your exceptions as conditions:

alias: K…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oocube
Comment options

Answer selected by oocube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants