Ubidots and Everactive have partnered to create a pre-built integration, allowing users to send data from their Eversensors to Ubidots easily. Under the hood, the plugin takes care of setting up the webhook on your Everactive account that will be triggered by sensor readings and it will forward relevant data to your Ubidots account.
Note: Before setting up this plugin, please contact Everactive support and ask for API credentials that can be used with this plugin.
Requirements
An active Ubidots account.
An active Everactive account.
Your Eversensors connected with Evercloud.
Everactive API credentials with permissions to manage webhooks.
1. Setup
Step 1: Log in to your Ubidots account, click on the Devices tab, then Plugins, then click on the + icon to create a new data plugin and search for the Everactive plugin.
Step 2:The plugin setup wizard will appear, click Next and select/fill the required parameters.
Ubidots Token: Select the Ubidots token you would like to use for this plugin. It is recommended to create a new token dedicated to this plugin only, should you need to increase its rate limit in the future.
Device Type: An Ubidots device type will be created and linked to this plugin. This allows you to make batch changes to all of the devices that receive data through this plugin.
Everactive Client ID: The client ID of your API credentials.
Everactive Client Secret: The client secret of your API credentials.
Step 3: Click Next to finish the process. You will see the new plugin listed on the Plugins list.
2. Advanced usage
After setting up the plugin, it will be triggered automatically by sensor reading events at Evercloud. By default the following data will be sent to Ubidots:
Eversensor packet number.
Gateway packet number.
Uplink RSSI.
Downlink RSSI.
Sensor capacitor voltage.
Sensor super capacitor voltage.
Humidity measurements: one variable for each sensor index.
Temperature measurements: one variable for each sensor index.
Electrical field measurements: maximum and overall levels.
Vibrational measurements: maximum and overall levels for axial, tangential and radial components of displacement, velocity and acceleration.
If for some reason you need to change this behaviour (e.g., send more or less data than the default) you can achieve that by editing the decoder code inside the plugin:
Step 1: From your Ubidots account, click on the Devices tab and then Plugins; this will load your data plugins list. Click on the Everactive plugin you have created to edit its details.
Step 2: Navigate to the Decoder tab on the left menu and look for the code editor under the Decoding Function section, make the appropriate changes and save them by clicking on the SAVE & MAKE LIVE button.
Note: Payload returned from the decoder function must be according to any of the options shown here.
Note: Before setting up this plugin, please contact Everactive support via email at developers@everactive.com and request an Everactive account setup and valid API credentials with permission to manage webhooks that can be used with this plugin.