-
-
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
SNZB-02 fails to send temperature msTemperatureMeasurement failed (AREQ - ZDO - bindRsp after 10000ms) #8971
Comments
I have the same problem: #8979 |
Same problem here as well. |
Make sure to force remove the failed pairing before trying again, I have the best success with removing the battery and putting it back in, instead of holding the button. |
Yes I have done this multiple times as well as deleting my database file and state files. Also tried with the dev branch with the same result |
Me too. I tired add three new sensors and the result was the same all the time. A tried add multiple times also with force removing. I also deleted datatbase and reinstall zigbe2mqtt. I tired reflash CC26X2R1 but it didn't help. Also tried change USB cable to another. |
Are you pairing through a router or at the coordinator? I have a zzhp-lite prototype and all my pairings of my SNZB-02's were done through routers. |
Assuming through coordinator. Is zzhp-lite hardware? |
So my hardware is listed above it's pretty much the same as this: https://uk.rs-online.com/web/p/communication-wireless-development-tools/1977102/?cm_mmc=UK-PLA-DS3A-_-google-_-CSS_UK_EN_Raspberry_Pi_%26_Arduino_%26_Development_Tools_Whoop-_-Communication+%26+Wireless+Development+Tools_Whoop-_-1977102&matchtype=&pla-306759658968&gclid=CjwKCAjwzOqKBhAWEiwArQGwaEw5EcmHj-D38MUQm1z3uc8DZWEatV99cjjqob-V-9l6ZEpbq44ZjhoC4YAQAvD_BwE&gclsrc=aw.ds |
Yeah zzh-lite is a CC2652P based coordinator, can you try pairing through a router instead? Most of my bulbs are Trådfri bulbs and a few Hue/Innr so I don't think the manufacturer should matter. |
OK now I am confused. So you mean take the SNZB-02 away from the CC2531 and try and use my wifi router? |
I have only coordinator in my network. |
Not wifi router. Zigbee router - if you have. |
Ah no, I don't sorry |
Yes, zigbee router... usually something that always has power like a bulb. |
Interesting, both of you don't have any routers in the network, I wonder if somehow due to this message don't get buffered as there are no routers to hold them. @Koenkk unless I am mistaken that is how it usually works right, also why the IKEA blinds need the repeater or another router for the remote to be able to talk to the blinds... I wonder if that is an issue here too. |
I also have other installation in other house. But zigbee2mqtt version is 1.18.1-1. There is also one coordinator, other sensors and few SNZB-02. It works without any problem. Joining and reporting states form sensors works seamlessly. It also works with CC26X2R1 bout i don't know with version of software. |
Went through some old hardware boxes and found a switch which is acting as a router. So cleaned out database, added switch, added SNZB-02 and no error messages BUT I do not see any data in the logs either. How often does yours generally publish? |
Right, battery in and out and I am seeing data :)
|
So it looks similar. I can add sonoff, it shows in zigbe2mqtt but sensor don't publish any status even after pushing button. |
@tvrulesme certainly interesting, so a router in the mesh does seem to help.
Then I think around ~15 min later it starts sending data, I think that might be some build in default when it first wakes up. Then it seems to follow whatever is configured in the reporting. Removing the battery and inserting it again once it is paired does seem to immediately have it publish battery and voltage, and the rest follow shortly after. Edit: looking at the default reporting, it's probably ~30min as that is the first time it would forcefully be triggered unless there was a change in temp/humidity.
I'm guessing it will never send temperature if msTemperatureMeasurement reporting setup gave a timeout. I think that's also the first one it tries, so it probably never got around to setting up the others either, not having any data would make sense then. I never had luck manually configuring the reporting on these devices, but you could also try that. This is what the default reporting looks like, probably need to remove battery, insert battery, setup reporting. |
@tvrulesme if I understand correctly, the device works fine (temperature etc is updated), the only error here is the configure failing? @sjorge if that is the case we can add a try/catch to the configure (to suppress this error) as it seems not all devices need this. |
@Koenkk For me device don't work but shows in zigbe2mqtt. Device don't raport their state. Error shows most of the time but not always. Pushing button on sensor don't update status. Device also isn't reporting its state after while. |
Yes this is correct @Koenkk, works with a router but not stand alone |
@tvrulesme any chance you could provide a sniff when pairing via both router (working situation) and non-working situation (coordinator). https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html |
Yeah absolutely. Will get on it tomorrow |
I have the same problem with SNZB-02 sensors, while other devices work fine. |
Really sorry @Koenkk I got stuck at this point
This is on a raspberry pi. For the record I don't have a CC debugger. |
Brief update. Sadly the resolution above does not appear to be consistent. Tried a complete clean down removing all devices, adding the switch first followed by the SNZB-02 and again I see this error:
Please shout if there is anything useful I can send through |
You only enabled joining through the switch right? |
I hit this issue few days ago when tried to setup 3 of my SNZB-02 devices (all purchased as a single order from single supplier). I only had coordinator in my network which is USB stick CC2531. From reading some comments here I concluded that people have more luck if there is router in the network. My another suspicion was that newer firmware (20201026) on SNZB-02 that i have is somehow incompatible. I purchased 2ch tuya switch device that is also acting as router and I gave it another go today. Another issue (not sure if related) is that "Last Seen" is always set to N/A even thought 2 out of 3 devices actually sending data to coordinator. My set up it to run standalone (without HA) zigbee2mqtt as a docker container with following versions:
SNZB-02 firmware versions: 20201026 Attaching extracts from DB for all three devices db-extract.zip I need to park the project for next two weeks. My next steps:
|
Assuming that it’s not an easily traceable software issue, what would be required to properly diagnose this on the hardware side - sniffing the general packets was mentioned earlier, is that what would be definitive? (Which would presumably require buying a second coordinator and custom flashing) |
I've also downgraded to 1.21.1 and the SNZB-02 has been working solid for a week now. |
I'm facing exactly the same issue with 1.21.1 through 1.23. The error thrown in the logs: I have two Sonoff SNZB-02 from the same delivery. One is working like a charm. The other one is always having trouble after a couple of days. Usually removing and pairing helped out so far. Unfortunately this doesn't work anymore. My setup:
I'm running everything in docker on a raspberry pi. |
@jjromannet I can confirm this works with 1.21.1 By the way your temps are pretty hot (no offense! :-)) I'd like to have it cool As with 1.23 the interview doesn't work and no temp and humidity is delivered The difference (didn't check the changelogs!) between 1.21.1 and 1.23 is that you can't set the precission of the sensors under I'll have a look on this for a couple of days and will be reporting. |
Update after 2 days: Everything's running normal. So it seems that downgrading was the solution or in other words in 1.23 something changed. I guess your thesis is correct @jjromannet. Must've been something with the accuracy. At least this is the only liable difference I can see. BTW: I'm fairly new to docker and |
Finally i have find a great solution! |
Post update - with 1.21.1 there's still no problem. Things are running normal. |
@danieldid what do you mean by this? Did you setup your SNZB-02 with 1.21.1 and later upgraded zigbee2mqtt to more recent version - with SNZB-02 devices already paired? |
@jjromannet I set up everything with 1.21.1 in a docker environment. Then updated the image to the latest (back then) version 1.23. The problems mentioned here started with that version. I downgraded the docker image to 1.21.1 and started it with docker-compose up -d —remove-orphans (like mentioned previously). Since then everything works seamlessly. Can anyone confirm that with the latest version 1.24 this is working properly? |
No 1.24 does not work. I upgraded to 1.21.2 and the sensor still worked,
but it stopped after a server reboot. I wanted 1.21.2 for Sonoff mains
switch support and I had to revert to 1.21.1 then upgrade to 1.21.2 again.
…On Tue, 15 Mar 2022, 21:39 Daniel Didusch, ***@***.***> wrote:
@jjromannet <https://github.com/jjromannet> I set up everything with
1.21.1 in a docker environment. Then updated the image to the latest (back
then) version 1.23. The problems mentioned here started with that version.
I downgraded the docker image to 1.21.1 and started it with docker-compose
up -d —remove-orphans (like mentioned previously).
Since then everything works seamlessly.
Can anyone confirm that with the latest version 1.24 this is working
properly?
—
Reply to this email directly, view it on GitHub
<#8971 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEUHQXZ4JY7PLERKTB6XAM3VAD7QPANCNFSM5FHNI4WA>
.
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>.
You are receiving this because you commented.Message ID:
***@***.***>
|
I had this problem again... I think we can declare "avalability = false" on devices.yaml only for the SNZB-02's. |
I think i will join "give up on SNZB-02" camp. After playing with initial three devices (out of which I though i bricked two) I bought another 2 (so 5 devices in total here). Two new ones join the network without any issues with software version 1.21.1 (no luck with newer versions). After a week one of them stopped reporting any data - by pure guess i bought new CR2450 quality batteries - with their help all of devices (including ones I initially though were broken) started to work properly. Only info I was able to find about original batteries shipped with SNZB-02 device ("Newsun" brand here) are three opinion on popular online store each for 1 star out of 5 - complaining battery dies after a week. Hint1: If you have any issues - start with new batteries - buy branded ones. Unfortunately even with new batteries indicators are randomly dying. PS: I just realized that reading of the sensor is also off. One of them is showing me 25.9 which is simply not possible (actual temp in this room is 22) |
I'm seeing the same issue (error in log, no data is reported from device) using Zigbee2MQTT version 1.24.0, version 1.22.1 and with the dev branch as the original poster. Also reconfigure (zigbee2mqtt/bridge/request/device/configure) does not solve my problem. The same error is reported:
Update: I can confirm that version 1.21.1 works. No error is reported and the device is reporting data. @Koenkk Do you think you could take a look at this regression? |
@matbech seem to be a duplicate of #10973 (comment) , already fixed in the dev branch (make sure to repair the device after upgrading). (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
I can confirm what @Koenkk said - this is fixed at least in latest dev branch. After reconfiguring all of my devices this works like a charm. This shall be closed though. @matbech and @jjromannet did you tried it with 1.26 (latest) or dev branch? |
I've been running 1.25.0 for about a week and this version seems to have
fixed disconnect issues with both my SNZB-02 temperature sensors and Sonoff
S26R2ZB smart plugs.
Nigel
…On Sun, 10 Apr 2022, 16:38 Daniel Didusch, ***@***.***> wrote:
I can confirm what @Koenkk <https://github.com/Koenkk> said - this is
fixed at least in latest dev branch. After reconfiguring all of my devices
this works like a charm. This shall be closed though.
@matbech <https://github.com/matbech> and @jjromannet
<https://github.com/jjromannet> did you tried it with 1.26 (latest) or
dev branch?
—
Reply to this email directly, view it on GitHub
<#8971 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEUHQX7IF6KHLWQNKQKY6T3VELYYNANCNFSM5FHNI4WA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I've updated to 1.25.0 and it seems to be working fine. I needed to re-pair, reconfiguration failed, but the re-pair worked first time and running smoothly since then. This also fixed the issues I had (on 1.21.0) with an Ikea Tradfri button, so pleased all around. |
Thanks for confirming all, time to close this. |
* Add troubleshoot instructions for SONOFF SNZB-02 Notes based on Koenkk/zigbee2mqtt#8971 (comment) and Koenkk/zigbee2mqtt#11273 (comment) * incorporate review comment
With 1.30.1 not working |
I got 1.30.3 and my SNZB-02 devices were getting offline and stop reporting every day... |
Same, not working on the latest docker image. Following instructions Koenkk/zigbee2mqtt.io@fd2285c fixes temporary. Next server reboot usually at least one sensor is left out and doesn't report anything. |
I am on 1.32.2 (I think current latest?) and even the "temporary fix" doesn't work for me. It takes long just to start pairing (5-10 minutes), it has to be almost touching the antenna otherwise there's not a chance of even getting this "far". Then usually paring fails. And even when it doesn't fail, it doesn't setup reporting, so I never hear from the device again... Tried it two times, it took total half an hour and without any result 😩. |
Debug info
Zigbee2MQTT version: version 1.21.2 (commit #44922120)
Adapter hardware: CC2531
Adapter firmware version: CC2531_DEFAULT_20201127
Supported device SNZB-02 pairs successfully but shows the following error when it attempts to broadcast a temperature reading
Zigbee2MQTT:error 2021-10-03 10:23:10: Configure failed: Error: Bind 0x00124b0022cf704d/1 msTemperatureMeasurement from '0x00124b00193691c1/1' failed (AREQ - ZDO - bindRsp after 10000ms)
configuration.yaml:
logs:
The text was updated successfully, but these errors were encountered: