Wakeonlan Class
Wake-on-LAN Plugin. This plugin is able to wake devices via WOL packets
Constructor
Wakeonlan
()
Item Index
Methods
Methods
beforeRender
(
-
items
-
callback
Manipulate the items array before render
Parameters:
-
items
ArrayAn array containing the items to be rendered
-
callback
FunctionThe callback method to execute after manipulation
-
err
Stringnull if no error occured, otherwise the error
-
result
ObjectThe manipulated items
-
ping
()
Ping all hosts and send changes to sockets
wake
(
-
data
Wake on LAN
Parameters:
-
data
ObjectThe websocket data
-
id
StringThe ID of the database entry
-