Kotlin app to control a computer via MQTT and wake on lan
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Wouter Habets 5058021c10
Add system stats
2 months ago
.idea Add v2 2 months ago
power Add v2 2 months ago
systemstats Add system stats 2 months ago
.gitignore Remove binaries 2 months ago
Makefile Add v2 2 months ago
README.md Update README.md 1 year ago
ignition.go Add system stats 2 months ago

README.md

Ignition

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 false message.

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