Remote Windows / Linux shutdown / standby via MQTT

Hi all,

I’ve wrote a small integration that exposes Windows or Linux machine to HASS via the MQTT. The reasoning to have it, is to enable a lighweight capability to shutdown / hibernate or put the remote machine to standby without bothering with hostnames or IP addressess. After the app is started it just announces itself to the MQTT integration and exposes a switch which is ON when machine is online and sends the immidiate shutdown command when toggled to OFF.

The code and precompiled binaries are available in the repo. Feedback and ideas are welcome.

2 Likes