zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Curtain switch positioning doesn't work (TS130F).

Open vindolin opened this issue 4 years ago β€’ 11 comments

What happened?

I have a bunch of these curtain switch modules: https://www.aliexpress.com/item/4001190275372.html

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

(The specification page says SC400ZB-EU)

Everything works except moving the blinds to specific position.

I successfully calibrated my blinds via the UI using the calibrate switch and the OPEN/CLOSE/STOP buttons.

The motor cuts off at the right time.

When I move the blinds with {"state": "DOWN"} and stop them with {"state": "STOP"} somewhere on the way down, they stop and the position value reports the correct value.

Setting the position with the physical buttons also works and the position attribute gets set to the correct value.

But when I try to set them to e.g. 50% with {"position": "50"} they randomly open or close 100%.

If someone wants to look into the issue, I'm happy to ship one of the curtain switch devices to you.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.28.2-dev

Adapter firmware version

20211217

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus

Debug log

No response

vindolin avatar Nov 19 '22 09:11 vindolin

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Dec 20 '22 00:12 github-actions[bot]

Got the same issue. The module does not stop at the right time when using the position setting. It opens and closes fully but setting a position does not work and because closing is faster than opening it will drift a lot with every cycle as well.

Ultrawipf avatar Dec 30 '22 11:12 Ultrawipf

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jan 30 '23 00:01 github-actions[bot]

Hi guys! I have the same issue. 7 curtains and two of them seem to not receive/accept set cover position message. Up down stop commands and physical buttons work well. Did you manage to overcome this?

piogundel avatar May 01 '23 05:05 piogundel

Hi, the same here with these ones. I've got a lot of others of _TZ3000_ltiqubue (also TS130F) which I can send to whatever percentage without any problem. In addition, with the _TZ3000_qa8s8vca, I have the issue that the backlight is completely OFF and cannot be switched on.

Pedder007 avatar Sep 18 '23 19:09 Pedder007

Automations in home assistant that run set cover position command on multiple covers at same time are causing network congestion - that is why some of cover did not respond correctly. You need to use mqtt publish as a service in ha automations in zigbee to mqtt and use groups of covers but created in z2m, not in ha. You can also use it for separate covers but most likely you would need to Set a delay between commands. It is all described in z2m documentation.

piogundel avatar Jan 22 '24 17:01 piogundel

Hi everyone

Did you solve the issue ? It's really Just this device because others versions works fine. Indeed, as soon as I click on a spexcifc position, the roller will fully close or open. Maybe it can be an issue of z2m because when the device down and up using arrow even on z2m, the roller knows the position.

kevincaradant avatar Jul 16 '24 18:07 kevincaradant

I have exactly the same problem

I took can't set position via command (everything else works) on both my TS130F_TZ3000_qa8s8vca. Does anyone know if there has been any firmware upgrades?

I saw there is a firmware for TS130F but a slightly different version (_TZ3000_1dd0d5yi) https://github.com/Koenkk/zigbee-OTA/pull/325/files

are these compatible and can be flashed?

mwitkow avatar Jul 30 '24 22:07 mwitkow

Hi all, I also have a _TZ3000_qa8s8vca model, and I'm seeing the same things, no position setting possible, and also non-functional backlight

Coollision avatar Aug 13 '24 09:08 Coollision

I observe the same for some of my tf130f. Note that I do not use z2m but ZHA - maybe this is indeed rather a firmware issue?

daniel-sc avatar Sep 05 '24 05:09 daniel-sc

Partial Workaround for RF Cover Position Sync Issue

I've implemented a partial fix for the issue using a bit of a hacky workaround.

First, I'm using the following custom component: cover_rf_time_based, which allows me to define the movement time and direction of the cover.

Then, in my configuration.yaml, I define the following cover (example):

cover:
  - platform: cover_rf_time_based
    devices:
      persiana_sala_aux:
        name: persiana_sala_aux
        travelling_time_down: 24
        travelling_time_up: 24
        open_script_entity_id: script.persiana_sala_up
        stop_script_entity_id: script.persiana_sala_stop
        close_script_entity_id: script.persiana_sala_down
        send_stop_at_ends: false  # optional
        aliases:
          - persiana_sala_aux

And here are the scripts that control the main cover:

persiana_sala_down:
  alias: persiana_sala_down
  mode: single
  max_exceeded: silent
  sequence:
    - service: cover.close_cover
      entity_id: cover.persiana_sala

persiana_sala_stop:
  alias: persiana_sala_stop
  mode: single
  max_exceeded: silent
  sequence:
    - service: cover.stop_cover
      entity_id: cover.persiana_sala

persiana_sala_up:
  alias: persiana_sala_up
  mode: single
  max_exceeded: silent
  sequence:
    - service: cover.open_cover
      entity_id: cover.persiana_sala

Known Issue

The main issue with this setup is that when I use the physical buttons of the cover, the position of the auxiliary cover is not updated accordingly. I attempted to sync the state using an automation that mirrors the main cover’s state to the auxiliary one, but this ended up behaving unpredictably.

xbs18 avatar Jul 30 '25 18:07 xbs18