Configuring the ZB-GW03-V1.4 ZigBee Gateway in Serial TCP Bridge mode for Zigbee2MQTT was not straightforward. After multiple attempts with different firmware versions and configurations, I even thought I had bricked the hub at some point. However, after extensive testing, I found that using the correct firmware from this GitHub repository and applying a few modifications, everything works perfectly.
This guide will walk you through the process of configuring Tasmota on the ZB-GW03 to enable Serial TCP bridging, allowing it to be used with Zigbee2MQTT.
The device can be purchased pre-flashed with Tasmota from Miravia.
Step 1: Configuring Tasmota for Serial TCP Bridge Mode
1.1 Set the Device Module
- Navigate to the Tasmota Web Interface.
- Go to Configuration > Configure Module.
- Select ESP32-Devkit (1) and Save.
- The device will reboot.
1.2 Apply Auto-Configuration for V1.2
- Navigate to Configuration > Auto-configuration.
- Select Eachen-ZB-GW03-V1.2 from the dropdown list.
- Click Apply Configuration.
- The device will reboot and apply the correct settings automatically.
1.3 Configure GPIO for TCP Communication (If Needed)
If auto-configuration is not applied or doesn't work correctly, manually configure the GPIOs:
- Navigate again to Configuration > Configure Module.
- Assign:
- GPIO2 (TX) → TCP Tx
- GPIO4 (RX) → TCP Rx
- Click Save.
1.4 Enable TCP Server on Boot
Open the Tasmota Console and enter the following command:
To ensure the TCP server starts automatically on boot, enter the following command:
Verify logs to confirm that the TCP server is running:
Step 2: Configure Zigbee2MQTT
- Open Zigbee2MQTT Web Interface.
- Navigate to Settings > Serial.
- Configure the following parameters:
- Port:
tcp://192.168.x.x:8888
- Adapter:
ezsp
- Baudrate:
115200
- Port:
- Click Submit and restart Zigbee2MQTT.
Step 3: Verify the Connection
- Check the Tasmota logs for the following:
Conclusion
After following this guide, your ZB-GW03 Gateway should be successfully configured in Serial TCP Bridge mode, allowing it to communicate with Zigbee2MQTT. This setup enables seamless Zigbee device management through MQTT.
For troubleshooting, always check the Tasmota logs and Zigbee2MQTT logs to identify any connectivity issues.
Enjoy your Zigbee Smart Home Automation!
No hay comentarios:
Publicar un comentario