Commit c7d1a48
Add basic Energy gateway app example and add new XML for Energy management in 1.5 (project-chip#37902)
* Basic energy-gateway-app framework for Linux and ESP32 - linking issue due to device type problems bringing in expected clusters.
* Initial attempt to add new clusters based of PR 10815 - ZAP is raising error 'Unable to find cluster extension by component'
* Added missing xml files to zcl.json. Added regen of global-structs.xml and global-enums.xml (NOTE: ApparentPowerThresholds SHOULD be power_mva! but Zap does not recognise this yet.
* Temporary change of "money" to int64s whilst waiting for a ZAP change.
* Added Meter Identification cluster XML
* Updated tests.yaml and rules.matterlint to include new clusters
* .matter file updates caused by new enums
* Updated files after zap_regen_all
* New files after zap_regen_all
* Add support for money and new electrical data types
* Added new attributes for structs to attributeAccessInterfaceAttributes. Removed legacy measurement-and-sensing.xml in favour of new global-structs/global-enums.xml
* Updated .matter files after subsequent regen_all
* code autogen after moving to global structs/enums and updating structs in attributes- regen_all
* Backed out change to support SetVidVerificationStatement etc
* Enabled Commodity Price in data_model/contoller-clusters.zap. Added stub basic-type Currency. Disabled Ember in config-data.yaml. Linux now builds but aborts at start-up.
* Update chip-types.xml with new energy types and money
* Changed to use correct global struct CurrencyStruct
* Revert changes to generated attribute-type.h file
* regen_all after merging in Hasty's new types PR: project-chip#37980
* Further zap_regen_all updates after picking up fix from Hasty#s project-chip#37980
* Revert reversion of generated attribute-type.h
* Fix build issue due to moving MeasurementAccuracyStruct to global-structs.
* Restyled by whitespace
* Restyled by clang-format
* Restyled by gn
* Update attribute-type.h
* Fix EEM/EPM clusters which use new global MeasurementAccuracyRangeStruct and MeasurementTypeEnum
* Restyled by clang-format
* Generated XML files from Alchemy for new clusters and refreshed older EM clusters with latest Alchemy.
* Added missing zap_cluster_list.json
* Added missing CurrencyStruct
* zap_regen_all
* Fix-up EEM/EPM and apps that use them because the Structs and Enums have moved to Globals:: namespace
* Fix CI issue - Re-did bootstrap to pick up new ZAP, and regen_all. Updated ChipStructs.java which was different in CI
* Reverted back to using existing measurement-and-sensing-.xml to avoid API backwards compatibility change.
* Regen_all to revert all .matter files back to remove global MeasurementType enum
* Another regen_all
* Manually added missing description to the clusters to hopefully fix the IDL parsing errors.
* Regen_all to include description tag from XML.
* Updated ChipStructs.java after previous regen_all
* Revert bad merge
* Reverted removal of measurement and sensing xml
* regen_all
* Moved MatterCommodityPricePluginServerInitCallback() to util.cpp to resolve linker error
* Reverted ElectricalPowermeasurementDelegate use of global struct
* Bump zap to 2025.3.25
* Partial regen-all to update .matter files (zap-regen-all still crashes!)
* Support non-nightly versions
* Another update for logic
* Fix bad update
* Update one more extra extension
* Reverted some of the xml files that were updated by alchemy and not really needed in this pr
* Reverted EEM/EPM xml files
* Zap regen all finally fixed with increased timeout
* Merge of .github/workflows/tests.yaml had screwed up
* Fixed Linux crash on startup by adding an empty cmd handler function for now and calling ChipLinuxAppInit()
* Revert "Merge remote-tracking branch 'andrei/zap_update' into energy-gateway-app"
This reverts commit 0cc1dea, reversing
changes made to 2fd6786.
* Syncd back to Master after reverting Andrei's zap changes
* Per review comment - changed copyright to only 2025
* Updated more copyright to 2025
* Update copyright commodity-price-server.cpp
---------
Co-authored-by: Hasty Granbery <[email protected]>
Co-authored-by: Hasty Granbery <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>1 parent 8547d44 commit c7d1a48
File tree
38 files changed
+6873
-14
lines changed- examples/energy-gateway-app
- energy-gateway-common
- common
- include
- src
- esp32
- main
- include
- third_party
- linux
- include
- third_party
- src
- app
- clusters/commodity-price-server
- common/templates
- util
- controller/data_model
- zzz_generated/app-common/app-common/zap-generated
38 files changed
+6873
-14
lines changedLines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments