|Wouter Habets 5058021c10 Add system stats||2 months ago|
|.idea||2 months ago|
|power||2 months ago|
|systemstats||2 months ago|
|.gitignore||2 months ago|
|Makefile||2 months ago|
|README.md||1 year ago|
|ignition.go||2 months ago|
Kotlin app to control a computer via MQTT and wake on lan.
The client side of this app sets a MQTT state topic periodically to
true. This is set back to
false if the client disconnected (via a last will message). It also listens to a MQTT set topic to fall asleep if there is a
The server side of the app also listens to this MQTT set topic. If there is a
true message on there, it will wakeup the computer via wake on lan.
Userfull in Home Assistant as a switch:
switch: - platform: mqtt name: "Desktop" command_topic: "home/livingroom/pc/set" state_topic: "home/livingroom/pc/state" payload_off: "false" payload_on: "true" optimisic: true qos: 0