Skip to content

Commit

Permalink
feat(detect): Detect _TZ3000_qomxlryd as ORBIS Windows & Door Senso…
Browse files Browse the repository at this point in the history
…r, `_TZ3000_qomxlryd` as ORBIS Motion Sensor, `_TZ3000_awvmkayh` as ORBIS Water Sensor and `_TYZB01_821siati` as ORBIS Vibration Sensor (#6013)
  • Loading branch information
vsigler authored Jul 27, 2023
1 parent 62fbaa2 commit 7ad7aa3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ const definitions: Definition[] = [
{vendor: 'TuYa', model: 'iH-F001'},
{vendor: 'Tesla Smart', model: 'TSL-SEN-DOOR'},
{vendor: 'Cleverio', model: 'SS100'},
tuya.whitelabel('Niceboy', 'ORBIS Windows & Door Sensor', 'Door sensor', ['_TZ3000_qrldbmfn']),
],
configure: async (device, coordinatorEndpoint, logger) => {
try {
Expand Down Expand Up @@ -992,6 +993,7 @@ const definitions: Definition[] = [
{modelID: 'TS0202', manufacturerName: '_TZ3040_bb6xaihh'},
{modelID: 'WHD02', manufacturerName: '_TZ3000_hktqahrq'},
{modelID: 'TS0202', manufacturerName: '_TZ3040_wqmtjsyk'},
{modelID: 'TS0202', manufacturerName: '_TZ3000_qomxlryd'},
],
model: 'TS0202',
vendor: 'TuYa',
Expand All @@ -1003,6 +1005,7 @@ const definitions: Definition[] = [
tuya.whitelabel('TuYa', 'ZMS01', 'Motion sensor', ['_TZ3000_otvn3lne']),
tuya.whitelabel('Nous', 'E2', 'Motion sensor', ['_TZ3000_h4wnrtck']),
tuya.whitelabel('TuYa', '809WZT', 'Motion sensor', ['_TZ3040_bb6xaihh']),
tuya.whitelabel('Niceboy', 'ORBIS Motion Sensor', 'Motion sensor', ['_TZ3000_qomxlryd']),
],
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1_report],
toZigbee: [],
Expand Down Expand Up @@ -1077,6 +1080,7 @@ const definitions: Definition[] = [
tuya.whitelabel('TuYa', 'TS0207_water_leak_detector_1', 'Zigbee water flood sensor + 1m probe cable', ['_TZ3000_ocjlo4ea']),
tuya.whitelabel('TuYa', 'TS0207_water_leak_detector_2', 'Zigbee water leak sensor + alarm (40dB)', ['_TZ3000_upgcbody']),
tuya.whitelabel('TuYa', 'TS0207_water_leak_detector_3', 'Zigbee water leak sensor', ['_TYZB01_sqmd19i1']),
tuya.whitelabel('Niceboy', 'ORBIS Water Sensor', 'Water leak sensor', ['_TZ3000_awvmkayh']),
],
toZigbee: [],
configure: async (device, coordinatorEndpoint, logger) => {
Expand Down Expand Up @@ -3751,10 +3755,14 @@ const definitions: Definition[] = [
{modelID: 'TS0210', manufacturerName: '_TYZB01_cc3jzhlj'},
{modelID: 'TS0210', manufacturerName: '_TZ3000_bmfw9ykl'},
{modelID: 'TS0210', manufacturerName: '_TYZB01_geigpsy4'},
{modelID: 'TS0210', manufacturerName: '_TZ3000_fkxmyics'}],
{modelID: 'TS0210', manufacturerName: '_TZ3000_fkxmyics'},
{modelID: 'TS0210', manufacturerName: '_TYZB01_821siati'}],
model: 'TS0210',
vendor: 'TuYa',
description: 'Vibration sensor',
whiteLabel: [
tuya.whitelabel('Niceboy', 'ORBIS Vibration Sensor', 'Vibration sensor', ['_TYZB01_821siati']),
],
fromZigbee: [fz.battery, fz.ias_vibration_alarm_1_with_timeout],
toZigbee: [tz.TS0210_sensitivity],
exposes: [e.battery(), e.battery_voltage(), e.vibration(), e.numeric('sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(50)],
Expand Down

0 comments on commit 7ad7aa3

Please sign in to comment.