zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[TS130F / _TZ3000_4uuaja4a] ???

Open excalibur470 opened this issue 3 months ago β€’ 13 comments

What happened?

Motor reversal after ZIGBE2MQTT 2.14.0 update Now when I ask to open it closes and viceversa. The motorreversal flag is unchanged

What did you expect to happen?

It should operate as before

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.14.0 (unknown)

Adapter firmware version

{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20220219,"transportrev":2}

Adapter

ZStack3x0

Setup

os: #1 SMP PREEMPT_DYNAMIC Thu Jul 30 12:31:10 UTC 2026 - 6.18.39-haos - x64 node: v24.18.1 ha: true

Device database.db entry

No response

Debug log

No response

Notes

Device

definition: TS130F - Tuya (v0.0.0) software_build_id: undefined date_code: `` endpoints:

{"1":{"bindings":[],"clusters":{"input":["genGroups","genScenes","genOnOff","closuresWindowCovering","genBasic"],"output":["genOta","genTime"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}
Health

time: Wed Sep 02 2026 09:47:41 GMT+0200 (Ora legale dell’Europa centrale) os.load_average: 0.37, 0.23, 0.2 os.memory_percent: 45.4622 process.memory_percent: 4.3016 process.uptime_sec: 3014

{"leave_count":0,"messages":26,"messages_per_sec":0.0108,"network_address_changes":0}

excalibur470 avatar Sep 02 '26 08:09 excalibur470

Hi, I same problem on TS130F, Motor reversal option doesn't solve and Invert cover. Rollback zigbee2mqtt seem to be the only option... Thanks

bruno065 avatar Sep 02 '26 08:09 bruno065

Same issue with Tuya TS130F_TZ3000.

Blinds are reporting movement Down and end in state open, same for reporting Up and ends with closed.

Reversing motors ends with opposite direction on switches, so I need to press close to open.

Reversing reported state fixes movement and reported state within zigbee2mqtt web UI but HA dashboards controls are reversed. Opened blind can't be closed since its reported as closed.

MateuszPeczek avatar Sep 02 '26 09:09 MateuszPeczek

Hi, same for me...how to revert back to old version without having made a backup?

lbls55 avatar Sep 02 '26 09:09 lbls55

Same for me, Device: GIRIER TS130F (_TZ3210_dwytrmda) β€” 13 units Z2M Version: 2.14.0 (Worked fine on 2.13.0) Integration: Home Assistant + HomeKit Bridge

Issue Description

After updating from Z2M 2.13.0 to 2.14.0, the open/close button logic and percentage positioning became decoupled on TS130F modules:

  • Default state (motor_reversal: OFF, invert_cover: false): Position slider works correctly (100% = Open, 0% = Closed in HA & HomeKit), but discrete OPEN and CLOSE action buttons move the shutter in the opposite direction.
  • Enabling invert_cover: true: Fixes the discrete OPEN/CLOSE action buttons, but breaks the position percentage (slider now works in reverse).
  • Enabling both motor_reversal: ON + invert_cover: true: Percentage remains correct, but buttons remain inverted.

It is currently impossible to have both discrete buttons AND position percentages working correctly at the same time without external template hacks in Home Assistant.

Rolling back to 2.13.0.1 immediately resolves the issue and restores correct behavior for both buttons and percentages. Please fix or decouple the position mapping from the discrete action commands in tuya.js.

Saharok14 avatar Sep 02 '26 10:09 Saharok14

same problem for me.. .invert cover is the solution for now

caodecaca avatar Sep 02 '26 10:09 caodecaca

I'm observing the same behaviour.

Moes MS-108ZR Zigbee + RF curtain switch module with this month update got confused about what is open and what is close.

Inerting cover is NOT a solution beause positions got inverted, and calibration broke too on one blind where I tested this.

NsCDE avatar Sep 02 '26 15:09 NsCDE

Could you check if this is fixed?

Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.

Koenkk avatar Sep 02 '26 18:09 Koenkk

Yes, seems to be working again in dev.

ewoutdenheijer avatar Sep 03 '26 05:09 ewoutdenheijer

Same regression here with a different manufacturer ID, and I can confirm it is a 2.14.0 regression: rolling back fixed it.

Device

  • Model: TS130F, manufacturer _TZ3000_ltiqubue (Tuya curtain/blind switch)
  • Zigbee model TS130F, definition TS130F β€” standard closuresWindowCovering cluster

Environment

  • Zigbee2MQTT 2.14.0 (broken) / 2.13.0 (working)
  • zigbee-herdsman-converters 26.103.0, zigbee-herdsman 10.9.1
  • Home Assistant OS, Home Assistant Core 2026.9.0
  • Coordinator: EmberZNet, revision 8.0.2 (Sonoff ZBDongle-E)

Symptom After updating to 2.14.0, OPEN physically closes the blind and CLOSE opens it. Position still tracks correctly. In Home Assistant the up/down buttons are inverted accordingly.

Configuration is clean β€” this is not a misconfiguration

  • invert_cover is not set at all for this device (the frontend shows ?, i.e. no value)
  • motor_reversal is OFF and was never changed
  • Calibration was untouched (calibration time 17 s)

Additional observation Setting motor_reversal: ON makes the reported state correct again, but the Home Assistant buttons stay inverted β€” so no combination of motor_reversal and invert_cover gets both the command direction and the reported state right at the same time on 2.14.0.

Rollback confirms the regression A partial backup restore of the Zigbee2MQTT add-on to 2.13.0 (add-on + data, so configuration.yaml and database.db from the same backup) restored correct behaviour immediately, with no configuration changes. Nothing else in the setup was touched.

Candidate changes in the 2.14.0 changelog (not verified, just narrowing it down)

  • Fix state not inverted when setting invert_cover: true β€” semantics of invert_cover changed in 2.14.0. Note that invert_cover is not set in my case, so this alone should not affect me.
  • Improve Home Assistant cover state discovery
  • Plus whatever came in with the bundled converters bump.

Since #32999 reports the same for non-Tuya covers (Schneider, Xiaomi, SONOFF), this looks like a shared cover code path rather than something TS130F-specific.

Related: #32999, #33004, #33010, #32997

guensen0 avatar Sep 03 '26 07:09 guensen0

Same issue here. I have several Tuya TS130F_TZ3000_8f8p9xbs. Motor of covers is reversed depending where you are trying to close or open it. Few exaples here

Image Image Image Image

Trying to reverse the motor or invert the cover is not resolving the issue. It worked for years correctly, now it's not.

SmolikOne avatar Sep 03 '26 08:09 SmolikOne

Will be fixed in 2.14.1!

Koenkk avatar Sep 03 '26 18:09 Koenkk

Thanks for your hard work.


De : Koen Kanters @.> EnvoyΓ© : jeudi 3 septembre 2026 20:21 Γ€ : Koenkk/zigbee2mqtt @.> Cc : lbls55 @.>; Comment @.> Objet : Re: [Koenkk/zigbee2mqtt] [TS130F / _TZ3000_4uuaja4a] ??? (Issue #33002)

[https://avatars.githubusercontent.com/u/2892853?s=20&v=4]Koenkk left a comment (Koenkk/zigbee2mqtt#33002)https://github.com/Koenkk/zigbee2mqtt/issues/33002#issuecomment-5530191837

Will be fixed in 2.14.1!

β€” Reply to this email directly, view it on GitHubhttps://github.com/Koenkk/zigbee2mqtt/issues/33002?email_source=notifications&email_token=A7QUZBSHXGWBBXGOSVQBUAL5NGZBNA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNJTGAYTSMJYGM32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5530191837, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7QUZBUCTY6WFTT4PDV2HCD5NGZBNAVCNFSNUABFKJSXA33TNF2G64TZHMYTEOBWGM3DMMJQHNEXG43VMU5TKMZSGE2DKMBQG4ZKC5QC. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOShttps://github.com/notifications/mobile/ios/A7QUZBXKUJ454PSRDY3CRWD5NGZBNA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNJTGAYTSMJYGM32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y and Androidhttps://github.com/notifications/mobile/android/A7QUZBWUXZ5ZS7HCLF3IQDT5NGZBNA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNJTGAYTSMJYGM32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you commented.Message ID: @.***>

lbls55 avatar Sep 04 '26 09:09 lbls55