Skip to content

DDF for Tuya presence sensor (_TZ3000_bb6xaihh with model id SNZB-03) - #8267

Merged
manup merged 2 commits into
dresden-elektronik:masterfrom
Doskii:add-tuya-snzb03-TZ3000-bb6xaihh-presence-sensor
Jul 8, 2025
Merged

DDF for Tuya presence sensor (_TZ3000_bb6xaihh with model id SNZB-03)#8267
manup merged 2 commits into
dresden-elektronik:masterfrom
Doskii:add-tuya-snzb03-TZ3000-bb6xaihh-presence-sensor

Conversation

@Doskii

@Doskii Doskii commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

This DDF works for the "Smart PIR Motion Sensor" I got from AliExpress. It is being reported as "_TZ3000_bb6xaihh" but with the model id "SNZB-03" instead of the previously supported "TS0202".

The config is very similar to the TS0202 but I was not sure if I should have added the "SNZB-03" to that DDF or not as the name of the file would no longer make sense.

package

deCONZ

@Smanar

Smanar commented Jul 5, 2025

Copy link
Copy Markdown
Collaborator

Honnestly for me you can just add it to the existing DDF, even the file name was not the good one.
Not the first time we can see that, for exemple > https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/_TZ3000_TS0203_door_sensor.json (look at the second one).

And it's more "tuya" device than "sonoff" (SNZB-03 is sonoff modelid)

@github-actions

github-actions Bot commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

Hey @Doskii, thanks for your pull request!

Tip

Modified bundles can be downloaded here.
Relative expire date

DDB changes

Modified

  • tuya/ts0202_presence_sensor.json : Presence sensor (TS0202) ✔️

Validation

Tip

Everything is fine !

🕝 Updated for commit 4c4c933

@Doskii

Doskii commented Jul 5, 2025

Copy link
Copy Markdown
Contributor Author

@Smanar Ok I've removed my DDF, added the module to tuya/ts0202_presence_sensor.json and tested it again.

Though I did notice that when I thought _TZ3000_bb6xaihh was already in there (but with TS0202) I was apparently slightly off and was looking at _TZ3040_bb6xaihh instead (notice the 40). It works regardless and is basically the same anyways so it doesn't matter.

@Smanar

Smanar commented Jul 6, 2025

Copy link
Copy Markdown
Collaborator

Yeah tuya magic ...
IDK if they have not finished to change the modelID on the firwmare or if it's normal

@manup manup added this to the v2.31.0-beta milestone Jul 8, 2025
@manup
manup merged commit 1bd6f85 into dresden-elektronik:master Jul 8, 2025
1 check passed
@github-actions

github-actions Bot commented Jul 8, 2025

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/ts0202_presence_sensor.json : Presence sensor (TS0202) : with hash (e460320043)

🦆 Updated for commit 1bd6f85

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.

3 participants