@@ -204,7 +204,19 @@ const definitions: DefinitionWithExtend[] = [
204
204
model : '3RSP019BZ' ,
205
205
vendor : 'Third Reality' ,
206
206
description : 'Zigbee / BLE smart plug' ,
207
- extend : [ onOff ( ) ] ,
207
+ extend : [
208
+ onOff ( ) ,
209
+ deviceAddCustomCluster ( '3rPlugGen1SpecialCluster' , {
210
+ ID : 0xff03 ,
211
+ manufacturerCode : 0x1233 ,
212
+ attributes : {
213
+ onToOffDelay : { ID : 0x0001 , type : Zcl . DataType . UINT16 } ,
214
+ offToOnDelay : { ID : 0x0002 , type : Zcl . DataType . UINT16 } ,
215
+ } ,
216
+ commands : { } ,
217
+ commandsResponse : { } ,
218
+ } ) ,
219
+ ] ,
208
220
ota : ota . zigbeeOTA ,
209
221
} ,
210
222
{
@@ -227,6 +239,17 @@ const definitions: DefinitionWithExtend[] = [
227
239
}
228
240
} ,
229
241
exposes : [ e . cover_position ( ) , e . battery ( ) ] ,
242
+ extend : [
243
+ deviceAddCustomCluster ( '3rRollerShadeSpecialCluster' , {
244
+ ID : 0xfff1 ,
245
+ manufacturerCode : 0x1233 ,
246
+ attributes : {
247
+ infraredOff : { ID : 0x0000 , type : Zcl . DataType . UINT8 } ,
248
+ } ,
249
+ commands : { } ,
250
+ commandsResponse : { } ,
251
+ } ) ,
252
+ ] ,
230
253
} ,
231
254
{
232
255
zigbeeModel : [ 'TRZB3' ] ,
@@ -356,6 +379,19 @@ const definitions: DefinitionWithExtend[] = [
356
379
} ) ;
357
380
device . save ( ) ;
358
381
} ,
382
+ extend : [
383
+ deviceAddCustomCluster ( '3rPlugGen2SpecialCluster' , {
384
+ ID : 0xff03 ,
385
+ manufacturerCode : 0x1233 ,
386
+ attributes : {
387
+ resetSummationDelivered : { ID : 0x0000 , type : Zcl . DataType . UINT8 } ,
388
+ onToOffDelay : { ID : 0x0001 , type : Zcl . DataType . UINT16 } ,
389
+ offToOnDelay : { ID : 0x0002 , type : Zcl . DataType . UINT16 } ,
390
+ } ,
391
+ commands : { } ,
392
+ commandsResponse : { } ,
393
+ } ) ,
394
+ ] ,
359
395
} ,
360
396
{
361
397
zigbeeModel : [ '3RVS01031Z' ] ,
@@ -443,6 +479,19 @@ const definitions: DefinitionWithExtend[] = [
443
479
} ) ;
444
480
device . save ( ) ;
445
481
} ,
482
+ extend : [
483
+ deviceAddCustomCluster ( '3rPlugE2Specialcluster' , {
484
+ ID : 0xff03 ,
485
+ manufacturerCode : 0x1233 ,
486
+ attributes : {
487
+ resetSummationDelivered : { ID : 0x0000 , type : Zcl . DataType . UINT8 } ,
488
+ onToOffDelay : { ID : 0x0001 , type : Zcl . DataType . UINT16 } ,
489
+ offToOnDelay : { ID : 0x0002 , type : Zcl . DataType . UINT16 } ,
490
+ } ,
491
+ commands : { } ,
492
+ commandsResponse : { } ,
493
+ } ) ,
494
+ ] ,
446
495
} ,
447
496
] ;
448
497
0 commit comments