Repository navigation
Replies: 1 comment
|
Did you have a look at the Display brightness can't be controlled through MQTT.
Using |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hardware
What works out of the box
ddcutil, VCP0x10) – controllable from HA, e.g. 5 % / 80 %What doesn't: display power via DDC/CI
The panel advertises DDC/CI feature
0xD6(power mode), so TouchKio picks ddcutil for the display status – it's tried beforewlopmingetDisplayStatusCommand(js/hardware.js). But the panel ignoressetvcp 0xD6 4: the backlight stays on. The log showsSet Display Status: OFFfollowed byUpdate Display Status: null, and the screen never goes dark.wlopm --off '*'blanks the panel correctly (DPMS off), andwlopm --on '*'brings it back.Workaround: in the Wayland block of
getDisplayStatusCommand, trywlopmbeforeddcutil– for the status only. Brightness is handled separately ingetDisplayBrightnessCommandand should stay on ddcutil, since that works fine on this panel. After the change the log shows:Since app updates overwrite
hardware.js, I re-apply the change automatically with a small idempotent script run viaExecStartPrein a systemd user drop-in fortouchkio.service. (1.6.0 changed thedesktopslist in that block, so a fixed-string patch broke silently – a regex-based swap has been more robust.)Suggestion
@leukipp, would it be possible to make the power backend configurable (e.g.
--display-status-command=wlopm), or to fall back towlopmwhen ddcutil reports success but the panel doesn't actually turn off? I'd guess other HDMI panels that advertise0xD6without honouring it are affected too. Happy to test anything on this hardware.All reactions