No connection to TCP-Serial Bridge to ZIGBEE2MQTT and HZA #21625
-
PROBLEM DESCRIPTIONNeither zigbee2mqtt nor HZA is able to successfully connect to zigbee bridge pro.
but zigbee2mqtt throws
I followed this process with no success. REQUESTED INFORMATIONMake sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Configuration output here:
13:24:06.871 RSL: RESULT = {"NAME":"TCP ZBBridge Pro","GPIO":[0,0,576,0,480,0,0,0,0,1,1,224,0,0,0,5472,0,320,5793,5504,0,640,608,32,0,0,0,0,0,1,0,0,0,0,0,0],"FLAG":0,"BASE":1}
13:24:07.101 RSL: RESULT = {"Module":{"0":"TCP ZBBridge Pro"}}
13:24:07.359 RSL: RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"576":"LedLink_i"},"GPIO3":{"0":"None"},"GPIO4":{"480":"Buzzer"},"GPIO5":{"0":"None"},"GPIO6":{"0":"None"},"GPIO7":{"0":"None"},"GPIO8":{"0":"None"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO11":{"0":"None"},"GPIO12":{"0":"None"},"GPIO13":{"0":"None"},"GPIO14":{"0":"None"},"GPIO15":{"224":"Relay1"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"},"GPIO18":{"0":"None"},"GPIO19":{"5472":"TCP Tx"},"GPIO20":{"0":"None"},"GPIO21":{"320":"Led_i1"},"GPIO22":{"5793":"Zigbee Rst2"},"GPIO23":{"5504":"TCP Rx"},"GPIO24":{"0":"None"},"GPIO25":{"640":"I2C SDA1"},"GPIO26":{"608":"I2C SCL1"},"GPIO27":{"32":"Button1"},"GPIO32":{"0":"None"},"GPIO33":{"0":"None"},"GPIO34":{"0":"None"},"GPIO35":{"0":"None"},"GPIO36":{"0":"None"},"GPIO37":{"0":"None"},"GPIO38":{"0":"None"},"GPIO39":{"0":"None"}}
Rules output here:
13:25:01.083 RSL: RESULT = {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":75,"Free":436,"Rules":"on system#boot do TCPStart 8888 endon on system#boot do power1 toggle endon"}}
13:25:01.313 RSL: RESULT = {"Rule2":{"State":"OFF","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}}
13:25:01.562 RSL: RESULT = {"Rule3":{"State":"OFF","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}}
STATUS 0 output here:
13:25:23.719 RSL: STATUS = {"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"tasmota_4A4A58","ButtonTopic":"0","Power":"0","PowerLock":"0","PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
13:25:23.727 RSL: STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"https://ota.tasmota.com/tasmota32/tasmota32-zbbrdgpro.bin","RestartReason":"Software reset CPU","Uptime":"0T00:19:54","StartupUTC":"2024-06-13T12:05:29","Sleep":50,"CfgHolder":4617,"BootCount":5,"BCResetTime":"2024-06-13T12:33:45","SaveCount":19}}
13:25:23.734 RSL: STATUS2 = {"StatusFWR":{"Version":"14.1.0(release-zbbrdgpro)","BuildDateTime":"2024-06-03T11:55:40","Core":"3_0_0","SDK":"5.1.4.240529","CpuFrequency":160,"Hardware":"ESP32-D0WD-V3 v3.1","CR":"416/699"}}
13:25:23.739 RSL: STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["BONNA_IoT",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A192800000000","00000080","00006000","00004000","00000000"]}}
13:25:23.751 RSL: STATUS4 = {"StatusMEM":{"ProgramSize":1571,"Free":284,"Heap":148,"StackLowMark":3,"PsrMax":0,"PsrFree":0,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"1640C8","FlashFrequency":40,"FlashMode":"DIO","Features":["0809","8F8A87CF","00548001","000000CF","010013C0","C0000981","40024080","00200000","5400082C","00000080","00000004"],"Drivers":"1,2,!3,!4,!5,!8,9,10,12,!16,!20,!21,!23,24,!27,29,!35,38,41,50,52,!59,62,!68,82,!121","Sensors":"1,2,3,5,6,127","I2CDriver":"7"}}
13:25:23.762 RSL: STATUS5 = {"StatusNET":{"Hostname":"tasmota-4A4A58-2648","IPAddress":"192.168.1.199","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.1.1","DNSServer2":"2003:e2:bf47:7900:de39:6fff:fe18:506","Mac":"E4:65:B8:4A:4A:58","IP6Global":"fdd3:c9a5:591a:0:e665:b8ff:fe4a:4a58","IP6Local":"fe80::e665:b8ff:fe4a:4a58%st1","Ethernet":{"Hostname":"","IPAddress":"0.0.0.0","Gateway":"0.0.0.0","Subnetmask":"0.0.0.0","DNSServer1":"192.168.1.1","DNSServer2":"2003:e2:bf47:7900:de39:6fff:fe18:506","Mac":"00:00:00:00:00:00","IP6Global":"","IP6Local":""},"Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":16.0}}
13:25:23.770 RSL: STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_4A4A58","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
13:25:23.776 RSL: STATUS7 = {"StatusTIM":{"UTC":"2024-06-13T12:25:23Z","Local":"2024-06-13T13:25:23","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":"+01:00","Sunrise":"04:46","Sunset":"20:54"}}
13:25:23.784 RSL: STATUS10 = {"StatusSNS":{"Time":"2024-06-13T13:25:23"}}
13:25:23.790 RSL: STATUS11 = {"StatusSTS":{"Time":"2024-06-13T13:25:23","Uptime":"0T00:19:54","UptimeSec":1194,"Heap":151,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Berry":{"HeapUsed":3,"Objects":46},"POWER":"OFF","Wifi":{"AP":1,"SSId":"BONNA_IoT","BSSId":"9E:9D:7E:74:AA:C9","Channel":1,"Mode":"HT20","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:03"}}}
Console output here:
13:26:04.779 WIF: Checking connection...
13:26:17.005 TCP: Got connection from 192.168.1.13
13:26:17.009 TCP: to MCU/1: 1AC038BC7E
13:26:24.794 WIF: Checking connection...
TO REPRODUCESteps to reproduce the behavior:
EXPECTED BEHAVIOURzigbee2mqtt (or HZA) to connect on 8888 and take over coordinator role |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
See #21555 |
Beta Was this translation helpful? Give feedback.
-
From your logs the connection succeeds, but the MCU does not respond. Maybe a hardware or configuration problem. Are you sure your EZSP version is supported by Z2M or ZHA? |
Beta Was this translation helpful? Give feedback.
-
Well thats probably an open question. Not sure how to answer this.
Newer version shows same behavior. |
Beta Was this translation helpful? Give feedback.
-
ZNP seems not to be a valid option for zigbee2mqtt - ezsp and ember only
Unfortunately ZHA is not very informative as it just reports "ERROR" with no further details. |
Beta Was this translation helpful? Give feedback.
ZNP is supported by Zigbee2Mqtt , it is called zstack