lunarys / mqtt-wake-on-lan

Start local devices over the network from a docker container.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT wake on lan

What does this do?

This is a simple python script executed in a docker container, that can be configured to start local devices over the network.

Configuration

The connection to the MQTT broker can be configured by setting environment variables for the docker container, a template .env file is provided. The devices to start are configured in devices.yaml. This includes the topic to listen on, the message to wait for and the MAC address of the remote device.

The base for this specific script was a generic script to run commands for messages on MQTT topics, thus the structure of the configuration file.

Related projects:

About

Start local devices over the network from a docker container.

License:GNU General Public License v3.0


Languages

Language:Python 90.5%Language:Dockerfile 9.5%