I wrote a small method that listens for MQTT messages and executes arbitrary commands dependant on a configuration file. So these commands is usually wake on lan commands. The configuration file has an idea of hosts; diverse hosts may get different configurations, so I can have a single configuration file, https://ignacyo777ldu7.wannawiki.com/user