File tree 9 files changed +959
-11
lines changed
examples/all-clusters-app/all-clusters-common
9 files changed +959
-11
lines changed Original file line number Diff line number Diff line change @@ -571,6 +571,9 @@ jobs:
571
571
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TC_TestEventTrigger.py'
572
572
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TestBatchInvoke.py'
573
573
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TestGroupTableReports.py'
574
+ scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TC_OCC_2_1.py'
575
+ scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TC_OCC_2_2.py'
576
+ scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TC_OCC_2_3.py'
574
577
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TC_OPCREDS_3_1.py'
575
578
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TC_OPCREDS_3_2.py'
576
579
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/python_testing/TC_OPSTATE_2_1.py'
Original file line number Diff line number Diff line change @@ -9025,10 +9025,11 @@ endpoint 1 {
9025
9025
server cluster OccupancySensing {
9026
9026
ram attribute occupancy;
9027
9027
ram attribute occupancySensorType;
9028
- ram attribute occupancySensorTypeBitmap;
9028
+ ram attribute occupancySensorTypeBitmap default = 1 ;
9029
9029
ram attribute holdTime default = 10;
9030
9030
callback attribute holdTimeLimits;
9031
- ram attribute featureMap default = 0x01;
9031
+ ram attribute PIROccupiedToUnoccupiedDelay default = 10;
9032
+ ram attribute featureMap default = 0x02;
9032
9033
ram attribute clusterRevision default = 5;
9033
9034
}
9034
9035
@@ -9502,10 +9503,11 @@ endpoint 2 {
9502
9503
server cluster OccupancySensing {
9503
9504
ram attribute occupancy;
9504
9505
ram attribute occupancySensorType;
9505
- ram attribute occupancySensorTypeBitmap;
9506
+ ram attribute occupancySensorTypeBitmap default = 1 ;
9506
9507
ram attribute holdTime default = 20;
9507
9508
callback attribute holdTimeLimits;
9508
- ram attribute featureMap default = 0x01;
9509
+ ram attribute PIROccupiedToUnoccupiedDelay default = 10;
9510
+ ram attribute featureMap default = 0x02;
9509
9511
ram attribute clusterRevision default = 5;
9510
9512
}
9511
9513
}
Original file line number Diff line number Diff line change 16678
16678
"storageOption": "External",
16679
16679
"singleton": 0,
16680
16680
"bounded": 0,
16681
- "defaultValue": "" ,
16681
+ "defaultValue": null ,
16682
16682
"reportable": 1,
16683
16683
"minInterval": 1,
16684
16684
"maxInterval": 65534,
16726
16726
"storageOption": "External",
16727
16727
"singleton": 0,
16728
16728
"bounded": 0,
16729
- "defaultValue": "" ,
16729
+ "defaultValue": null ,
16730
16730
"reportable": 1,
16731
16731
"minInterval": 1,
16732
16732
"maxInterval": 65534,
19103
19103
"storageOption": "RAM",
19104
19104
"singleton": 0,
19105
19105
"bounded": 0,
19106
- "defaultValue": "",
19106
+ "defaultValue": "1 ",
19107
19107
"reportable": 1,
19108
19108
"minInterval": 0,
19109
19109
"maxInterval": 65344,
19141
19141
"maxInterval": 65534,
19142
19142
"reportableChange": 0
19143
19143
},
19144
+ {
19145
+ "name": "PIROccupiedToUnoccupiedDelay",
19146
+ "code": 16,
19147
+ "mfgCode": null,
19148
+ "side": "server",
19149
+ "type": "int16u",
19150
+ "included": 1,
19151
+ "storageOption": "RAM",
19152
+ "singleton": 0,
19153
+ "bounded": 0,
19154
+ "defaultValue": "10",
19155
+ "reportable": 1,
19156
+ "minInterval": 1,
19157
+ "maxInterval": 65534,
19158
+ "reportableChange": 0
19159
+ },
19144
19160
{
19145
19161
"name": "FeatureMap",
19146
19162
"code": 65532,
19151
19167
"storageOption": "RAM",
19152
19168
"singleton": 0,
19153
19169
"bounded": 0,
19154
- "defaultValue": "0x01 ",
19170
+ "defaultValue": "0x02 ",
19155
19171
"reportable": 1,
19156
19172
"minInterval": 1,
19157
19173
"maxInterval": 65534,
25244
25260
"storageOption": "RAM",
25245
25261
"singleton": 0,
25246
25262
"bounded": 0,
25247
- "defaultValue": "",
25263
+ "defaultValue": "1 ",
25248
25264
"reportable": 1,
25249
25265
"minInterval": 0,
25250
25266
"maxInterval": 65344,
25282
25298
"maxInterval": 65534,
25283
25299
"reportableChange": 0
25284
25300
},
25301
+ {
25302
+ "name": "PIROccupiedToUnoccupiedDelay",
25303
+ "code": 16,
25304
+ "mfgCode": null,
25305
+ "side": "server",
25306
+ "type": "int16u",
25307
+ "included": 1,
25308
+ "storageOption": "RAM",
25309
+ "singleton": 0,
25310
+ "bounded": 0,
25311
+ "defaultValue": "10",
25312
+ "reportable": 1,
25313
+ "minInterval": 1,
25314
+ "maxInterval": 65534,
25315
+ "reportableChange": 0
25316
+ },
25285
25317
{
25286
25318
"name": "FeatureMap",
25287
25319
"code": 65532,
25292
25324
"storageOption": "RAM",
25293
25325
"singleton": 0,
25294
25326
"bounded": 0,
25295
- "defaultValue": "0x01 ",
25327
+ "defaultValue": "0x02 ",
25296
25328
"reportable": 1,
25297
25329
"minInterval": 1,
25298
25330
"maxInterval": 65534,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ void emberAfOccupancySensingClusterInitCallback(EndpointId endpointId)
36
36
VerifyOrDie (!gAttrAccess [endpointId]);
37
37
38
38
gAttrAccess [endpointId] = std::make_unique<OccupancySensingAttrAccess>(
39
- BitMask<OccupancySensing::Feature, uint32_t >(OccupancySensing::Feature::kOther ));
39
+ BitMask<OccupancySensing::Feature, uint32_t >(OccupancySensing::Feature::kPassiveInfrared ));
40
40
41
41
OccupancySensing::Structs::HoldTimeLimitsStruct::Type holdTimeLimits = {
42
42
.holdTimeMin = 1 ,
You can’t perform that action at this time.
0 commit comments