PyMonitorMQTT | Python computer monitor that sends real time information via MQTT

PyMonitorMQTT

Sleep Command

This commands is used to put immediately the system to sleep.

Compatibility

Data and Topics

.../sleep_command payload not needed

Put system to sleep

Configuration

custom_topics optional
List of String List of topics to which the command will subscribe.
If the command subscribes to a single topic, you will have to put one topic in the list.
If the command subscribes to more than one topic, you can register more topics; each topic in the list will be assigned in the same order as topics are added from the single commands (order that you can check in the each individual command file).