API Docs for: 0.0.1
Show:

Wakeonlan Class

Wake-on-LAN Plugin. This plugin is able to wake devices via WOL packets

Constructor

Wakeonlan

()

Item Index

Methods

beforeRender

(
  • items
  • callback
)

Manipulate the items array before render

Parameters:

  • items Array

    An array containing the items to be rendered

  • callback Function

    The callback method to execute after manipulation

    • err String

      null if no error occured, otherwise the error

    • result Object

      The manipulated items

ping

()

Ping all hosts and send changes to sockets

wake

(
  • data
)

Wake on LAN

Parameters:

  • data Object

    The websocket data

    • id String

      The ID of the database entry