-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
Copy pathikea.ts
966 lines (963 loc) · 36.8 KB
/
ikea.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
import {Zcl} from 'zigbee-herdsman';
import {repInterval} from '../lib/constants';
import {
addCustomClusterManuSpecificIkeaAirPurifier,
addCustomClusterManuSpecificIkeaUnknown,
addCustomClusterManuSpecificIkeaVocIndexMeasurement,
ikeaAirPurifier,
ikeaArrowClick,
ikeaBattery,
ikeaConfigureGenPollCtrl,
ikeaConfigureRemote,
ikeaConfigureStyrbar,
ikeaDotsClick,
ikeaLight,
ikeaMediaCommands,
ikeaVoc,
styrbarCommandOn,
tradfriCommandsLevelCtrl,
tradfriCommandsOnOff,
tradfriOccupancy,
tradfriRequestedBrightness,
} from '../lib/ikea';
import {
battery,
bindCluster,
commandsLevelCtrl,
commandsOnOff,
commandsWindowCovering,
deviceAddCustomCluster,
deviceEndpoints,
electricityMeter,
humidity,
iasZoneAlarm,
identify,
illuminance,
linkQuality,
occupancy,
onOff,
pm25,
temperature,
windowCovering,
} from '../lib/modernExtend';
import {DefinitionWithExtend} from '../lib/types';
const definitions: DefinitionWithExtend[] = [
// #region light
// lights naming convention: type, light capabilities, form, diffuser type, brightness
// #region E26/E27/B22
{
zigbeeModel: ['TRADFRI bulb E27 WS opal 980lm', 'TRADFRI bulb E26 WS opal 980lm', 'TRADFRI bulb E27 WS\uFFFDopal 980lm'],
model: 'LED1545G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: [
'TRADFRI bulb E26 CWS globe 800lm',
'TRADFRI bulb E26 CWS globe 806lm',
'TRADFRI bulb E26 CWS globe 810lm',
'TRADFRI bulb E27 CWS globe 806lm',
],
model: 'LED2109G6',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, color/white spectrum, globe, opal, 800/806/810 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, color: {modes: ['xy', 'hs']}}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E27 WS clear 950lm', 'TRADFRI bulb E26 WS clear 950lm', 'TRADFRI bulb E27 WS\uFFFDclear 950lm'],
model: 'LED1546G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, clear, 950 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E27 opal 1000lm', 'TRADFRI bulb E27 W opal 1000lm'],
model: 'LED1623G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E27, white, globe, opal, 1000 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: [
'TRADFRI bulb E26 WW globe 800lm',
'TRADFRI bulb E26 WW globe 806lm',
'TRADFRI bulb E26 WW globe 810lm',
'TRADFRI bulb E27 WW globe 806lm',
],
model: 'LED2103G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, 806/810 lumen',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRIbulbE26WWglobeclear250lm'],
model: 'LED2008G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26, warm white, globe, clear, 250 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WW G95 CL 470lm',
'TRADFRI bulb E26 WW G95 CL 450lm',
'TRADFRI bulb E26 WW G95 CL 440lm',
'TRADFRI bulb E26 WW G95 CL 470lm',
],
model: 'LED2102G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, clear, 440/450/470 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: [
'TRADFRIbulbG125E27WSopal470lm',
'TRADFRIbulbG125E26WSopal450lm',
'TRADFRIbulbG125E26WSopal470lm',
'TRADFRIbulbG125E26WSopal440lm',
],
model: 'LED1936G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, opal, 440/450/470 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: [
'TRADFRIbulbE27WSglobeopal1055lm',
'TRADFRIbulbE26WSglobeopal1100lm',
'TRADFRIbulbE26WSglobeopal1160lm',
'TRADFRIbulbE26WSglobeopal1055lm',
],
model: 'LED2003G10',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/27, white spectrum, globe, opal, 1055/1100/1160 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRIbulbE26WSglobeclear800lm', 'TRADFRIbulbE27WSglobeclear806lm', 'TRADFRIbulbE26WSglobeclear806lm'],
model: 'LED2004G8',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, clear, 800/806 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 opal 470lm',
'TRADFRI bulb E27 W opal 470lm',
'TRADFRIbulbT120E27WSopal470lm',
'TRADFRIbulbT120E26WSopal450lm',
'TRADFRIbulbT120E26WSopal470lm',
],
model: 'LED1937T5',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, T120 cylinder, opal, 450/470 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E27 WW clear 250lm', 'TRADFRI bulb E26 WW clear 250lm'],
model: 'LED1842G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, clear, 250 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRIbulbE27WWclear250lm', 'TRADFRIbulbE26WWclear250lm'],
model: 'LED1934G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, clear, 250 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E26 opal 1000lm', 'TRADFRI bulb E26 W opal 1000lm'],
model: 'LED1622G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E26, white, globe, opal, 1000 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E26 CWS 800lm', 'TRADFRI bulb E27 CWS 806lm', 'TRADFRI bulb E26 CWS 806lm', 'TRADFRI bulb E26 CWS 810lm'],
model: 'LED1924G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, color/white spectrum, globe, opal, 800/806/810 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, color: true, turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E27 WS opal 1000lm', 'TRADFRI bulb E26 WS opal 1000lm'],
model: 'LED1732G11',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, opal, 1000 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E27 WW 806lm', 'TRADFRI bulb E26 WW 806lm'],
model: 'LED1836G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, opal, 806 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E27 WS clear 806lm', 'TRADFRI bulb E26 WS clear 806lm'],
model: 'LED1736G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, clear, 806 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WS globe 1055lm',
'TRADFRI bulb E26 WS globe 1055lm',
'TRADFRI bulb E26 WS globe 1100lm',
'TRADFRI bulb E26 WS globe 1160lm',
],
model: 'LED2201G8',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/27, white spectrum, globe, opal, 1055/1100/1160 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRIbulbPAR38WS900lm'],
model: 'LED2006R9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26, white spectrum, PAR38 downlight, clear, 900 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRIbulbB22WSglobeopal1055lm', 'TRADFRIbulbB22WSglobeopal1055lm'],
model: 'LED2035G10',
vendor: 'IKEA',
description: 'TRADFRI bulb B22, white spectrum, globe, opal, 1055 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
// #endregion E26/E27/B22
{
zigbeeModel: [
'TRADFRI bulb E27 CWS opal 600lm',
'TRADFRI bulb E26 CWS opal 600lm',
'TRADFRI bulb E14 CWS opal 600lm',
'TRADFRI bulb E12 CWS opal 600lm',
'TRADFRI bulb E27 C/WS opal 600',
],
model: 'LED1624G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E26/E27, color/white spectum, globe, opal, 600 lm',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaLight({colorTemp: {range: [153, 500], viaColor: true}, color: true}), // light is pure RGB (XY), advertise 2000K-6500K
identify(),
],
},
// #region E12/E14/E17
{
zigbeeModel: ['TRADFRI bulb E14 WS candle 470lm', 'TRADFRI bulb E12 WS candle 450lm'],
model: 'LED2107C4',
vendor: 'IKEA',
description: 'TRADFRI bulb E14, white spectrum, candle, opal, 470 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E14 WS opal 400lm', 'TRADFRI bulb E12 WS opal 400lm'],
model: 'LED1536G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14, white spectrum, globe, opal, 400 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E14 WS 470lm', 'TRADFRI bulb E12 WS 450lm', 'TRADFRI bulb E17 WS 440lm', 'TRADFRI bulb E17 WS candle 440lm'],
model: 'LED1835C6',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, white spectrum, candle, opal, 450/470/440 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E14 WS globe 470lm', 'TRADFRI bulb E12 WS globe 450lm'],
model: 'LED2101G4',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14, white spectrum, globe, opal, 450/470 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E14 WS opal 600lm'],
model: 'LED1733G7',
vendor: 'IKEA',
description: 'TRADFRI bulb E14, white spectrum, globe, opal, 600 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E14 W op/ch 400lm', 'TRADFRI bulb E12 W op/ch 400lm', 'TRADFRI bulb E17 W op/ch 400lm'],
model: 'LED1649C5',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, white, candle, opal, 400 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: [
'TRADFRIbulbE14WSglobeopal470lm',
'TRADFRIbulbE12WSglobeopal470lm',
'TRADFRI bulb E17 WS globe 440lm',
'TRADFRIbulbE17WSglobeopal470lm',
],
model: 'LED2002G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E14/E12/E17, white spectrum, globe, clear, 440/470 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E12 WS opal 600lm', 'TRADFRI bulb E17 WS opal 600lm'],
model: 'LED1738G7',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E17, white spectrum, globe, opal, 600 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E14 CWS 470lm', 'TRADFRI bulb E12 CWS 450lm', 'TRADFRI bulb E17 CWS 440lm'],
model: 'LED1925G6',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, color/white spectrum, globe, opal, 440/450/470 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, color: true, turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['TRADFRIbulbE14WWclear250lm', 'TRADFRIbulbE12WWclear250lm', 'TRADFRIbulbE17WWclear250lm'],
model: 'LED1935C3',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, warm white, candle, clear, 250 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRIbulbE12WWcandleclear250lm'],
model: 'LED2009C3',
vendor: 'IKEA',
description: 'TRADFRI bulb E12, warm white, candle, clear, 250 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRIbulbE14WScandleopal470lm', 'TRADFRIbulbE12WScandleopal450lm', 'TRADFRIbulbE17WScandleopal440lm'],
model: 'LED1949C5',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, white spectrum, candle, opal, 450/470/440 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb E14 CWS globe 806lm', 'TRADFRI bulb E12 CWS globe 800lm', 'TRADFRI bulb E17 CWS globe 810lm'],
model: 'LED2111G6',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, color/white spectrum, globe, opal, 800/806/810 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, color: {modes: ['xy', 'hs']}}), identify()],
},
// #endregion E12/E14/E17
// #region GU10
{
zigbeeModel: [
'\u001aTRADFRI bulb GU10 WW 345lm',
'TRADFRI bulb GU10 WW 345lm',
'\\u001TRADFRI bulb GU10 WW 345lm',
'\u001aTRADFRI bulb GU10 WW 345lm8',
'TRADFRI bulb GU10 WW 380lm',
],
model: 'LED2104R3',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, warm white, 345/380 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRI bulb GU10 WS 400lm'],
model: 'LED1537R6/LED1739R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, white spectrum, 400 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI bulb GU10 W 400lm'],
model: 'LED1650R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, white, 400 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRI bulb GU10 WW 400lm'],
model: 'LED1837R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, warm white, 400 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['TRADFRI bulb GU10 CWS 345lm', 'TRADFRI bulb GU10 CWS 380lm'],
model: 'LED1923R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, color/white spectrum, 345/380 lm',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaLight({colorTemp: {range: [153, 500], viaColor: true}, color: true}), // light is pure RGB (XY), advertise 2000K-6500K
identify(),
],
},
{
zigbeeModel: [
'TRADFRI_bulb_GU10_WS_345lm',
'TRADFRIbulbGU10WS345lm',
'TRADFRI bulb GU10 WS 345lm',
'TRADFRIbulbGU10WS380lm',
'TRADFRI bulb GU10 WS 380lm',
],
model: 'LED2005R5/LED2106R3',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, white spectrum, 345/380 lm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
// #endregion GU10
// #region light panels
{
zigbeeModel: ['LEPTITER Recessed spot light'],
model: 'T1820',
vendor: 'IKEA',
description: 'LEPTITER recessed spot light, white spectrum',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW37'],
model: 'T2037',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 37 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW24'],
model: 'T2035',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 24 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW10'],
model: 'T2105',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 10 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW15'],
model: 'T2106',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 15 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['JETSTROM 40100'],
model: 'L2208',
vendor: 'IKEA',
description: 'JETSTROM ceiling light panel, white spectrum, 100x40 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['JETSTROM 6060'],
model: 'L2207',
vendor: 'IKEA',
description: 'JETSTROM ceiling light panel, white spectrum, 60x60 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['JETSTROM 3030 wall'],
model: 'L2205',
vendor: 'IKEA',
description: 'JETSTROM wall light panel, color/white spectrum, 30x30 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, color: true}), identify()],
},
{
zigbeeModel: ['JETSTROM 3030 ceiling'],
model: 'L2206',
vendor: 'IKEA',
description: 'JETSTROM ceiling light panel, color/white spectrum, 30x30 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, color: true}), identify()],
},
{
zigbeeModel: ['JORMLIEN door WS 40x80'],
model: 'L1530',
vendor: 'IKEA',
description: 'JORMLIEN door light panel, white spectrum, 40x80 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['FLOALT panel WS 30x30'],
model: 'L1527',
vendor: 'IKEA',
description: 'FLOALT light panel, white spectrum, 30x30 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['FLOALT panel WS 60x60'],
model: 'L1529',
vendor: 'IKEA',
description: 'FLOALT light panel, white spectrum, 60x60 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['FLOALT panel WS 30x90'],
model: 'L1528',
vendor: 'IKEA',
description: 'FLOALT light panel, white spectrum, 30x90 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['SURTE door WS 38x64'],
model: 'L1531',
vendor: 'IKEA',
description: 'SURTE door light panel, white spectrum, 38x64 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['GUNNARP panel round'],
model: 'T1828',
vendor: 'IKEA',
description: 'GUNNARP light panel, round',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['GUNNARP panel 40*40'],
model: 'T1829',
vendor: 'IKEA',
description: 'GUNNARP light panel, 40x40 cm',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['TRADFRI Light Engine'],
model: 'T2011',
vendor: 'IKEA',
description: 'OSVALLA panel round',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
// #endregion light panels
// #region other lights
{
zigbeeModel: ['NYMANE PENDANT'],
model: '90504044',
vendor: 'IKEA',
description: 'NYMANE pendant lamp',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true}), identify()],
},
{
zigbeeModel: ['Pendant lamp WW'],
model: 'T2030',
vendor: 'IKEA',
description: 'PILSKOTT pendant lamp, warm white',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['Floor lamp WW'],
model: 'G2015',
vendor: 'IKEA',
description: 'PILSKOTT floor lamp, warm white',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight(), identify()],
},
{
zigbeeModel: ['ORMANAS LED Strip'],
model: 'L2112',
vendor: 'IKEA',
description: 'ORMANAS LED strip',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({colorTemp: true, color: true}), identify()],
},
{
zigbeeModel: ['TRADFRI transformer 10W', 'TRADFRI Driver 10W'],
model: 'ICPSHC24-10EU-IL-1/ICPSHC24-10EU-IL-2',
vendor: 'IKEA',
description: 'TRADFRI LED driver, 10 w',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['TRADFRI transformer 30W', 'TRADFRI Driver 30W'],
model: 'ICPSHC24-30EU-IL-1/ICPSHC24-10EU-IL-2',
vendor: 'IKEA',
description: 'TRADFRI LED driver, 30 w',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({turnsOffAtBrightness1: true}), identify()],
},
{
zigbeeModel: ['SILVERGLANS IP44 LED driver'],
model: 'ICPSHC24-30-IL44-1',
vendor: 'IKEA',
description: 'SILVERGLANS LED driver, 30 w, IP44',
extend: [addCustomClusterManuSpecificIkeaUnknown(), ikeaLight({turnsOffAtBrightness1: true}), identify()],
},
// #endregion other lights
// #endregion light
// #region on/off controls
{
zigbeeModel: ['TRADFRI control outlet'],
model: 'E1603/E1702/E1708',
vendor: 'IKEA',
description: 'TRADFRI control outlet',
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify()],
ota: true,
},
{
zigbeeModel: ['ASKVADER on/off switch'],
model: 'E1836',
vendor: 'IKEA',
description: 'ASKVADER on/off switch',
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify()],
ota: true,
},
{
zigbeeModel: ['KNYCKLAN receiver'],
model: 'E1842',
vendor: 'IKEA',
description: 'KNYCKLAN electronic dishwasher shut-off unit',
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), iasZoneAlarm({zoneType: 'water_leak', zoneAttributes: ['alarm_1']}), identify()],
ota: true,
},
{
zigbeeModel: ['TRETAKT Smart plug'],
model: 'E2204',
vendor: 'IKEA',
description: 'TRETAKT smart plug',
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify()],
ota: true,
},
{
zigbeeModel: ['INSPELNING Smart plug'],
model: 'E2206',
vendor: 'IKEA',
description: 'INSPELNING smart plug',
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), electricityMeter()],
ota: true,
configure: async (device) => {
const endpoint = device.getEndpoint(1);
// Enable reporting of powerDivisor, needs to change dynamically with the amount of power
// For details, see: https://github.com/Koenkk/zigbee2mqtt/issues/23961#issuecomment-2366733453
await endpoint.configureReporting('haElectricalMeasurement', [
{attribute: 'acPowerDivisor', minimumReportInterval: 10, maximumReportInterval: repInterval.MAX, reportableChange: 1},
]);
},
},
// #endregion on/off controls
// #region blinds
{
zigbeeModel: ['FYRTUR block-out roller blind'],
model: 'E1757',
vendor: 'IKEA',
description: 'FYRTUR roller blind, block-out',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureGenPollCtrl(),
windowCovering({controls: ['lift']}),
identify(),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['KADRILJ roller blind'],
model: 'E1926',
vendor: 'IKEA',
description: 'KADRILJ roller blind',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureGenPollCtrl(),
windowCovering({controls: ['lift']}),
identify(),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['PRAKTLYSING cellular blind'],
model: 'E2102',
vendor: 'IKEA',
description: 'PRAKTLYSING cellular blind',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureGenPollCtrl(),
windowCovering({controls: ['lift']}),
identify(),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['TREDANSEN block-out cellul blind'],
model: 'E2103',
vendor: 'IKEA',
description: 'TREDANSEN cellular blind, block-out',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureGenPollCtrl(),
windowCovering({controls: ['lift']}),
identify(),
ikeaBattery(),
],
ota: true,
},
// #endregion blinds
// #region appliances
{
zigbeeModel: ['STARKVIND Air purifier', 'STARKVIND Air purifier table'],
model: 'E2007',
vendor: 'IKEA',
description: 'STARKVIND air purifier',
whiteLabel: [
{vendor: 'IKEA', model: 'E2006', description: 'STARKVIND air purifier table', fingerprint: [{modelID: 'STARKVIND Air purifier table'}]},
],
extend: [addCustomClusterManuSpecificIkeaUnknown(), addCustomClusterManuSpecificIkeaAirPurifier(), ikeaAirPurifier(), identify()],
ota: true,
},
{
zigbeeModel: ['TRADFRI signal repeater'],
model: 'E1746',
vendor: 'IKEA',
description: 'TRADFRI signal repeater',
extend: [addCustomClusterManuSpecificIkeaUnknown(), identify(), linkQuality({reporting: true})],
ota: true,
},
// #endregion appliances
// #region remotes
{
zigbeeModel: ['TRADFRI wireless dimmer'],
model: 'ICTC-G-1',
vendor: 'IKEA',
description: 'TRADFRI wireless dimmer',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
identify({isSleepy: true}),
commandsLevelCtrl({
commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop', 'brightness_move_to_level'],
}),
battery({dontDividePercentage: true}),
],
ota: true,
},
{
zigbeeModel: ['TRADFRI remote control'],
model: 'E1524/E1810',
vendor: 'IKEA',
description: 'TRADFRI remote control',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureRemote(),
identify({isSleepy: true}),
tradfriCommandsOnOff(),
tradfriCommandsLevelCtrl(),
ikeaArrowClick(),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['Remote Control N2'],
model: 'E2001/E2002',
vendor: 'IKEA',
description: 'STYRBAR remote control',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureStyrbar(),
identify({isSleepy: true}),
styrbarCommandOn(),
commandsOnOff({commands: ['off'], bind: false}),
commandsLevelCtrl({commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop'], bind: false}),
ikeaArrowClick({styrbar: true, bind: false}),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['TRADFRI on/off switch'],
model: 'E1743',
vendor: 'IKEA',
description: 'TRADFRI on/off switch',
meta: {disableActionGroup: true},
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureRemote(),
identify({isSleepy: true}),
commandsOnOff({commands: ['on', 'off']}),
commandsLevelCtrl({commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop']}),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['KNYCKLAN Open/Close remote'],
model: 'E1841',
vendor: 'IKEA',
description: 'KNYCKLAN open/close water valve remote',
meta: {disableActionGroup: true},
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
ikeaConfigureRemote(),
identify({isSleepy: true}),
commandsOnOff({commands: ['on', 'off']}),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['TRADFRI SHORTCUT Button'],
model: 'E1812',
vendor: 'IKEA',
description: 'TRADFRI shortcut button',
meta: {disableActionGroup: true},
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
identify({isSleepy: true}),
commandsOnOff({commands: ['on', 'off']}),
commandsLevelCtrl({commands: ['brightness_move_up', 'brightness_stop']}),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['SYMFONISK Sound Controller'],
model: 'E1744',
vendor: 'IKEA',
description: 'SYMFONISK sound remote, gen 1',
extend: [
identify({isSleepy: true}),
commandsOnOff({commands: ['toggle']}),
commandsLevelCtrl({
commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop', 'brightness_step_up', 'brightness_step_down'],
}),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['TRADFRI open/close remote'],
model: 'E1766',
vendor: 'IKEA',
description: 'TRADFRI open/close remote',
extend: [ikeaConfigureRemote(), identify({isSleepy: true}), commandsWindowCovering(), ikeaBattery()],
ota: true,
},
{
zigbeeModel: ['SYMFONISK sound remote gen2'],
model: 'E2123',
vendor: 'IKEA',
description: 'SYMFONISK sound remote, gen 2',
extend: [
bindCluster({cluster: 'genPollCtrl', clusterType: 'input'}),
deviceEndpoints({endpoints: {'1': 2, '2': 3}}),
identify({isSleepy: true}),
commandsOnOff({commands: ['toggle']}),
ikeaMediaCommands(),
ikeaDotsClick({endpointNames: ['1', '2'], dotsPrefix: true}),
battery({voltage: true}),
],
ota: true,
},
{
zigbeeModel: ['RODRET Dimmer'],
model: 'E2201',
vendor: 'IKEA',
description: 'RODRET wireless dimmer/power switch',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
bindCluster({cluster: 'genPollCtrl', clusterType: 'input'}),
identify({isSleepy: true}),
commandsOnOff({commands: ['on', 'off']}),
commandsLevelCtrl({commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop']}),
battery(),
],
ota: true,
},
{
zigbeeModel: ['SOMRIG shortcut button'],
model: 'E2213',
vendor: 'IKEA',
description: 'SOMRIG shortcut button',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
bindCluster({cluster: 'genPollCtrl', clusterType: 'input'}),
deviceEndpoints({endpoints: {'1': 1, '2': 2}}),
identify({isSleepy: true}),
ikeaDotsClick({endpointNames: ['1', '2']}),
battery(),
],
ota: true,
},
// #endregion remotes
// #region sensors
{
zigbeeModel: ['TRADFRI motion sensor'],
model: 'E1525/E1745',
vendor: 'IKEA',
description: 'TRADFRI motion sensor',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
tradfriOccupancy(),
tradfriRequestedBrightness(),
identify({isSleepy: true}),
ikeaBattery(),
],
ota: true,
},
{
zigbeeModel: ['VINDSTYRKA'],
model: 'E2112',
vendor: 'IKEA',
description: 'VINDSTYRKA air quality and humidity sensor',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
addCustomClusterManuSpecificIkeaVocIndexMeasurement(),
deviceAddCustomCluster('pm25Measurement', {
ID: 0x042a,
attributes: {
measuredValue: {ID: 0x0000, type: Zcl.DataType.SINGLE_PREC},
},
commands: {},
commandsResponse: {},
}),
temperature(),
humidity(),
pm25({reporting: {min: '1_MINUTE', max: '2_MINUTES', change: 2}}),
ikeaVoc(),
identify(),
],
ota: true,
},
{
zigbeeModel: ['VALLHORN Wireless Motion Sensor'],
model: 'E2134',
vendor: 'IKEA',
description: 'VALLHORN wireless motion sensor',
extend: [addCustomClusterManuSpecificIkeaUnknown(), occupancy(), illuminance(), identify({isSleepy: true}), battery()],
ota: true,
},
{
zigbeeModel: ['PARASOLL Door/Window Sensor'],
model: 'E2013',
vendor: 'IKEA',
description: 'PARASOLL door/window sensor',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
deviceEndpoints({endpoints: {'1': 1, '2': 2}}),
bindCluster({cluster: 'ssIasZone', clusterType: 'input', endpointNames: ['2']}),
iasZoneAlarm({
zoneType: 'contact',
zoneAttributes: ['alarm_1'],
// This is required to prevent the device's reported state being stuck after it quickly changed back and forth:
zoneStatusReporting: true,
}),
identify({isSleepy: true}),
battery(),
],
ota: true,
},
{
zigbeeModel: ['BADRING Water Leakage Sensor'],
model: 'E2202',
vendor: 'IKEA',
description: 'BADRING water leakage sensor',
extend: [
addCustomClusterManuSpecificIkeaUnknown(),
bindCluster({cluster: 'ssIasZone', clusterType: 'input'}),
iasZoneAlarm({
zoneType: 'water_leak',
zoneAttributes: ['alarm_1'],
// This is required to prevent the device's reported state being stuck after it quickly changed back and forth:
zoneStatusReporting: true,
}),
identify({isSleepy: true}),
battery(),
],
ota: true,
},
// #endregion sensors
];
export default definitions;
module.exports = definitions;