-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
NodOn SIN-4-RS-20 - Expected one of: 0, 2, got: '8' #22728
Comments
So actually, only 2 modes are configured for the Update: looking at the ZCL specs, it looks like the attribute is not properly implemented. So in your case @AlbanDurrheimer , it means that the LED options are activated (the value 8 refers to the 4th bit). Makes sense ? |
The only LED on this module is the status LED, and I doubt it can be controlled (I don't see the point). |
This is just part of the Zigbee standard specification : so i guess the capability has been implemented to turn on/off the led. And this is the case since you got the value 8 when it got requested its value. So that seems legit : however the current zhc device definition didn't mapped it, and this is why you have an error. Maybe only the calibration bit appeared useful by the author, and the other cases were not done. Could you create the issue here instead actually : https://github.com/Koenkk/zigbee-herdsman-converters/issues ? That is the proper lib to fix the situation. |
Added! Changes will be available in the dev branch in a few hours from now. |
What happened?
Since the update of the NodOn SIN-4-RS-20 module, the module returns
{"windowCoveringMode":8}
, which is apparently not supported by the current integration.What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.37.1
Adapter firmware version
6.10.3.0 build 297
Adapter
EFR32MG21
Setup
Home Assistant OS
Debug log
[2024-05-21 18:59:34] debug: z2m: Received Zigbee message from 'Large Shutter', type 'readResponse', cluster 'closuresWindowCovering', data '{"windowCoveringMode":8}' from endpoint 1 with groupID 0
[2024-05-21 18:59:34] error: z2m: Exception while calling fromZigbee converter: Expected one of: 0, 2, got: '8'}
[2024-05-21 18:59:34] debug: z2m: Error: Expected one of: 0, 2, got: '8'
at getFromLookupByValue (/app/node_modules/zigbee-herdsman-converters/src/lib/utils.ts:593:15)
at Object.convert (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:1524:64)
at Receive.onDeviceMessage (/app/lib/extension/receive.ts:153:51)
at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
The text was updated successfully, but these errors were encountered: