Unable to add device using sonoff zigbee bridge with tasmota

Hello All,

I have flashed my zigbee bridge with tasmota and it used to work well. However, it is not detecting my motion sensor lately.

I tried to reflash the bridge with guide from following website

however, when i add in device, nothing appear and under the log, it appears this error.

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:84
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 1:15:49 AM (2 occurrences)
Last logged: 1:16:36 AM

* [23100667820400] Received invalid command: zha/devices/permit
* [23100653010032] Received invalid command: zha/devices/permit

How should i continue ?

Sorry for this stupid comment but maybe it’s time to go to bed and re watch it the next day ?

First occurred: 1:15:49 AM (2 occurrences)
Last logged: 1:16:36 AM

Seems like we socket issue … can you ping the bridge ? Does the rest work properly?

Hello Sir,

I woke up the next morning to try again. :smiley:

I have restarted my unraid server, restart home assistant and it is still giving the same error.
below is my home assistant version.

Supervisor
Version
2021.01.dev0201
Newest Version
2020.12.7

i am able to connect to zigbee bridge using ip address. but when i try to add device, tasmota console doesn’t show anything.

below is from tasmota console.

00:00:03 WIF: Attempting connection...
00:00:04 WIF: Connected
00:00:05 HTP: Web server active on tasmota_E32A93-2707 with IP address 192.168.7.70
08:31:28 RTC: UTC 2021-01-10T07:31:28, DST 2021-03-28T02:00:00, STD 2021-10-31T03:00:00
08:31:29 RSL: tele/tasmota_E32A93/INFO1 = {"Module":"Sonoff ZHABridge","Version":"9.2.0(zbbridge)","FallbackTopic":"cmnd/DVES_E32A93_fb/","GroupTopic":"cmnd/tasmotas/"}
08:31:29 RSL: tele/tasmota_E32A93/INFO2 = {"WebServerMode":"Admin","Hostname":"tasmota_E32A93-2707","IPAddress":"192.168.7.70"}
08:31:29 RSL: tele/tasmota_E32A93/INFO3 = {"RestartReason":"Power On"}
08:31:29 RUL: SYSTEM#BOOT performs "TCPStart 8888"
08:31:29 SRC: Rule
08:31:29 CMD: Group 0, Index 1, Command "TCPSTART", Data "8888"
08:31:29 TCP: Starting TCP server on port 8888
08:31:29 RSL: stat/tasmota_E32A93/RESULT = {"TCPStart":"Done"}
08:31:29 HTP: Main Menu
08:31:31 APP: Boot Count 27
08:31:31 CFG: Saved to flash at F4, Count 55, Bytes 4096
08:31:33 RSL: tele/tasmota_E32A93/STATE = {"Time":"2021-01-10T08:31:33","Uptime":"0T00:00:12","UptimeSec":12,"Vcc":3.483,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Wifi":{"AP":1,"SSId":"Lvl 7 Living","BSSId":"8C:53:C3:DC:09:0D","Channel":6,"RSSI":100,"Signal":-44,"LinkCount":1,"Downtime":"0T00:00:06"}}
08:36:31 HTP: Console
08:36:33 RSL: tele/tasmota_E32A93/STATE = {"Time":"2021-01-10T08:36:33","Uptime":"0T00:05:12","UptimeSec":312,"Vcc":3.482,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Wifi":{"AP":1,"SSId":"Lvl 7 Living","BSSId":"8C:53:C3:DC:09:0D","Channel":6,"RSSI":100,"Signal":-44,"LinkCount":2,"Downtime":"0T00:00:11"}}```

Looks good to me. … hmm strange. my be just re-add the component?

when i remove the ZHA integration form Home Assistant, is there any file that i need to delete in order to have a ‘clean’ re integration.

Nope should be deletd automatically … should all be in .storage folder (hidden folder)

I have reflash using “ncp-uart-sw_6.5.5_115200.ota”, remove the existing ZHA integration, delete the zha.storage file in the.storage folder and reintegrate again. This time it works!!! :smiley:

Congrats my freidn… glad and happy to hear . i completely understand frustrrations due to NOT working stuff .P

1 Like