I wrote a little method that listens for MQTT messages and executes arbitrary instructions dependant on a configuration file. So these instructions could be wake on lan instructions. The configuration file has a concept of hosts; various hosts may get diverse configurations, so I may have a single configuration file, https://anthonyu752nwc9.theideasblog.com/profile