A plugin allowing the Cayenne Pi Agent to control electrical sockets using the Energie Pi-mote Control from the Cayenne Dashboard.
- Cayenne Pi Agent. This can be installed from the Cayenne Dashboard.
- Git.
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
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.
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
.