123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.uiid173EffectList = exports.uiid137EffectList = exports.rbgLEDBulbLtypeMap = exports.rbgLEDBulbEffectList = exports.doubleColorBulbLtypeMap = exports.doubleColorBulbEffectList = exports.presetEffectMap = exports.rgbBulbEffectList = exports.fakeTempList = exports.effectList = void 0;
- exports.effectList = [
- '',
- 'Colorful',
- 'Colorful Gradient',
- 'Colorful Breath',
- 'DIY Gradient',
- 'DIY Pulse',
- 'DIY Breath',
- 'DIY Strobe',
- 'RGB Gradient',
- 'RGB Pulse',
- 'RGB Breath',
- 'RGB Strobe',
- 'Music Visualizer',
- ];
- exports.fakeTempList = [
- '214,225,255',
- '214,225,255',
- '217,225,255',
- '215,226,255',
- '218,226,255',
- '216,227,255',
- '219,226,255',
- '217,227,255',
- '220,227,255',
- '218,228,255',
- '221,228,255',
- '220,229,255',
- '223,229,255',
- '221,230,255',
- '224,230,255',
- '222,230,255',
- '225,231,255',
- '224,231,255',
- '227,232,255',
- '225,232,255',
- '228,233,255',
- '227,233,255',
- '229,233,255',
- '228,234,255',
- '231,234,255',
- '230,235,255',
- '233,236,255',
- '231,236,255',
- '234,237,255',
- '233,237,255',
- '236,238,255',
- '235,238,255',
- '238,239,255',
- '237,239,255',
- '239,240,255',
- '239,240,255',
- '241,241,255',
- '240,241,255',
- '243,243,255',
- '243,242,255',
- '245,244,255',
- '245,243,255',
- '247,245,255',
- '247,245,255',
- '250,247,255',
- '249,246,255',
- '252,248,255',
- '252,247,255',
- '254,250,255',
- '254,249,255',
- '255,249,253',
- '255,249,253',
- '255,249,251',
- '255,248,251',
- '255,248,248',
- '255,246,248',
- '255,247,245',
- '255,245,245',
- '255,246,243',
- '255,244,242',
- '255,245,240',
- '255,243,239',
- '255,244,237',
- '255,242,236',
- '255,243,234',
- '255,240,233',
- '255,241,231',
- '255,239,230',
- '255,240,228',
- '255,238,227',
- '255,239,225',
- '255,236,224',
- '255,238,222',
- '255,235,220',
- '255,237,218',
- '255,233,217',
- '255,235,215',
- '255,232,213',
- '255,234,211',
- '255,230,210',
- '255,232,208',
- '255,228,206',
- '255,231,204',
- '255,227,202',
- '255,229,200',
- '255,225,198',
- '255,228,196',
- '255,223,194',
- '255,226,192',
- '255,221,190',
- '255,225,188',
- '255,219,186',
- '255,223,184',
- '255,217,182',
- '255,221,180',
- '255,215,177',
- '255,219,175',
- '255,213,173',
- '255,217,171',
- '255,211,168',
- '255,215,166',
- '255,209,163',
- '255,213,161',
- '255,206,159',
- '255,211,156',
- '255,204,153',
- '255,208,151',
- '255,201,148',
- '255,206,146',
- '255,199,143',
- '255,203,141',
- '255,196,137',
- '255,201,135',
- '255,193,132',
- '255,198,130',
- '255,190,126',
- '255,195,124',
- '255,187,120',
- '255,192,118',
- '255,184,114',
- '255,189,111',
- '255,180,107',
- '255,185,105',
- '255,177,101',
- '255,182,98',
- '255,173,94',
- '255,178,91',
- '255,169,87',
- '255,174,84',
- '255,165,79',
- '255,170,77',
- '255,161,72',
- '255,166,69',
- '255,157,63',
- '255,162,60',
- '255,152,54',
- '255,157,51',
- '255,147,44',
- '255,152,41',
- '255,142,33',
- '255,146,29',
- '255,137,18',
- '255,141,11',
- ];
- exports.rgbBulbEffectList = ['', 'White', 'Color', 'Sleep', 'Reading', 'Party', 'Relax'];
- exports.presetEffectMap = new Map([
- [
- 'Sleep',
- {
- channel0: '0',
- channel1: '0',
- channel2: '189',
- channel3: '118',
- channel4: '0',
- zyx_mode: 3,
- type: 'middle',
- },
- ],
- [
- 'Reading',
- {
- channel0: '0',
- channel1: '0',
- channel2: '255',
- channel3: '255',
- channel4: '255',
- zyx_mode: 4,
- type: 'middle',
- },
- ],
- [
- 'Party',
- {
- channel0: '0',
- channel1: '0',
- channel2: '207',
- channel3: '56',
- channel4: '3',
- zyx_mode: 5,
- type: 'middle',
- },
- ],
- [
- 'Relax',
- {
- channel0: '0',
- channel1: '0',
- channel2: '56',
- channel3: '85',
- channel4: '179',
- zyx_mode: 6,
- type: 'middle',
- },
- ],
- ]);
- exports.doubleColorBulbEffectList = ['bright', 'read', 'computer', 'nightLight'];
- exports.doubleColorBulbLtypeMap = new Map([
- [
- 'bright',
- {
- ltype: 'bright',
- bright: {
- br: 100,
- ct: 255,
- },
- },
- ],
- [
- 'read',
- {
- ltype: 'read',
- read: {
- br: 50,
- ct: 0,
- },
- },
- ],
- [
- 'computer',
- {
- ltype: 'computer',
- computer: {
- br: 20,
- ct: 255,
- },
- },
- ],
- [
- 'nightLight',
- {
- ltype: 'nightLight',
- nightLight: {
- br: 5,
- ct: 0,
- },
- },
- ],
- ]);
- exports.rbgLEDBulbEffectList = ['bright', 'goodNight', 'read', 'nightLight', 'party', 'leisure', 'soft', 'colorful'];
- exports.rbgLEDBulbLtypeMap = new Map([
- [
- 'bright',
- {
- ltype: 'bright',
- bright: {
- r: 255,
- g: 255,
- b: 255,
- br: 100,
- },
- },
- ],
- [
- 'goodNight',
- {
- ltype: 'goodNight',
- goodNight: {
- r: 255,
- g: 254,
- b: 127,
- br: 25,
- },
- },
- ],
- [
- 'read',
- {
- ltype: 'read',
- read: {
- r: 255,
- g: 255,
- b: 255,
- br: 60,
- },
- },
- ],
- [
- 'nightLight',
- {
- ltype: 'nightLight',
- nightLight: {
- r: 255,
- g: 242,
- b: 226,
- br: 5,
- },
- },
- ],
- [
- 'party',
- {
- ltype: 'party',
- party: {
- r: 254,
- g: 132,
- b: 0,
- br: 45,
- tf: 1,
- sp: 1,
- },
- },
- ],
- [
- 'leisure',
- {
- ltype: 'leisure',
- leisure: {
- r: 0,
- g: 40,
- b: 254,
- br: 55,
- tf: 1,
- sp: 1,
- },
- },
- ],
- [
- 'soft',
- {
- ltype: 'soft',
- soft: {
- r: 38,
- g: 254,
- b: 0,
- br: 20,
- tf: 1,
- sp: 1,
- },
- },
- ],
- [
- 'colorful',
- {
- ltype: 'colorful',
- colorful: {
- r: 255,
- g: 0,
- b: 0,
- br: 100,
- tf: 1,
- sp: 1,
- },
- },
- ],
- ]);
- exports.uiid137EffectList = new Map([
- ['Reading', 7],
- ['Work', 18],
- ['Creek', 20],
- ['Ocean', 19],
- ['Candle', 13],
- ['Moonlight', 25],
- ['Goodnight', 14],
- ['Vibrant', 6],
- ['Leisure', 8],
- ['Sunrise', 9],
- ['Sunshine', 10],
- ['Radiant', 11],
- ['Dreamy', 12],
- ['Sunny', 15],
- ['Festive', 16],
- ['Gorgeous', 17],
- ['Gentle', 21],
- ['Passion', 22],
- ['Joy', 23],
- ['Rainbow', 24],
- ['Sunset', 26]
- ]);
- exports.uiid173EffectList = new Map([
- ['Magic Forward', 7],
- ['Magic Back', 8],
- ['7 Color Wave', 35],
- ['7 Color Wave Back', 36],
- ['Rgb Wave', 37],
- ['Rgb Wave Back', 38],
- ['Ycp Wave', 39],
- ['Ycp Wave Back', 40],
- ['7 Color Race', 29],
- ['7 Color Race Back', 30],
- ['Rgb Race', 31],
- ['Rgb Race Back', 32],
- ['Ycp Race', 33],
- ['Ycp Race Back', 34],
- ['7 Color Flush', 41],
- ['7 Color Flush Back', 42],
- ['Rgb Flush', 43],
- ['Rgb Flush Back', 44],
- ['Ycp Flush', 45],
- ['Ycp Flush Back', 46],
- ['7 Color Flush Close', 47],
- ['7 Color Flush Open', 48],
- ['Rgb Flush Close', 49],
- ['Rgb Flush Open', 50],
- ['Ycp Flush Close', 51],
- ['Ycp flush Open', 52],
- ['Red Marquee', 22],
- ['Green Marquee', 23],
- ['Blue Marquee', 24],
- ['Yellow Marquee', 25],
- ['Cyan Marquee', 26],
- ['Purple Marquee', 27],
- ['White Marquee', 28],
- ['7 Color Jump', 10],
- ['Rgb Jump', 11],
- ['Ycp Jump', 12],
- ['7 Color Gradual', 16],
- ['RY Gradual', 17],
- ['RP Gradual', 18],
- ['GC Gradual', 19],
- ['GY Gradual', 20],
- ['BP Gradual', 21],
- ['7 Color Strobe', 13],
- ['Rgb Strobe', 14],
- ['Ycp Strobe', 15],
- ]);
|