Skip to content

Commit

Permalink
fix(detect): Detect _TZ3000_v7chgqso as Nous E3, `_TZ3000_abjodzasa…
Browse files Browse the repository at this point in the history
…s` as Nous LZ3, `_TZ3000_yruungrl` as Nous B4Z and `_TZ3000_6km7djcm` as Nous LZ4 (#7705)

* fix(detect): Detect `_TZ3000_v7chgqso` as Nous E3, `_TZ3000_abjodzas` as Nous LZ3 and `_TZ3000_yruungrl` as Nous B4z

* Add _TZ3000_6km7djcm
  • Loading branch information
Koenkk authored Jun 28, 2024
1 parent d54c804 commit 578ec18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ const definitions: Definition[] = [
tuya.whitelabel('Moes', 'ZSS-X-GWM-C', 'Door/window magnetic sensor', ['_TZ3000_gntwytxo']),
tuya.whitelabel('Luminea', 'ZX-5232', 'Smart door and window sensor', ['_TZ3000_4ugnzsli']),
tuya.whitelabel('QA', 'QASD1', 'Door sensor', ['_TZ3000_udyjylt7']),
tuya.whitelabel('Nous', 'E3', 'Door sensor', ['_TZ3000_v7chgqso']),
],
exposes: (device, options) => {
const exps: Expose[] = [e.contact(), e.battery(), e.battery_voltage()];
Expand Down Expand Up @@ -1391,6 +1392,9 @@ const definitions: Definition[] = [
const endpoint = device.getEndpoint(1);
await endpoint.read('genOnOff', ['onOff', 'moesStartUpOnOff']);
},
whiteLabel: [
tuya.whitelabel('Nous', 'LZ3', 'Smart water/gas valve', ['_TZ3000_abjodzas']),
],
},
{
zigbeeModel: ['CK-BL702-AL-01(7009_Z102LG03-1)', 'CK-BL702-AL-01(7009_Z102LG04-2)'],
Expand Down Expand Up @@ -2224,6 +2228,7 @@ const definitions: Definition[] = [
tuya.whitelabel('Danor', 'SK-Z802C-US', 'Smart curtain/shutter switch', ['_TZ3000_8h7wgocw']),
tuya.whitelabel('Moes', 'MS-108ZR', 'Zigbee + RF curtain switch module', ['_TZ3000_1dd0d5yi']),
tuya.whitelabel('QA', 'QACZ1', 'Curtain switch', ['_TZ3210_xbpt8ewc']),
tuya.whitelabel('Nous', 'B4Z', 'Curtain switch', ['_TZ3000_yruungrl']),
],
exposes: (device) => {
const exps = [e.cover_position(), e.enum('moving', ea.STATE, ['UP', 'STOP', 'DOWN']),
Expand Down Expand Up @@ -2733,6 +2738,7 @@ const definitions: Definition[] = [
whiteLabel: [{vendor: 'Smart9', model: 'S9TSZGB'}, {vendor: 'Lonsonho', model: 'TS0041'}, {vendor: 'Benexmart', model: 'ZM-sui1'},
tuya.whitelabel('Tuya', 'SH-SC07', 'Button scene switch', ['_TZ3000_mrpevh8p']),
tuya.whitelabel('Tuya', 'MINI-ZSB', 'Smart button', ['_TZ3000_qgwcxxws']),
tuya.whitelabel('Nous', 'LZ4', 'Wireless switch button', ['_TZ3000_6km7djcm']),
],
exposes: [e.battery(), e.action(['single', 'double', 'hold'])],
fromZigbee: [tuya.fz.on_off_action, fz.battery],
Expand Down

0 comments on commit 578ec18

Please sign in to comment.