Skip to main content
All CollectionsConnect your Devices
Connect SERIOT6 to Ubidots over HTTP
Connect SERIOT6 to Ubidots over HTTP

Learn how to connect a SERIOT6 to Ubidots through HTTP.

Sergio M avatar
Written by Sergio M
Updated this week

The SERIOT6 is a powerful Modbus gateway created by Ground Electronics that comes in two different versions: Wi-Fi and cellular. It's a versatile device designed for integrating Modbus-enabled equipment into IoT or telemetry systems. It supports both WiFi and cellular (2G, 3G, 4G) connectivity, allowing for flexible deployment in various environments.

The gateway facilitates bidirectional communication between field devices and cloud platforms, using protocols like HTTP(s) and MQTT(s). With features like local data storage to prevent loss during network outages, the SERIOT6 is ideal for energy management, photovoltaic systems, sensor monitoring, and more. Configuration and firmware updates can be performed remotely via its web interface.

For more details, visit the official product page.

Requirements

1. Hardware setup

Start by connecting the included antenna and then proceed to powering the device through terminals 1 and 2. After the devices finishes booting up, you can connect your Modbus sensor to the SERIOT6 Modbus interface. The following picture shows the aforementioned terminals:


Pro tip: If your sensor is powered by a different power source than that of the SERIOT6, it is advisable to connect both grounds together.


2. Accessing SERIOT6 configuration interface

Log in to the SERIOT's configuration web interface by connecting to its Wi-Fi AP, whose SSID is something like: SERIOT-XXXX. You can find it on the device as shown below:

Once connected to the SERIOT's AP, go to the IP 192.168.4.1. There, you'll be asked for login credentials. Use "admin" for both the user and password fields:

3. Adding a device

Go to "Gestion variables" and, under the "Dispositivos" tab, click on the "Agregar" button as shown below:

A pop-up will be displayed for you to enter the device's name. After that, hit the "Agregar/Editar" button.

After adding a device, it will look as shown below. Hit the "Reiniciar" button to apply these changes. In this guide the sensor's name was set to temperature-and-humidity-sensor.

After making the changes, you should wait until the device boots up again.

4. Configuring Modbus

Go to "Configuracion SerIoT" menu and click the "Basica" tab as shown below:

Once there, scroll down until you find the "Conexion Serial / RS485" section. There, select the "Velocidad de transmision" setting so it matches your sensor's baud rate. After that, click on the "Reiniciar" button to apply this change.

Wait until the device boots up again and go to the "Variables" tab (under the "Gestión variables" menu) and hit the "Agregar" button:

A pop-up will be displayed. There, configure the following:

  • Dispositivo: Select the device added in the previous section.

  • Nombre: This is the name of the variable, set it accordingly to your requirements.

  • Direccion Esclavo: This is the sensor's slave address.

  • Función: This depends on your setup, whether you are reading Input Registers or Input Status values. In this guide, the xy-md02 input registers contains the data of interest.

  • Tipo Dato: This is directly related to the data type of the register or coil that you wish to read the value from. Select it accordingly to the sensor you're using.

  • Dirección Inicial: This is the Input Register's address containing the data of interest. In this case, the xy-md02 sensor keeps the measured temperature at address 0x0001 and humidity at 0x0002.

  • Tiempo Muestreo and Unidad Tiempo: This is the data-sending frequency. Select it accordingly to your requirements.

Modify the other settings according to your requirements or leave them on their default values. After that, hit the "Agregar/Editar" button.

After that, the pop-up will collapse and it will look as shown below. Hit the "Reiniciar" button to save and apply these changes:

Repeat this process for all the required variables.

5. Cloud configuration

Go to your Ubidots account and copy an Ubidots token; keep it at hand for later use. After that, go back to the SERIOT's web interface and go to "Configuración SerIoT". There, click the "Avanzada" tab as shown below:

Scroll down until you find the "Cloud" section and edit the following settings:

  • Protocolo: Set it to HTTP.

  • Path: Set it to /api/v1.6/<device-label>, where you should replace <device-label> with the device label that you wish to send the data to on Ubidots.

  • Token: Paste here the Ubidots token you previously copied.

After that, hit the "Actualizar" button or reboot the device to apply these changes.

6. Visualizing the data on Ubidots

Now the device will be available on Ubidots:

Did this answer your question?