Thursday 16 February 2023

Hydrom - Ubidots Stem Integration - Step by Step Guide

If you've purchased a Hydrom digital hydrometer, one of the recommended and easiest platforms to integrate with is Ubitdots Stem. It's free and allows you to easily create awesome looking graphs to display your fermentation data.

Here's a step by step guide on how to get your Hydrom configured and integrated with Ubidots Strem.

  1. Setup a free account at https://ubidots.com/stem/

  2. Once ypu've created your account and signed in, select Devices > Devices from the top menu

  3. Click the blue "+" button in the upper right corner then select the "+" button again to Add new device

  4. Select the option for Blank Device

  5. Enter the Device Name and Device Label into the respective fields. These fields determine how the Hydrom will appear in the device list within Ubidots. We went with "Hydrom001" but you can use whatever device name you like.

    Click the green tick in the lower right corner to proceed.

  6. You will now be returned to the Devices page. Click on the name of the device you just added to open the device properties page

  7. From the device properties page, click the button indicated below to copy the unique Token field to the clipboard

  8. Next, we simply need to paste this Token value into the Ubidots service within the Hydrom configuration.

  9. Unscrew the lid of your Hydrom. Ensure the On/Off switch is set to the On position, then press the Reset button to initiate the web portal interface. 

  10. If you're connecting directly then connect to the Hydrom SSID, then open a web browser and navigate to http://192.168.2.1
    If you have configured the Hydrom to connect to your home WiFi network, then you'll need to determine what IP address the Hydrom has and connect to the web interface using that address.

  11. Once you've accessed the Hydrom web interface, click the menu icon in the top left corner then select Services

  12. From the list of Services, locate the option for Ubidots and toggle the slider to enabled position

  13. Paste the Token value you copied from Step 7 into the field that appears

  14. Also toggle the Test Message slider to On, then click the Save button at the bottom of the screen. This will force a test message to Ubidots straight away so we can check/confirm the integration has worked correctly.

  15. Go back to Ubidots and open the Device Properties page again. You should see data populated similar to the screenshot below

  16. This screen will show all the fields that the Hydrom is reporting, the last reported values, and when the last values were reported. Next, we'll create a dashboard with some widgets to display our data.

  17. Select Data > Dashboards from the top menu


  18. Select the option to Add new Dashboard

  19. Give your dashboard a name, then click Save

  20. Click in the box to Add new widget

  21. We'll create a simple line graph first to show our gravity reading history. Select the option for Line chart from the list of available widgets

  22. Click the button to Add Variables

  23. Select your Hydrom device then select the option that appears for specific-gravity. Click the green tick in the bottom right corner to save

  24. Click the green tick button again to save and create your chart

  25. Your chart will now display on the dashboard. You can resize the chart by clicking the bottom right corner and dragging to resize.
    You can also change the colour, and scale of the graph by using the menu icon in the upper right icon of the widget then selecting Edit.

  26. You can then repeat the process of creating additional widgets by clicking the blue "+" button in the right corner, then repeating from Step 21 above for whatever widget type and data metrics you wish to use

  27. Here are some example widgets we created to give you some ideas




As you can see, the Ubidots platform is incredibly powerful, and you're able to create some cool looking graphs and other widgets to display your Hydrom data in a useful manner.

You do need to tweak some of the graph settings like their scales and colour sometimes as the default options don't always look as good as they could, but the interface is clear and intuitive to use.

Related Articles








No comments:

Post a Comment