Table Of Content¶
Plugin wol¶
Purpose¶
The wol plugin is used to wake up computers, servers or any network element.
Dependencies¶
There is no dependency.
Plugin configuration¶
There is no global configuration option for this plugin.
Create the domogik devices¶
Domogik device type : wol.wol¶
2 parameters are needed for a domogik device creation:
Key | Type | Description |
---|---|---|
device | string | The MAC address of the computer/server to wake up. |
port | number | The port to use to wake up the computer/server. |
Start the plugin¶
You can now start the plugin (start button) and use the created domogik devices.
Set up your widgets on the user interface¶
You can now place the widgets of your devices features on the user interface.
Development informations¶
Timeout on sensors¶
The timeout is set to 0 for all sensors : as the interval between 2 checks is a global parameter, we can’t set a proper default timeout. If needed, the timeout should be set manually by the user for this plugin.
xPL messages¶
xpl-stat¶
The sensor.basic message is used to validate the command reception:
xpl-stat
{
...
}
sensor.basic
{
type=wakeonlan
device=<mac address>
port=<mac port>
current=high
}
xpl-trig¶
n/a
xpl-cmnd¶
The control.basic message is used:
xpl-cmnd
{
...
}
control.basic
{
type=wakeonlan
device=<mac address>
port=<mac port>
current=high
}