Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including pimatic-wakeonlan with all npm packages installed. Try it out:

require("pimatic/package.json"); // pimatic is a peer dependency. var pimaticWakeonlan = require("pimatic-wakeonlan")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pimatic-wakeonlan v0.9.4

Wake up devices on your network via Pimatic


npm version dependencies status

Plugin to Wake up you network devices using Pimatic


Screenshot 1

Plugin Configuration

Optionally, you can also set the broadcastAddress property to define the broadcast address, which is 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"

Device Configuration

Devices for Wakeup can be defined by adding them to the devices section in the config file or using the device tab on the mobile frontend. 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": ""
mac-StringMAC address of destination host
host-StringIP address or hostname of destination host

Rule support

You also can use the plugin within rules using wol or wakeup as command:

WHEN {...} THEN wol "11:22:33:44:55:66" or WHEN {...} THEN wakeup "11:22:33:44:55:66"


See Release History.


Copyright (c) 2016, Thorsten Reichelt. All rights reserved.

License: GPL-2.0.

Icon made by Freepik is licensed free for non commercial use.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free