GrowSpace
Manual

Building Your Own Server

2026년 09월 25일

In This Article

This article explains how to use MQTT-Studio to connect to a Mosquitto broker and subscribe to real-time UWB location data sent from the GrowSpace gateway.

If you want to integrate tag and anchor location data with a server or cloud system via an MQTT broker,
setting up the MQTT subscription environment by following this article first will make the later data integration much easier.

⚠️ If you are installing or configuring the MQTT server (Mosquitto broker) for the first time,
please refer to the document below first to prepare your server environment.
Go to the MQTT Server Setup Guide

However, even before setting up your own server,
you can set up a test environment with MQTT-Studio separately first,
so we recommend following the steps in this article first to get familiar with connecting to the broker and subscribing to data.


Creating an MQTT-Studio Project

Creating a Project

  • Launch MQTT-Studio.
  • Click New Project in the left menu.
Building Your Own Server – Project Creation Screen 1
  • Enter the following fields.
FieldDescription
Project nameProject name (e.g., growspace-test)
MQTT BrokerThe IP address of the PC where the Mosquitto broker is installed
PortKeep the default 1883
Client IDAny unique name (e.g., testclient1)
Username / PasswordEnter according to the broker’s configuration, or leave blank if none

If connecting from within the same network, entering just the IP address is enough to connect.
For external access, you’ll need to set up port forwarding for port 1883 on the router.

Building Your Own Server – Project Creation Screen 2
  • Once the connection is successfully established, the status in the upper right changes to CONNECT.
Building Your Own Server – Project Creation Screen 3

How to Check Your IP Address (Windows)

  • Type cmd into the Windows search bar and run Command Prompt
  • Type the ipconfig command and press Enter
Building Your Own Server – How to Check Your IP Address (Windows) Screen 4
  • This address is the IP you’ll enter in the MQTT Broker field.

Configuring Gateway Data Subscription

Once connected to the Mosquitto broker, subscribe to topics in MQTT-Studio so it can receive location data.

  • Click the + button in the top right.
  • Add each of the 3 topics below.
TopicDescription
uwb/gateway/start/#Status information when the gateway boots
uwb/gateway/config/#Gateway configuration info such as settings and measurement interval
uwb/gateway/devices/#Real-time location data for tags and anchors

The # symbol subscribes to all data under that path.
The projectId included in the topic structure is based on the API key issued from the GrowSpace web settings page.

Building Your Own Server – Configuring Gateway Data Subscription Screen 6

Saving the Project

Once the topics are registered, click Save Project in the top left menu to save the settings.
After that, you can quickly reconnect with the same settings using Open Project.


Configuring the Gateway and Sending Data

Through the GrowSpace settings web page, you can configure the Gateway Q1 device to send data to your private Mosquitto broker.

Setup Steps

  • Connect power to the gateway.
Building Your Own Server – Setup Steps Screen 7
  • Open Chrome and go to the web page below.
    https://uwb-gateway.web.app
  • Go to the Gateway Settings menu at the top of the page.
  • Enter the following fields.
FieldDescription
Wi-Fi Name / PasswordEnter your 2.4GHz Wi-Fi info (5GHz is not supported)
MQTT IPEnter the IP address of the PC where the Mosquitto broker is installed
Building Your Own Server – Setup Steps Screen 8
  • After entering all fields, click Save, and the gateway will restart automatically.
    It will then start sending data to the configured MQTT broker.

5. Verifying Data Reception in MQTT-Studio

Once the gateway is configured, real-time location data will start appearing automatically in MQTT-Studio.
Below is an example of an actual received message.

Topic: uwb/gateway/devices/project-1234/TAG-001
{
  "tagId": "TAG-001",
  "x": 12.34,
  "y": 56.78,
  "z": 1.23,
  "timestamp": 1723850283
}

You can use this data to check the tag’s location or integrate it with a real-time monitoring system.

Building Your Own Server – 5. Verifying Data Reception in MQTT-Studio Screen 9
PDF로 내려받아 현장에서 보세요

Table of Contents