@CCOSTAN oh cool, I didn’t even think of that use!
@rpitera yeah, I have to clean it up and put it up somewhere, it’s currently Windows only as I’m using some win32 APIs directly, but no real reason it couldn’t work on macOS / Linux with some tweaking.
Welp, I stole some sleep to make some more progress on this, hopefully I’ll have a cleaned up alpha version up for testing soon!™
Also I found a way to hook into monitor “sleep mode” in Windows (SC_MONITORPOWER / GUID_MONITOR_POWER_ON) and I can get an event for when they turn on / off via user activity, so you could do neat things like turn on the lights when the monitors wake up.
Umm. Yeah. I DEFINATELY want this. I have four monitors that I really want to be able to turn off /sleep via automation. I REALLY want this. What do we need to do to get me testing this.
I need to clean up my code and add the ability to configure it (yaml file?), as many things are currently hardcoded
I don’t think it’s going to work well for most people until I add some more advanced configuration though, like configuring names for monitors based on some kind of a hardware ID, but I haven’t gotten that far yet. So far it only uses the model name as the monitor name from DDC/CI. That’s not ideal though as many people probably have multiple monitors of the same model and the model name is probably often incorrect. For example my Dell U2515H has it set to “U2515H”, while my old Samsung 226BW has it set to “MEDEL” for some reason. Maybe newer ones are better at that.
i have such thing for my linux raspberry attached monitor but only on off… those is onnected to my motion sensor… goal is to turn on the screnn only when i enter the room and wanna watch mmy dasboard, it also can turn it off…
@CCOSTAN Oh sorry, I forgot to add that dll! I might just statically link next time so you don’t need it. I just updated the 0.3.1 release to include it.
@thundergreen it might not be supported on your configuration then I’m not an expert in that stuff though, so maybe some workarounds exist still.