UWB Q1

UWB Gateway Q1 Commands (Network and MQTT Checks)

Serial commands for the GrowSpace Gateway Q1 to view and change settings, diagnose network errors and check the MQTT server connection.

About this article

This article introduces serial commands that let you view or change the main settings of the GrowSpace Gateway Q1, diagnose network errors and check the MQTT server connection. Connect to the device from a terminal (such as Tera Term) and enter the commands below to debug flexibly to suit the situation on site.


Environment

ItemDescription
ConnectionUSB serial (COM port)
ProgramTera Term or a similar terminal tool
Baudrate115200
InputAfter boot completes, the device waits for commands

Basic gateway commands

CommandDescription
restartReboot the system
basicSetting=Set the MQTT ID, PW, IP, Wi-Fi ID/PW and UWB PanID at once
basicSetting?Check all of the above information at once

restart

restart

Restarts the gateway immediately. Use it to apply settings after changing them.

Example input

restart

Example output

rst:0xc (SW_CPU_RESET), boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00, q_drv:0x00, d_drv:0x00, cs0_drv:0x00, hd_drv:0x00, wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4

basicSetting=

Sets MQTT, Wi-Fi and PanID at once. Enter it in JSON format.

Example input

basicSetting={"mqttID":"testID", "mqttPW":"testPW", "mqttIP":"192.168.0.123", "wifiID":"testWID", "wifiPW":"testWPW", "panID":"0001"}

Example output

✅ mqttID saved
✅ mqttPW saved
✅ mqttIP saved: 192.168.0.123
✅ wifiID saved
✅ wifiPW saved
✅ panID saved: 0001
🔁 Restarting ESP after settings change
(followed by the same reboot log as the restart command)

Notes


basicSetting?

Checks the MQTT, Wi-Fi and PanID values currently saved.

Example input

basicSetting?

Example output

{
  "mqttID": "testID",
  "mqttPW": "testPW",
  "mqttIP": "192.168.0.123",
  "wifiID": "testWID",
  "wifiPW": "testWPW",
  "panID": "0001"
}

Network setting commands

CommandDescription
IP?Check the current IP address
networkConnected?Check the network connection status
wifiID= / wifiID?Set / check the Wi-Fi name
wifiPW= / wifiPW?Set / check the Wi-Fi password

IP?

Checks the gateway's current IP address.

IP?

Example output:

📡 IP: 192.168.51.28

networkConnected?

Checks whether the network is connected.

networkConnected?

Example output:

✅ Network connected

wifiID= / wifiID?

Sets or checks the Wi-Fi SSID.

wifiID=testWID

Example output:

✅ WiFi ID saved
📡 WiFi ID: testWID

The device restarts automatically after input, and the reboot log is printed as well.


wifiPW= / wifiPW?

Sets or checks the Wi-Fi password.

wifiPW=testWPW

Example output:

✅ WiFi PW saved
🔐 WiFi PW: testWPW

The device restarts automatically after input, and the ESP boot log is printed as well.


UWB settings and checks

CommandDescription
gatewayUwbID?Check the gateway's own UWB ID
uwbPanID= / uwbPanID?Set / check the Pan ID

gatewayUwbID?

Example input

gatewayUwbID?

Example output

🌐 gatewayUwbID: GR209E

uwbPanID=

Example input

uwbPanID=1234

Example output

✅ UWB Pan ID saved: 1234

uwbPanID?

Example input

uwbPanID?

Example output

🌐 uwbPanID: 1234

MQTT setting commands

CommandDescription
mqttIP= / mqttIP?Set / check the MQTT server IP
mqttIpFG!Automatically set the GrowSpace dedicated MQTT IP
mqttID= / mqttID?Set / check the MQTT login ID
mqttPW= / mqttPW?Set / check the MQTT login PW
project= / project?Set / check the project ID in the MQTT Topic

mqttIP= / mqttIP?

Set / check the MQTT broker address

Example input

mqttIP=192.168.0.123

Example output

✅ MQTT IP saved: 192.168.0.123
🌐 MQTT IP: 192.168.0.123

mqttIpFG!

Automatically sets the IP of the GrowSpace dedicated server.

Example input

mqttIpFG!

Example output

✅ MQTT IP saved: Freegrow Server

mqttID= / mqttID?

Set / check the MQTT login ID

Example input

mqttID=testID

Example output

✅ MQTT ID saved
🧩 MQTT ID: testID

mqttPW= / mqttPW?

Set / check the MQTT password

Example input

mqttPW=testPW

Example output

✅ MQTT PW saved
🔐 MQTT PW: testPW

project= / project?

Sets / checks the Project ID in the MQTT Topic path.

Example input

project=topicTest

Example output

✅ Project ID saved
📦 Project ID: topicTest

With these commands, you can easily check the settings of the GrowSpace Gateway Q1 and debug quickly to suit the situation on site.

After changing settings, always restart the device with the restart command to apply the changes.