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

feat(zigbee): Add Zigbee library #10265

Merged
merged 42 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
94cc558
Initial commit - light bulb + switch working
P-R-O-C-H-Y Jun 28, 2024
3764810
Merge remote-tracking branch 'upstream/master' into feature/zigbee-li…
P-R-O-C-H-Y Jun 28, 2024
7776aa5
Add Thermostat + fix enum
P-R-O-C-H-Y Jul 10, 2024
8ce22e1
Dev update: roles, cb removal, handlers
P-R-O-C-H-Y Aug 9, 2024
3078306
Dev update: implement on/off light and switch methods
P-R-O-C-H-Y Aug 9, 2024
194693a
Merge remote-tracking branch 'upstream/master' into feature/zigbee-li…
P-R-O-C-H-Y Aug 9, 2024
14b99db
Dev update: Factory reset, names, multiple EPs
P-R-O-C-H-Y Aug 12, 2024
54488a4
Dev update: Device ID to string
P-R-O-C-H-Y Aug 12, 2024
a83f695
Implement cmd default response handler
P-R-O-C-H-Y Aug 13, 2024
06b0700
Remove unused _identify_cluster
P-R-O-C-H-Y Aug 14, 2024
ec60ed4
Dev Update: Color DImmable light + switch implemented
P-R-O-C-H-Y Aug 14, 2024
ef1cc89
Implement Network Scanning
P-R-O-C-H-Y Aug 16, 2024
97920df
Dev Update: Thermostat and Temperature sensor EP
P-R-O-C-H-Y Aug 28, 2024
459e4df
Merge remote-tracking branch 'upstream/master' into feature/zigbee-li…
P-R-O-C-H-Y Aug 29, 2024
fa716f0
fix(): Replace deprecated function
P-R-O-C-H-Y Aug 29, 2024
db01086
Remove ported IDF examples
P-R-O-C-H-Y Aug 30, 2024
4d18a8c
Update Zigbee examples with new APIs
P-R-O-C-H-Y Aug 30, 2024
fa6267a
Dev Update: Version setting, Thermostat fix, ...
P-R-O-C-H-Y Aug 30, 2024
7693a16
Remove EP template + add lib to CMakeLists
P-R-O-C-H-Y Aug 30, 2024
7312de3
Merge branch 'master' into feature/zigbee-library
P-R-O-C-H-Y Sep 2, 2024
95ff61b
Rename classes to have proper naming
P-R-O-C-H-Y Sep 2, 2024
495a24f
Add check for SOC_IEEE802154_SUPPORTED
P-R-O-C-H-Y Sep 2, 2024
b000bea
Ignore false positive unused variable/function
P-R-O-C-H-Y Sep 2, 2024
96c18c4
Fix compilation errors in examples
P-R-O-C-H-Y Sep 2, 2024
4edfb8c
Fill keyworkds.txt, remove unnecessary defines
P-R-O-C-H-Y Sep 3, 2024
6e220ec
Rename methods, variables + make private/protected
P-R-O-C-H-Y Sep 10, 2024
4eb37aa
Remove unnecesary defaults defines
P-R-O-C-H-Y Sep 10, 2024
39633f1
Merge branch 'master' into feature/zigbee-library
P-R-O-C-H-Y Sep 10, 2024
59335bb
Remove outdated comments
P-R-O-C-H-Y Sep 10, 2024
9a771b8
Merge branch 'feature/zigbee-library' of https://github.com/P-R-O-C-H…
P-R-O-C-H-Y Sep 10, 2024
2fdeef7
Update Scan networks Readme
P-R-O-C-H-Y Sep 10, 2024
9a86d6f
fix(example): Use proper naming of func and variables
P-R-O-C-H-Y Sep 16, 2024
9a354ae
Change virtual methods to callbacks (TODO)
P-R-O-C-H-Y Sep 19, 2024
f321d43
Refactor classes methods + implement Identify command
P-R-O-C-H-Y Sep 26, 2024
27ecf23
Apply suggestions from code review by @lucasssvaz
P-R-O-C-H-Y Sep 27, 2024
04e0f75
Update READMEs + add openNetwork fucntion
P-R-O-C-H-Y Sep 27, 2024
2eedc2e
Use [[maybe_unused]] instead of #pragma
P-R-O-C-H-Y Sep 27, 2024
3198de3
Merge branch 'master' into feature/zigbee-library
P-R-O-C-H-Y Sep 27, 2024
6e56936
Use gpio calls for OnOff Light example
P-R-O-C-H-Y Sep 27, 2024
3961642
ci(pre-commit): Apply automatic fixes
lucasssvaz Oct 1, 2024
7d763df
fix(): Codespell issues
P-R-O-C-H-Y Oct 2, 2024
44f5522
Merge branch 'master' into feature/zigbee-library
P-R-O-C-H-Y Oct 2, 2024
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
Prev Previous commit
Next Next commit
Remove unused _identify_cluster
  • Loading branch information
P-R-O-C-H-Y committed Aug 14, 2024
commit 06b0700f1782c508182e81d9da8e48829f938302
2 changes: 0 additions & 2 deletions libraries/Zigbee/src/Zigbee_ep.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ class Zigbee_EP {
esp_zb_cluster_list_t *_cluster_list;
esp_zb_attribute_list_t *_attribute_cluster;

esp_zb_identify_cluster_cfg_t *_identify_cluster;

// Set ep config and cluster list
void set_ep_config(esp_zb_endpoint_config_t ep_config, esp_zb_cluster_list_t *cluster_list) {
_ep_config = ep_config;
Expand Down
1 change: 0 additions & 1 deletion libraries/Zigbee/src/ep/ep_on_off_light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ZigbeeLight::ZigbeeLight(uint8_t endpoint) : Zigbee_EP(endpoint) {
_version = 0;

esp_zb_on_off_light_cfg_t light_cfg = ESP_ZB_DEFAULT_ON_OFF_LIGHT_CONFIG();
_identify_cluster = &light_cfg.identify_cfg;
_cluster_list = esp_zb_on_off_light_clusters_create(&light_cfg); // use esp_zb_zcl_cluster_list_create() instead of esp_zb_on_off_light_clusters_create()
_ep_config = {
.endpoint = _endpoint,
Expand Down
1 change: 0 additions & 1 deletion libraries/Zigbee/src/ep/ep_on_off_switch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ZigbeeSwitch::ZigbeeSwitch(uint8_t endpoint) : Zigbee_EP(endpoint) {
_instance = this; // Set the static pointer to this instance

esp_zb_on_off_switch_cfg_t switch_cfg = ESP_ZB_DEFAULT_ON_OFF_SWITCH_CONFIG();
_identify_cluster = &switch_cfg.identify_cfg;
_cluster_list = esp_zb_on_off_switch_clusters_create(&switch_cfg);

_ep_config = {
Expand Down