Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(add): ZDMS16-1 and ZDMS16-2 Avatto dimmer switches #7398

Merged
merged 3 commits into from Apr 15, 2024

Conversation

Suxsem
Copy link
Contributor

@Suxsem Suxsem commented Apr 14, 2024

As discussed here: Koenkk/zigbee2mqtt#22175

Aliexpress page: https://it.aliexpress.com/item/1005006523496245.html

These dimmers uses different enum values for switchType comparing to standard tuya dimmers, so a new tuya converter (switchType2) has been introduced in lib/tuya.ts

],
meta: {
multiEndpoint: true,
tuyaDatapoints: [
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data points seem to be the same as TS0601_dimmer_4, can you confirm and add it as a tuya.whitelabel to TS0601_dimmer_4?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, it's not. the new one doesn't support lightType and uses endpoint 4 and 8 for switchType.
also the switchType enum has a different mapping.

@Koenkk Koenkk merged commit da646ed into Koenkk:master Apr 15, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Apr 15, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants