Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.75 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.75 KB

Cayenne Energenie Pi-mote Plugin

A plugin allowing the Cayenne Pi Agent to control electrical sockets using the Energie Pi-mote Control from the Cayenne Dashboard.

Requirements

Hardware

Software

Getting Started

1. Installation

From the command line run the following commands to install this plugin.

cd /etc/myDevices/plugins
sudo git clone https://github.com/myDevicesIoT/cayenne-plugin-energenie.git
cd cayenne-plugin-energenie
sudo python3 setup.py install

2. Modifying the plugin

By default the plugin will create widgets for four sockets. If your device has fewer sockets you can set the enabled value to false in the cayenne_energenie.plugin file for any sockets you aren't using. Alternatively you can add the temporary widgets in the Cayenne Dashboard and then delete the ones you don't need.

3. Restarting the agent

Restart the agent so it can load the plugin.

sudo service myDevices restart

Temporary widgets for the plugin should now show up in the Cayenne Dashboard. You can make them permanent by clicking the plus sign.

NOTE: If the temporary widgets do not show up try refreshing the Cayenne Dashboard or restarting the agent again using sudo service myDevices restart.