zigbee-herdsman-converters 15.55.2 → 15.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/devices/lixee.js +134 -118
- package/devices/lixee.js.map +1 -1
- package/devices/m/303/274ller_licht.js +3 -0
- package/devices/m/303/274ller_licht.js.map +1 -1
- package/devices/niko.d.ts +1 -0
- package/devices/niko.js +1 -1
- package/devices/niko.js.map +1 -1
- package/devices/philips.js +3 -2
- package/devices/philips.js.map +1 -1
- package/devices/sinope.js +53 -0
- package/devices/sinope.js.map +1 -1
- package/devices/tuya.js +11 -8
- package/devices/tuya.js.map +1 -1
- package/devices/xiaomi.js +1 -1
- package/devices/xiaomi.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [15.56.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.55.3...v15.56.0) (2023-08-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **add:** LM4110ZB ([#6069](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6069)) ([c8d91e4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c8d91e486da593a244d6fdaf00de89bade2bc072))
|
|
9
|
+
* Refactor and add totalApparentPower for 3 phases data for LiXee ([#6070](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6070)) ([9edcb95](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9edcb954a35346912175b609f373ae743cab5170))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* Add missing actions to Philips 324131092621 ([#6071](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6071)) ([452f30e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/452f30e49a811cf18f3e7cda1fec7cd45ca33206))
|
|
15
|
+
* **detect:** Detect `_TZ3000_msl6wxk9` as TuYa ZMS-102 ([#6065](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6065)) ([bae5254](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bae525499d31e42867ab3b0ffd64f14903faf37e))
|
|
16
|
+
* Fix `_TZ3000_lepzuhto` not detected as supported. https://github.com/Koenkk/zigbee-herdsman-converters/pull/5864 ([8bacfd3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8bacfd389ce5b4e51506b3c302e0a260fad3885f))
|
|
17
|
+
|
|
18
|
+
## [15.55.3](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.55.2...v15.55.3) (2023-08-10)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **detect:** Detect `Remote Control`/`MLI` as Müller Licht 404049D. https://github.com/Koenkk/zigbee2mqtt/issues/18569 ([bf70a7e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bf70a7e3f8356ed3a8063ae376ab6327b6a1ee99))
|
|
24
|
+
* Fix Niko 552-721X2 state incorrect when controlled physically. https://github.com/Koenkk/zigbee2mqtt/issues/17749 ([ef5b19b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ef5b19b7748ec0cd6632408acecd36262266b50d))
|
|
25
|
+
* Remove unsupported `power_outage_count` from Xiaomi GZCGQ01LM. https://github.com/Koenkk/zigbee2mqtt/issues/18558 ([68d71ed](https://github.com/Koenkk/zigbee-herdsman-converters/commit/68d71ed5f251f77f2711ce5722965c17489ec815))
|
|
26
|
+
* Remove unsupported `tamper` from TuYa ZM-35H-Q, TS0202 and IH012-RT01 ([#6062](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6062)) ([7f4c2d6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7f4c2d6b4a715c78f0f26390285574fee4a1ad53))
|
|
27
|
+
* Update description of TuYa TS0207_water_leak_detector_2 ([#6063](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6063)) ([68b0c89](https://github.com/Koenkk/zigbee-herdsman-converters/commit/68b0c89abcb33a3cb57a04eae7dc1092c1d419db))
|
|
28
|
+
|
|
3
29
|
## [15.55.2](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.55.1...v15.55.2) (2023-08-09)
|
|
4
30
|
|
|
5
31
|
|
package/devices/lixee.js
CHANGED
|
@@ -77,6 +77,7 @@ const fzLocal = {
|
|
|
77
77
|
const result = {};
|
|
78
78
|
const elements = [
|
|
79
79
|
/* 0x0305 */ 'totalReactivePower',
|
|
80
|
+
/* 0x0306 */ 'totalApparentPower',
|
|
80
81
|
/* 0x0505 */ 'rmsVoltage',
|
|
81
82
|
/* 0x0508 */ 'rmsCurrent',
|
|
82
83
|
/* 0x050A */ 'rmsCurrentMax',
|
|
@@ -266,7 +267,7 @@ const tarifsDef = {
|
|
|
266
267
|
'BBRHPJR',
|
|
267
268
|
'DEMAIN',
|
|
268
269
|
'PEJP',
|
|
269
|
-
]
|
|
270
|
+
],
|
|
270
271
|
},
|
|
271
272
|
histo_HCHP: {
|
|
272
273
|
fname: 'Historique - HCHP',
|
|
@@ -282,7 +283,7 @@ const tarifsDef = {
|
|
|
282
283
|
'BBRHPJR',
|
|
283
284
|
'DEMAIN',
|
|
284
285
|
'PEJP',
|
|
285
|
-
]
|
|
286
|
+
],
|
|
286
287
|
},
|
|
287
288
|
histo_EJP: {
|
|
288
289
|
fname: 'Historique - EJP',
|
|
@@ -297,7 +298,7 @@ const tarifsDef = {
|
|
|
297
298
|
'BBRHCJR',
|
|
298
299
|
'BBRHPJR',
|
|
299
300
|
'DEMAIN',
|
|
300
|
-
]
|
|
301
|
+
],
|
|
301
302
|
},
|
|
302
303
|
histo_BBR: {
|
|
303
304
|
fname: 'Historique - BBR',
|
|
@@ -308,7 +309,7 @@ const tarifsDef = {
|
|
|
308
309
|
'EJPHN',
|
|
309
310
|
'EJPHPM',
|
|
310
311
|
'PEJP',
|
|
311
|
-
]
|
|
312
|
+
],
|
|
312
313
|
},
|
|
313
314
|
stand_SEM_WE_LUNDI: {
|
|
314
315
|
fname: 'Standard - Sem WE Lundi',
|
|
@@ -330,7 +331,7 @@ const tarifsDef = {
|
|
|
330
331
|
'NJOURF+1',
|
|
331
332
|
'PJOURF+1',
|
|
332
333
|
'PPOINTE1',
|
|
333
|
-
]
|
|
334
|
+
],
|
|
334
335
|
},
|
|
335
336
|
stand_SEM_WE_MERCR: {
|
|
336
337
|
fname: 'Standard - Sem WE Mercredi',
|
|
@@ -352,7 +353,7 @@ const tarifsDef = {
|
|
|
352
353
|
'NJOURF+1',
|
|
353
354
|
'PJOURF+1',
|
|
354
355
|
'PPOINTE1',
|
|
355
|
-
]
|
|
356
|
+
],
|
|
356
357
|
},
|
|
357
358
|
stand_SEM_WE_VENDR: {
|
|
358
359
|
fname: 'Standard - Sem WE Vendredi',
|
|
@@ -374,7 +375,7 @@ const tarifsDef = {
|
|
|
374
375
|
'NJOURF+1',
|
|
375
376
|
'PJOURF+1',
|
|
376
377
|
'PPOINTE1',
|
|
377
|
-
]
|
|
378
|
+
],
|
|
378
379
|
},
|
|
379
380
|
stand_BASE: {
|
|
380
381
|
fname: 'Standard - BASE',
|
|
@@ -401,7 +402,7 @@ const tarifsDef = {
|
|
|
401
402
|
'NJOURF+1',
|
|
402
403
|
'PJOURF+1',
|
|
403
404
|
'PPOINTE1',
|
|
404
|
-
]
|
|
405
|
+
],
|
|
405
406
|
},
|
|
406
407
|
stand_HPHC: {
|
|
407
408
|
fname: 'Standard - Heure Pleine Heure Creuse',
|
|
@@ -426,7 +427,7 @@ const tarifsDef = {
|
|
|
426
427
|
'NJOURF+1',
|
|
427
428
|
'PJOURF+1',
|
|
428
429
|
'PPOINTE1',
|
|
429
|
-
]
|
|
430
|
+
],
|
|
430
431
|
},
|
|
431
432
|
stand_TEMPO: {
|
|
432
433
|
fname: 'Standard - TEMPO',
|
|
@@ -447,7 +448,7 @@ const tarifsDef = {
|
|
|
447
448
|
'NJOURF+1',
|
|
448
449
|
'PJOURF+1',
|
|
449
450
|
'PPOINTE1',
|
|
450
|
-
]
|
|
451
|
+
],
|
|
451
452
|
},
|
|
452
453
|
};
|
|
453
454
|
const linkyModeDef = {
|
|
@@ -467,114 +468,129 @@ const clustersDef = {
|
|
|
467
468
|
};
|
|
468
469
|
// full list available on https://github.com/fairecasoimeme/Zlinky_TIC/blob/master/README.md
|
|
469
470
|
// Properties must be EAXCTLY ".split(/(?=[A-Z])/).join('_').toLowerCase()" of att
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
473
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
474
|
-
{ cluster: clustersDef.
|
|
475
|
-
{ cluster: clustersDef.
|
|
476
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
477
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
478
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
479
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
480
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
481
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
482
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
483
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
484
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
485
|
-
{ cluster: clustersDef.
|
|
486
|
-
{ cluster: clustersDef.
|
|
487
|
-
{ cluster: clustersDef.
|
|
488
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
489
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
490
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
491
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
492
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
493
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
494
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
495
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
496
|
-
{ cluster: clustersDef.
|
|
497
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
498
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
499
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
500
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
501
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
502
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
503
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
504
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
505
|
-
{ cluster: clustersDef.
|
|
506
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
507
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
508
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
509
|
-
{ cluster: clustersDef.
|
|
510
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
511
|
-
{ cluster: clustersDef.
|
|
512
|
-
{ cluster: clustersDef.
|
|
513
|
-
{ cluster: clustersDef.
|
|
514
|
-
{ cluster: clustersDef.
|
|
515
|
-
{ cluster: clustersDef.
|
|
516
|
-
{ cluster: clustersDef.
|
|
517
|
-
{ cluster: clustersDef.
|
|
518
|
-
{ cluster: clustersDef.
|
|
519
|
-
{ cluster: clustersDef.
|
|
520
|
-
{ cluster: clustersDef.
|
|
521
|
-
{ cluster: clustersDef.
|
|
522
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
523
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
529
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
530
|
-
{ cluster: clustersDef.
|
|
531
|
-
|
|
532
|
-
{
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
536
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
537
|
-
{ cluster: clustersDef.
|
|
538
|
-
{ cluster: clustersDef.
|
|
539
|
-
{ cluster: clustersDef.
|
|
540
|
-
{ cluster: clustersDef.
|
|
541
|
-
{ cluster: clustersDef.
|
|
542
|
-
{ cluster: clustersDef.
|
|
543
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
544
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
545
|
-
{ cluster: clustersDef.
|
|
546
|
-
{ cluster: clustersDef.
|
|
547
|
-
{ cluster: clustersDef._0x0B04, att: '
|
|
548
|
-
{ cluster: clustersDef.
|
|
549
|
-
{ cluster: clustersDef.
|
|
550
|
-
{ cluster: clustersDef.
|
|
551
|
-
|
|
552
|
-
{
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
{ cluster: clustersDef.
|
|
556
|
-
{ cluster: clustersDef.
|
|
557
|
-
{ cluster: clustersDef.
|
|
558
|
-
{ cluster: clustersDef.
|
|
559
|
-
{ cluster: clustersDef.
|
|
560
|
-
{ cluster: clustersDef.
|
|
561
|
-
{ cluster: clustersDef.
|
|
562
|
-
{ cluster: clustersDef.
|
|
563
|
-
{ cluster: clustersDef.
|
|
564
|
-
{ cluster: clustersDef._0x0702, att: '
|
|
565
|
-
{ cluster: clustersDef.
|
|
566
|
-
{ cluster: clustersDef.
|
|
567
|
-
{ cluster: clustersDef.
|
|
568
|
-
{ cluster: clustersDef.
|
|
569
|
-
{ cluster: clustersDef.
|
|
570
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
571
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
572
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
573
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
574
|
-
{ cluster: clustersDef._0xFF66, att: '
|
|
575
|
-
{ cluster: clustersDef.
|
|
576
|
-
{ cluster: clustersDef.
|
|
577
|
-
|
|
471
|
+
const allPhaseData = [
|
|
472
|
+
{ cluster: clustersDef._0x0702, att: 'currentSummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EAST', ea.STATE).withUnit('kWh').withProperty('current_summ_delivered').withDescription('Total active power delivered') },
|
|
473
|
+
{ cluster: clustersDef._0x0702, att: 'currentSummReceived', reportable: true, report: { change: 100 }, onlyProducer: true, exposes: exposes.numeric('EAIT', ea.STATE).withUnit('kWh').withProperty('current_summ_received').withDescription('Total active power injected') },
|
|
474
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier1SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF01', ea.STATE).withUnit('kWh').withProperty('current_tier1_summ_delivered').withDescription('Total provider active power delivered (index 01)') },
|
|
475
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier2SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF02', ea.STATE).withUnit('kWh').withProperty('current_tier2_summ_delivered').withDescription('Total provider active power delivered (index 02)') },
|
|
476
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier3SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF03', ea.STATE).withUnit('kWh').withProperty('current_tier3_summ_delivered').withDescription('Total provider active power delivered (index 03)') },
|
|
477
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier4SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF04', ea.STATE).withUnit('kWh').withProperty('current_tier4_summ_delivered').withDescription('Total provider active power delivered (index 04)') },
|
|
478
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier5SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF05', ea.STATE).withUnit('kWh').withProperty('current_tier5_summ_delivered').withDescription('Total provider active power delivered (index 05)') },
|
|
479
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier6SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF06', ea.STATE).withUnit('kWh').withProperty('current_tier6_summ_delivered').withDescription('Total provider active power delivered (index 06)') },
|
|
480
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier7SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF07', ea.STATE).withUnit('kWh').withProperty('current_tier7_summ_delivered').withDescription('Total provider active power delivered (index 07)') },
|
|
481
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier8SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF08', ea.STATE).withUnit('kWh').withProperty('current_tier8_summ_delivered').withDescription('Total provider active power delivered (index 08)') },
|
|
482
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier9SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF09', ea.STATE).withUnit('kWh').withProperty('current_tier9_summ_delivered').withDescription('Total provider active power delivered (index 09)') },
|
|
483
|
+
{ cluster: clustersDef._0x0702, att: 'currentTier10SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASF10', ea.STATE).withUnit('kWh').withProperty('current_tier10_summ_delivered').withDescription('Total provider active power delivered (index 10)') },
|
|
484
|
+
{ cluster: clustersDef._0x0702, att: 'meterSerialNumber', reportable: false, onlyProducer: false, exposes: exposes.text('ADSC', ea.STATE).withProperty('meter_serial_number').withDescription('Serial Number') },
|
|
485
|
+
{ cluster: clustersDef._0x0702, att: 'siteId', reportable: false, onlyProducer: false, exposes: exposes.text('PRM', ea.STATE).withProperty('site_id').withDescription('PRM number') },
|
|
486
|
+
{ cluster: clustersDef._0x0B01, att: 'availablePower', reportable: false, onlyProducer: false, exposes: exposes.numeric('PREF', ea.STATE).withUnit('kVA').withProperty('available_power').withDescription('Apparent power of reference') },
|
|
487
|
+
{ cluster: clustersDef._0x0B01, att: 'powerThreshold', reportable: false, onlyProducer: false, exposes: exposes.numeric('PCOUP', ea.STATE).withUnit('kVA').withProperty('power_threshold').withDescription('Apparent power threshold') },
|
|
488
|
+
{ cluster: clustersDef._0x0B01, att: 'softwareRevision', reportable: false, onlyProducer: false, exposes: exposes.numeric('VTIC', ea.STATE).withProperty('software_revision').withDescription('Customer tele-information protocol version') },
|
|
489
|
+
{ cluster: clustersDef._0x0B04, att: 'activePower', reportable: true, onlyProducer: false, exposes: exposes.numeric('CCASN', ea.STATE).withUnit('W').withProperty('active_power').withDescription('Current point of the active load curve drawn') },
|
|
490
|
+
{ cluster: clustersDef._0x0B04, att: 'activePowerPhB', reportable: true, onlyProducer: false, exposes: exposes.numeric('CCASN-1', ea.STATE).withUnit('W').withProperty('active_power_ph_b').withDescription('Previous point of the active load curve drawn') },
|
|
491
|
+
{ cluster: clustersDef._0x0B04, att: 'averageRmsVoltageMeasPeriod', reportable: true, onlyProducer: false, exposes: exposes.numeric('UMOY1', ea.STATE).withUnit('V').withProperty('average_rms_voltage_meas_period').withDescription('Average RMS voltage (phase 1)') },
|
|
492
|
+
{ cluster: clustersDef._0x0B04, att: 'totalReactivePower', reportable: true, onlyProducer: true, exposes: exposes.numeric('ERQ1', ea.STATE).withUnit('VArh').withProperty('total_reactive_power').withDescription('Total reactive power (Q1)') },
|
|
493
|
+
{ cluster: clustersDef._0x0B04, att: 'reactivePower', reportable: true, onlyProducer: true, exposes: exposes.numeric('ERQ2', ea.STATE).withUnit('VArh').withProperty('reactive_power').withDescription('Total reactive power (Q2)') },
|
|
494
|
+
{ cluster: clustersDef._0x0B04, att: 'reactivePowerPhB', reportable: true, onlyProducer: true, exposes: exposes.numeric('ERQ3', ea.STATE).withUnit('VArh').withProperty('reactive_power_ph_b').withDescription('Total reactive power (Q3)') },
|
|
495
|
+
{ cluster: clustersDef._0x0B04, att: 'reactivePowerPhC', reportable: true, onlyProducer: true, exposes: exposes.numeric('ERQ4', ea.STATE).withUnit('VArh').withProperty('reactive_power_ph_c').withDescription('Total reactive power (Q4)') },
|
|
496
|
+
{ cluster: clustersDef._0x0B04, att: 'rmsCurrent', reportable: true, onlyProducer: false, exposes: exposes.numeric('IRMS1', ea.STATE).withUnit('A').withProperty('rms_current').withDescription('RMS current') },
|
|
497
|
+
{ cluster: clustersDef._0x0B04, att: 'rmsVoltage', reportable: true, onlyProducer: false, exposes: exposes.numeric('URMS1', ea.STATE).withUnit('V').withProperty('rms_voltage').withDescription('RMS voltage') },
|
|
498
|
+
{ cluster: clustersDef._0xFF66, att: 'activeEnerfyOutD01', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASD01', ea.STATE).withUnit('kWh').withProperty('active_enerfy_out_d01').withDescription('Active energy withdrawn Distributor (index 01)') },
|
|
499
|
+
{ cluster: clustersDef._0xFF66, att: 'activeEnerfyOutD02', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASD02', ea.STATE).withUnit('kWh').withProperty('active_enerfy_out_d02').withDescription('Active energy withdrawn Distributor (index 02)') },
|
|
500
|
+
{ cluster: clustersDef._0xFF66, att: 'activeEnerfyOutD03', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASD03', ea.STATE).withUnit('kWh').withProperty('active_enerfy_out_d03').withDescription('Active energy withdrawn Distributor (index 03)') },
|
|
501
|
+
{ cluster: clustersDef._0xFF66, att: 'activeEnerfyOutD04', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EASD04', ea.STATE).withUnit('kWh').withProperty('active_enerfy_out_d04').withDescription('Active energy withdrawn Distributor (index 04)') },
|
|
502
|
+
{ cluster: clustersDef._0xFF66, att: 'currentDate', reportable: false, onlyProducer: false, exposes: exposes.text('DATE', ea.STATE).withProperty('current_date').withDescription('Current date and time') },
|
|
503
|
+
{ cluster: clustersDef._0xFF66, att: 'currentIndexTarif', reportable: false, onlyProducer: false, exposes: exposes.numeric('NTARF', ea.STATE).withProperty('current_index_tarif').withDescription('Current tariff index number') },
|
|
504
|
+
{ cluster: clustersDef._0xFF66, att: 'currentPrice', reportable: false, onlyProducer: false, exposes: exposes.text('LTARF', ea.STATE).withProperty('current_price').withDescription('Current supplier price label') },
|
|
505
|
+
{ cluster: clustersDef._0xFF66, att: 'currentTarif', reportable: false, onlyProducer: false, exposes: exposes.text('NGTF', ea.STATE).withProperty('current_tarif').withDescription('Supplier pricing schedule name') },
|
|
506
|
+
{ cluster: clustersDef._0xFF66, att: 'daysNumberCurrentCalendar', reportable: false, onlyProducer: false, exposes: exposes.numeric('NJOURF', ea.STATE).withProperty('days_number_current_calendar').withDescription('Current day number supplier calendar') },
|
|
507
|
+
{ cluster: clustersDef._0xFF66, att: 'daysNumberNextCalendar', reportable: false, onlyProducer: false, exposes: exposes.numeric('NJOURF+1', ea.STATE).withProperty('days_number_next_calendar').withDescription('Next day number supplier calendar') },
|
|
508
|
+
{ cluster: clustersDef._0xFF66, att: 'daysProfileCurrentCalendar', reportable: false, onlyProducer: false, exposes: exposes.text('PJOURF+1', ea.STATE).withProperty('days_profile_current_calendar').withDescription('Profile of the next supplier calendar day') },
|
|
509
|
+
{ cluster: clustersDef._0xFF66, att: 'daysProfileNextCalendar', reportable: false, onlyProducer: false, exposes: exposes.text('PPOINTE1', ea.STATE).withProperty('days_profile_next_calendar').withDescription('Profile of the next check-in day') },
|
|
510
|
+
{ cluster: clustersDef._0xFF66, att: 'injectedActiveLoadN', reportable: true, onlyProducer: true, exposes: exposes.numeric('CCAIN', ea.STATE).withUnit('W').withProperty('injected_active_load_n').withDescription('Point n of the withdrawn active load curve') },
|
|
511
|
+
{ cluster: clustersDef._0xFF66, att: 'injectedActiveLoadN1', reportable: false, onlyProducer: true, exposes: exposes.numeric('CCAIN-1', ea.STATE).withUnit('W').withProperty('injected_active_load_n1').withDescription('Point n-1 of the withdrawn active load curve') },
|
|
512
|
+
{ cluster: clustersDef._0xFF66, att: 'injectedVA', reportable: true, onlyProducer: true, exposes: exposes.numeric('SINSTI', ea.STATE).withUnit('VA').withProperty('injected_v_a').withDescription('Instantaneous apparent power injected') },
|
|
513
|
+
{ cluster: clustersDef._0xFF66, att: 'injectedVAMaxN', reportable: true, onlyProducer: true, exposes: exposes.numeric('SMAXIN', ea.STATE).withUnit('VA').withProperty('injected_v_a_max_n').withDescription('Apparent power max. injected n') },
|
|
514
|
+
{ cluster: clustersDef._0xFF66, att: 'injectedVAMaxN1', reportable: false, onlyProducer: true, exposes: exposes.numeric('SMAXIN-1', ea.STATE).withUnit('VA').withProperty('injected_v_a_max_n1').withDescription('Apparent power max. injected n-1') },
|
|
515
|
+
{ cluster: clustersDef._0xFF66, att: 'message1', reportable: false, onlyProducer: false, exposes: exposes.text('MSG1', ea.STATE).withProperty('message1').withDescription('Message short') },
|
|
516
|
+
{ cluster: clustersDef._0xFF66, att: 'message2', reportable: false, onlyProducer: false, exposes: exposes.text('MSG2', ea.STATE).withProperty('message2').withDescription('Message ultra-short') },
|
|
517
|
+
{ cluster: clustersDef._0xFF66, att: 'relais', reportable: false, onlyProducer: false, exposes: exposes.numeric('RELAIS', ea.STATE).withProperty('relais') },
|
|
518
|
+
{ cluster: clustersDef._0xFF66, att: 'startMobilePoint1', reportable: false, onlyProducer: false, exposes: exposes.numeric('DPM1', ea.STATE).withProperty('start_mobile_point1').withDescription('Start mobile point 1') },
|
|
519
|
+
{ cluster: clustersDef._0xFF66, att: 'startMobilePoint2', reportable: false, onlyProducer: false, exposes: exposes.numeric('DPM2', ea.STATE).withProperty('start_mobile_point2').withDescription('Start mobile point 2') },
|
|
520
|
+
{ cluster: clustersDef._0xFF66, att: 'startMobilePoint3', reportable: false, onlyProducer: false, exposes: exposes.numeric('DPM3', ea.STATE).withProperty('start_mobile_point3').withDescription('Start mobile point 3') },
|
|
521
|
+
{ cluster: clustersDef._0xFF66, att: 'statusRegister', reportable: false, onlyProducer: false, exposes: exposes.text('STGE', ea.STATE).withProperty('status_register').withDescription('Register of Statutes') },
|
|
522
|
+
{ cluster: clustersDef._0xFF66, att: 'stopMobilePoint1', reportable: false, onlyProducer: false, exposes: exposes.numeric('FPM1', ea.STATE).withProperty('stop_mobile_point1').withDescription('Stop mobile point 1') },
|
|
523
|
+
{ cluster: clustersDef._0xFF66, att: 'stopMobilePoint2', reportable: false, onlyProducer: false, exposes: exposes.numeric('FPM2', ea.STATE).withProperty('stop_mobile_point2').withDescription('Stop mobile point 2') },
|
|
524
|
+
{ cluster: clustersDef._0xFF66, att: 'stopMobilePoint3', reportable: false, onlyProducer: false, exposes: exposes.numeric('FPM3', ea.STATE).withProperty('stop_mobile_point3').withDescription('Stop mobile point 3') },
|
|
525
|
+
].map((x) => {
|
|
526
|
+
return { ...x, linkyPhase: linkyPhaseDef.all, linkyMode: linkyModeDef.standard };
|
|
527
|
+
});
|
|
528
|
+
const singlePhaseData = [
|
|
529
|
+
{ cluster: clustersDef._0x0B04, att: 'activePowerMax', reportable: true, onlyProducer: false, exposes: exposes.numeric('SMAXN', ea.STATE).withUnit('VA').withProperty('active_power_max').withDescription('Apparent power delivered peak') },
|
|
530
|
+
{ cluster: clustersDef._0x0B04, att: 'apparentPower', reportable: true, onlyProducer: false, exposes: exposes.numeric('SINSTS', ea.STATE).withUnit('VA').withProperty('apparent_power').withDescription('Immediate apparent power delivered') },
|
|
531
|
+
{ cluster: clustersDef._0xFF66, att: 'drawnVAMaxN1', reportable: false, onlyProducer: false, exposes: exposes.numeric('SMAXN-1', ea.STATE).withUnit('VA').withProperty('drawn_v_a_max_n1').withDescription('Apparent power max. draw-off n-1') },
|
|
532
|
+
].map((x) => {
|
|
533
|
+
return { ...x, linkyPhase: linkyPhaseDef.single, linkyMode: linkyModeDef.standard };
|
|
534
|
+
});
|
|
535
|
+
const threePhasesData = [
|
|
536
|
+
{ cluster: clustersDef._0x0B04, att: 'activePowerMax', reportable: true, onlyProducer: false, exposes: exposes.numeric('SMAXN1', ea.STATE).withUnit('VA').withProperty('active_power_max').withDescription('Apparent power delivered peak (phase 1)') },
|
|
537
|
+
{ cluster: clustersDef._0x0B04, att: 'activePowerMaxPhB', reportable: true, onlyProducer: false, exposes: exposes.numeric('SMAXN2', ea.STATE).withUnit('VA').withProperty('active_power_max_ph_b').withDescription('Apparent power delivered peak (phase 2)') },
|
|
538
|
+
{ cluster: clustersDef._0x0B04, att: 'activePowerMaxPhC', reportable: true, onlyProducer: false, exposes: exposes.numeric('SMAXN3', ea.STATE).withUnit('VA').withProperty('active_power_max_ph_c').withDescription('Apparent power delivered peak (phase 3)') },
|
|
539
|
+
{ cluster: clustersDef._0x0B04, att: 'apparentPower', reportable: true, onlyProducer: false, exposes: exposes.numeric('SINSTS1', ea.STATE).withUnit('VA').withProperty('apparent_power').withDescription('Immediate apparent power delivered (phase 1)') },
|
|
540
|
+
{ cluster: clustersDef._0x0B04, att: 'apparentPowerPhB', reportable: true, onlyProducer: false, exposes: exposes.numeric('SINSTS2', ea.STATE).withUnit('VA').withProperty('apparent_power_ph_b').withDescription('Immediate apparent power delivered (phase 2)') },
|
|
541
|
+
{ cluster: clustersDef._0x0B04, att: 'apparentPowerPhC', reportable: true, onlyProducer: false, exposes: exposes.numeric('SINSTS3', ea.STATE).withUnit('VA').withProperty('apparent_power_ph_c').withDescription('Immediate apparent power delivered (phase 3)') },
|
|
542
|
+
{ cluster: clustersDef._0x0B04, att: 'totalApparentPower', reportable: true, onlyProducer: false, exposes: exposes.numeric('SINSTS', ea.STATE).withUnit('VA').withProperty('total_apparent_power').withDescription('Total immediate apparent power delivered') },
|
|
543
|
+
{ cluster: clustersDef._0x0B04, att: 'averageRmsVoltageMeasPeriodPhC', reportable: true, onlyProducer: false, exposes: exposes.numeric('UMOY3', ea.STATE).withUnit('V').withProperty('average_rms_voltage_meas_period_ph_c').withDescription('Average RMS voltage (phase 3)') },
|
|
544
|
+
{ cluster: clustersDef._0x0B04, att: 'averageRmsVoltageMeasurePeriodPhB', reportable: true, onlyProducer: false, exposes: exposes.numeric('UMOY2', ea.STATE).withUnit('V').withProperty('average_rms_voltage_measure_period_ph_b').withDescription('Average RMS voltage (phase 2)') },
|
|
545
|
+
{ cluster: clustersDef._0x0B04, att: 'rmsCurrentPhB', reportable: true, onlyProducer: false, exposes: exposes.numeric('IRMS2', ea.STATE).withUnit('A').withProperty('rms_current_ph_b').withDescription('RMS current (phase 2)') },
|
|
546
|
+
{ cluster: clustersDef._0x0B04, att: 'rmsCurrentPhC', reportable: true, onlyProducer: false, exposes: exposes.numeric('IRMS3', ea.STATE).withUnit('A').withProperty('rms_current_ph_c').withDescription('RMS current (phase 3)') },
|
|
547
|
+
{ cluster: clustersDef._0x0B04, att: 'rmsVoltagePhB', reportable: true, onlyProducer: false, exposes: exposes.numeric('URMS2', ea.STATE).withUnit('V').withProperty('rms_voltage_ph_b').withDescription('RMS voltage (phase 2)') },
|
|
548
|
+
{ cluster: clustersDef._0x0B04, att: 'rmsVoltagePhC', reportable: true, onlyProducer: false, exposes: exposes.numeric('URMS3', ea.STATE).withUnit('V').withProperty('rms_voltage_ph_c').withDescription('RMS voltage (phase 3)') },
|
|
549
|
+
{ cluster: clustersDef._0xFF66, att: 'drawnVAMaxN1', reportable: false, onlyProducer: false, exposes: exposes.numeric('SMAXN1-1', ea.STATE).withUnit('VA').withProperty('drawn_v_a_max_n1').withDescription('Apparent power max. draw-off n-1 (phase 1)') },
|
|
550
|
+
{ cluster: clustersDef._0xFF66, att: 'drawnVAMaxN1P2', reportable: false, onlyProducer: false, exposes: exposes.numeric('SMAXN2-1', ea.STATE).withUnit('VA').withProperty('drawn_v_a_max_n1_p2').withDescription('Apparent power max. draw-off n-1 (phase 2)') },
|
|
551
|
+
{ cluster: clustersDef._0xFF66, att: 'drawnVAMaxN1P3', reportable: false, onlyProducer: false, exposes: exposes.numeric('SMAXN3-1', ea.STATE).withUnit('VA').withProperty('drawn_v_a_max_n1_p3').withDescription('Apparent power max. draw-off n-1 (phase 3)') },
|
|
552
|
+
].map((x) => {
|
|
553
|
+
return { ...x, linkyPhase: linkyPhaseDef.three, linkyMode: linkyModeDef.standard };
|
|
554
|
+
});
|
|
555
|
+
const legacyData = [
|
|
556
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'activeRegisterTierDelivered', reportable: false, onlyProducer: false, exposes: exposes.text('PTEC', ea.STATE).withProperty('active_register_tier_delivered').withDescription('Current pricing period') },
|
|
557
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentSummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('BASE', ea.STATE).withUnit('kWh').withProperty('current_summ_delivered').withDescription('Base index') },
|
|
558
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier1SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('BBRHCJB', ea.STATE).withUnit('kWh').withProperty('current_tier1_summ_delivered').withDescription('BBRHCJB index') },
|
|
559
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier1SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EJPHN', ea.STATE).withUnit('kWh').withProperty('current_tier1_summ_delivered').withDescription('EJPHN index') },
|
|
560
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier1SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('HCHC', ea.STATE).withUnit('kWh').withProperty('current_tier1_summ_delivered').withDescription('HCHC index') },
|
|
561
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier2SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('BBRHPJB', ea.STATE).withUnit('kWh').withProperty('current_tier2_summ_delivered').withDescription('BBRHPJB index') },
|
|
562
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier2SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('EJPHPM', ea.STATE).withUnit('kWh').withProperty('current_tier2_summ_delivered').withDescription('EJPHPM index') },
|
|
563
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier2SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('HCHP', ea.STATE).withUnit('kWh').withProperty('current_tier2_summ_delivered').withDescription('HCHP index') },
|
|
564
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier3SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('BBRHCJW', ea.STATE).withUnit('kWh').withProperty('current_tier3_summ_delivered').withDescription('BBRHCJW index') },
|
|
565
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier4SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('BBRHPJW', ea.STATE).withUnit('kWh').withProperty('current_tier4_summ_delivered').withDescription('BBRHPJW index') },
|
|
566
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier5SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('BBRHCJR', ea.STATE).withUnit('kWh').withProperty('current_tier5_summ_delivered').withDescription('BBRHCJR index') },
|
|
567
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'currentTier6SummDelivered', reportable: true, report: { change: 100 }, onlyProducer: false, exposes: exposes.numeric('BBRHPJR', ea.STATE).withUnit('kWh').withProperty('current_tier6_summ_delivered').withDescription('BBRHPJR index') },
|
|
568
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0702, att: 'meterSerialNumber', reportable: false, onlyProducer: false, exposes: exposes.text('ADCO', ea.STATE).withProperty('meter_serial_number').withDescription('Serial Number') },
|
|
569
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0B01, att: 'availablePower', reportable: false, onlyProducer: false, exposes: exposes.numeric('ISOUSC', ea.STATE).withUnit('A').withProperty('available_power').withDescription('Subscribed intensity level') },
|
|
570
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0x0B04, att: 'apparentPower', reportable: true, onlyProducer: false, exposes: exposes.numeric('PAPP', ea.STATE).withUnit('VA').withProperty('apparent_power').withDescription('Apparent power') },
|
|
571
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0xFF66, att: 'currentTarif', reportable: false, onlyProducer: false, exposes: exposes.text('OPTARIF', ea.STATE).withProperty('current_tarif').withDescription('Tarif option') },
|
|
572
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0xFF66, att: 'motDEtat', reportable: false, onlyProducer: false, exposes: exposes.text('MOTDETAT', ea.STATE).withProperty('MOTDETAT').withDescription('Meter Status Word') },
|
|
573
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0xFF66, att: 'scheduleHPHC', reportable: false, onlyProducer: false, exposes: exposes.numeric('HHPHC', ea.STATE).withProperty('schedule_h_p_h_c').withDescription('Schedule HPHC') },
|
|
574
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0xFF66, att: 'startNoticeEJP', reportable: true, onlyProducer: false, exposes: exposes.numeric('PEJP', ea.STATE).withUnit('min').withProperty('start_notice_e_j_p').withDescription('EJP start notice (30min)') },
|
|
575
|
+
{ linkyPhase: linkyPhaseDef.all, cluster: clustersDef._0xFF66, att: 'tomorrowColor', reportable: true, onlyProducer: false, exposes: exposes.text('DEMAIN', ea.STATE).withProperty('tomorrow_color').withDescription('Tomorrow color') },
|
|
576
|
+
{ linkyPhase: linkyPhaseDef.single, cluster: clustersDef._0x0B04, att: 'rmsCurrent', reportable: true, onlyProducer: false, exposes: exposes.numeric('IINST', ea.STATE).withUnit('A').withProperty('rms_current').withDescription('RMS current') },
|
|
577
|
+
{ linkyPhase: linkyPhaseDef.single, cluster: clustersDef._0x0B04, att: 'rmsCurrentMax', reportable: false, onlyProducer: false, exposes: exposes.numeric('IMAX', ea.STATE).withUnit('A').withProperty('rms_current_max').withDescription('RMS current peak') },
|
|
578
|
+
{ linkyPhase: linkyPhaseDef.single, cluster: clustersDef._0xFF66, att: 'warnDPS', reportable: true, onlyProducer: false, exposes: exposes.numeric('ADPS', ea.STATE).withUnit('A').withProperty('warn_d_p_s').withDescription('Subscribed Power Exceeded Warning') },
|
|
579
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0x0B04, att: 'activePowerMax', reportable: false, onlyProducer: false, exposes: exposes.numeric('PMAX', ea.STATE).withUnit('W').withProperty('active_power_max').withDescription('Three-phase power peak') },
|
|
580
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0x0B04, att: 'rmsCurrent', reportable: true, onlyProducer: false, exposes: exposes.numeric('IINST1', ea.STATE).withUnit('A').withProperty('rms_current').withDescription('RMS current (phase 1)') },
|
|
581
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0x0B04, att: 'rmsCurrentMax', reportable: false, onlyProducer: false, exposes: exposes.numeric('IMAX1', ea.STATE).withUnit('A').withProperty('rms_current_max').withDescription('RMS current peak (phase 1)') },
|
|
582
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0x0B04, att: 'rmsCurrentMaxPhB', reportable: false, onlyProducer: false, exposes: exposes.numeric('IMAX2', ea.STATE).withUnit('A').withProperty('rms_current_max_ph_b').withDescription('RMS current peak (phase 2)') },
|
|
583
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0x0B04, att: 'rmsCurrentMaxPhC', reportable: false, onlyProducer: false, exposes: exposes.numeric('IMAX3', ea.STATE).withUnit('A').withProperty('rms_current_max_ph_c').withDescription('RMS current peak (phase 3)') },
|
|
584
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0x0B04, att: 'rmsCurrentPhB', reportable: true, onlyProducer: false, exposes: exposes.numeric('IINST2', ea.STATE).withUnit('A').withProperty('rms_current_ph_b').withDescription('RMS current (phase 2)') },
|
|
585
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0x0B04, att: 'rmsCurrentPhC', reportable: true, onlyProducer: false, exposes: exposes.numeric('IINST3', ea.STATE).withUnit('A').withProperty('rms_current_ph_c').withDescription('RMS current (phase 3)') },
|
|
586
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0xFF66, att: 'presencePotential', reportable: false, onlyProducer: false, exposes: exposes.numeric('PPOT', ea.STATE).withProperty('presence_potential').withDescription('Presence of potentials') },
|
|
587
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0xFF66, att: 'warnDIR1', reportable: true, onlyProducer: false, exposes: exposes.numeric('ADIR1', ea.STATE).withUnit('A').withProperty('warn_d_i_r1').withDescription('Over Current Warning (phase 1)') },
|
|
588
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0xFF66, att: 'warnDIR2', reportable: true, onlyProducer: false, exposes: exposes.numeric('ADIR2', ea.STATE).withUnit('A').withProperty('warn_d_i_r2').withDescription('Over Current Warning (phase 2)') },
|
|
589
|
+
{ linkyPhase: linkyPhaseDef.three, cluster: clustersDef._0xFF66, att: 'warnDIR3', reportable: true, onlyProducer: false, exposes: exposes.numeric('ADIR3', ea.STATE).withUnit('A').withProperty('warn_d_i_r3').withDescription('Over Current Warning (phase 3)') },
|
|
590
|
+
].map((x) => {
|
|
591
|
+
return { ...x, linkyMode: linkyModeDef.legacy };
|
|
592
|
+
});
|
|
593
|
+
const exposedData = [allPhaseData, singlePhaseData, threePhasesData, legacyData].flat();
|
|
578
594
|
function getCurrentConfig(device, options, logger = console) {
|
|
579
595
|
let endpoint;
|
|
580
596
|
try {
|