Plugin to Wake up you network devices using Pimatic
You can load the plugin by editing your config.json
and adding the following in the plugins
section. Optionally, you
can also set the broadcastAddress
property to define the broadcast address, which is 255.255.255.255
by default.
This may be required if you have an IPv6 network or you are running pimatic on Windows as Windows only routes
packets with the global broadcast address to the first network interface. For the latter case a network-specific
broadcast address may be specified to route packets to the appropriate network interface.
{
"plugin": "wakeonlan"
}
Devices for Wakeup can be defined by adding them to the devices
section in the config file. Set the class
attribute to WakeOnLanDevice
. For example:
{
"class": "WakeOnLanDevice",
"id": "pc-dad",
"name": "PC-Dad",
"mac": "11:22:33:44:55:66"
}
If you don't know the device mac address you also can use the device ip address. For example:
{
"class": "WakeOnLanDevice",
"id": "pc-dad",
"name": "PC-Dad",
"host": "192.168.178.10"
}
You also can use the plugin within rules using wol
or wakeup
as command:
IF {something} THEN wol "11:22:33:44:55:66" or
IF {something} THEN wakeup "11:22:33:44:55:66"
Icon made by Freepik is licensed free for non commercial use.