-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After power cycling my eachen zbbridge, zigpy/bellows ZHA integration can no longer connect to TCP #13350
Comments
Hey I noticed the same thing. I think it has to do with the zigbee radio not being able to reset. I worked out a couple rules to automatically toggle between Z2T and ZHA which fixes it. I posted it here. https://thehelpfulidiot.com/update-a-wired-sonoff-zigbee-alternative |
Silab is recommending implanting hardware pin for resetting the Zigbee chip as one fallback and the original WiFi is having it but i dont knowing if the Eth version do. Both first gen and second gen EFR32MG is working very well with software reset if the communication it is working OK and its only needing the reset pin for debricking chips if have flashing somthing bad like bootloader is wrong place with SWD. Second clue is that Tube0013 EFR32MG2X devices with ESPHome is not having this problem so its somthing to do with tasmota ESP32 is not setting up the hardware UART OK after cold boot. Have some trying changing the comport parameters like speed and flow control and see if the communication is start working ? Still good is that the workaround is working :-)) |
Try building using |
After a soft restart the UART (serial connection Gpio 16 / 17) is not working correctly. |
Please try latest version from the link provided here #13445 (comment) |
Hey that worked great. Thanks! |
Thanks for reporting |
Its not solved for me, please reopen. The firmware linked in #13445 (comment) doesnt work for me, or the author of that issue. It bricks the device, with a red blinking led, and no web interface. pinging the device does work though. |
I just pushed a fix for IDF4.4 that could create a bootloop. To break the bootloop, try to connect to the Tasmota console and type After flashing the patched version, you can enable back Zigbee with |
Does Ethernet works for you? I have tried with my Mikrotik router DHCP offers IP but it's not getting bound... |
Someone mentioned on the HA forum that you may need to specify 100mbps at your router if it doesn't autonegotiate the speed. |
this has already been done, tried half duplex full duplex 100mb 10mb.... Console shows 100mbps Full Duplex connected after few seconds disconnected. |
It seems that my little patch in #13874 resolves this issue. The RST (reset) pins must be always initialized, otherwise the ZigBee module does not respond on the cold boot. No more GPIO config toggling is required. Just start the TCP server using a BackLog rule on boot. |
Great finding and fix !!Is it the same for Sonoff ZBB ? |
I think that any hardware with the hardware reset pins is affected. You may give a test and report your result here. I'm running latest 10.X on eWelink bridge. |
I running one IKEA FER32MG1P module on one WeMos D1 Mini but without hardware reset connected and one old Tasmota and i dont touching it then tasmota is not liking tricking to much around and its working OK. |
PROBLEM DESCRIPTION
After power cycling my eachen zbbridge, zigpy/bellows can no longer connect to it. The only way I found to make it work again is applying the template that enables Z2T, then again applying the ZHA template. Then it will work, until the next power cycle.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Enable ZHA template. Disconnect power. Reconnect power. Try connecting ZHA
EXPECTED BEHAVIOUR
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Initially raised the issue in zigpy/bellows:
zigpy/bellows#440
They recommended I open an issue here as it appears to be a tasmota problem.
I have tried precompiled 9.5.0.3 and self compiled 9.5.0. I tried with wifi and ethernet IP addresses and with wifi enabled and disabled. I tried both versions of the zigbee radio firmware. I double checked that TCP is running, and manually tried restarting it with tcpstart 8888. In Tasmota 9.5.0.3 I get several "TCP connected" messages from the IP of my HA server, but ZHA isnt connecting . In 9.5.0 I do not see those messages.
These are the templates I use:
backlog Template {"NAME":"ZB-GW03-V1.2","GPIO":[0,0,3552,0,3584,0,0,0,5793,5792,320,544,5536,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,608,640,32,0,0,0,0,0],"FLAG":0,"BASE":1} ; module 0
backlog template {"NAME":"ZHA-bridge","GPIO":[0,0,5472,0,5504,0,0,0,5793,5792,320,544,5536,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,608,640,32,0,0,0,0,0],"FLAG":0,"BASE":1} ; module 0
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: