zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Exception while calling fromZigbee converter: Value '4' is not allowed, expected one of [object Object],[object Object],[object Object],[object Object]}

Open charsiufan opened this issue 2 years ago β€’ 3 comments

What happened?

Using a Sonos USB 3.0 P Zigbee Controller and a Tuya based presence detector. When the presence detector is activated it triggers multiple errors in Zigbee2MQTT. All show: Exception while calling fromZigbee converter: Value '4' is not allowed, expected one of [object Object],[object Object],[object Object],[object Object]}

What did you expect to happen?

No errors generating

How to reproduce it (minimal and precise)

Anytime the motion sensor has a change of state

Zigbee2MQTT version

1.35.3 commit: fe0742a

Adapter firmware version

20230507

Adapter

Sonoff USB 3.0 P

Setup

Docker container, Synology DSM7.1

Debug log

log.txt

charsiufan avatar Mar 02 '24 12:03 charsiufan

This is a radar_scene mode, 0 = default, 1 = bathroom, 2 = bedroom, 3 = sleeping, do you have any clue what 4 should be mapped to? If not, we can map it to unknown.

Koenkk avatar Mar 02 '24 20:03 Koenkk

Thanks for the update. Sorry I don’t understand the question. So unknown sounds like the best answer.

On Sun, 3 Mar 2024 at 04:45, Koen Kanters @.***> wrote:

This is a radar_scene mode, 0 = default, 1 = bathroom, 2 = bedroom, 3 = sleeping, do you have any clue what 4 should be mapped to? If not, we can map it to unknown.

β€” Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/21648#issuecomment-1974904844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFYR5B7NFXP4KPYBN6ONSSDYWI26HAVCNFSM6AAAAABEDCPW2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUHEYDIOBUGQ . You are receiving this because you authored the thread.Message ID: @.***>

charsiufan avatar Mar 02 '24 22:03 charsiufan

Fixed!

Changes will be available in the dev branch in a few hours from now.

Koenkk avatar Mar 04 '24 20:03 Koenkk