Use case:
I'm using a CRS112-8P-4S-IN as PoE Switch for a video surveillance system in a private house. Some cameras are indoor and should only be active, when nobody is home.
I want to make sure that the cameras are turned off. For that I wrote a python script, that turns off the PoE using the RouterOS REST API. It is working fine.
But
By using the REST API I have to store credentials with write permissions together with the script. If my server is compromised my switch is collateral damage.
I could write a schedule on the switch and execute it every 5 seconds to check an external HTTP server. But that is just ugly.
Very nice would be the ability of the IoT/MQTT feature to provide a subscribe option to execute a script on a certain topic.
That would also allow me, to play the Mario theme every time someone enters the server room.