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

Tuya ZY-M100-24G ('_TZE204_ijxvkhd0') latest update problem #24593

Open
Dillton opened this issue Nov 1, 2024 · 5 comments
Open

Tuya ZY-M100-24G ('_TZE204_ijxvkhd0') latest update problem #24593

Dillton opened this issue Nov 1, 2024 · 5 comments
Labels
problem Something isn't working

Comments

@Dillton
Copy link

Dillton commented Nov 1, 2024

What happened?

After latest update the values of sensitivity settings are presented as decimals in Z2M.
Screenshot_20241101_212513_Home Assistant

This causing a spam in HA log that the values are not valid.
Screenshot_20241101_212525_Home Assistant

However in MQTT entities the values are correct.
Also devices seems to work properly but this is not right. I think tuya.valueConverter should not have changed.

Current:
[106, 'motion_sensitivity', tuya.valueConverter.raw],
[111, 'occupancy_sensitivity', tuya.valueConverter.raw],

Before:
[106, 'move_sensitivity', tuya.valueConverter.divideBy10FromOnly],
[111, 'presence_sensitivity', tuya.valueConverter.divideBy10FromOnly],

What did you expect to happen?

No log spam

How to reproduce it (minimal and precise)

Update to latest release

Zigbee2MQTT version

1.41.0-1

Adapter firmware version

20240710

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus-P

Setup

Add-on in HAOS in Proxmox on Intel NUC

Debug log

No response

@Dillton Dillton added the problem Something isn't working label Nov 1, 2024
@ippo112
Copy link

ippo112 commented Nov 2, 2024

Hi,
I detect same error,


Registratore: homeassistant.components.mqtt.number
Fonte: components/mqtt/number.py:182
Integrazione: MQTT (documentazione, problemi)
Prima occorrenza: 00:00:32 (531 occorrenze)
Ultima registrazione: 06:53:41

Invalid value for number.presence_24ghz_occupancy_sensitivity: 20 (range 1.0 - 10.0)
Invalid value for number.presence_24ghz_occupancy_sensitivity: 80 (range 1.0 - 10.0)
Invalid value for number.presence_24ghz_motion_sensitivity: 30 (range 1.0 - 10.0)
Invalid value for number.presence_24ghz_motion_sensitivity: 100 (range 1.0 - 10.0)
Invalid value for number.presence_24ghz_occupancy_sensitivity: 100 (range 1.0 - 10.0)


Adapter
SONOFF Zigbee 3.0 USB Dongle Plus-P
Versione Zigbee2MQTT
[1.41.0]

@Dillton
Copy link
Author

Dillton commented Nov 2, 2024

More details in Koenkk/zigbee-herdsman-converters#8229

@Koenkk
Copy link
Owner

Koenkk commented Nov 2, 2024

I believe @ippo112 is working on a fix

@magicus
Copy link
Contributor

magicus commented Nov 3, 2024

@Koenkk

I believe @ippo112 is working on a fix

That'd be awesome. There is some some discussion in Koenkk/zigbee-herdsman-converters#8229 about what has not worked. I get the impression that this Tuya device is doing something very odd, so it might need a fix on a higher level to deal with this behavior.

@magicus
Copy link
Contributor

magicus commented Nov 4, 2024

Partial revert posted in Koenkk/zigbee-herdsman-converters#8272.

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

4 participants