Skip to content
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 SNZB-02 gets connected as SONOFF SNZB-01 #4338

Closed
nvivekananth opened this issue Sep 12, 2020 · 4 comments
Closed

Sonoff SNZB-02 gets connected as SONOFF SNZB-01 #4338

nvivekananth opened this issue Sep 12, 2020 · 4 comments
Labels
problem Something isn't working

Comments

@nvivekananth
Copy link

nvivekananth commented Sep 12, 2020

Just got started with setting up the system with Texas Instruments LAUNCHXL-CC26X2R1
The system runs and logs well, and then I tried pairing Sonoff SNZB-02.

However, it gets connected as SNZB-01.
After searching for existing issues; I tried using Dev version of Z2M. Still the same issue.
I dived in to the devices.js and commented out SNZB-01.
Now, SNZB-02 pairs correctly and reports the temp and humidity.
However, SNZB-01 cannot be paired anymore and may need to add as another new device.

@nvivekananth nvivekananth added the problem Something isn't working label Sep 12, 2020
@Koenkk
Copy link
Owner

Koenkk commented Sep 12, 2020

can you provide the data/databse.db entry of this device?

@nvivekananth
Copy link
Author

Here is the database.db entry:

Before my temporary fix:
{"id":2,"type":"EndDevice","ieeeAddr":"0x00124b001f876a56","nwkAddr":46486,"manufId":0,"manufName":"eWeLink","powerSource":"Battery","modelId":"WB01","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":770,"inClusterList":[0,3,1026,1029,1],"outClusterList":[3],"clusters":{"genBasic":{"attributes":{"modelId":"WB01","manufacturerName":"eWeLink","powerSource":3,"zclVersion":1,"appVersion":4,"hwVersion":1,"dateCode":"20200718"}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001caa6bd5","endpointID":1},{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b001caa6bd5","endpointID":1}]}},"appVersion":4,"hwVersion":1,"dateCode":"20200718","zclVersion":1,"interviewCompleted":true,"meta":{"configured":1},"lastSeen":1599915376672}

after temporary fix
{"id":2,"type":"EndDevice","ieeeAddr":"0x00124b001f876a56","nwkAddr":9188,"manufId":0,"manufName":"eWeLink","powerSource":"Battery","modelId":"WB01","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":770,"inClusterList":[0,3,1026,1029,1],"outClusterList":[3],"clusters":{"genBasic":{"attributes":{"modelId":"WB01","manufacturerName":"eWeLink","powerSource":3,"zclVersion":1,"appVersion":4,"hwVersion":1,"dateCode":"20200718"}},"msTemperatureMeasurement":{"attributes":{"measuredValue":2940}},"msRelativeHumidity":{"attributes":{"measuredValue":6038}},"genPowerCfg":{"attributes":{"batteryVoltage":29,"batteryPercentageRemaining":140}}},"binds":[{"cluster":1026,"type":"endpoint","deviceIeeeAddress":"0x00124b001caa6bd5","endpointID":1},{"cluster":1029,"type":"endpoint","deviceIeeeAddress":"0x00124b001caa6bd5","endpointID":1},{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b001caa6bd5","endpointID":1}]}},"appVersion":4,"hwVersion":1,"dateCode":"20200718","zclVersion":1,"interviewCompleted":true,"meta":{"configured":1},"lastSeen":1599900938584}

Also, for this to work, I did change from 'TH01' to 'WB01' in devices.js
The SNZB-02 device come in as WB01 for some reason.

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Sep 12, 2020
@Koenkk
Copy link
Owner

Koenkk commented Sep 12, 2020

Should be fixed now.

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)

@nvivekananth
Copy link
Author

Thanks. It is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants