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 when adding Presence sesnsor #24090

Closed
mohamed-easy opened this issue Sep 24, 2024 · 5 comments
Closed

Exception when adding Presence sesnsor #24090

mohamed-easy opened this issue Sep 24, 2024 · 5 comments
Labels
problem Something isn't working

Comments

@mohamed-easy
Copy link

What happened?

Using a Sonoof USB 3.0 P Zigbee Controller i am trying to add a Tuya based presence sensor. When the presence detector is activated it triggers multiple errors in Zigbee2MQTT.
Exception while calling fromZigbee converter: Value '10' is not allowed, expected one of [object Object],[object Object],[object Object],[object Object]}
Exception while calling fromZigbee converter: Value '540' is not allowed, expected one of [object Object],[object Object],[object Object],[object Object]}

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.40.1-1

Adapter firmware version

NA

Adapter

NA

Setup

Home Assistant

Debug log

logs.txt

@mohamed-easy mohamed-easy added the problem Something isn't working label Sep 24, 2024
@Koenkk
Copy link
Owner

Koenkk commented Sep 25, 2024

What is the model of the Tuya sensor?

@mohamed-easy
Copy link
Author

mohamed-easy commented Sep 25, 2024

@Koenkk
model: 'ZG-205ZL'
modelID: 'TS0225',

@mohamed-easy
Copy link
Author

@Koenkk is there any solution for that?

@Koenkk
Copy link
Owner

Koenkk commented Sep 30, 2024

We have to figure out what value 10 means, this is the mode, the current values are:

{arm: tuya.enum(0), off: tuya.enum(1), alarm: tuya.enum(2), doorbell: tuya.enum(3)}

Do you have any clue what mode it is in when sending this value?

@mohamed-easy
Copy link
Author

I didn't, however i changed to ember, and i update the firmware, and the sensor works now.
i think it will be a mystery.
anyway thanks for your time

@mohamed-easy mohamed-easy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 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
Projects
None yet
Development

No branches or pull requests

2 participants