Troubleshooting
Fixes for flashing, Wi-Fi, pairing, offline boards and AI client errors.
Most answers are in the board's serial log. Connect USB and open a serial monitor at 115200 baud (pio device monitor, or the Arduino serial monitor). Every 30 seconds the board prints a [hb] line with its IP, signal, router response time, MQTT state and cloud status.
Flashing
| Problem | Fix |
|---|---|
| No port appears | Use a USB-C data cable; try another USB port |
| Port busy | Close serial monitors, Arduino IDE, PlatformIO and other browser tabs |
| Install fails or hangs | Unplug, hold BOOT, plug in, release BOOT, then try again |
| Board does nothing after flashing | Unplug and replug, or press RST |
See Flash the firmware.
Wi-Fi
| Problem | Fix |
|---|---|
No EDEXTRON-XXXX hotspot |
The board already has Wi-Fi saved. Hold BOOT 5 s and release |
| Setup page doesn't open | Go to http://192.168.4.1 while connected to the hotspot. Turn off mobile data if the phone keeps leaving the hotspot |
| Board doesn't join your network | It must be 2.4 GHz. The log shows the reason, e.g. wrong WiFi password or not seen in scan ... (2.4 GHz only) |
| Board drops off now and then | Move it closer to the router. The Super Mini antenna is weak, so the firmware uses low transmit power (5 dBm) for stability. If the router is far away, build with WIFI_TX_POWER WIFI_POWER_8_5dBm |
Restarts, brownout in the log |
Use a better USB power supply and cable |
.local address doesn't open |
Most Android phones can't resolve .local. Use the IP address |
Pairing
| Problem | Fix |
|---|---|
| Dashboard keeps showing Waiting for the board to connect… | Check the board joined Wi-Fi (short LED blink every 3 s). Type cloud in the serial monitor |
Log: pairing code rejected (HTTP 422) |
The code was wrong, expired (2 min) or already used. Press Get a new code and enter it again |
Log: this board is linked to another account - remove it there first |
The board is still in someone else's account. They must use Remove board. See Factory reset and transfer |
Cloud status waiting_time |
The board can't reach a time server. Allow NTP (UDP 123) on your network |
Cloud status low_memory |
Usually temporary. Restart the board if it persists |
Log: pairing failed (HTTP ...) followed by dns failed |
No internet access or DNS on this network. The board retries every 30 s |
You can also pair over USB: type pair 1234 in the serial monitor.
Board shows Offline
- Check power and Wi-Fi first (LED: slow blink = looking for Wi-Fi).
- If the board was removed from the account or paired again elsewhere, its old key no longer works. Create a New pairing code and pair again.
- Firmware 1.1.1 fixes needless Wi-Fi reconnects on some 4G routers, and 1.1.2 stops the board from freezing for up to 2 minutes when the network stalls. Update to the latest version.
Relays
| Problem | Fix |
|---|---|
| Relay is ON when the dashboard says OFF | Your relay module is active-LOW. Build with RELAY_ACTIVE_HIGH false |
| "Outcome unknown…" | The board did not confirm in 5 s. Check the load, then press Check result. Don't toggle blindly |
| "Another command is awaiting confirmation…" | Wait a few seconds and try again |
| All relays OFF after a power cut | By design. See Relay state and safety |
AI clients
| Message | Fix |
|---|---|
401 "Invalid or expired API key." |
Key revoked, mistyped or not loaded. Codex: open a new terminal after setting EDEXTRON_TOKEN |
| "AI control is disabled for this relay." | Turn on Allow AI control for that relay |
| "This API key does not permit this operation." | Create a key with the needed Permissions |
| "More than one device has that name. Use a device ID." | Rename one board, or use its ID |
| "Rate limit exceeded…" | Wait a moment; don't let the AI retry in a loop |
Still stuck? Email [email protected] with the board's Device ID, firmware version and the relevant serial log lines. Never send your AI key or device key.