Commit Graph

185 Commits

Author SHA1 Message Date
Piyush Shah
f6e07b593e examples: Configure ESP32-C5 GPIO defaults for examples
- Set button GPIO to 28 for ESP32-C5 devkit (vs GPIO 9 for other C-series)
- Set WS2812 LED GPIO to 27 for ESP32-C5 devkit (vs GPIO 8 for other C-series)
- Updated examples: gpio, switch, multi_device, temperature_sensor, fan, led_light
2025-06-09 17:44:47 +05:30
Shubham Patil
5c21be6597 examples/matter: defer rainmaker start until ble deinit
Starting the rainmaker agent alongside the matter may cause matter commissioning
to fail due to low heap memory. This happens because matter CASE and rainmaker’s
MQTT connection occur simultaneously, and both operations are memory-intensive,
potentially leading to failures.
2025-04-11 12:07:57 +05:30
ivan.theng
7219d7a2ad examples: Added a new example for m5 stick
This adds an example for the M5 stick development board. More info can
be found in its README.
2025-03-28 19:12:51 +08:00
Piyush Shah
b5e1a46591 examples: Changes for component manager based builds 2025-03-25 17:54:31 +05:30
Piyush Shah
327f35437e esp_rainmaker_components: Remove all external dependencies from codebase
Removed
- esp-insights
- jsmn
- json_generator
- json_parser

Instead, pick them up from idf component manager
2025-03-25 17:11:07 +05:30
Vikram Dattu
35941c8925 examples/common: use qrcode from component manager
- Remove qrcode sources from examples/common
 - Added idf_component.yml file to app_wifi component with qrcode dependency
 - Added qrcode_display function in app_wifi which wraps the qrcode generation
2025-03-21 15:49:58 +05:30
Piyush Shah
fb940eb4b2 Merge branch 'thread_br_on_M5Stack' into 'master'
examples/thread_br: thread br on M5Stack

See merge request app-frameworks/esp-rainmaker!501
2025-03-20 13:17:06 +08:00
Piyush Shah
b647e54abf Merge branch 'zigbee_gateway_on_M5Stack' into 'master'
examples/zigbee_gateway: zigbee gateway on M5Stack

See merge request app-frameworks/esp-rainmaker!500
2025-03-20 13:16:49 +08:00
Chen Dejin
00e941baa2 examples/controller: controller on M5Stack-CoreS3 2025-03-20 11:03:53 +08:00
Gautam Agrawal
88d359014e Update esp_insights submodule to 1.2.4
* Update app_insights components dependency version to 1.2.4
2025-02-28 11:30:55 +05:30
chendejin
ecbc449451 examples/zigbee_gateway: zigbee gateway on M5Stack
Co-authored-by: Xie Qi Nan <xieqinan@espressif.com>
2025-02-25 18:01:54 +08:00
chendejin
fa11b46471 examples/thread_br: thread br on M5Stack 2025-02-12 19:47:02 +08:00
Piyush Shah
f8722442f7 Merge branch 'example/update_thread_br' into 'master'
examples: Use thread border router management cluster instead of custom thread br cluster for Matter Controller examples

Closes MEGH-6030

See merge request app-frameworks/esp-rainmaker!482
2025-01-02 17:26:13 +08:00
Piyush Shah
d1cb118d2a Merge branch 'support/h2_boot_gpio' into 'master'
Provide correct default BOOT pin config for ESP32-H2

See merge request app-frameworks/esp-rainmaker!478
2025-01-02 14:22:23 +08:00
WanqQixiang
97ee869a32 examples: Use thread border router management cluster instead of custom thread br cluster for Matter Controller examples 2024-12-30 19:46:02 +08:00
Piyush Shah
7d506420d3 Merge branch 'bugfix/homekit_examples' into 'master'
homekit_switch: Compilation fixes

See merge request app-frameworks/esp-rainmaker!485
2024-11-19 16:37:02 +08:00
Piyush Shah
6c2859008c Merge branch 'tbr/fix_duplicate_initial' into 'master'
thread_br: avoid duplicate initialization for border router and increase mqtt task stack size

Closes RMN-2001 and RMN-2047

See merge request app-frameworks/esp-rainmaker!479
2024-11-05 20:18:59 +08:00
Piyush Shah
273b1ec903 homekit_switch: Compilation fixes
Also included in CI
2024-10-25 17:31:50 +05:30
Piyush Shah
72845bc086 bugfix: app_wifi logs had app_thread tag 2024-10-25 17:31:21 +05:30
Vikram Dattu
54554b6c8a Provide correct default BOOT pin config for ESP32-H2 2024-10-17 14:30:16 +05:30
WangQixiang
592c25f0e3 thread_br: avoid duplicate initialization for border router
Closes RMN-2001 RMN-2047
2024-10-17 11:18:51 +08:00
Vikram Dattu
66160cdaf7 Changed default partion csv file to partions_4mb_optimised.csv
- With newest IDF releases with recent feature additions, the app partitions were getting overflown.
 - This optimised partions file make fullest use of flash. Hence we get more room for app partitions.
2024-10-15 18:06:42 +05:30
Piyush Shah
41c7d54b1a homekit example: Rename internal app_wifi component to app_network
This is to override the examples/common/app_network component which
causes compilation issues for homekit examples
2024-09-13 12:07:48 +05:30
Piyush Shah
cff0db657d app_network: Handle renaming of app_wifi config options to app_network
Since all CONFIG_APP_WIFI_x config options have been renamed to CONFIG_APP_NETWORK_x,
the older settings may get lost after upgrading esp-rainmaker to use the
new app_network component. This commit ensures that the old config options
will get automatically renamed to appropriate new config options.
2024-09-11 18:21:24 +05:30
Piyush Shah
3328c7295f Merge branch 'thread-br' into 'master'
feature: Add Thread Border Router service and Thread BR example

See merge request app-frameworks/esp-rainmaker!450
2024-09-10 19:23:14 +08:00
Piyush Shah
1f31d6c816 Merge branch 'rmaker/provisioning_option' into 'master'
rmaker: Add a configuration option to make the provisioning component selectable

See merge request app-frameworks/esp-rainmaker!460
2024-09-10 19:22:38 +08:00
WanqQixiang
189f99bb1c feature: Add Thread Border Router service and Thread BR example 2024-09-10 17:45:03 +08:00
WanqQixiang
0470847455 rmaker: Add a configuration option to make the provisioning component selectable 2024-09-10 15:47:43 +08:00
Vikram Dattu
d1c2e34e4d gitlab_ci: Fix matter build by fixing the docker image
- Fixed docker image to last known working esp-matter image
2024-09-04 17:31:39 +05:30
Sayon Deep
f1be7e20e3 Made changes for latest matter 83845fc0430f70dfd74083a993ddd3fb2866bc72 2024-09-03 20:06:19 +05:30
Mahavir Jain
52524f601b Merge branch 'fix/app_wifi_cxx_guards' into 'master'
fix: include guard in app_wifi.h

See merge request app-frameworks/esp-rainmaker!465
2024-08-23 19:31:53 +08:00
Jakob Hasse
648d4aa2d6 fix: include guard in app_wifi.h 2024-08-23 12:39:00 +02:00
Vikram Dattu
3e375f43f6 Enable Insights command response module
- Updated esp_insights submodule and the component version dependency
 - Selected `ESP_INSIGHTS_TRANSPORT_MQTT` in examples sdkconfig.defaults
 - Called esp_insights_cmd_resp_enable

 - Also updated `cli` submodule to the latest
2024-08-22 10:32:54 +05:30
Hrishikesh Dhayagude
1701420ff2 Merge branch 'rm_matter/build_fix' into 'master'
Fixed matter_controller build

See merge request app-frameworks/esp-rainmaker!464
2024-08-21 13:18:50 +08:00
Sayon Deep
973991563f examples/matter/common/controller_custom_cluster:fixed for matter_controller example 2024-08-20 23:39:50 +05:30
Piyush Shah
296e71dc3a Merge branch 'rainmaker_over_thread' into 'master'
Add RainMaker over Thread support

See merge request app-frameworks/esp-rainmaker!454
2024-08-09 18:29:12 +08:00
WanqQixiang
aa6dcdf559 example: Update examples to use app_network for Thread provisioning 2024-08-06 16:29:35 +08:00
WanqQixiang
dbc2ed69e6 example: Update app_wifi component to app_network component which can be used for Thread provisioning 2024-08-06 16:29:35 +08:00
Sayon Deep
ec04f94055 examples/matter: Moved app_matter apis to app_matter component
examples: moved app_matter apis as component at examples/matter/common

examples/matter/matter_light: renamed app_matter to app_matter_light

examples/matter/matter_light: fixed for thread

examples/matter/matter_light: moved forward declaration to app_priv.h

examples/matter/matter_switch: Updated to include app_matter as component

examples/matter/matter_controller: Updated to include app_matter as component

examples/matter/matter_controller_with_touchscreen: Updated to include app_matter as component

removed namespace declaration from header file.
2024-07-29 16:13:18 +05:30
Hrishikesh Dhayagude
095e028c7f Merge branch 'fix/docs_for_manufacture' into 'master'
Fixed the docs for manufacturing consideration and others

See merge request app-frameworks/esp-rainmaker!455
2024-07-19 21:57:32 +08:00
Sayon Deep
657fcaa5ad examples/matter: fixed the docs for manufacturing consideration and others 2024-07-19 18:18:08 +05:30
Sayon Deep
15e1a1070d gitlab_ci: Update matter image to espressif/esp-matter:latest_idf_v5.2.1 2024-07-18 13:03:18 +05:30
Sayon Deep
9472476a18 examples/matter/: fixed esp32c6 partition table 2024-07-18 12:59:12 +05:30
Sayon Deep
e2631f8c83 examples/matter/matter_switch: fixed client command callback 2024-07-17 17:43:32 +05:30
Hrishikesh Dhayagude
90a8d9edf9 Merge branch 'matter_controller/fix_inclusion_of_param_in_metadata' into 'master'
Fix inclusion of param while fetching metadata from cloud

See merge request app-frameworks/esp-rainmaker!456
2024-07-16 16:03:09 +08:00
Sayon Deep
f85da25a2c examples/matter: fixed inclusion of params while fetching metadata 2024-07-12 14:35:02 +05:30
WanqQixiang
2e05e3f234 example(matter): Add Thread support for esp32-h2 and esp32-c6 in matter light example 2024-07-11 12:22:37 +08:00
Hrishikesh Dhayagude
8d02b5b860 Merge branch 'controller/fix_memory_leaks' into 'master'
matter_controller: Fix clear device list once clone is created.

See merge request app-frameworks/esp-rainmaker!449
2024-07-01 12:44:33 +08:00
Sayon Deep
acbbc44c7f examples/matter: locked lvgl and esp32_s3_lcd_ev_board components due to breaking change in lvgl component. 2024-06-25 15:35:45 +05:30
Piyush Shah
b6ca97d689 examples: Changes for bulk parameter reporting
- led_light: Use the new bulk write callback (single callback invoked just once
  for multiple param writes) and use esp_rmaker_param_update()
  so that all updated params are also reported together.
- Other examples: Just replace esp_rmaker_param_update_and_report with
  esp_rmaker_param_update() and let the Rainmaker core report all
  updated params together.
2024-06-20 14:26:11 +08:00