Tasmotized eWelink Zigbee bridge ZB-GW03 connection problem / Port 8888 not opening up

I need to get this LAN/WIFI - Zigbee bridge (Hub? Router? whatever, do not know the name) to work.

I need to get HA to talk to to this bridge so I can use my zigbee-devices connected to bridge

2 of these are going to be at my house (Wifi or LAN) and 1 on the house next to mine (LAN)

Unit is eWelink Zigbee hub ZB-GW03, and Aliexpress seller has already flashed this with Tasmota firmware (Tasmota 12.5.0 by Theo Arends)

Tasmota integration in HA recognises this, but I can not add any zigbee devices ← main problem here. “Zigbee Home Automation”-integration does not connect to this, sends an error.
When I give the address and port (socket://192.168.1.153:8888 115200) ZHA gives error “! Failed to connect”

I have watched 3 youtube tutorials, they all give the same advice for the settings, but that does not work for me.

HA would like to discuss with Tasmota bridge via port 8888 , but I can not open the port in Tasmota bridge unit.

When I try the TCP starting command, I write in console: TCPStart 8888, and the answer is:

23:54:04.796 CMD: TCPStart 8888
23:54:04.802 MQT: stat/tasmota_ZBHUB_1/RESULT = {"Command":"Error"}

and I belive it should be something like:

02:16:54.798 TCP: Starting TCP server on port 8888
02:16:54.802 MQT: House/ZigbeeBridge/RESULT = {"TCPStart":"Done"}

I have watched tutorials, but they are all for sonoff-Tasmota, this is eWelink. BUT if I understand correctly, these have same firmware.
Google and ChatGPT 3.5 are not helping anything.

In aliexpress people are telling how it works for them, but it does not not for me.

Please do not tell me to install usb-dongle, I have one of these and another on the way, and impossible to install via ethernet cable to another house.

Is there some Guru here that can help me, or am I trying to do this the wrong way? :thinking:

It is this product

Product can be also found here: https://www.aliexpress.com/item/1005005269351360.html

Ps. I started installing my first HA 26 hours ago, so I know very little of these, and I am maybe approaching this the wrong way!

Don’t watch YouTube, read
https://thehelpfulidiot.com/a-wired-sonoff-zigbee-alternative
(Pay attention to the part to setup for ZHA)

Now the unit is bricked :rofl:

I will order some programming board, and tasmotize it again, and start from scratch :slight_smile:

I will be back if that does not work :ok_hand:

Just googling for what to order.

it is hard to brick an esp.

https://tasmota.github.io/docs/Device-Recovery/

Procedure~

  1. Cut power from the device completely for 30 seconds
  2. Power the device on and off six times with intervals lower than 10 seconds and leave it on after seventh time
  3. Fast power cycle device recovery should activate and the device should be reset to firmware defaults

If you flashed a precompiled binary you can reconfigure the device using the web UI after the reset.

I did it somehow anyway :sweat_smile:

I have usb charger that makes high pitch sound when there is no load, and I can hear this goes on off rapidly. Nothing else is working, than red light in the front panel.

Power cycle 7 times does not work. Tried it 4 times.

I believe it was flashing zigbee-part that broke the whole thing :thinking:

I am now trying one more time with other charger, and see if it is registered to my network (I do full network scan without LAN cable, and with LAN cable, so I can see when there is IP added) :thinking:

But I am confident I can fix this issue somehow. Usually I do not give up on things, I just try to learn how to do it.

EDIT: Did not help, it does not reserve an IP.

I unbricked it with windows and software named: ESP-Flasher-X86

Here are the WORKING firmwares for this particular board (ZB-GW03 V1.4): https://github.com/xsp1989/ZB-GW03_firmware/tree/master/tasmota


This helped me to get TCP to start: Serial to TCP Bridge - Tasmota

So what you must do the following in Tasmota web interface:

  1. Configure Module
  2. Choose “ESP32-Devkit (1)”
    -device will reboot-
  3. Configure module, and set TX GPIO1 → TCP Tx and TX GPIO3 → TCP Rx
  4. in console add: tcpstart 8888

I did not get it fully working yet, but at least in HA, ZHA is trying to connect, will do another post about that.

Seems that was not the way to go.

Instead do this:

Compile your own firmware with this guide (thanks francisp): A Wired Sonoff Zigbee Alternative – The Helpful Idiot

Remember, when uploading this to the ESP32, you must have internet connection on that machine, it will download firmware file “bootloader_dio_40m.bin” from github while preparing the flash.

Finally add to console:
backlog rule1 on system#boot do TCPStart 8888 endon ; rule1 1 ; TCPStart 8888

and now it will listen to port 8888, even after reboot :ok_hand:

1 Like

@Janiporo I bought from the same aliexpress seller and saw your message in the reviews directing to this post. I am happy to say that all these issues are now ironed out. I only had to do the below and everything is working as expected. Device came with Tasmota 13.2.

Update the ZigbeeTX and ZigbeeRX in template to TCPTx and TCPRx.

Enter following commands in Tasmota Console:

TCPBaudRate 115200
tcpstart 8888
Rule1 ON System#Boot do TCPStart 8888 endon
Rule1 1

Works even after restarts on the coordinator or home assistant.

1 Like

Oh I wish I’d read this post before I ventured down the road of trying to flash from scratch.

Does anyone have a backed up copy of the firmware that came with the pre-flashed version of the 1.4 hardware? My own backup copy appears to be no good, no LEDs, no DHCP lease.

Sorry I am not sure how to get the firmware out of the device. If you have some instructions, I can and extract it for you.

Thanks for posting this. I am new to Tasmota. Are you saying you just used the 13.2 that came with the device? Mine came with 13.2.

Any helpful pointers about how to do the following? Again, new to this.

Update the ZigbeeTX and ZigbeeRX in template to TCPTx and TCPRx.

Does anyone know if this is stock 13.2 or something custom? I see there are newer Tasmota. Are we able to upgrade?

Also, how has it been going? Stable?

Thanks.

Oh, I guess you mean this part.

image

Anyone started seeing this problem? Mine is still working fine, but recently the logs started constantly showing these errors.

Error 2024-05-28 19:50:27Frame changeSourceRouteHandler parsing error: RangeError: Attempt to access memory outside buffer bounds at new NodeError (node:internal/errors:405:5) at boundsError (node:internal/buffer:86:11) at Buffer.readUInt16LE (node:internal/buffer:245:5) at Buffer.readUIntLE (node:internal/buffer:182:17) at Function.deserialize (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/types/basic.ts:19:67) at new EZSPFrameData (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:180:54) at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:154:23 at Array.every (<anonymous>) at Function.createFrame (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:148:15) at Ezsp.onFrameReceived (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:439:35)
Error 2024-05-28 19:50:27Unparsed frame 0xc4. Skipped
Error 2024-05-28 19:50:27Frame changeSourceRouteHandler parsing error: RangeError: Attempt to access memory outside buffer bounds at new NodeError (node:internal/errors:405:5) at boundsError (node:internal/buffer:86:11) at Buffer.readUInt16LE (node:internal/buffer:245:5) at Buffer.readUIntLE (node:internal/buffer:182:17) at Function.deserialize (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/types/basic.ts:19:67) at new EZSPFrameData (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:180:54) at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:154:23 at Array.every (<anonymous>) at Function.createFrame (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:148:15) at Ezsp.onFrameReceived (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:439:35)
Error 2024-05-28 19:50:27Unparsed frame 0xc4. Skipped

I have been reading online that the firmware needs to be updated. Anyone got a new firmware working without the errors in the logs?

Hi Janiporo,
Could you please provide some guideline here?
I just bought my 1.4 version, and the ZHA integration does not what to recognize it.
On the other hand, there is no error message at all.

23:53:44.379 RSL: INFO1 = {“Info1”:{“Module”:“TCP ZBBridge Pro”,“Version”:“14.1.0.2(0c49262-zbbrdgpro)”,“FallbackTopic”:“cmnd/DVES_2D3144_fb/”,“GroupTopic”:“cmnd/tasmotas/”}}
23:53:44.393 RSL: INFO2 = {“Info2”:{“WebServerMode”:“Admin”,“Hostname”:“tasmota-2D3144-4420”,“IPAddress”:“192.168.1.148”,“IP6Global”:“”,“IP6Local”:“fe80::ad1:f9ff:fe2d:3144%st1”}}
23:53:44.406 RSL: INFO3 = {“Info3”:{“RestartReason”:“Software reset CPU”,“BootCount”:7}}
23:53:44.419 RUL: SYSTEM#BOOT performs ‘TCPStart 8888’
23:53:44.421 TCP: Starting TCP server on port 8888
23:53:44.423 RSL: RESULT = {“TCPStart”:“Done”}

Thanks

I’ve figured it out.
So, I have a ZB-GW03-v1.4 (eachen-ewelink-zigbee-bridge-pro-zbbridge-pro)
Steps:

1.Upload the Tasmota32 Sonoff-ZigbeeBridePro firmware
2. Using the Auto-config, choose the Eachen-ZB-GW03-V1.2
3. And finally, Update the ZigbeeTX and ZigbeeRX in template to TCPTx and TCPRx.

Thanks all for the hints!

2 Likes

This was the critical piece of information that took me hours to find. Thank you.