Skip to content

DDF clone for Tuya 4 Gang remote (_TZ3000_5tqxpine) - #8249

Merged
manup merged 1 commit into
dresden-elektronik:masterfrom
mattreim:_TZ3000_5tqxpine
Jun 23, 2025
Merged

manup merged 1 commit into
dresden-elektronik:masterfrom
mattreim:_TZ3000_5tqxpine

Conversation

@mattreim

Copy link
Copy Markdown
Collaborator

"manufacturername": "_TZ3000_5tqxpine"
"modelid": "TS0044"

See #8247

"manufacturername": "_TZ3000_5tqxpine"
"modelid": "TS0044"

See dresden-elektronik#8247
@mattreim mattreim mentioned this pull request Jun 13, 2025
2 tasks done
@github-actions

Copy link
Copy Markdown
Contributor

Hey @mattreim, thanks for your pull request!

Tip

Modified bundles can be downloaded here.
Relative expire date

DDB changes

Modified

  • tuya/_TZ3000_TS0044_4gang_remote.json : Tuya 4-gang remote (TS0044) ✔️

Validation

Tip

Everything is fine !

🕚 Updated for commit 1304500

@manup

manup commented Jun 18, 2025

Copy link
Copy Markdown
Member

@mattreim @Smanar

PR is alright.

Just some considerations to enhance the DDF in future.

Since a few versions DDFs support "buttons" and "buttonevents" to describe these (similar to button_maps.json).
Good example is the Hue remote https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/philips/rwl022_dimmer_switch.json

With that the buttons and possible events are automatically exposed in the introspection API, which can be used by REST-API clients to be more generic, e.g. UIs showing the remote with proper amount of buttons.

The Hue remote DDF also uses a extra Javascript file to parse state/buttonevent which entirely removes dependency on button_maps.json making the DDF self contained, as generated DDF bundles do include all item files and referenced .js files.


If we do the same for this DDF, in order to add a new Tuya clone (manufacturername / modelid) only the main DDF .json needs to be extended.

@manup manup modified the milestone: v2.31.0-beta Jun 18, 2025
@manup
manup merged commit 6d82539 into dresden-elektronik:master Jun 23, 2025
@github-actions

Copy link
Copy Markdown
Contributor

This pull request is now merged. The new DDB files have been uploaded to the store.

DDB Files

Modified

  • tuya/_TZ3000_TS0044_4gang_remote.json : Tuya 4-gang remote (TS0044) : with hash (6bcc941d07)

  • tuya/TZE204_c2fmom5z_air_sensor.json : Smart Air House keeper (TS0601) : with hash (e08859ae4e)

🕖 Updated for commit 6d82539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants