@@ -1836,7 +1836,6 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
1836
1836
modelId == QLatin1String (" TS0202" ) || // Tuya sensor
1837
1837
modelId == QLatin1String (" 3AFE14010402000D" ) || // Konke presence sensor
1838
1838
modelId == QLatin1String (" 3AFE28010402000D" ) || // Konke presence sensor
1839
- modelId == QLatin1String (" lumi.airmonitor.acn01" ) || // Xiaomi Aqara TVOC Air Quality Monitor
1840
1839
modelId.startsWith (QLatin1String (" GZ-PIR02" )) || // Sercomm motion sensor
1841
1840
modelId.startsWith (QLatin1String (" SZ-WTD02N_CAR" )) || // Sercomm water sensor
1842
1841
modelId.startsWith (QLatin1String (" 3300" )) || // Centralite contatc sensor
@@ -2280,43 +2279,6 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
2280
2279
2281
2280
return sendConfigureReportingRequest (bt, {rq});
2282
2281
}
2283
- else if (bt.binding .clusterId == VENDOR_CLUSTER_ID)
2284
- {
2285
- if (modelId == QLatin1String (" de_spect" )) // dresden elektronik spectral sensor
2286
- {
2287
- rq.dataType = deCONZ::Zcl8BitUint;
2288
- rq.attributeId = 0x0000 ; // sensor enabled
2289
- rq.minInterval = 1 ;
2290
- rq.maxInterval = 120 ;
2291
- rq.reportableChange8bit = 1 ;
2292
-
2293
- ConfigureReportingRequest rq2;
2294
- rq2 = ConfigureReportingRequest ();
2295
- rq2.dataType = deCONZ::Zcl16BitUint;
2296
- rq2.attributeId = 0x0001 ; // spectral x
2297
- rq2.minInterval = 1 ;
2298
- rq2.maxInterval = 300 ;
2299
- rq2.reportableChange16bit = 200 ;
2300
-
2301
- ConfigureReportingRequest rq3;
2302
- rq3 = ConfigureReportingRequest ();
2303
- rq3.dataType = deCONZ::Zcl16BitUint;
2304
- rq3.attributeId = 0x0002 ; // spectral x
2305
- rq3.minInterval = 1 ;
2306
- rq3.maxInterval = 300 ;
2307
- rq3.reportableChange16bit = 200 ;
2308
-
2309
- ConfigureReportingRequest rq4;
2310
- rq4 = ConfigureReportingRequest ();
2311
- rq4.dataType = deCONZ::Zcl16BitUint;
2312
- rq4.attributeId = 0x0003 ; // spectral x
2313
- rq4.minInterval = 1 ;
2314
- rq4.maxInterval = 300 ;
2315
- rq4.reportableChange16bit = 200 ;
2316
-
2317
- return sendConfigureReportingRequest (bt, {rq, rq2, rq3, rq4});
2318
- }
2319
- }
2320
2282
2321
2283
return false ;
2322
2284
}
@@ -2687,8 +2649,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
2687
2649
sensor->modelId ().startsWith (QLatin1String (" 3323" )) ||
2688
2650
sensor->modelId ().startsWith (QLatin1String (" 3326-L" )) ||
2689
2651
sensor->modelId ().startsWith (QLatin1String (" 3157100" )) ||
2690
- // dresden elektronik
2691
- (sensor->manufacturer () == QLatin1String (" dresden elektronik" ) && sensor->modelId () == QLatin1String (" de_spect" )) ||
2692
2652
// GE
2693
2653
(sensor->manufacturer () == QLatin1String (" Jasco Products" ) && sensor->modelId () == QLatin1String (" 45856" )) ||
2694
2654
// NYCE
@@ -2711,7 +2671,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
2711
2671
// IKEA
2712
2672
sensor->modelId ().startsWith (QLatin1String (" TRADFRI" )) ||
2713
2673
sensor->modelId ().startsWith (QLatin1String (" Remote Control N2" )) || // STYRBAR
2714
- sensor->modelId ().startsWith (QLatin1String (" FYRTUR" )) ||
2715
2674
sensor->modelId ().startsWith (QLatin1String (" KADRILJ" )) ||
2716
2675
sensor->modelId ().startsWith (QLatin1String (" SYMFONISK" )) ||
2717
2676
// OSRAM
@@ -2795,7 +2754,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
2795
2754
sensor->modelId ().startsWith (QLatin1String (" FLSZB-1" )) || // water leak sensor
2796
2755
sensor->modelId ().startsWith (QLatin1String (" MOSZB-1" )) || // motion sensor
2797
2756
sensor->modelId ().startsWith (QLatin1String (" ZHMS101" )) || // Wattle (Develco) magnetic sensor
2798
- sensor->modelId () == QLatin1String (" ZHEMI101" ) || // Wattle (Develco) External Meter Interface
2799
2757
sensor->modelId ().startsWith (QLatin1String (" EMIZB-1" )) || // EMI Norwegian HAN
2800
2758
sensor->modelId ().startsWith (QLatin1String (" SMRZB-3" )) || // Smart Relay DIN
2801
2759
sensor->modelId ().startsWith (QLatin1String (" SMRZB-1" )) || // Smart Cable
@@ -2883,7 +2841,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
2883
2841
sensor->modelId ().startsWith (QLatin1String (" RH3052" )) ||
2884
2842
// Xiaomi
2885
2843
sensor->modelId ().startsWith (QLatin1String (" lumi.switch.b1naus01" )) ||
2886
- sensor->modelId () == QLatin1String (" lumi.airmonitor.acn01" ) ||
2887
2844
sensor->modelId () == QLatin1String (" lumi.sensor_magnet.agl02" ) ||
2888
2845
sensor->modelId () == QLatin1String (" lumi.motion.agl04" ) ||
2889
2846
sensor->modelId () == QLatin1String (" lumi.flood.agl02" ) ||
@@ -2922,7 +2879,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
2922
2879
sensor->modelId () == QLatin1String (" CCT593011_AS" ) ||
2923
2880
sensor->modelId () == QLatin1String (" CCT595011_AS" ) ||
2924
2881
// Immax
2925
- sensor->modelId () == QLatin1String (" Plug-230V-ZB3.0" ) ||
2926
2882
sensor->modelId () == QLatin1String (" 4in1-Sensor-ZB3.0" ) ||
2927
2883
sensor->modelId () == QLatin1String (" DoorWindow-Sensor-ZB3.0" ) ||
2928
2884
// Casa.IA
@@ -3129,9 +3085,7 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
3129
3085
{
3130
3086
val = sensor->getZclValue (*i, 0x0035 ); // battery alarm mask
3131
3087
}
3132
- else if (sensor->modelId ().startsWith (QLatin1String (" AQSZB-1" )) ||
3133
- sensor->modelId ().startsWith (QLatin1String (" WISZB-1" )) ||
3134
- sensor->modelId ().startsWith (QLatin1String (" MOSZB-1" )) ||
3088
+ else if (sensor->modelId ().startsWith (QLatin1String (" MOSZB-1" )) ||
3135
3089
sensor->modelId ().startsWith (QLatin1String (" FLSZB-1" )) ||
3136
3090
sensor->modelId ().startsWith (QLatin1String (" HMSZB-1" )) ||
3137
3091
sensor->modelId () == QLatin1String (" MotionSensor51AU" ) ||
@@ -3201,13 +3155,6 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
3201
3155
}
3202
3156
}
3203
3157
}
3204
- else if (*i == VENDOR_CLUSTER_ID)
3205
- {
3206
- if (sensor->modelId () == QLatin1String (" de_spect" )) // dresden elektronik spectral sensor
3207
- {
3208
- val = sensor->getZclValue (*i, 0x0000 , sensor->fingerPrint ().endpoint ); // sensor enabled per endpoint
3209
- }
3210
- }
3211
3158
else if (*i == BOSCH_AIR_QUALITY_CLUSTER_ID && sensor->modelId () == QLatin1String (" AIR" ))
3212
3159
{
3213
3160
if (sensor->type () != QLatin1String (" ZHAAirQuality" ))
0 commit comments