-
-
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
Failure to configure Sonoff SNZB-02 #5562
Comments
Does it correctly report temperature, battery and humidity? |
Temperature and humidity agrees with another sensor, battery is reasonable as well (80%) |
Good, fixed the issue. Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
Copying this here... sjorge:
Koenkk:
|
Correct, since the device did not properly 'leave' it still retains the configuration. With permit join disabled: If you force remove it, take out the battery and put it back, it will keep on sending reports as normal but z2m will ignore it. I think configure only works after poking the genBasic cluster like during interview. |
I'm not sure this is the same issue but I'm having problems when the battery level is reported below 80%/2900mV. Replacing the battery doesn't update the device. Force remove and pressing the pairing button finds it again, changing the friendly name back gets everything working again. Bit of a pain though, I have a device which keeps my lodger's room warm and I can't get in without making an arrangment to press the pairing button. |
Hi,
Any idea? |
It should, hopefully rejoin and pair successfully this time. |
I did it like 10 times. |
Note the force remove, doing a normal remove won't work... as the device ignores the leave request. |
yes, I always use the force ;) |
A bit better, but only the link quiality. |
Here are the joning logs: |
I don't see the usual configuration successful message in there though... what does the database.db entry for the devices show? (It should store if it was configured sucesfully or not) |
Another strage thing is that on the first pair it reported only the humanity and temperature but always the same values. |
How do you open the /share/zigbee2mqtt/database.db, SQLite? |
Nope, it's a text file with one line per device, that line is json.
|
I see it. |
here ar the related records: {"id":17,"type":"EndDevice","ieeeAddr":"0x00124b00226c75dd","nwkAddr":51229,"manufId":0,"manufName":"eWeLink","powerSource":"Battery","modelId":"TH01","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":770,"inClusterList":[0,3,1026,1029,1],"outClusterList":[3],"clusters":{"genBasic":{"attributes":{"modelId":"TH01","manufacturerName":"eWeLink","powerSource":3,"zclVersion":1,"appVersion":5,"hwVersion":1,"dateCode":"20201026"}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":5,"hwVersion":1,"dateCode":"20201026","zclVersion":1,"interviewCompleted":true,"meta":{},"lastSeen":1611823324191} |
Looks like the device never got configured after the interviewing... that would explain the lack of temp/humidity updates. Here is one of mine:
Notice for me The question is, why didn't you get a success or a timeout error after joining 🤔 |
Can I just use your correct records? |
No, as z2m needs to configure the device. You can try removing the battery and hitting the configure button in the frontend. |
I neve had so much fun with Xiaomi devices :) |
I moved to these from Xiaomi, the only hassle free one is my Heiman, but that one was expensive |
My troublesome one is back to normal now, it was reporting low battery even after a battery change. Hope it keeps on going, I can't get to it to press the pairing button easily. |
It is all good now with 1.17.1 :)) |
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 |
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 had the same problem. Just to clarify the steps:
|
Procedure described by darksid3r doesn't work for me. It just exposes the LQI value. Log says: Zigbee2MQTT:error 2021-10-16 09:26:20: Failed to ping '0x7cb03eaa0a0466c6' (attempt 1/1, Read 0x7cb03eaa0a0466c6/3 genBasic(["zclVersion"], {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))) |
this worked for me. |
it did not work for me on 1.21.2 |
It finally worked after 7-8 retries. May the luck be with you |
@DiegoFoxy I had the same issues and this solution worked for me #8971 (comment) |
Thank for advice but unfortunately it did not work for me. |
Same problem for me with SNZB-01 and 04 |
My issues seem to be 2 fold. I had a very low battery on mine when it arrived, so after a few pair attempts it no longer worked. It would not pair right next to the Connector at all or only a few meters away. If able, check the battery with a volt meter/use a new one if possable for testing. The second part is I added a mains relay swich to my Zigbee network (Salus Controls SR600 Smart Relay) and this is acting as a repeater/router now on my network. When using a new battery and the relay on my network it paired correctly first time. |
I have similar issues with this sensor. Tried all procedures shown in this thread, sometimes one works, sometimes it doesn't. After the latest mass re-pairing because of a network key change T and H didn't come back, whatever I tried. I finally decided to ditch this device, it causes so many headaches that it's not worth the time. The Aqara THP sensor has none of these problems, for instance, for a similar price. |
For what is worth, I managed to pair successfully by doing this many times. On my successful attempt I was holding the pair button after inserting the battery. My issue is that the censor shows the temperature in F when HA is configured in C :( |
Bought two devices: one took several attempts to be interviewed correctly; the other one was interviewed correctly on the first attempt. |
What happened
Every Z2M startup I get 3 errors for this device such as:
I tried the manual reconfigure through the frontend several times, pressing the sensor button frequently to keep it awake, but to no avail. I removed the device and repaired - still errors.
database.db
entry:Otherwise the device works without problems.
What did you expect to happen
No errors
How to reproduce it (minimal and precise)
Debug info
Zigbee2MQTT version: 1.17.01
Adapter hardware: LAUNCHXL-CC1352P-2
Adapter firmware version: 20201113
The text was updated successfully, but these errors were encountered: