@@ -1368,48 +1368,6 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
1368
1368
1369
1369
return sendConfigureReportingRequest (bt, {rq, rq2, rq3, rq4, rq5});
1370
1370
}
1371
- else if (modelId == QLatin1String (" TRV001" ) || // Hive TRV
1372
- modelId == QLatin1String (" eT093WRO" )) // POPP smart thermostat
1373
- {
1374
- rq.dataType = deCONZ::Zcl16BitInt;
1375
- rq.attributeId = 0x0000 ; // local temperature
1376
- rq.minInterval = 60 ;
1377
- rq.maxInterval = 3600 ;
1378
- rq.reportableChange16bit = 50 ;
1379
-
1380
- ConfigureReportingRequest rq2;
1381
- rq2.dataType = deCONZ::Zcl8BitUint;
1382
- rq2.attributeId = 0x0008 ; // Pi heating demand
1383
- rq2.minInterval = 60 ;
1384
- rq2.maxInterval = 43200 ;
1385
- rq2.reportableChange8bit = 1 ;
1386
-
1387
- ConfigureReportingRequest rq3;
1388
- rq3.dataType = deCONZ::Zcl16BitInt;
1389
- rq3.attributeId = 0x0012 ; // Occupied heating setpoint
1390
- rq3.minInterval = 1 ;
1391
- rq3.maxInterval = 43200 ;
1392
- rq3.reportableChange16bit = 1 ;
1393
-
1394
- ConfigureReportingRequest rq4;
1395
- rq4.dataType = deCONZ::Zcl8BitEnum;
1396
- rq4.attributeId = 0x4000 ; // eTRV Open Window detection
1397
- rq4.minInterval = 1 ;
1398
- rq4.maxInterval = 43200 ;
1399
- rq4.reportableChange8bit = 0xff ;
1400
- rq4.manufacturerCode = VENDOR_DANFOSS;
1401
-
1402
- ConfigureReportingRequest rq5;
1403
- rq5.dataType = deCONZ::ZclBoolean;
1404
- rq5.attributeId = 0x4012 ; // Mounting mode active
1405
- rq5.minInterval = 1 ;
1406
- rq5.maxInterval = 43200 ;
1407
- rq5.reportableChange8bit = 0xff ;
1408
- rq5.manufacturerCode = VENDOR_DANFOSS;
1409
-
1410
- return sendConfigureReportingRequest (bt, {rq, rq2, rq3}) || // Use OR because of manuf. specific attributes
1411
- sendConfigureReportingRequest (bt, {rq4, rq5});
1412
- }
1413
1371
else if (sensor && (modelId == QLatin1String (" 0x8020" ) || // Danfoss RT24V Display thermostat
1414
1372
modelId == QLatin1String (" 0x8021" ) || // Danfoss RT24V Display thermostat with floor sensor
1415
1373
modelId == QLatin1String (" 0x8030" ) || // Danfoss RTbattery Display thermostat
@@ -1598,27 +1556,7 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
1598
1556
}
1599
1557
else if (bt.binding .clusterId == THERMOSTAT_UI_CONFIGURATION_CLUSTER_ID)
1600
1558
{
1601
- if (modelId == QLatin1String (" TRV001" ) || // Hive TRV
1602
- modelId == QLatin1String (" eT093WRO" )) // POPP smart thermostat
1603
- {
1604
- rq.dataType = deCONZ::Zcl8BitEnum;
1605
- rq.attributeId = 0x0001 ; // Keypad Lockout
1606
- rq.minInterval = 1 ;
1607
- rq.maxInterval = 43200 ;
1608
- rq.reportableChange8bit = 0xff ;
1609
-
1610
- ConfigureReportingRequest rq2;
1611
- rq2.dataType = deCONZ::Zcl8BitEnum;
1612
- rq2.attributeId = 0x4000 ; // Viewing Direction
1613
- rq2.minInterval = 1 ;
1614
- rq2.maxInterval = 43200 ;
1615
- rq2.reportableChange8bit = 0xff ;
1616
- rq2.manufacturerCode = VENDOR_DANFOSS;
1617
-
1618
- return sendConfigureReportingRequest (bt, {rq}) || // Use OR because of manuf. specific attributes
1619
- sendConfigureReportingRequest (bt, {rq2});
1620
- }
1621
- else if (modelId == QLatin1String (" SORB" ) || // Stelpro Orleans Fan
1559
+ if (modelId == QLatin1String (" SORB" ) || // Stelpro Orleans Fan
1622
1560
modelId == QLatin1String (" TH1300ZB" ) || // Sinope thermostat
1623
1561
modelId == QLatin1String (" PR412C" ) || // Owon thermostat
1624
1562
modelId == QLatin1String (" iTRV" ) || // Drayton Wiser Radiator Thermostat
@@ -1634,20 +1572,6 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
1634
1572
return sendConfigureReportingRequest (bt, {rq});
1635
1573
}
1636
1574
}
1637
- else if (bt.binding .clusterId == DIAGNOSTICS_CLUSTER_ID)
1638
- {
1639
- if (modelId == QLatin1String (" TRV001" ) || // Hive TRV
1640
- modelId == QLatin1String (" eT093WRO" )) // POPP smart thermostat
1641
- {
1642
- rq.dataType = deCONZ::Zcl16BitBitMap;
1643
- rq.attributeId = 0x4000 ; // SW error code
1644
- rq.minInterval = 1 ;
1645
- rq.maxInterval = 43200 ;
1646
- rq.reportableChange16bit = 0xffff ;
1647
- rq.manufacturerCode = VENDOR_DANFOSS;
1648
- return sendConfigureReportingRequest (bt, {rq});
1649
- }
1650
- }
1651
1575
else if (bt.binding .clusterId == FAN_CONTROL_CLUSTER_ID)
1652
1576
{
1653
1577
if (modelId.startsWith (QLatin1String (" 3157100" ))) // Centralite pearl
@@ -1713,9 +1637,7 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
1713
1637
rq.maxInterval = 7200 ; // value used by Hue bridge
1714
1638
rq.reportableChange8bit = 0 ; // value used by Hue bridge
1715
1639
}
1716
- else if (modelId == QLatin1String (" eT093WRO" ) || // POPP smart thermostat
1717
- modelId == QLatin1String (" TRV001" ) || // Hive TRV
1718
- modelId == QLatin1String (" 0x8020" ) || // Danfoss RT24V Display thermostat
1640
+ else if (modelId == QLatin1String (" 0x8020" ) || // Danfoss RT24V Display thermostat
1719
1641
modelId == QLatin1String (" 0x8021" ) || // Danfoss RT24V Display thermostat with floor sensor
1720
1642
modelId == QLatin1String (" 0x8030" ) || // Danfoss RTbattery Display thermostat
1721
1643
modelId == QLatin1String (" 0x8031" ) || // Danfoss RTbattery Display thermostat with infrared
@@ -2784,7 +2706,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
2784
2706
sensor->modelId () == QLatin1String (" SLR1b" ) ||
2785
2707
sensor->modelId () == QLatin1String (" SLT2" ) ||
2786
2708
sensor->modelId () == QLatin1String (" SLT3" ) ||
2787
- sensor->modelId () == QLatin1String (" TRV001" ) ||
2788
2709
// Sengled
2789
2710
sensor->modelId ().startsWith (QLatin1String (" E13-" )) ||
2790
2711
sensor->modelId ().startsWith (QLatin1String (" E1D-" )) ||
@@ -2862,8 +2783,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
2862
2783
sensor->modelId () == QLatin1String (" 0x8031" ) ||
2863
2784
sensor->modelId () == QLatin1String (" 0x8034" ) ||
2864
2785
sensor->modelId () == QLatin1String (" 0x8035" ) ||
2865
- // POPP
2866
- sensor->modelId () == QLatin1String (" eT093WRO" ) ||
2867
2786
// Swann
2868
2787
sensor->modelId () == QLatin1String (" SWO-MOS1PA" ) ||
2869
2788
// LIDL
@@ -3105,18 +3024,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
3105
3024
{
3106
3025
val = sensor->getZclValue (*i, 0x0001 ); // Keypad lockout
3107
3026
}
3108
- else if (*i == DIAGNOSTICS_CLUSTER_ID)
3109
- {
3110
- if (sensor->modelId () == QLatin1String (" TRV001" ) || // Hive TRV
3111
- sensor->modelId () == QLatin1String (" eT093WRO" )) // POPP smart thermostat
3112
- {
3113
- val = sensor->getZclValue (*i, 0x4000 ); // SW error code
3114
- }
3115
- else
3116
- {
3117
- continue ;
3118
- }
3119
- }
3120
3027
else if (*i == SAMJIN_CLUSTER_ID)
3121
3028
{
3122
3029
val = sensor->getZclValue (*i, 0x0012 ); // Acceleration X
0 commit comments