pimatic-sispmctl by Oliver Schneider (sweetpi) | github | npm
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.
Plugin Config Options
sispmctl config
Option | Description | Default |
---|
binary string | The path to the sispmctl command | "sispmctl" |
debug string | Show additional debug outputs | false |
Device Config Options
pimatic-sispmctl device config schemas
SispmctlSwitch
SispmctlSwitch config options
Option | Description | Default |
---|
outletUnit number | The outlet unit number | |
device number | The device to use. Devices can be listed by "sudo sispmctl -s" | 0 |
deviceSerial string | Can be used instead of device to identify the device by serial number. Devices can be listed by "sudo sispmctl -s" | |
interval number | Polling interval in ms for reading the switch state. If 0, no polling is performed | 0 |
pimatic-sispmctl is written by Oliver Schneider (sweetpi)