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-03 is identified as SNZB-02 #4848

Closed
oh2ftu opened this issue Nov 2, 2020 · 13 comments
Closed

Sonoff SNZB-03 is identified as SNZB-02 #4848

oh2ftu opened this issue Nov 2, 2020 · 13 comments
Labels
problem Something isn't working

Comments

@oh2ftu
Copy link

oh2ftu commented Nov 2, 2020

What happened

Using HA addon with zigbee2mqtt 1.16.0, a previously paired (and newly paired) Sonoff SNZB-03 is identified as SNZB-02

What did you expect to happen

I expected it to be detected as SNZB-03.

How to reproduce it (minimal and precise)

Pairing and thusly fails.

Debug info

Zigbee2MQTT version: 1.16.0
Adapter hardware: CC2531
Adapter firmware version:unknown
2020-11-02 15:06:48: MQTT publish: topic 'homeassistant/sensor/0x00124b002248xxx/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0x00124b002248xxx/availability"}],"device":{"identifiers":["zigbee2mqtt_0x00124b002248xxx"],"manufacturer":"SONOFF","model":"Temperature and humidity sensor (SNZB-02)","name":"0x00124b00224xxx","sw_version":"Zigbee2MQTT 1.16.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x00124b002248xxx","name":"0x00124b002248xxxx_linkquality","state_topic":"zigbee2mqtt/0x00124b002248xxxx","unique_id":"0x00124b002248xxxx_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'

@oh2ftu oh2ftu added the problem Something isn't working label Nov 2, 2020
@Koenkk
Copy link
Owner

Koenkk commented Nov 2, 2020

Can you share the data/database.db entry of this device?

@oh2ftu
Copy link
Author

oh2ftu commented Nov 2, 2020

This is the one
{"id":44,"type":"EndDevice","ieeeAddr":"0x00124b002248ba95","nwkAddr":41571,"manufId":0,"manufName":"eWeLink","powerSource":"Battery","modelId":"66666","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1280,1],"outClusterList":[3],"clusters":{"genBasic":{"attributes":{"modelId":"66666","manufacturerName":"eWeLink","powerSource":3,"zclVersion":1,"appVersion":3,"hwVersion":1,"dateCode":"20191107"}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0014d967b2","zoneState":1}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}}},"binds":[{"cluster":1026,"type":"endpoint","deviceIeeeAddress":"0x00124b0014d967b2","endpointID":1},{"cluster":1029,"type":"endpoint","deviceIeeeAddress":"0x00124b0014d967b2","endpointID":1},{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b0014d967b2","endpointID":1}],"meta":{}}},"appVersion":3,"hwVersion":1,"dateCode":"20191107","zclVersion":1,"interviewCompleted":true,"meta":{},"lastSeen":1604335668822}

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

Koenkk commented Nov 3, 2020

Fixed.

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)

@Koenkk Koenkk closed this as completed Nov 3, 2020
@merloose
Copy link

Hi all, Is it implemented on the 1.16.1 version ?
I have the same issue there.

@Koenkk
Copy link
Owner

Koenkk commented Nov 20, 2020

@merloose check latest dev branch first (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html), if that doesn't help please post your data/database.db entry of your device here

@merloose
Copy link

@Koenkk I did install the dev branch and it fully solves the issue ! Many Thanks !

@jamiekris
Copy link

Is there any idea when this change will be brought into the head/master? I have the same issue, and the procedure to switch to the edge (on hass.io) seems to require some reconfiguration, and opens up update problems too.

@Koenkk
Copy link
Owner

Koenkk commented Nov 20, 2020

@jamiekris 1 december (every 1st of the month)

@jamiekris
Copy link

Thanks! I try to wait it out then 👍

@sporniak
Copy link

sporniak commented Dec 3, 2020

Have zigbee2mqtt in 1.16.1 version on my HA and my SNZB-03 is still recognized as SNZB-02.

{"id":13,"type":"EndDevice","ieeeAddr":"0x00124b002247b4f9","nwkAddr":62391,"manufId":0,"manufName":"eWeLink","powerSource":"Battery","modelId":"66666","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1280,1],"outClusterList":[3],"clusters":{"genBasic":{"attributes":{"modelId":"66666","manufacturerName":"eWeLink","powerSource":3,"zclVersion":1,"appVersion":3,"hwVersion":1,"dateCode":"20191107"}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00212effff053d8b","zoneState":1}}},"binds":[],"meta":{}}},"appVersion":3,"hwVersion":1,"dateCode":"20191107","zclVersion":1,"interviewCompleted":true,"meta":{},"lastSeen":1607000513896}

@jamiekris
Copy link

@sporniak The issue was only fixed in 1.16.2.

@sporniak
Copy link

sporniak commented Dec 3, 2020

@jamiekris just new update is available for me now :D received it few minutes ago
image

@BCsabaEngine
Copy link

With 1.16.1 the device recognized as snzb-03: eWeLink Sonoff SNZB-03 Battery

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

6 participants