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): Avatto ME168 #8651

Merged
merged 5 commits into from
Jan 27, 2025
Merged

Conversation

andreypuhovsky
Copy link
Contributor

@andreypuhovsky andreypuhovsky commented Jan 19, 2025

Following my previous pull request for this device, I've purchased a Tuya Gateway to make it 99% functional :)

image
image
image
image
image
image

tuya:
IMG_5826
IMG_5825
IMG_5824
IMG_5823

Additional things:

  • fixes for max temperature (strange to not being able to set up up to 35 degrees)
  • fix the all days schedule description to be more helpful (new format allows to copy-paste and modify for user's needs)

@andreypuhovsky andreypuhovsky force-pushed the feature/avatto-me168-new branch 2 times, most recently from ebbf9e8 to a8d6dd1 Compare January 20, 2025 10:37
@andreypuhovsky
Copy link
Contributor Author

todo: add new page to the website, as the same whitelabel cannot be used again

@@ -5517,6 +5516,153 @@ const definitions: DefinitionWithExtend[] = [
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
},
},
{
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ybsqljjg' /* model: 'ME168', vendor: 'AVATTO' */]),
model: 'TS0601_thermostat_5',
Copy link
Owner

@Koenkk Koenkk Jan 20, 2025

Choose a reason for hiding this comment

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

Since there is only 1 whitelabel, use ME168 here and remove whiteLabel

Copy link
Contributor Author

Choose a reason for hiding this comment

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

unfortunately, I think it's not possible to use the actual model as it was white labeled somewhere else

 FAIL  test/index.test.js > index.js > Verify definitions
Error: Duplicate whitelabel zigbee model ME168
        fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ybsqljjg']),
        model: 'ME168',
        vendor: 'AVATTO',

Copy link
Contributor Author

Choose a reason for hiding this comment

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

named as AVATTO_ME168 for now, let's discuss this further

src/devices/tuya.ts Outdated Show resolved Hide resolved
src/lib/tuya.ts Outdated Show resolved Hide resolved
src/lib/tuya.ts Outdated Show resolved Hide resolved
fix for window_detection to override access type
fixes for max temperature
fix the all days schedule description to be more helpful
@andreypuhovsky andreypuhovsky force-pushed the feature/avatto-me168-new branch from a8d6dd1 to 9b4969c Compare January 25, 2025 23:57
@andreypuhovsky andreypuhovsky force-pushed the feature/avatto-me168-new branch from 9b4969c to 8d5b2c1 Compare January 26, 2025 00:24
@Koenkk Koenkk merged commit a797ca6 into Koenkk:master Jan 27, 2025
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jan 27, 2025

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.

2 participants