-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Sonoff Zigbee3.0 USB Dongle pairing issues #9117
Comments
Could you flash this FW: https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.x.0/bin/CC1352P2_CC2652P_launchpad_coordinator_20210708.zip and use a CC2531 to sniff the traffic when pairing fails? https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html |
I will give it a go this eve. |
On this firmware I see pairing messages -- so there is progress Some observations: Sonoff Motion sensor - at first I thought it would fail but took 2 min to pair and works ok now 🤷♂️ Lidl stuff, before not able to pair but worked just like that. Sonoff temp sensor: gets stuck on gave up after 5 min Some improvement there over what it was before - I wasn't on the launchpad version. I need to setup sniffing to give you more sets, got lots on my plate this week so I will try to post as soon as I can |
|
Any suggestions for big delays in pairing? I noticed stopping system also
took some time with this stick.
…On Tue, 12 Oct 2021, 07:23 Koen Kanters, ***@***.***> wrote:
- Sonoff button; doesn't look like something related to the stick,
more a z2m bug.
- SNZB-02 is known not to work, I've ordered this device, you can
track the issue here: #8971
<#8971>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL23NELWT7S46FHIKPADUGPH7XANCNFSM5FXV5MTA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
If you provide a debug log + sniff starting from the moment you put the device into pairing mode I can check that. |
@notenoughtech can you make sure you are not running into this linux kernel driver bug? #8663 |
This sound very familiar if I'm honest
…On Tue, 12 Oct 2021, 08:04 Elias Berg, ***@***.***> wrote:
@notenoughtech <https://github.com/notenoughtech> can you make sure you
are not running into this linux kernel driver bug? #8663
<#8663>
Probably not if zzh works as it should, but worth a look.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL2ZSZLXE3PYHR4DT4FDUGPMYHANCNFSM5FXV5MTA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
He should not run into the bug mentioned in #8663 if his issue is with the new "SONOFF Zigbee 3.0 USB Dongle Plus (Model: "ZBDongle-P")" as it uses Silicon Labs CP2102N (from Silabs CP210x Family) USB-to-UART bridge chip instead of WCH CH341. @notenoughtech you should maybe clarify in your original post that your issue here is specifically with "SONOFF Zigbee 3.0 USB Dongle Plus (Model: "ZBDongle-P" based on Texas Instruments CC2652P)" and not with their previous "Zigbee 3.0 USB Dongle (SKU: "9888010100045" based on Silicon Labs EFR32MG21)", as both are from ITead but only the "Zigbee 3.0 USB Dongle (SKU: "9888010100045") uses a CH341 USB-to-UART bridge chip. At least that is my assumption considering the timing of this and your recent review article: https://notenoughtech.com/home-automation/sonoff-zigbee-3-0-usb-dongle-plus/ |
Since the dongle plus comes with an enclosure, I think viewers will figure
out which I'm talking about (I mentioned in the article/video the zigbee IC
model the PCB hosts.
*Mat Zolnierczyk*
Owner: NotEnoughTECH
Editor: *pocketables.com <http://www.pocketables.com/about>**, *
*xda-developers.com* <https://www.xda-developers.com/author/notenoughtech/>
E: ***@***.***
W: www.notenoughtech.com
<https://inbox.google.com/u/1/www.notenoughtech.com> | Twitter:
@notenoughtech <https://twitter.com/NotEnoughTECH>
…On Wed, Oct 27, 2021 at 2:32 PM Hedda ***@***.***> wrote:
@notenoughtech <https://github.com/notenoughtech> can you make sure you
are not running into this linux kernel driver bug? #8663
<#8663>
He should not run into that bug if the issue is with "SONOFF Zigbee 3.0
USB Dongle Plus (Model: "ZBDongle-P")
<https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/>" as that
uses Silicon Labs CP2102N
<https://www.silabs.com/interface/usb-bridges/usbxpress/device.cp2102n-gqfn20>
(from Silabs CP210x Family) USB-to-UART bridge chip instead of the WCH
CH341.
@notenoughtech <https://github.com/notenoughtech> you should clarify that
your issue here is specifically with "SONOFF Zigbee 3.0 USB Dongle Plus
(Model: "ZBDongle-P" based on Texas Instruments CC2652P)
<https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/>" and not
with their previous "Zigbee 3.0 USB Dongle (SKU: "9888010100045" based on
Silicon Labs EFR32MG21) <https://itead.cc/product/zigbee-3-0-usb-dongle/>",
as both are from ITead but only the "Zigbee 3.0 USB Dongle (SKU:
"9888010100045") uses a CH341 USB-to-UART bridge chip.
At least that is my assumption considering the timing of this and your
recent review article:
https://notenoughtech.com/home-automation/sonoff-zigbee-3-0-usb-dongle-plus/
https://www.reddit.com/r/Not_Enough_Tech/comments/q2vfq4/getting_started_with_sonoff_zigbee_30_usb_dongle/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL27VHSX7OQYU22R4YE3UJAEPTANCNFSM5FXV5MTA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
FYI, perhaps not quite general knowledge but other than the obvious in avoiding having your Zigbee coordinator close to your Wi-Fi router/access-points, know that you can often get Zigbee pairing issues when got electromagnetic interference from USB 3.0 devices and cables connected to those devices are known to often interfere with Zigbee coordinator signal reception: Simplest solution to avoid EMF from devices is to use a long (1-2 meter) USB-extension-cable to get your ZB dongle a bit away. Maybe little of topic, but FYI, I have collected these general best practices for avoiding pairing difficulties with Zigbee devices: Best practices for avoiding pairing difficulties
Also FYI, while on the subject of your issues I have also connected these general tips on improving Zigbee network range: Tips on improving Zigbee network rangeBoth poor signal quality or signal interference can lead to transmission errors and related issues. This section contains fundamental troubleshooting tips on how to improve signal quality plus optimize range and coverage. Improving signal quality and removing sources of signal interference can in most cases maximize range and resolves problems related to transmission errors. Please try to follow at least some of these recommendations before posting on the community forums or reporting issues to developers.
|
@notenoughtech btw, regarding your range tests; Koenkk now stated current firmware doesn't yet support +20 dbm output: That means that this CC2652P based Sonoff Zigbee 3.0 USB Dongle Plus adapter with its current firmware version only operate at +5 dBm output, so no wonder it does not perform better when compared to Electrorama’s zzh dongle which is based on CC2652R that physically only capable of +20 dBm output. Thus only once we get a new community firmware with RF switch configured will enabling +20 dBm output in application settings actually work.chiakikato also manually tested Sonoff Plus dongle hardware and confirms it support +20 dBm output: Guess this means you have to redo the tests and update review when get new firmware. |
@Hedda before people get confused,
This should be 5dbm, not 20dbm, so theoretically the ZZH should gave the same performance as the sonoff adapter currently. |
I will be keen to redo this (time is a massive issue right now) at
some point as it would make a good article
…On Fri, 29 Oct 2021, 15:41 Koen Kanters, ***@***.***> wrote:
@Hedda <https://github.com/Hedda> before people get confused,
CC2652R that physically only capable of *+20 dBm* output
This should be 5dbm, not 20dbm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL22VCWC4YJLPJRWZYHTUJK6A3ANCNFSM5FXV5MTA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@notenoughtech do you still have the pairing issues? If so could you provide me the required debug information so I can investigate this further? #9117 (comment) |
Other than initial feedback I didn't have time to play more with it. I need
to sit down and get the proper sniffing log from cc2531 as you requested
before.
My social calendar, work and NotEnoughTECH is a bit stretched 😭😭
…On Fri, 29 Oct 2021, 16:08 Koen Kanters, ***@***.***> wrote:
@notenoughtech <https://github.com/notenoughtech> do you still have the
pairing issues? If so could you provide me the required debug information
so I can investigate this further? #9117 (comment)
<#9117 (comment)>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL2ZOEOTKG7CEFV3LRX3UJLBGFANCNFSM5FXV5MTA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Koen, I’ve recently purchased a couple of these, straight away with the latest 3.X.0 branch firmware, and also with the newer one you posted specifically referencing the sonoff dongle, I found issues with pairing Ikea bulbs. Oddly some that had older firmware versions paired first time with no issues, but newer firmware bulbs always had issues either pairing or setting up reporting for the bulbs. I had similar issues with some very old HUE b22 bulbs problems I will sniff the traffic of various items when I’m back home at the weekend. hoggerz |
Id like to leave a comment here as well. I purchased a couple of the sonoff zigbee 3.0 plus dongles and have not been able to get them to work. Now im new to zigbee2mqtt.. ive been a long time ZHA user through HA but want to move to z2m to get better device support. I am running this on a debian vm, fresh install. I followed all the instructions to install z2m. I took my dongle and flashed it with 20210708. I was able to get z2m started and the web interface came up etc. It says its listening for devices to join but i cant get a single device to join. No logs no nothing (even with debug logging enabled) It just sits there. I have flashed this dongle on both a windows vm and also using the CC2538-bsl script.. both seemed to flash and verify successfully but still wont enable any devices to join. I have about 25 zigbee devices that are all running fine with ZHA. I am running on channel 20. I have found though that ive run into that problem with starting z2m raises that duplicate pan_id issue.. I was able to get around that by re-flashing and setting the pan_id to GENERATE in teh config file. That sometimes works. What always seems to let me get things started is to remove the external antenna. But that fact sort of suggests to me that something is happening at the stack level because with the antenna installed i hit the pan_id issue and without z2m will start. Anyway i know im not giving a lot of cold hard facts here but that's where things stand for me. Unable to get a single device to join. Im thinking of flashing a CC2531 device and see if i can get that to accept devices on the same setup. Happy to test or try anything. Thanks in advance. |
Wanted to add some more info here.. i took my other sonoff 3.0 dongle from its package, disconnected the antenna.. replaced the flashed one, and restarted zigbee2mqtt, and then reattached the antenna. I am now able to get a few devices to connect.. it says in the web interface that its running firmware 20210708 as well.. strange why this one works and the other one doesnt. One may say i flashed it wrong but i did it a few times and did full verification on the written image and it checked out. Im going to take the original one and use it with ZHA and see if it works fine there. Now im having other issues iwth it reading battery levels, not sure whats happening there, but at least its reading some devices. |
Sounds like a hardware fault with the other one of your adapters if one adapter is working and the other adapter is not when both are flashed with same firmware image. Maybe try switching antenna between them to rule out one of the antennas being at fault. FYI, once fixed know there is more general and broader discussion about ITead's Sonoff Zigbee 3.0 USB Dongle Plus here -> #8840 |
Hello, I ordered the Sonoff Zigbee3.0 USB Dongle (ITEAD) two weeks ago and it arrived yesterday. Before I used the CC2530 with serial connection the my raspberry Pi4 which worked good, however, after updating the raspberry pi I was not able to connect the CC2530, so I order the Sonoff Dongle (as I read that it does not perform that good anymore). |
Yes I found the sonoff dongle just doesn’t work as well as my old setup with a sonoff zhabridge with tasmota. I really think zigbee2mqtt looks really interesting but I can’t get it working with this adapter. I just ordered another adapter, from here. https://slae.sh/projects/cc2652/#get-one I’m going to try it with this. Hopefully I get a better outcome.
For the record I have about 25 devices and with the sonoff 3.0 stick I tried about six of them. Four came in fine and two would not pick up the battery state. I tried many times to re pair them. No luck. All these devices worked fine with ZHa.
… On Dec 4, 2021, at 9:34 AM, Nobody931 ***@***.***> wrote:
Hello, I ordered the Sonoff Zigbee3.0 USB Dongle (ITEAD) two weeks ago and it arrived yesterday. Before I used the CC2530 with serial connection the my raspberry Pi4 which worked good, however, after updating the raspberry pi I was not able to connect the CC2530, so I order the Sonoff Dongle (as I read that it does not perform that good anymore).
I was able to connect the Dongle and pair with a xiaomi motion detector. However, I am not able to pair my other devices which compromises of IKEA light bulbs, e1743 buttons and other supported devices. I found this issue and before I try reflashing the USB Dongle (which already shipped with the latest firmware [20210708]) I thought maybe there is another problem and used the cc2531 sniffer for capturing the communication. This is the capture of the e1743 button with a fresh battery.
logAndCapture.zip
I hope the log and capture is good enough, I necessary I can provide more log and capture other devices as well if time allows it :) Would love the get my old setup working, thank you!
tldr: Changed from CC2530 to pre-flashed Sonoff Dongle, successfully paired motion sensor, but not able to pair other (supported and functioning) devices.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
My Sonoff 3.0 Plus USB stick arrived. I've been trying it on a fresh Linux device (Webthings Gateway), with a brand new random PAN_ID and Network_Key. I tried to switch an IKEA light over from my main system (with Conbee2), to this new test system. So far I have not been able to get it to pair. I have tried:
At some point I noticed an
But most of the time there's simply... nothing. I still have to try:
I don't want to flash a different firmware, as for my purposes I'm looking for a cheap USB stick that I can recommend others to buy. It needs to be globally available, and work out of the box. |
same for me, ordered the sonoff stick but IKEA bulbs aren't pairing. I didn't start debugging yet and will try to follow the points Koenkk advised. |
I highly recommend that you at least change the requirement to have a relatively fast/easy way for users to upgrade the Zigbee coordinator firmware on whatever adapter you choose. Suggest that you check out this "feature/ITead_Sonoff_Zigbee-delay" branch from JelmerT patch for cc2538-bsl which makes upgrading firmware much easier than following ITead's official guide (PR JelmerT/cc2538-bsl#114 with patch for this sonoff plus dongle) -> https://github.com/JelmerT/cc2538-bsl/tree/feature/ITead_Sonoff_Zigbee-delay Would therefore strongly suggest that you slightly change your particular "works out-of-the-box" condition requirement for fast/easy when looking at any Zigbee Coordinator adapter as upgrading the firmware at some point will always be a minimum requirement if you want a stable Zigbee network. If not direct when you bought it (because you got lucky and received stock when the manufacturer just happen to have updated to a new revision) then later on once you discover bugs on there is a security exploit. Remember that all hardware today will need updates for firmware/drivers/software, so understand that by today's standard suggesting that users should never ever have to update their Zigbee coordinator firmware is almost like suggesting that users should be able to buy a smartphone and never update it either, (then thinking they can ask for support and not expecting being told to upgrade before getting any help). Regardless of the standard dilemma for Zigbee DIY solutions is that you can today not really find any Zigbee coordinator adapter hardware and Zigbee software solution that is fast/easy, cheap, and good: You can only pick two of those. |
ON TOPIC: I just tried flashing the latest development firmware ( I still cannot pair my IKEA lightbulb.
I still don't see any reaction from Zigbee2MQTT. OFF TOPIC:
Yes that's definitely something I'd like too. I'd like to build firmware updating of the USB stick into the Webthings Addon I work on. I've just updated that addon to add security support. I could add update flashing next.
Very nice. If I understand correctly, USB sticks like Zig-Ah-Zig-Ah also have this feature. This is my list of desired features for a USB Zigbee stick:
Nice to have:
So far I've been recommending the Conbee2 stick. I've never once upgraded it since purchasing it years ago, but it seems to work fine so far.Theoretically it can be updated from the linux command line (which I'm attempting now, but I'm not having much luck so far) The mayor downsides of the Conbee2 are:
TLDR: if the Sonoff stick could be made to work well, I think it's a winner. |
@flatsiedatsie Yes such "Auto BSL" (formerly known as BootStrap Loader) feature allows you to trigger entering into bootloader mode via software and is built into many new microcontrollers, including CC2538, CC2652 and CC1352, but not supported by all: https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.x.0/bin/README.md Auto BSL is however not a feature of CC2530 and CC2531, however for those you can manually force it to enter bootloader and then flash them with zigpy-znp tools -> https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#flash-operations but on the other hand CC2530 and CC2531 are no longer recommended for Zigbee2MQTT at all, especially not s a new purchase for new installations by beginners and users new to Zigbee.
Off-topic; Then suggest you check out and take inspiration from ESP Web Tools https://esphome.github.io/esp-web-tools/ (which support OTW flashing of firmware via a web browser using Web Serial API, though currently only for ESP based MCU chips), as well a https://github.com/electrolama/llama-bsl (fork of cc2538-bs with some added auto-detection feature and more similar features planned to make OTW flashing of firmware more user-friendly)
You need to remember that most of the things on your list do not depend on the Zigbee hardware adapter or even the Zigbee stack firmware, instead, those things will rather depend on the Zigbee software solution and the Zigbee devices that you connect. Understand that Zigbee is the wild wild west as not all manufacturers do not strictly follow the rules, and all of the rules are not even strict rules but more like guidelines. So implementing support for different Zigbee devices from hundreds or thousands of manufacturers is hard and complex. Jeedom developers recently wrote a great blog post article which makes for a good read summing all that up better than I can: https://blog.jeedom.com/6107-parlons-zigbee/ A couple of quick tips for any new Zigbee user are; upgrade Zigbee coordinator firmware before beginning. Stay away from Aqara, Xiaomi, as well as Tuya devices. When starting to add devices begin by adding at least a few main-powered devices that will work as Zigbee router (a.k.a. repeater) devices, preferably flash CC2652 and/or CC1352 adapters with Zigbee router firmware and use those as known working Zigbee routers to create a stable network mesh at its core.
For now, recommend using Texas Instruments based adapters with Zigbee2MQTT. ConBee/RaspBee support is only experimental is Zigbee2MQTT. So is Silicon Labs (Silabs EZSP) based adapters. https://www.zigbee2mqtt.io/information/supported_adapters.html Texas Instruments Z-Stack 3 based asapters also work with Home Assistant's ZHA and Jeedom's Zigbee plugin ConBee/RaspBee is currently really only good if used with dresden elektronik's own deCONZ software and not third-party. |
Update: success! I was just able to pair an IKEA bulb with the Sonoff 3.0 Plus stick running the latest development coordinator firmware. It even paired on the first attempt this time. Turns out there was an error in my code, and because of that the security wasn't being implemented. This meant that the new Raspberry Pi was still using the default I suspect that the IKEA bulb didn't see the need to pair with the same controller it was technically already paired too. |
The dongle should pick up the EPID from the backup file after you reset its nvram. I ended up resetting most of my routers on the network anyhow, which was a huge pita, but things seem to work better now. I believe that @castorw is probably working on a better fix for this. |
Hi there, I am having the same problem and trying to apply this fix, but I am new to all of this and I cannot find the way (or the shell) to run this command: python zigpy_znp/tools/nvram_reset.py /dev/ttyUSB1. |
How can I delete the NVRAM without access to the shell? Or how can I access the shell? Thanks |
@SkarfyFPV My suggestion is that you just take the stick out to any computer that you can install zigpy on and have shell access to. |
Thank you @oferwald, this is a good idea. Would you recommend using docker containers instead next time a start from scratch? |
@SkarfyFPV I am not sure I am in a position to recommend anything, I am a simple user of this great project. |
Thank you @oferwald I really appreciate your help. I have been some time thinking about trying with docker and I think I will just get another SD and try it. Also, I see a great advantage with docker, as you can have a few containers and just run the ones you need, which seems quite good to me for quick testing. Thanks again! |
Finally managed to reset the nvram and changed the EPID in the coordinator backup file. Happy to report that i have been able to get devices to pair again. Almost completely back up and running bar one stubborn light which is refusing to go in pairing mode! |
@danneh82 Just to make sure (before I'm doing the same), you edited EPID in the backup file to be "dddddddddddddddd"? Previous it was same as your coordinator IEEE? |
Yep exactly :) |
Hi! apologies, it took me more than expected to be able to test this. The result for me was unsuccessful, executed a few times :( As I have directly installed HASS on my Pi I don't have access to the shell to run this commands, for this reason, I had to unplug my CC2652P and plug it into another Pi where I am running Debian to be able to clear the NVRAM. Maybe this is the reason for my failure. These are the steps I followed:
After these steps, my network was working with the already set devices but I could NOT pair anything else. I tried a couple of different bulbs and switches without any luck. Any other idea that comes to your mind which may help me to sort the problem? Thank you all! |
@SkarfyFPV i changed channel to 25 and it works as expected |
@l0rda if I change the channel then nothing works. None of the previously set devices are recognised. |
Just my two cents if somebody finds this..,
After this all pairing did work directly, not even I had to keep items close to the coordinator. This was after I upgraded from the good old CC2531 chip to the sonoff zigbee3 CC2652P stick. |
I am having the exact same issue as @SkarfyFPV . All of a sudden my zigbee devices stop working and become unresponsive. If I try and remove and re-add, they never seem to repair. What a trainwreck zigbee is :( |
There are still several issues/problems when upgrading from any CC2530/CC2531 adapter to any CC2652/CC1352 adapter. If you upgraded from CC2530/CC2531 to CC2652/CC1352 in a "production environment" and therefore do not want to spend a lot of time troubleshooting to try to find the root causes then the general recommendation today is to just remove and re-repair all of your mains-powered Zigbee Router devices, starting with the Zigbee Router devices closest to the Zigbee Coordinator adapter and then continue moving your aways outwards. That is not quite like starting from scratch but will still take a while if you have a lot of Zigbee Router devices. |
So, to be clear in my case I've been running this for months with absolutely no issue then all of a sudden devices stop communicating and if I remove them from zigbee2mqtt, I can never seem to re-add them, which never used to be an issue. I have no idea what changed. |
I wonder if there was somebody else that did set up a coordinators, perhaps somebody in the neighborhood... wel, at least in my DB I found coordinators that where still old, perhaps U used them once... after I removed them all and restarted zigbee2mqtt things started to work again |
Just adding my experience of upgrading from CC2531 to CC2562P. I have all the woes mentioned here with devices not re-pairing. I removed all the routers and I do see a successful interview of a router. It appears in configuration.yaml and in the zigbee2mqtt device map but not in the front end device list. All of the sensors etc that were registered before the swap continue to talk to the new coordinator but no new ones can be added. This is after resetting the coordinator NVRAM etc. Fortunately I took a VM snapshot of the host before replacing my trusty old CC2531 coordinator so it's now time to do a device swap and restore. Amusingly, I sent back a recently purchased switch as being DOA - I wonder if I should admit my mistake to the vendor. Ooops! |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Thank you guys for chipping in. I honestly didn't find a solution for my problem and I am just waiting for a moment where I have time enough to build the HASS again from scratch... I did try all your suggestions but sadly none worked for me. |
Tip before troubleshooting further is to be sure to follow all these general advice and best practices to get a more optimal setup. Improving Zigbee network rangePoor signal quality or interference can lead to transmission problems and show symptoms such as or errors when sending and/or receiving Zigbee messages that will cause significant degradation in Zigbee network performance. Below is some fundamental background information and tips for a Zigbee setup starting point to achieve better signal quality, coverage and range. Following these essential optimization tips will typically resolve many known issues caused by a bad setup of Zigbee Coordinator adapter and Zigbee network mesh or Zigbee devices. At the very least taking these actions should improve most message transmitting and receiving issues caused by not knowing the basics needed to workaround related Zigbee limitations. Understanding common causes of problems in Zigbee setups
Simple actions that should improve most Zigbee setups
Best practices to avoid pairing/connection difficultiesVerify that you try to follow recommended best practices to avoid pairing and/or connection issues:
External resources for initial Zigbee setup optimizations:
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I got serious pairing issues with various Zigbee 3.0 end devices. Sonoff Zigbee3.0 USB Dongle was using
{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210120,"transportrev":2},"type":"zStack3x0"}
and the latest firmware after a successful flash.
With the latest firmware, I was not able to get anything to pair - no MQTT messages about the interview process. So I reverted back to the 20210120 revision and I was able to pair Aqara TVOC and IKEA button, but Sonoff devices or Xiaomi buttons were not even entering the interview stage. The same devices were tested with ZZH and CC2531 and I was able to pair and use the devices.
There isn't much information I can share, as the log wasn't being populated.
Happy to try things out
The text was updated successfully, but these errors were encountered: