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

Exception while calling fromZigbee converter: Expected one of: 1, 4, got: #17961

Closed
smarteshome2020 opened this issue Jun 8, 2023 · 5 comments
Labels
problem Something isn't working stale Stale issues

Comments

@smarteshome2020
Copy link

What happened?

After update to 1.31.2-dev (frontend 0.6.129) i recieved some errors and i don`t know what happen.

`

zigbee2mqtt.0 2023-06-08 19:33:36.341 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 19:31:47.599 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 19:31:40.282 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 19:22:29.337 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '5032'}
zigbee2mqtt.0 2023-06-08 19:20:08.249 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '5032'}
zigbee2mqtt.0 2023-06-08 19:16:13.676 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 19:13:29.595 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '5032'}
zigbee2mqtt.0 2023-06-08 19:11:31.749 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '13224'}
zigbee2mqtt.0 2023-06-08 19:11:11.481 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '13224'}
zigbee2mqtt.0 2023-06-08 19:09:12.503 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 18:59:19.921 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '5032'}
zigbee2mqtt.0 2023-06-08 18:52:33.596 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '5032'}
zigbee2mqtt.0 2023-06-08 18:48:19.937 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 18:48:14.838 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '5032'}
zigbee2mqtt.0 2023-06-08 18:43:39.109 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 18:41:24.262 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 18:37:23.120 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 18:36:21.432 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
zigbee2mqtt.0 2023-06-08 18:32:06.339 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '5032'}
zigbee2mqtt.0 2023-06-08 18:25:53.981 error Exception while calling fromZigbee converter: Expected one of: 1, 4, got: '17320'}
`

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.31.2

Adapter firmware version

20221226

Adapter

Sonoff 3.0

Debug log

No response

@smarteshome2020 smarteshome2020 added the problem Something isn't working label Jun 8, 2023
@Koenkk
Copy link
Owner

Koenkk commented Jun 8, 2023

Please check if this is already fixed in the latest-dev, if not provide the debug log.

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.

@skkost
Copy link

skkost commented Jul 1, 2023

1.32.0-2

Zigbee2MQTT:debug 2023-07-02 01:46:38: Received Zigbee message from 'Реле Aqara', type 'attributeReport', cluster 'aqaraOpple', data '{"247":{"data":[100,16,0,3,40,16,5,33,12,0,154,32,0,8,33,24,1,11,32,0,10,33,218,113,12,32,1],"type":"Buffer"}}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-07-02 01:46:38: SSM-U02: Processed buffer into data {"3":16,"5":12,"8":280,"10":29146,"11":0,"12":1,"100":0,"154":0}
Zigbee2MQTT:error 2023-07-02 01:46:38: Exception while calling fromZigbee converter: Expected one of: 1, 2, got: '29146'}
Zigbee2MQTT:debug 2023-07-02 01:46:38: Error: Expected one of: 1, 2, got: '29146'
at getFromLookup (/app/node_modules/zigbee-herdsman-converters/src/lib/utils.ts:512:37)
at numericAttributes2Payload (/app/node_modules/zigbee-herdsman-converters/src/lib/xiaomi.ts:213:52)
at Object.numericAttributes2Payload (/app/node_modules/zigbee-herdsman-converters/src/lib/xiaomi.ts:478:42)
at Object.convert (/app/node_modules/zigbee-herdsman-converters/src/converters/fromZigbee.js:3967:33)
at Receive.onDeviceMessage (/app/lib/extension/receive.ts:150:51)
at EventEmitter.emit (node:events:525:35)
at EventBus.emitDeviceMessage (/app/lib/eventBus.ts:102:22)
at Controller. (/app/lib/zigbee.ts:106:27)
at Controller.emit (node:events:513:28)
at Controller.selfAndDeviceEmit (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:515:14)
Zigbee2MQTT:info 2023-07-02 01:46:38: MQTT publish: topic 'zigbee2mqtt/Реле Aqara', payload '{"device_temperature":19,"last_seen":"2023-07-02T01:46:38+03:00","linkquality":65,"power_outage_count":11,"power_outage_memory":false,"state":"OFF","switch_type":null}'

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Jul 2, 2023
@Koenkk
Copy link
Owner

Koenkk commented Jul 2, 2023

@skkost fixed that one

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2023

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

@github-actions github-actions bot added the stale Stale issues label Aug 2, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2023
@FvanEgmond
Copy link

FYI: Got this message again, using version 1.35.1.

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