Add Quoya M515EGBZTN support and fix curtain_motor position inversion#1406
Open
ErnieV wants to merge 1 commit into
Open
Add Quoya M515EGBZTN support and fix curtain_motor position inversion#1406ErnieV wants to merge 1 commit into
ErnieV wants to merge 1 commit into
Conversation
- Add _TZE200_gubdgai2 and _TZE200_vdiuwbkq to curtain_motor fingerprints - Fix setPosition inversion: device uses 0=open/100=closed, opposite of Homey's windowcoverings_set (0=closed/1=open). Change pos calculation from `reverse ? 1-pos : pos` to `reverse ? pos : 1-pos` to match the existing updatePosition logic which already does `100 - value` - Add upper/lower limit support via DP 16 (border datapoint): up=0, down=1, up_delete=2, down_delete=3, remove_top_bottom=4 - Add driver.flow.compose.json with set_upper_limit, set_lower_limit, remove_limits action cards; use args.device pattern for multi-device support - Add checkbox settings for limit controls (Homey has no button type in device settings); onSettings resets checkbox to false after firing Closes JohanBendz#1405 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Hi! 👋 Thanks for this contribution. These fingerprints have been integrated into dlnraja/com.tuya.zigbee — the actively maintained Tuya Unified Zigbee fork (v8.1.50, 10885+ fingerprints). Fingerprint(s) found in v8.1.50:
Install the test version: https://homey.app/a/com.dlnraja.tuya.zigbee/test/ Community forum: https://community.homey.app/t/app-pro-universal-tuya-zigbee-device-app-test/140352 |
dlnraja
pushed a commit
to dlnraja/com.tuya.zigbee
that referenced
this pull request
Jun 4, 2026
…support & limit controls)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for the Quoya M515EGBZTN Zigbee roller blind / plissé motor and fixes two existing issues in the
curtain_motordriver.Tested on Homey Pro (Early 2023), firmware 13.2.1-rc.4, with two M515EGBZTN devices running simultaneously.
Closes #1405
Changes
New fingerprints
_TZE200_gubdgai2— Quoya M515EGBZTN_TZE200_vdiuwbkq— Quoya M515EGBZTN (alternate)Bug fix: position inversion in
setPositionThe device uses
0 = fully open, 100 = fully closed, opposite to Homey'swindowcoverings_set(0 = closed, 1 = open).updatePositionalready handles this correctly with100 - value, butsetPositionwas not inverting — so setting the slider to 0% sent0to the device, which opened the blinds instead of closing them.This bug likely affects other TS0601 curtain motors with the same
0=openconvention.Upper/lower limit support (DP 16)
Exposes the device's physical end-stop programming via DP 16 (
border):driver.flow.compose.jsonbuttontype for device settings; the checkbox resets itself after firing)args.devicepattern to correctly support multiple curtain motor devicesTest plan
_TZE200_gubdgai2or_TZE200_vdiuwbkqdevice — should be recognised ascurtain_motor🤖 Generated with Claude Code