zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Zigbee 3.0 dual USB wireless socket plug incorrectly identified

Open NeuerUser opened this issue 4 years ago • 9 comments

What happened?

Added the following device to z2m: https://www.zigbee2mqtt.io/devices/ZP-LZ-FR2U.html The interview works wirthout problems, but the device gets recognized as a different plug: https://www.zigbee2mqtt.io/devices/TS011F_plug_3.html#tuya-ts011f_plug_3

Zigbee model: TS011F ( _TZ3000_2xlvlnez)

The effect is that the endpoint for the USB outlets is missing and instead it tries to show power metering values that the device is not reporting.

What did you expect to happen?

To get it recognized as the correct device.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.23.0-dev commit: f284a5d

Adapter firmware version

20211219

Adapter

zStack3x0 zigStarGW

Debug log

No response

NeuerUser avatar Feb 17 '22 08:02 NeuerUser

Could be the same problem as here: https://github.com/Koenkk/zigbee2mqtt/issues/10812 Except mine has a CH plug type and a different manufacturerName.

NeuerUser avatar Feb 17 '22 10:02 NeuerUser

This was added in https://github.com/Koenkk/zigbee-herdsman-converters/pull/3817 by @jzmudzinski, can you confirm that it is this device? https://www.zigbee2mqtt.io/devices/ZP-LZ-FR2U.html

Koenkk avatar Feb 18 '22 14:02 Koenkk

Yes, it is this device (except with a Swiss plug). I got it working with an external converter, using the one listed in #10812 with an adapted manufacturerName. I commented in this issue. Interesting side node is that the device also supports "child lock/unlock", which worked when it was incorrectly identified as the Tuya plug, but it's not included in the external converter for the Moe's plug.

NeuerUser avatar Feb 18 '22 21:02 NeuerUser

@jzmudzinski can you confirm?

Koenkk avatar Feb 19 '22 08:02 Koenkk

Yes, I confirm. That is the device. Sorry for any inconvenience my commit caused.

jzmudzinski avatar Feb 19 '22 08:02 jzmudzinski

@jzmudzinski thanks,

Fixed now.

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)

Koenkk avatar Feb 19 '22 08:02 Koenkk

Confirmed. Working correctly now. Thanks!

NeuerUser avatar Feb 23 '22 06:02 NeuerUser

Affirmative, works now. And, besides "child lock", LED state select is missing - it also worked.

sliwma avatar Feb 24 '22 20:02 sliwma

@sliwma Hi there - are you saying there is a way to turn off the power LED via MQTT? Is that what you mean by "LED state select"? If so that would be great - what is the topic/command? Cheers

Barrysv avatar Oct 18 '22 03:10 Barrysv