as I don't want you to risk buring down your house, ki**ling you and/or others why not simply use a smartplug for switching mains https://www.shelly.com/products/shelly-plug-s-gen3
don't know what your understanding of 'monitor on/Off is, but I would try using ddcutil first viewtopic.php?p=2266783&hilit=ddcutil#p2266761
comes at No cost/risk at all.
in case you have a 'real monitor' you should be able to use DDC commands as well.
don't know what your understanding of 'monitor on/Off is, but I would try using ddcutil first viewtopic.php?p=2266783&hilit=ddcutil#p2266761
comes at No cost/risk at all.
in case you have a 'real monitor' you should be able to use DDC commands as well.
Code:
sudo apt install ddcutil ddcuiCode:
pi@Pi5-SN530-256:~ $ ddcutil capabilitiesModel: Not specifiedMCCS version: 2.1VCP Features: Feature: 02 (New control value).. Feature: 60 (Input Source) Values: 11: HDMI-1 12: HDMI-2 0f: DisplayPort-1 00: Unrecognized value.. Feature: D6 (Power mode) Values: 01: DPM: On, DPMS: Off 04: DPM: Off, DPMS: Off Feature: DF (VCP Version) Feature: 62 (Audio speaker volume)Code:
# turn monitor offddcutil setvcp D6 4# turn monitor onddcutil setvcp D6 1Statistics: Posted by aBUGSworstnightmare — Thu Jun 12, 2025 5:08 am