@@ -86,58 +86,45 @@ tests:
86
86
- name : " OptionsOverride"
87
87
value : 0
88
88
89
- - label : " Wait 10s "
89
+ - label : " Wait 5s "
90
90
PICS : CC.S.F00
91
91
cluster : " DelayCommands"
92
92
command : " WaitForMs"
93
93
arguments :
94
94
values :
95
95
- name : " ms"
96
- value : 10000
96
+ value : 5000
97
97
98
- # Tolerance to be computed from the range
99
- # Start value 200, expected value 250, 200 - 250 = -50, 50 % 15 = 8 , So 250+/-8 We need two range here as 254 is the max value
100
- # 242...254...0...4
101
- # Multiple range not supported in YAML: https://github.com/project-chip/connectedhomeip/issues/23197
102
- - label : " Step 2c: TH reads CurrentHue attribute from DUT"
103
- PICS : CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP
104
- verification : |
105
- ./chip-tool colorcontrol read current-hue 1 1
106
-
107
- After 10 seconds, Verify that CurrentHue attribute value is 250 On TH(chip-tool) Logs and below is the sample log provided for the raspi platform
108
-
109
- [1649662328.012887][8447:8452] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087279986
110
- [1649662328.012957][8447:8452] CHIP:TOO: Current hue: 250
111
- [1649662328.013055][8447:8452] CHIP:EM: Sending Standalone Ack for MessageCounter:8634142 on exchange 13871i
112
- (Value can vary)
113
- cluster : " LogCommands"
114
- command : " UserPrompt"
115
- arguments :
116
- values :
117
- - name : " message"
118
- value : " Enter 'y' after success"
119
- - name : " expectedValue"
120
- value : " y"
98
+ # Tolerance to be computed from the range (note)
99
+ # In 5 seconds, the value will have changed by 25. A 15% tolerance is 1.7, so ~2, and value must be 225 +/- 2
100
+ - label : " Step 2d: TH reads CurrentHue attribute from DUT"
101
+ PICS : CC.S.F00 && CC.S.A0000
102
+ command : " readAttribute"
103
+ attribute : " CurrentHue"
104
+ response :
105
+ constraints :
106
+ minValue : 223
107
+ maxValue : 227
121
108
122
- - label : " Wait 10s "
109
+ - label : " Wait 15s "
123
110
PICS : CC.S.F00
124
111
cluster : " DelayCommands"
125
112
command : " WaitForMs"
126
113
arguments :
127
114
values :
128
115
- name : " ms"
129
- value : 10000
116
+ value : 15000
130
117
131
- # Tolerance to be computed from the range
132
- # Start value 200, expected value 45, 200 - 45 = 155, 155 % 15 = 23 , So 45+/-23
118
+ # Tolerance to be computed from the range, hue wraps back to 0 the continues
119
+ # In 20s the value will have changed by 100 and wrapped around to 45. A 15% tolerance is 15, so 30 to 60
133
120
- label : " Step 2d: TH reads CurrentHue attribute from DUT"
134
121
PICS : CC.S.F00 && CC.S.A0000
135
122
command : " readAttribute"
136
123
attribute : " CurrentHue"
137
124
response :
138
125
constraints :
139
- minValue : 22
140
- maxValue : 68
126
+ minValue : 30
127
+ maxValue : 60
141
128
142
129
- label : " Wait 10s"
143
130
PICS : CC.S.F00
0 commit comments