@@ -283,7 +283,7 @@ const definitions: DefinitionWithExtend[] = [
283
283
extend : [
284
284
temperature ( ) ,
285
285
humidity ( ) ,
286
- battery ( { voltage : true } ) ,
286
+ battery ( ) ,
287
287
deviceAddCustomCluster ( '3rSpecialCluster' , {
288
288
ID : 0xff01 ,
289
289
manufacturerCode : 0x1233 ,
@@ -332,7 +332,7 @@ const definitions: DefinitionWithExtend[] = [
332
332
battery ( ) ,
333
333
deviceAddCustomCluster ( '3rSpecialCluster' , {
334
334
ID : 0xff01 ,
335
- manufacturerCode : 0x1233 ,
335
+ manufacturerCode : 0x1407 ,
336
336
attributes : {
337
337
celsiusDegreeCalibration : { ID : 0x0031 , type : Zcl . DataType . INT16 } ,
338
338
humidityCalibration : { ID : 0x0032 , type : Zcl . DataType . INT16 } ,
@@ -344,6 +344,29 @@ const definitions: DefinitionWithExtend[] = [
344
344
] ,
345
345
ota : ota . zigbeeOTA ,
346
346
} ,
347
+ {
348
+ zigbeeModel : [ '3RWK0148Z' ] ,
349
+ model : '3RWK0148Z' ,
350
+ vendor : 'Third Reality' ,
351
+ description : 'Smart watering kit' ,
352
+ extend : [
353
+ battery ( ) ,
354
+ onOff ( ) ,
355
+ deviceAddCustomCluster ( '3rWateringSpecialCluster' , {
356
+ ID : 0xfff2 ,
357
+ manufacturerCode : 0x1407 ,
358
+ attributes : {
359
+ watering_times : { ID : 0x0000 , type : Zcl . DataType . UINT8 } ,
360
+ interval_day : { ID : 0x0001 , type : Zcl . DataType . UINT8 } ,
361
+ more_watering_times : { ID : 0x0002 , type : Zcl . DataType . UINT16 } ,
362
+ water_speed_control : { ID : 0x0003 , type : Zcl . DataType . UINT8 } ,
363
+ } ,
364
+ commands : { } ,
365
+ commandsResponse : { } ,
366
+ } ) ,
367
+ ] ,
368
+ ota : ota . zigbeeOTA ,
369
+ } ,
347
370
{
348
371
zigbeeModel : [ '3RSP02028BZ' ] ,
349
372
model : '3RSP02028BZ' ,
0 commit comments