-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[Code Driven Cluster] Decouple Fan Cluster part 2
#43408
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
Open
LyudmilaKostanyan
wants to merge
105
commits into
project-chip:master
Choose a base branch
from
LyudmilaKostanyan:FanControl
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,083
−1,227
Open
Changes from 60 commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
e7a22c9
Implement FanControl cluster with code-driven pattern
LyudmilaKostanyan 1e04945
Add ZAP codegen integration and attribute handling
LyudmilaKostanyan 036208e
Add OnOff cluster synchronization to FanControl
LyudmilaKostanyan d6bc6fc
Fix FanControl validation, settings preservation, and cleanup
LyudmilaKostanyan 3a06875
Clean up Fan Control examples
LyudmilaKostanyan d4b3622
Couple delegate storage; drop codegen Get/Set wrappers
LyudmilaKostanyan f6c637b
Restyled by clang-format
restyled-commits d162f36
Use SetAttributeValue, VerifyOrReturn, and braced ifs in fan-control …
LyudmilaKostanyan 31be437
Restyled by clang-format
restyled-commits 8fcdc20
imgui_ui: depend on fan-control-server for fan_control window
LyudmilaKostanyan 1185c50
Drop redundant IM checks in FanControlCluster
LyudmilaKostanyan 9000a68
Move FanControl attributes from external to RAM/persist storage in ZAP
LyudmilaKostanyan 422d59e
Restyled by prettier-json
restyled-commits 3014287
Use generated accessors in FanControl CodegenIntegration
LyudmilaKostanyan 27c5839
Clean up includes in FanControl cluster
LyudmilaKostanyan 17f42e8
Drop redundant Startup/Shutdown overrides in FanControlCluster
LyudmilaKostanyan b65f183
Add FanMode persistence support to FanControl cluster
LyudmilaKostanyan 1b0040f
Restyled by clang-format
restyled-commits 4d96d2a
Use SetAttributeValue helper in FanControl cluster
LyudmilaKostanyan 8412374
Notify delegate on attribute updates in decoupled cluster
LyudmilaKostanyan abde04a
Log SetFanMode errors in FanControl examples
LyudmilaKostanyan 45f3dcd
Add OnFanStateChanged delegate callback to FanControl cluster
LyudmilaKostanyan 6e3a8d8
Add syncOnOffDelegate parameter to SetFanMode to skip OnOff delegate …
LyudmilaKostanyan e85c01e
Merge branch 'master' into FanControl
LyudmilaKostanyan b2b85a4
Use VerifyOrReturn in SetFanModeToOff
LyudmilaKostanyan 548fd69
Zap regen
LyudmilaKostanyan 847e9ea
Use NullNullable
LyudmilaKostanyan 7432009
Fix Auto current notify pairing, use mSpeedMax inline, delegate from …
LyudmilaKostanyan e9392eb
Simpler defaults, delegate wiring, and percent values
LyudmilaKostanyan c4d9917
Restyled by clang-format
restyled-commits 4928d3e
Fix fan-control include path
LyudmilaKostanyan fd1f4e3
Add detailed comments for FanMode side effects
LyudmilaKostanyan 8b1b152
Refactor FanControl delegate to use unified FanDriveState callback
LyudmilaKostanyan d86a554
Add documentation for FanControl SetOnOffState
LyudmilaKostanyan 566d60f
Restyled by whitespace
restyled-commits 9f2d363
Restyled by clang-format
restyled-commits 9294ea6
Refactor Startup fan mode restoration
LyudmilaKostanyan bb1d18b
Refactor FanControl Step handling with early validation and nullable …
LyudmilaKostanyan 8e5ee5f
Restyled by clang-format
restyled-commits 62621bb
Merge branch 'master' into FanControl
LyudmilaKostanyan 6c07537
Merge branch 'master' into FanControl
LyudmilaKostanyan 3b197dc
Merge branch 'master' into FanControl
LyudmilaKostanyan 90fa6f9
Merge branch 'master' into FanControl
LyudmilaKostanyan e18dccc
Add README.md
LyudmilaKostanyan d9723b2
Zap regen
LyudmilaKostanyan 3303f39
Add fan device in all-devices-app
LyudmilaKostanyan aee2dc5
Merge branch 'master' into FanControl
LyudmilaKostanyan 946d4dd
Zap regen
LyudmilaKostanyan 4a3eb59
Restyled by whitespace
restyled-commits c0a4186
Restyled by clang-format
restyled-commits 3ca5d59
Restyled by gn
restyled-commits 316e5d2
Merge branch 'master' into FanControl
LyudmilaKostanyan 96e8503
Wire fan device into ESP32 CMake and run TC_FAN tests against all-dev…
LyudmilaKostanyan f286ba6
Configure FanControl with SpeedMax and Step
LyudmilaKostanyan b484525
Set FanControl OnOff state on OnOff startup and changes
LyudmilaKostanyan 51820c5
Merge branch 'master' into FanControl
LyudmilaKostanyan ee72891
Zap regen
LyudmilaKostanyan 3f3abca
Implement FanControl Step command handler in LoggingFanDevice
LyudmilaKostanyan fa6889d
Restyled
LyudmilaKostanyan 61fdc69
Fix FanControl Step command lowestOff default and LoggingFanDevice st…
LyudmilaKostanyan 638078e
Fix FanControl to notify delegate once when setting percent/speed to …
LyudmilaKostanyan 25a7fb9
Remove unused GroupsCluster accessor from FanDevice
LyudmilaKostanyan 29c4170
Merge branch 'master' into FanControl
LyudmilaKostanyan e28962b
Remove unused GroupsCluster accessor from FanDevice
LyudmilaKostanyan 271492e
Add Wind, Rock and AirflowDirection support to FanDevice
LyudmilaKostanyan 759987b
Merge branch 'master' into FanControl
LyudmilaKostanyan c99f183
Restyle
LyudmilaKostanyan d399071
Fix fan OnOff state logic in all-devices-app
LyudmilaKostanyan 09299a1
Fix fan OnOff state logic in all-devices-app
LyudmilaKostanyan 2a15f03
Remove OnOffCluster accessor from FanDevice
LyudmilaKostanyan f218a4c
Align server with Fan Control cluster spec
LyudmilaKostanyan f89c94a
Fix FanControl to reject null PercentSetting/SpeedSetting outside Aut…
LyudmilaKostanyan bffd0fc
Return InvalidInState for unsupported FanMode instead of ConstraintError
LyudmilaKostanyan 76627bd
Decouple server from OnOff
LyudmilaKostanyan bbc77cb
Add OnOffCluster support to FanDevice in all-devices-app
LyudmilaKostanyan 7e50785
Add percent and speed setting methods to FanControlCluster; update Lo…
LyudmilaKostanyan 1ec3dec
Add percent and speed setting methods to FanControlCluster; update Lo…
LyudmilaKostanyan 1675d8e
Refine LoggingFanDevice state management logic to ensure proper handl…
LyudmilaKostanyan 494ec89
Merge branch 'master' into FanControl
LyudmilaKostanyan bc57cbd
Restyled
LyudmilaKostanyan bb538ef
Merge branch 'master' into FanControl
LyudmilaKostanyan c5bed78
Refactor LoggingFanDevice to remove redundant speed setting logic in …
LyudmilaKostanyan c8f72c7
Refactor LoggingFanDevice to streamline fan state management by conso…
LyudmilaKostanyan c6760bf
Merge branch 'master' into FanControl
LyudmilaKostanyan 55b637d
Change for trigger REPL test
LyudmilaKostanyan be01c7b
Merge branch 'master' into FanControl
LyudmilaKostanyan f873b0f
Merge branch 'master' into FanControl
LyudmilaKostanyan e619211
Align OnOff with fan settings. Add TODO for FanMode error code
LyudmilaKostanyan e696f9e
Refactor fan state handling in LoggingFanDevice
LyudmilaKostanyan 7af5943
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9714f8c
Remove second `soil-sensor` registration from `DeviceFactory`
LyudmilaKostanyan 3ad74d9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b0d50e4
Refactor AirPurifierManager to improve fan control logic
LyudmilaKostanyan 6123807
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7cf68d3
Refactor fan control logic in AirPurifierManager and related components
LyudmilaKostanyan 7a8e971
Return comment
LyudmilaKostanyan 611138d
Return nameing and remove useless casts
LyudmilaKostanyan d612b7e
Added comments to suppress lint warnings
LyudmilaKostanyan 743eeb6
Refactor fan state handling in LoggingFanDevice
LyudmilaKostanyan e55a4a7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 15adca1
Keep fan currents at zero while On/Off is off
LyudmilaKostanyan 4c1ed8a
Enhance LoggingFanDevice to handle On/Off state changes more robustly…
LyudmilaKostanyan 30ff0ab
Match LoggingFanDevice::HandleStep to all-clusters fan-stub (null
LyudmilaKostanyan c766935
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7c84965
Merge branch 'master' into FanControl
LyudmilaKostanyan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.