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

NOUS B2Z/B3Z relay configuration error #23718

Closed
jnorbi opened this issue Aug 23, 2024 · 6 comments
Closed

NOUS B2Z/B3Z relay configuration error #23718

jnorbi opened this issue Aug 23, 2024 · 6 comments
Labels
problem Something isn't working stale Stale issues

Comments

@jnorbi
Copy link

jnorbi commented Aug 23, 2024

What happened?

I have NOUS B2Z and NOUS B3Z relays, the issue is the same. I got this errors on configuration/reconfiguration:

Alert 1: Failed to configure (Bind 0xa4c13869317d88d8/1 genOnOff from '170/1' failed (addr.indexOf is not a function))

Alert 2: z2m: Failed to configure '0xa4c13869317d88d8', attempt [X] (TypeError: Bind 0xa4c13869317d88d8/1 genOnOff from '170/1' failed (addr.indexOf is not a function)
at Driver.macAddrStringToArray (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:803:18)
at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:847:37)
at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:509:34)
at Object.bind (/app/node_modules/zigbee-herdsman-converters/src/lib/reporting.ts:42:24)
at configure (/app/node_modules/zigbee-herdsman-converters/src/devices/tuya.ts:3434:29)
at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:190:21)
at Configure.configure (/app/lib/extension/configure.ts:126:13)
at Configure.onMQTTMessage (/app/lib/extension/configure.ts:56:21)
at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

Easy to reproduce, join or reconfigure the NOUS B2Z/B3Z relay will generate this error.

Zigbee2MQTT version

1.39.1

Adapter firmware version

0x26720700

Adapter

ConBee2

Setup

Add-on on Home Assistant on RPi 4

Debug log

Info 2024-08-23 22:37:08z2m: Configuring '0xa4c13869317d88d8'
Error 2024-08-23 22:37:09z2m: Failed to configure '0xa4c13869317d88d8', attempt 15 (TypeError: Bind 0xa4c13869317d88d8/1 genOnOff from '170/1' failed (addr.indexOf is not a function) at Driver.macAddrStringToArray (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:803:18) at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:847:37) at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:509:34) at Object.bind (/app/node_modules/zigbee-herdsman-converters/src/lib/reporting.ts:42:24) at configure (/app/node_modules/zigbee-herdsman-converters/src/devices/tuya.ts:3434:29) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:190:21) at Configure.configure (/app/lib/extension/configure.ts:126:13) at Configure.onMQTTMessage (/app/lib/extension/configure.ts:56:21) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))
Info 2024-08-23 22:37:09z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/configure', payload '{"data":{"id":"0xa4c13869317d88d8"},"error":"Failed to configure (Bind 0xa4c13869317d88d8/1 genOnOff from '170/1' failed (addr.indexOf is not a function))","status":"error","transaction":"1eedc-2"}'

@jnorbi jnorbi added the problem Something isn't working label Aug 23, 2024
@Koenkk
Copy link
Owner

Koenkk commented Aug 26, 2024

Could you provide the debug log of this?

See this on how to enable debug logging.

@jnorbi
Copy link
Author

jnorbi commented Aug 27, 2024

@Koenkk I've switched the logging level to debug and the only relevant log entry what is belongs to the device is what I pasted before.

@hallsbyra
Copy link

Same stack trace here with TS011F_plug_1.

  • ConBee2, firmware 0x26780700
  • Zigbee2MQTT 1.39.1
  • Docker on RPi 5

@lgjunk17
Copy link

Hello

Same with HEIMAN HS3AQ, in 1.39.1 or 1.40.1

error 2024-09-28 22:37:38z2m: Failed to configure '0x84fd27fffe08106a', attempt 1 (TypeError: Bind 0x84fd27fffe08106a/1 msRelativeHumidity from '28/1' failed (addr.indexOf is not a function) at Driver.macAddrStringToArray (/var/wwerror 2024-09-28 22:37:38z2m: Failed to configure '0x84fd27fffe08106a', attempt 1 (TypeError: Bind 0x84fd27fffe08106a/1 msRelativeHumidity from '28/1' failed (addr.indexOf is not a function) at Driver.macAddrStringToArray (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:803:18) at DeconzAdapter.bind (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:847:37) at Endpoint.bind (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:509:34) at Object.bind (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman-converters/src/lib/reporting.ts:42:24) at Object.configure (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman-converters/src/devices/heiman.ts:741:29) at Configure.configure (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/extension/configure.ts:126:37) at Immediate.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/extension/configure.ts:75:28))w/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:803:18) at DeconzAdapter.bind (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:847:37) at Endpoint.bind (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:509:34) at Object.bind (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman-converters/src/lib/reporting.ts:42:24) at Object.configure (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman-converters/src/devices/heiman.ts:741:29) at Configure.configure (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/extension/configure.ts:126:37) at Immediate.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/extension/configure.ts:75:28))

@Koenkk
Copy link
Owner

Koenkk commented Sep 30, 2024

May be fixed in tomorrow z2m release, please check.

Copy link
Contributor

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the stale Stale issues label Dec 12, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests

4 participants