Well, now that I have some serious time in with NR, MQTT, etc. I am going to solve a PITA. Most PC video cards do NOT support CEC (Consumer Electronics Control) protocol. Including the two video adapters I have in my core media hub, a Windows 10 desktop that is connected to several monitors and TV sets.
Here is the PITA, when the Windows 10 screen saver kicks in, the DCC compatible monitors go into low power mode or power off depending the configuration and version of DCC they support. But the TV sets, at least the ones I have don't talk DCC only CEC. So I writing a small .NET desktop application that monitors for the screen saver process start and stop, and when it senses such events, it sends via MQTT requests to my centralized Pi, and then said requests are translated to CEC commands, and bingo my CEC TV sets go into standby mode while the screen saver is active. PITA solved.
Anyone done anything like this? If so, would like to hear about it, might give me ideas on how to improve or change my pending implementation.
I already have the bones in place, given when my PC powers on or off, it sends MQTT commands to my centralized Pi, turning all kinds of things on and off as desired. Like if I walk into my home office, before for the sun is up? It is still dark? The light come on. It is so nice to not have to 'talk' to some device, that stuff just knows what to do, in context!