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 8ee4a00213
Add go mod support
5 months ago
.idea Add v2 1 year ago
power Add v2 1 year ago
systemstats Add system stats 1 year ago
.gitignore Remove binaries 1 year ago
Makefile Add go mod support 5 months ago
README.md Update README.md 2 years ago
go.mod Add go mod support 5 months ago
go.sum Add go mod support 5 months ago
ignition.go Fix server acting as a client 5 months ago
ignition.service Add go mod support 5 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