In This Article
This article introduces serial commands that let you directly check or modify key configuration values on the GrowSpace Gateway Q1 device, diagnose network errors, and check the MQTT server connection status. Connect to the device through a terminal (such as Tera Term) and enter the commands below for flexible on-site debugging.
Environment
| Item | Description |
|---|---|
| Connection method | USB serial (COM port) |
| Software | Tera Term or a similar terminal tool |
| Baud rate | 115200 |
| Input mode | Waiting for command input after boot completes |
Basic Commands
| Command | Description |
|---|---|
| restart | Reboot the system |
| basicSetting= | Set MQTT ID, PW, IP, Wi-Fi ID/PW, and UWB PanID all at once |
| basicSetting? | Check all of the information above at once |
restart
restart
Immediately restarts the gateway. Use this to apply configuration changes right away.
Input Example
restart
Output Example
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 all at once. Enter the values in JSON format.
Input Example
basicSetting={"mqttID":"testID", "mqttPW":"testPW", "mqttIP":"192.168.0.123", "wifiID":"testWID", "wifiPW":"testWPW", "panID":"0001"}
Output Example
✅ mqttID saved
✅ mqttPW saved
✅ mqttIP saved: 192.168.0.123
✅ wifiID saved
✅ wifiPW saved
✅ panID saved: 0001
🔁 Restarting ESP after configuration change
(the same reboot log as the restart command is then printed)
Notes
- Only 2.4GHz Wi-Fi is supported (5GHz is not supported)
- Saved immediately upon input, followed by an automatic reboot
basicSetting?
Checks the currently saved MQTT, Wi-Fi, and PanID settings.
Input Example
basicSetting?
Output Example
{
"mqttID": "testID",
"mqttPW": "testPW",
"mqttIP": "192.168.0.123",
"wifiID": "testWID",
"wifiPW": "testWPW",
"panID": "0001"
}
Network Configuration Commands
| Command | Description |
|---|---|
IP? | Check the currently connected IP |
networkConnected? | Check 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?
Output Example:
📡 IP: 192.168.51.28
networkConnected?
Checks whether the network is connected.
networkConnected?
Output Example:
✅ Network connected
wifiID= / wifiID?
Sets or checks the Wi-Fi SSID.
wifiID=testWID
Output Example:
✅ 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
Output Example:
✅ WiFi PW saved
🔐 WiFi PW: testWPW
The device restarts automatically after input, and the ESP boot log is printed as well.
UWB Configuration and Verification
| Command | Description |
|---|---|
gatewayUwbID? | Check the gateway’s unique UWB ID |
uwbPanID= / uwbPanID? | Set / check the Pan ID |
gatewayUwbID?
Input Example
gatewayUwbID?
Output Example
🌐 gatewayUwbID: GR209E
uwbPanID=
Input Example
uwbPanID=1234
Output Example
✅ UWB Pan ID saved: 1234
uwbPanID?
Input Example
uwbPanID?
Output Example
🌐 uwbPanID: 1234
MQTT Configuration Commands
| Command | Description |
|---|---|
mqttIP= / mqttIP? | Set / check the MQTT server IP |
mqttIpFG! | Automatically set the Freegrow-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 used in the MQTT topic path |
mqttIP= / mqttIP?
Input Example
mqttIP=192.168.0.123
Output Example
✅ MQTT IP saved: 192.168.0.123
🌐 MQTT IP: 192.168.0.123
mqttIpFG!
Automatically configures the Freegrow-dedicated server IP.
Input Example
mqttIpFG!
Output Example
✅ MQTT IP saved: Freegrow Server
mqttID= / mqttID?
Set / check the MQTT login ID
Input Example
mqttID=testID
Output Example
✅ MQTT ID saved
🧩 MQTT ID: testID
mqttPW= / mqttPW?
Set / check the MQTT password
Input Example
mqttPW=testPW
Output Example
✅ MQTT PW saved
🔐 MQTT PW: testPW
project= / project?
Sets / checks the project ID used in the MQTT topic path.
Input Example
project=topicTest
Output Example
✅ Project ID saved
📦 Project ID: topicTest
Using the commands above, you can easily inspect the GrowSpace Gateway Q1 device’s configuration and quickly debug it to match on-site conditions.
After changing any setting, always run the restart command to restart the device and apply the change.
