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-sispmctl with all npm packages installed. Try it out:

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

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

pimatic-sispmctl v0.9.0

Plugin for SIS-PM Control for Linux aka sispmct application that can control GEMBIRD (m)SiS-PM device.

pimatic sispmctl plugin

Backend for the SIS-PM Control for Linux aka sispmct application that can control GEMBIRD (m)SiS-PM device, witch are USB controlled multiple socket.

Configuration

You can load the plugin by editing your config.json to include:

{ 
   "plugin": "sispmctl"
}

in the plugins section. For all configuration options see sispmctl-config-schema

Actuators can be defined by adding them to the devices section in the config file. Set the class attribute to SispmctlSwitch. For example:

{ 
  "id": "light",
  "class": "SispmctlSwitch", 
  "name": "Lamp",
  "outletUnit": 1 
}

For device configuration options see the device-config-schema file.

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