Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Air Purifier Example App #29861

Merged
merged 82 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
fa6e8ce
Adding Air Purifier example framework and basic app, WIP
mhazley Aug 29, 2023
bef7a73
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Aug 30, 2023
6b2c0c3
wip, started adding class structures
mhazley Aug 31, 2023
73bc825
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Aug 31, 2023
84d2d48
A messy yet stable version of the air-purifier, doesn't build as need…
mhazley Sep 1, 2023
fd1b4b5
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Sep 1, 2023
c278343
Added TODO and tested following merge
mhazley Sep 1, 2023
e862649
The Air Quality Cluster API changed so updated constructor to take ha…
mhazley Sep 1, 2023
0d9ac81
Added common device callback interface and changed the MatterPostAttr…
mhazley Sep 4, 2023
9fbf713
Changed the way we initialise the singleton Air Purifier Manager
mhazley Sep 5, 2023
004b397
Add air-purifier example for Ameba platform
chrismapp Sep 5, 2023
20104e7
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Sep 6, 2023
9b17532
Fixed wrong cluster revision in zap for concentraitons
mhazley Sep 6, 2023
20d0163
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Sep 7, 2023
72e7ce1
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Sep 7, 2023
4559c84
Add air-purifier example for CC32xx platform
tobiasgraf Sep 7, 2023
930aeed
Add LastChangedTime and ReplaceableProductList To zap For HEPAFREMON …
tobiasgraf Sep 7, 2023
594086d
Updates to zap file for missing attributes and commands
mhazley Sep 7, 2023
3270417
Adding PICS for the example
mhazley Sep 7, 2023
58950d4
Add PostchangeCallback To CC32XX Example
tobiasgraf Sep 7, 2023
e305247
Fix Zap File for RH
tobiasgraf Sep 7, 2023
4762736
Fix Zap File For Temp Measurement
tobiasgraf Sep 7, 2023
47a454e
Update ClusterRev For Thermostat From 5 To 6
tobiasgraf Sep 7, 2023
212d6df
Update FeatureMap For Fan Control
tobiasgraf Sep 7, 2023
8b67c9e
Regenerate Matter File From Previous Zap Changes
tobiasgraf Sep 7, 2023
e926ea1
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Sep 7, 2023
410739f
Add Button Handler For CC32XX
tobiasgraf Sep 8, 2023
8f23f94
Use Common filter-delegates.cpp For CC32XX Example
tobiasgraf Sep 8, 2023
7183fca
Switched thermostat pics to be AbsLimits on the setpoint
mhazley Sep 8, 2023
ed4b2aa
Updated the zapfile for thermostat
mhazley Sep 8, 2023
cafeef1
Adding thermostat manager
mhazley Sep 8, 2023
a42bf1d
Changed all temperatures to be *100 and added callthrough from top le…
mhazley Sep 8, 2023
2948b85
Added thermostat endpoint into init call
mhazley Sep 8, 2023
af22f3f
Changed name of attribute write handlers
mhazley Sep 8, 2023
78e6480
Changed name of attribute write handlers
mhazley Sep 8, 2023
e41675e
Add Thermostat-manager To CC32XX example
tobiasgraf Sep 8, 2023
e9f56d5
Add helper script for executing Air-Purifier tests
chrismapp Sep 8, 2023
7443fb1
Remove duplicate line in air-purifier test runner script
chrismapp Sep 8, 2023
3604e64
Adding CHIP header comment to files
mhazley Sep 11, 2023
8fc633d
Removing Thermostat as the tests are broken for our use case
mhazley Sep 11, 2023
24335a4
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Sep 11, 2023
0ce648e
Merge branch 'air-purifier-example-app' of github.com:dysonltd/connec…
mhazley Sep 11, 2023
4f8027b
Removing TSTAT tests
mhazley Sep 11, 2023
88b5bc6
Adding PICS folder in common with XML and simple PICS
mhazley Sep 12, 2023
b78d345
Merge remote-tracking branch 'origin/master' into air-purifier-exampl…
chrismapp Sep 13, 2023
a4e0286
Add Correct Device Type And Name
tobiasgraf Sep 22, 2023
d7ad903
Removing Thermostat as the tests are broken for our use case
tobiasgraf Sep 22, 2023
b10eae1
Add A Way To Reset The Matter Part Of The Device For CC32XX Air Purif…
tobiasgraf Sep 22, 2023
f343cfb
Update README
tobiasgraf Oct 4, 2023
a024785
Remove Commented Code
tobiasgraf Oct 4, 2023
906e507
Update Copyright For CC32xx To 2023
tobiasgraf Oct 4, 2023
bca1589
Update Copyright to 2023 For Ameba
tobiasgraf Oct 4, 2023
d4687c5
Merge remote-tracking branch 'origin' into air-purifier-example-app
mhazley Oct 19, 2023
c4c5426
Regenned after merging upstream
mhazley Oct 19, 2023
1e99859
Added clearer Fan Mode support and some comments
mhazley Oct 19, 2023
aaf66b1
Added comment re: TODO for thermostat endpoint
mhazley Oct 19, 2023
1999aa5
Restyled by whitespace
restyled-commits Oct 19, 2023
b185594
Restyled by clang-format
restyled-commits Oct 19, 2023
49eee21
Restyled by gn
restyled-commits Oct 19, 2023
ed000ca
Restyled by prettier-markdown
restyled-commits Oct 19, 2023
4577580
Restyled by shellharden
restyled-commits Oct 19, 2023
d9052fb
Removed missing reference in cc32xx readme
mhazley Oct 19, 2023
c330bf7
Adding README for linux and adding all README's to the docs toctree
mhazley Oct 19, 2023
afe7371
Attempt 2 at setting toctree for new readmes
mhazley Oct 19, 2023
e834cb1
Fix whitespace in script
chrismapp Oct 19, 2023
2db8e29
Merge remote-tracking branch 'origin/master' into air-purifier-exampl…
chrismapp Oct 19, 2023
ea313f9
Restyled by shfmt
restyled-commits Oct 19, 2023
47d0f70
Fixed spelling mistake in Readme
mhazley Oct 19, 2023
e5f929c
Update include paths
chrismapp Oct 19, 2023
5e1c5df
Add Ameba air-purifier example readme file
chrismapp Oct 19, 2023
894a129
Add words to wordlist
chrismapp Oct 20, 2023
e35293a
Removed PICS and script, changed cc32xx headers to use pragma once
mhazley Oct 20, 2023
b40b03e
Merge branch 'air-purifier-example-app' of github.com:dysonltd/connec…
mhazley Oct 20, 2023
4cf24cf
Restyled by clang-format
restyled-commits Oct 20, 2023
55720a1
Restyled by prettier-markdown
restyled-commits Oct 20, 2023
054b61c
Removed TODO's from common code as they were not relevant
mhazley Oct 20, 2023
56ea09e
Revert "Add words to wordlist"
chrismapp Oct 23, 2023
20f0455
Replace indentations with fenced code blocks and minor tidy up within…
chrismapp Oct 23, 2023
ccad3bf
Removed old debug comments from gn file
mhazley Oct 23, 2023
43097c5
Added linux air-purifier-app to the helper script for building examples
mhazley Oct 23, 2023
3478926
Added air-purifier example for linux to CI
mhazley Oct 23, 2023
9509441
Restyled by prettier-markdown
restyled-commits Oct 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ AIDL
AlarmCode
algs
alloc
ambd
ambiot
mhazley marked this conversation as resolved.
Show resolved Hide resolved
Ameba
amebad
amebaiot
Expand Down Expand Up @@ -558,6 +560,7 @@ FlowMeasurement
FluorideConcentrationMeasurement
focusable
forkpty
formaldehydeconcentrationmeasurement
mhazley marked this conversation as resolved.
Show resolved Hide resolved
formatOnSave
FOTA
FreeRTOS
Expand Down Expand Up @@ -892,6 +895,7 @@ MoveToHue
MoveToLevel
MoveToSaturation
MoveWithOnOff
mpp
MPSL
MRP
MTD
Expand Down Expand Up @@ -1141,6 +1145,7 @@ READMEs
readonly
readthedocs
Reag
realtek
rebase
recommand
recommanded
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@
"condition_variable": "cpp",
"numeric": "cpp",
"random": "cpp",
"thread": "cpp"
"thread": "cpp",
"variant": "cpp",
"any": "cpp"
},
// Configure paths or glob patterns to exclude from file watching.
"files.watcherExclude": {
Expand Down
11 changes: 10 additions & 1 deletion docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,20 @@ window-app/**/README
resource-monitoring-app/**/README
```

## Air Quality Sensor example
## RVC example

```{toctree}
:glob:
:maxdepth: 1
rvc-app/README
```

## Air Purifier Example

```{toctree}
:glob:
:maxdepth: 1
air-purifier-app/**/README
```
24 changes: 24 additions & 0 deletions examples/air-purifier-app/air-purifier-common/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (c) 2020 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import("//build_overrides/chip.gni")
import("${chip_root}/src/app/chip_data_model.gni")

chip_data_model("air-purifier-common") {
zap_file = "air-purifier-app.zap"

zap_pregenerated_dir =
"${chip_root}/zzz_generated/air-purifier-app/zap-generated"
is_server = true
}
Loading