Koenkk / Koenkk/zigbee2mqtt

[TS130F (TS130F_GIRIER) / _TZ3210_dwytrmda] Issue setting "Calibration Time" on Girier Curtain Module (Possible scaling/validation error)

Open
#32,490 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

I am unable to set the 'Calibration Time' attribute for the Girier curtain module. When I attempt to input a value, the system behaves incorrectly in two ways:

If I enter a value like '30', the system reports an error stating that the range is 0–255, but claims that I entered '300' (it appears to multiply my input by 10).

If I enter '25', the system returns an 'invalid format' error.

These issues persist regardless of the configuration method used: I have attempted setting the value via the UI, directly via MQTT, and via the Developer Console using the closuresWindowCovering cluster and moesCalibrationTime (ENUM8) attribute. Despite re-pairing the device, power-cycling it, and performing the manual calibration procedure (as per the documentation), the calibration time cannot be configured.

Image Image Image
What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.12.1 (unknown)

Adapter firmware version

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

Adapter

ZStack3x0

Setup

os: #1 SMP PREEMPT_DYNAMIC Mon Jan 19 12:07:25 UTC 2026 - 6.12.63-haos - x64
node: v22.23.0
ha: true

Device database.db entry

No response

Debug log

No response

Notes
Device

definition: TS130F_GIRIER - Girier (v0.0.0)
software_build_id: undefined
date_code: ``
endpoints:

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the closuresWindowCovering cluster and moesCalibrationTime (ENUM8) attribute handling for the TS130F_GIRIER definition. Reproduce the behavior using the UI, MQTT, or Developer Console with values such as 25 and 30, then compare validation and scaling results with the device's reported range. Done means calibration time can be set without an incorrect range or format error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.