Skip to content

Commit

Permalink
Add TuYa ZS06 (_TZ3290_7v1k4vufotpowp9z) (#4380)
Browse files Browse the repository at this point in the history
* Add TuYa ZS06 (_TZ3290_7v1k4vufotpowp9z) universal smart IR remote control. Koenkk/zigbee2mqtt#11633

* Update tuya.js

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
mak-42 and Koenkk committed Jun 26, 2022
1 parent 8e19b65 commit aee4680
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions devices/tuya.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const e = exposes.presets;
const ea = exposes.access;
const libColor = require('../lib/color');
const utils = require('../lib/utils');
const zosung = require('../lib/zosung');
const fzZosung = zosung.fzZosung;
const tzZosung = zosung.tzZosung;
const ez = zosung.presetsZosung;

const TS011Fplugs = ['_TZ3000_5f43h46b', '_TZ3000_cphmq0q7', '_TZ3000_dpo1ysak', '_TZ3000_ew3ldmgx', '_TZ3000_gjnozsaz',
'_TZ3000_jvzvulen', '_TZ3000_mraovvmm', '_TZ3000_nfnmi125', '_TZ3000_ps3dmato', '_TZ3000_w0qqde0g', '_TZ3000_u5u4cakc',
Expand Down Expand Up @@ -2619,4 +2623,16 @@ module.exports = [
exposes.enum('report', ea.SET, ['REPORT']),
],
},
{
fingerprint: [{modelID: 'TS1201', manufacturerName: '_TZ3290_7v1k4vufotpowp9z'}],
model: 'ZS06',
vendor: 'TuYa',
description: 'Universal smart IR remote control',
fromZigbee: [
fzZosung.zosung_send_ir_code_00, fzZosung.zosung_send_ir_code_01, fzZosung.zosung_send_ir_code_02,
fzZosung.zosung_send_ir_code_03, fzZosung.zosung_send_ir_code_04, fzZosung.zosung_send_ir_code_05,
],
toZigbee: [tzZosung.zosung_ir_code_to_send, tzZosung.zosung_learn_ir_code],
exposes: [ez.learn_ir_code(), ez.learned_ir_code(), ez.ir_code_to_send()],
},
];

0 comments on commit aee4680

Please sign in to comment.