@@ -259,26 +259,72 @@ const definitions: DefinitionWithExtend[] = [
259
259
model : '3RTHS24BZ' ,
260
260
vendor : 'Third Reality' ,
261
261
description : 'Temperature and humidity sensor' ,
262
- fromZigbee : [ fz . temperature , fz . humidity ] ,
263
- toZigbee : [ ] ,
264
- exposes : [ e . temperature ( ) , e . humidity ( ) ] ,
265
- extend : [ battery ( { voltage : true } ) , forcePowerSource ( { powerSource : 'Battery' } ) ] ,
262
+ extend : [
263
+ temperature ( ) ,
264
+ humidity ( ) ,
265
+ battery ( ) ,
266
+ battery ( { voltage : true } ) ,
267
+ forcePowerSource ( { powerSource : 'Battery' } ) ,
268
+ deviceAddCustomCluster ( '3rSpecialCluster' , {
269
+ ID : 0xff01 ,
270
+ manufacturerCode : 0x1233 ,
271
+ attributes : {
272
+ celsiusDegreeCalibration : { ID : 0x0031 , type : Zcl . DataType . INT16 } ,
273
+ humidityCalibration : { ID : 0x0032 , type : Zcl . DataType . INT16 } ,
274
+ fahrenheitDegreeCalibration : { ID : 0x0033 , type : Zcl . DataType . INT16 } ,
275
+ } ,
276
+ commands : { } ,
277
+ commandsResponse : { } ,
278
+ } ) ,
279
+ ] ,
266
280
ota : ota . zigbeeOTA ,
267
281
} ,
268
282
{
269
283
zigbeeModel : [ '3RSM0147Z' ] ,
270
284
model : '3RSM0147Z' ,
271
285
vendor : 'Third Reality' ,
272
286
description : 'Soil sensor' ,
273
- extend : [ temperature ( ) , humidity ( ) , battery ( ) , forcePowerSource ( { powerSource : 'Battery' } ) ] ,
287
+ extend : [
288
+ temperature ( ) ,
289
+ humidity ( ) ,
290
+ battery ( ) ,
291
+ forcePowerSource ( { powerSource : 'Battery' } ) ,
292
+ deviceAddCustomCluster ( '3rSoilSpecialCluster' , {
293
+ ID : 0xff01 ,
294
+ manufacturerCode : 0x1407 ,
295
+ attributes : {
296
+ celsiusDegreeCalibration : { ID : 0x0031 , type : Zcl . DataType . INT16 } ,
297
+ humidityCalibration : { ID : 0x0032 , type : Zcl . DataType . INT16 } ,
298
+ fahrenheitDegreeCalibration : { ID : 0x0033 , type : Zcl . DataType . INT16 } ,
299
+ } ,
300
+ commands : { } ,
301
+ commandsResponse : { } ,
302
+ } ) ,
303
+ ] ,
274
304
ota : ota . zigbeeOTA ,
275
305
} ,
276
306
{
277
307
zigbeeModel : [ '3RTHS0224Z' ] ,
278
308
model : '3RTHS0224Z' ,
279
309
vendor : 'Third Reality' ,
280
310
description : 'Temperature and humidity sensor lite' ,
281
- extend : [ temperature ( ) , humidity ( ) , battery ( ) , forcePowerSource ( { powerSource : 'Battery' } ) ] ,
311
+ extend : [
312
+ temperature ( ) ,
313
+ humidity ( ) ,
314
+ battery ( ) ,
315
+ forcePowerSource ( { powerSource : 'Battery' } ) ,
316
+ deviceAddCustomCluster ( '3rSpecialCluster' , {
317
+ ID : 0xff01 ,
318
+ manufacturerCode : 0x1233 ,
319
+ attributes : {
320
+ celsiusDegreeCalibration : { ID : 0x0031 , type : Zcl . DataType . INT16 } ,
321
+ humidityCalibration : { ID : 0x0032 , type : Zcl . DataType . INT16 } ,
322
+ fahrenheitDegreeCalibration : { ID : 0x0033 , type : Zcl . DataType . INT16 } ,
323
+ } ,
324
+ commands : { } ,
325
+ commandsResponse : { } ,
326
+ } ) ,
327
+ ] ,
282
328
ota : ota . zigbeeOTA ,
283
329
} ,
284
330
{
0 commit comments