Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.01k stars 1.67k forks source link

Curtain switch positioning doesn't work (TS130F) #23605

Open Coollision opened 2 months ago

Coollision commented 2 months ago

What happened?

I bought these devices: https://nl.aliexpress.com/item/1005002510471714.html?spm=a2g0o.order_list.order_list_main.5.1dc279d2cdHTjO&gatewayAdapt=glo2nld

They successfully bind as: Zigbee Model: TS130F Zigbee Manufacturer: _TZ3000_qa8s8vca

Functionality is mostly there, except for setting specific position, and backlight mode. Position reporting is also working, ist only on setting a position, the cover opens or closes completely

What did you expect to happen?

cover to move to the expected position and the backlight to be controlled correctly

How to reproduce it (minimal and precise)

buy the device, install, pair, calibrate as in documentation, set position or backlight, see nothing happening

Zigbee2MQTT version

1.39.1

Adapter firmware version

20230507

Adapter

Sonoff Zb Dongle-P

Setup

Plain docker on RPI4

Debug log

No response

Coollision commented 2 months ago

knowingly duplicating #15079 cause there was no fix

Coollision commented 2 months ago

Any help on how I could solve this or debug it to see what could be the cause of this, would be very much appreciated

Koenkk commented 2 months ago

Currently we use the standard Zigbee commands to set the position, but maybe it requires something different. The only way to find out is by connecting it to the original hub and see what commands are used there: https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html

aldifesu commented 3 weeks ago

Hello, I have the LoraTap 2nd generation. In their configuration manual, when calibrating, they calibrate both the opening and the descent (with the Tuya coordinator). From my ignorance, I understand that a rise/opening time and another fall/closing time are established.

In fact, in this other Zemismart ZM-CSW032-D model in the specific Z2M settings there is a Time close and Time open to set. This one works perfect.

In Z2M the TS130F model, only a single calibration time is established. I think there would be 2 strokes like in the Zemismart ZM-CSW032-D.

Most blinds take longer to raise than to lower, approximately 2-3 seconds.

oyooyo commented 1 week ago

I just bought two of these as well and I'm having the same problem. My devices are branded "LoraTap" but apart from that they look exactly the same. Apparently these are "1st generation" models and positioning simply does not work on those:

Screenshot_20241014_131919

Coollision commented 1 week ago

@oyooyo thanks for the clarification, it looks like i have the first gen... 😢 (based on the arrows), It's too bad we can't add it through ota or something. I did manage a workaround. Since they do report their current percentage, I wrote a small app that adds another shutter entity to HA and, based on the percentage set, stops the shutter after the right amount of time.