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

[SOLVED]SONOFF SNZB-03 #858

Closed
spaxxilein opened this issue Nov 18, 2020 · 3 comments
Closed

[SOLVED]SONOFF SNZB-03 #858

spaxxilein opened this issue Nov 18, 2020 · 3 comments

Comments

@spaxxilein
Copy link

Hi guys,

i cannot use the Sonoff device without crashing the iobroker zigbee adapter. The sensors sometimes adds fine and everything looks good, but the adapter crashes every ~1-2 minutes with the following error:

`

zigbee.0 2020-11-18 07:40:41.115 warn (32577) DeviceConfigure failed 0x00124b002247bd4f 66666, attempt 1 (Error: Bind 0x00124b002247bd4f/1 msTemperatureMeasurement from '0x00124b001938cbdc/1' failed (AREQ - ZDO - bindRsp after 10000ms)
zigbee.0 2020-11-18 07:40:31.107 info (32577) Zigbee started
zigbee.0 2020-11-18 07:40:31.107 info (32577) 0x00124b002247bd4f (addr 4766): SNZB-03 - SONOFF Motion sensor (EndDevice)
zigbee.0 2020-11-18 07:40:31.106 info (32577) 0x001788011049ee47 (addr 58059): 324131092621 - Philips Hue dimmer switch (EndDevice)
zigbee.0 2020-11-18 07:40:31.104 info (32577) Configuring 0x00124b002247bd4f 66666
zigbee.0 2020-11-18 07:40:31.103 info (32577) Currently 2 devices are joined:
zigbee.0 2020-11-18 07:40:31.097 info (32577) --> transmitPower : normal
zigbee.0 2020-11-18 07:40:31.088 info (32577) Coordinator firmware version: {"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190223}}
zigbee.0 2020-11-18 07:40:29.234 info (32577) Installed Version: master
zigbee.0 2020-11-18 07:40:29.199 info (32577) Starting Zigbee npm ...
zigbee.0 2020-11-18 07:40:29.173 info (32577) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.19.0, js-controller: 3.1.6
host.iobroker 2020-11-18 07:40:28.746 info instance system.adapter.zigbee.0 started with pid 32577
host.iobroker 2020-11-18 07:39:58.735 info Restart adapter system.adapter.zigbee.0 because enabled
host.iobroker 2020-11-18 07:39:58.733 info instance system.adapter.zigbee.0 terminated with code 0 (NO_ERROR)
zigbee.0 2020-11-18 07:39:58.225 info (32437) Terminated (NO_ERROR): Without reason
zigbee.0 2020-11-18 07:39:58.225 info (32437) terminating
zigbee.0 2020-11-18 07:39:57.988 info (32437) Zigbee: disabling joining new devices.
zigbee.0 2020-11-18 07:39:57.988 info (32437) cleaned everything up...
zigbee.0 2020-11-18 07:39:57.988 error at fulfilled (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:24:58)
zigbee.0 2020-11-18 07:39:57.988 error at Generator.next ()
zigbee.0 2020-11-18 07:39:57.988 error at ZStackAdapter. (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:339:27)
zigbee.0 2020-11-18 07:39:57.988 error (32437) Error: Command 0x00124b002247bd4f/1 ssIasZone.enrollRsp({"enrollrspcode":0,"zoneid":23}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direct
zigbee.0 2020-11-18 07:39:57.987 error (32437) unhandled promise rejection: Command 0x00124b002247bd4f/1 ssIasZone.enrollRsp({"enrollrspcode":0,"zoneid":23}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefault
Unhandled 2020-11-18 07:39:57.987 error promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
zigbee.0 2020-11-18 07:38:46.260 info (32437) DeviceConfigure successful 0x00124b002247bd4f 66666`

I updated the adapter manually to Github 1.3.1 because with 1.2.1 in iobroker i cannot add the adapter at all.

Maybe you can figure out what the problem is.

DeviceConfigure successful 0x00124b002247bd4f 66666 is the Sonoff SNZB-03

I am running a CC2531 Zigbee USB Stick.

If you need any further info, please dont hesitate to ask.

Best Regards,

spaxxilein

@spaxxilein
Copy link
Author

spaxxilein commented Nov 18, 2020

30895) DeviceConfigure failed 0x00124b002247bd4f 66666, attempt 1 (Error: Bind 0x00124b002247bd4f/1 msTemperatureMeasurement from '0x00124b001938cbdc/1' failed (AREQ - ZDO - bindRsp after 10000ms)

This seems really odd. Seems like problem is same as here: Koenkk/zigbee-herdsman-converters#1449

After this error message the whole adapter dosnt work anymore. Also other sensors will stop working:

`

zigbee.0 2020-11-18 19:21:59.633 warn at processTimers (internal/timers.js:497:7))
zigbee.0 2020-11-18 19:21:59.633 warn at listOnTimeout (internal/timers.js:554:17)
zigbee.0 2020-11-18 19:21:59.633 warn at Timeout._onTimeout (/opt/iobroker/node_modules/zigbee-herdsman/dist/utils/waitress.js:46:35)

`

But i dont know how to fix it. Please help

@Hyperion1181
Copy link

Hi,

for me it worked to change the modelid from 66666 to MS01 in the database file (in my case: /opt/iobroker/iobroker-data/zigbee_0/shepherd.db) after this the device was recognized correctly.

Hope it works for you too.

Best regards

@spaxxilein
Copy link
Author

Hi,

for me it worked to change the modelid from 66666 to MS01 in the database file (in my case: /opt/iobroker/iobroker-data/zigbee_0/shepherd.db) after this the device was recognized correctly.

Hope it works for you too.

Best regards

Thank you! This worked ;)

@spaxxilein spaxxilein changed the title SONOFF SNZB-03 [SOLVED]SONOFF SNZB-03 Nov 28, 2020
@arteck arteck closed this as completed Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants