Hosted.py DEVICE.screen(on=False) not working anymore?

Hi,

i have created GitHub - Kunsi/package-homeassistant-display-switcher: package for info-beamer to switch display state based on home assistant entity state to switch screens at home on or off depending on whether someone is actually home.

However i’ve noticed neither this package nor package-power-saver actually switch the screen off. I can see the info-beamer process is stopped and the output switches to a blank screen, but the HDMI output stays on and no CEC “off” is sent.

This has worked in the past, but i can’t tell you when exactly this got broken.

The device i’m running this on is 12199, its schedule switches between setups 245906 (including homeassistant package) and 251211 (power saver in “always off” mode).

Hm. Strange. The CEC handling on for the Pi’s legacy firmware mode hasn’t changed and still uses cec-client which on from a brief looks still runs properly. Not sure if anything kernel or firmware related has unexpectedly changed though. One thing you can try first: Switch the device to the newer KMS/DRM display method using the device configuration editor (“ Use the modern method of interfacing with the video subsystem on Pi3/Pi Zero”). It interfaces CEC differently.