Skip to content

Wake / Shutdown an single Windows computer from LAN, based on MQTT

License

Notifications You must be signed in to change notification settings

uilton-oliveira/mqtt_wol

Repository files navigation

MQTT_WOL

Wake On Lan

  • Multiplatform

Shutdown (Actually, it does use the Hibernate command, my preference.)

  • Currently Windows only

Example wake:

MQTT Topic: wol/toggle
Message: 1

Example shutdown:

MQTT Topic: wol/toggle
Message: 0

Shutdown requires SSH Server to be enabled: https://docs.microsoft.com/pt-br/windows-server/administration/openssh/openssh_install_firstuse

Required Environment Variables:

  • WOL_HOST - Host IP Address (Shutdown)
  • WOL_USER - Host User (Shutdown)
  • WOL_PASS - Host Password (Shutdown)
  • WOL_MAC - Host MAC-Address (Wake)
  • WOL_BROADCAST_ADDR - Network broadcast address, eg: 192.168.0.255 (Wake)
  • MQ_HOST - MQTT Host
  • MQ_USER - MQTT User
  • MQ_PASS - MQTT Password

About

Wake / Shutdown an single Windows computer from LAN, based on MQTT

Resources

License

Stars

Watchers

Forks

Packages