In "config.json" you can find all the machines the WOL server has access to.
If you want to add a new machine, do so according to the template.
"name": "Max",
"email": "[email protected]",
"mac": "0A-1b-2C-3d-4E-5f",
"chatId": "123456789"
The communication is handled via the "communication.py" file. This file wakes up the machine and sends a notification to the user specified as the owner. There is also the possibility to send an e-mail, but this is annoying in the long run.
The Magic Packet is sent through the "onLan.py" file. It processes the information about the machine and sends the packet to the MAC address.
The configuration of the telegram communication is made by the "telegram.py". It contains the token of the bot, all messages and which commands the bot should react to. Likewise, a list is created in it, which can call up a help menu. This help menu shows which commands the bot can handle.
The bot must be configured before use and its token must be specified in the "telegram.py".
The "getInfo.py" contains information that the server needs to be able to act. The information is about:
Content type
Image
Digest
Size
32.9 MB
Last updated
over 6 years ago
docker pull nicokne/wol-server:v0.0.1-arm