Skip to content

System Things

Fatih Boy edited this page Apr 20, 2017 · 2 revisions

WinMQTTHub.SystemThings Library

WinMQTTHub comes with predefined things targetting System functionallity. Does not requires any user interactive environment. Can be used with WinMQTTHub.App or WinHQTTHub.service applications.

Shutdown

Topic: /winmqtthub/system/commands/shutdown
Payload: -
initiates a system shutdown

Reboot

Topic: /winmqtthub/system/commands/reboot
Payload: -
initiates a system reboot

Run

Topic: /winmqtthub/system/commands/run
Payload: Command:string, Argument:string, WorkingDirectory:string
Runs given command, non-interactive
Clone this wiki locally