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

Update evanell.ts #8032

Merged
merged 3 commits into from
Sep 29, 2024
Merged

Update evanell.ts #8032

merged 3 commits into from
Sep 29, 2024

Conversation

callmebackdraft
Copy link
Contributor

Trying to link new Evanell TRV's they show up with this manufacturers name

could it be that multiple manufacturers names are valid ?

image

Trying to link new Evanell TRV's they show up with this manufacturers name
re added previous manufacturer
@Koenkk
Copy link
Owner

Koenkk commented Sep 28, 2024

Yes, Tuya devices change manufacturer name often. Does the device work with this change?

To try it out:

  • Stop Z2M
  • Open data/database.db with a text editor and change all occurrences of _TZE200_rxypyjkw to _TZE200_dmfguuli
  • Start Z2M and see if the device now works

@callmebackdraft
Copy link
Contributor Author

i made a custom converter with basically the code from the herdsman converter only changed the variable and now it works:

const definition = {
    fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_rxypyjkw'}],
    model: 'EZ200',
    vendor: 'Evanell',
    description: 'Thermostatic radiator valve',
    fromZigbee: [legacy.fz.evanell_thermostat],
    toZigbee: [
        legacy.tz.evanell_thermostat_current_heating_setpoint,
        legacy.tz.evanell_thermostat_system_mode,
        legacy.tz.evanell_thermostat_child_lock,
    ],
    onEvent: tuya.onEventSetTime,
    configure: async (device, coordinatorEndpoint) => {
        const endpoint = device.getEndpoint(1);
        await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic']);
    },
    exposes: [
        e.child_lock(),
        e.battery(),
        e
            .climate()
            .withSetpoint('current_heating_setpoint', 5, 30, 0.5, ea.STATE_SET)
            .withLocalTemperature(ea.STATE)
            .withSystemMode(['off', 'heat', 'auto'], ea.STATE_SET),
    ],
};

@Koenkk Koenkk merged commit 40115c6 into Koenkk:master Sep 29, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Sep 29, 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.

2 participants