Fork me on GitHub

pimatic-yoctopuce by Reski Rukmantiyo, Indonesia (funky81) | github | npm

pimatic-yoctopuce

Pimatic Plugin for Yoctopuce MaxiPowerRelay (https://www.yoctopuce.com/EN/products/usb-actuators/yocto-maxipowerrelay)

Configuration

You can load the plugin by editing your config.json to include the following in the plugins section. The property interval specifies the time interval in seconds for polling the state information of the Smart Plugs.

{ 
   "plugin": "interval"
   "YoctoHub" : "http://localhost:4444/"
}

Then you need to add a Yoctopuce MaxiPowerRelay device in the devices section. Similiar like other device in Pimatic, you have to describe for below properties

{
  "id": "YoctoPowerRelay-Lampu_depan",
  "class": "YoctoMainRelay",
  "name": "Lampu Depan",
}   

Note that :

ID should mention `YoctopowerRelay-` prefix while the rest of the ID will be your logical name in Yoctopuce MaxiPowerRelay.
Name will be your label name in your Pimatic device

Plugin Config Options

Yoctopuce PowerMaxiRelay options
OptionDescriptionDefault
YoctoHub
string
Url Address for YoctoHub
"http://192.168.1.205:4444/"

Device Config Options

Yocto Main Relay

YoctoMainRelay

Plugin Properties
pimatic-yoctopuce is written by Reski Rukmantiyo, Indonesia (funky81)