Hardwario CHESTER
How to integratio Hardwario CHESTER IoT devices using Hardwario Backend
Last updated
How to integratio Hardwario CHESTER IoT devices using Hardwario Backend
Last updated
Hardwario Device such as CHESTER or other
Hardwario Cloud account
If you haven't yet created an account on Datacake, please go ahead and do so! It is totally free for your first five devices and no credit card is required to sign up.
Once you sign up, Datacake will bring you to your first Workspace (Custom Tenant). This Workspace still has no device, but now it is time to create your first device by clicking on "Add Device" top right.
Create a new device on Datacake and select "API" device type.
On the list of available templates browse the list and search for "Hardwario CHESTER Input". If you have found it, please select it and continue with the next step.
If you have other devices than the CHESTER, more templates will be listed soon. If your device is not listed yet, you can still pick any template as the decoding of the payload coming from Hardwario Backend is shared across the device types.
Before you can add your device to your Datacake Workspace, you are required to set the serial number for identification of the device.
This serial can be found on the backside of your CHESTER device or in the Hardwario Cloud platform, where it is stated as "Label". Please only provide numerical values, as seen on the backside of your device or in the below screenshot.
Click on "Next" to continue.
Last but not least you are required to pick a payment plan.
Datacake supports up to 5 devices for free, fully featured, no credit card required.
We do offer enterprise plans for scaling customers.
Once you finished adding of your device, you will be brought back to the device list. Please search for your Hardwario CHESTER device and click on it to open the device view.
Now you will see the already included dashboard, but no data yet.
In order to be able to receive data from your device, we need to link Datacake to Hardwario Cloud backend.
To do this, we need to copy a Webhook URL that is specifically created for your newly added device. You can find the URL in the configuration or the device. Please click on "Configuration" Tab on the tab bar.
Now in the configuration, please scroll down a little bit until you reach to a section called "HTTP Payload Decoder".
In here you can find the "HTTP endpoint URL" and a button to copy the URL to clipboard. Please click on this button to copy the URL.
This URL is a webhook endpoint exclusively created for the product of your device. And to better understand you need to know that all devices on Datacake belong to a product.
This has the benefit that you can add hundreds or thousands of devices into the same product and you only need to change settings on the product and all devices will inherit the changes, such as Dashboard, Decoder, Database, Configuration - but each device stores data individually.
Also you can work with Configuration Fields to have individual environment variables that can have a product default. This is helpful for calibration data, level thresholds, etc.
A Datacake Product is similar to a device group on Hardwario Cloud!
Read more about these advanced topics here:
Now head over to your Hardwario Cloud and paste the copied Webhook into the Callbacks section of your device group.
Paste the copied Datacake URL into the highlighted field above.
No other settings are required. You can leave everything else as it is.
If you need extra security, custom tokens or anything else, contact us for guidance. We do have a complex permission management system and can optionally secure your communication via custom Tokens, even on a per-device level. At this stage, this is not required and the communication between Hardwario and Datacake is secured by latest TLS mechanisms.
As the generic payload decoder included in the Datacake Hardwario CHESTER template is already able to decode the standard metadata and application data, you should see data on Datacake once you send some data through the Hardwario Backend.