211 Commits

Author SHA1 Message Date
Piyush Shah
ebe3742c0a Merge branch 'support/led_light_pop_config' into 'master'
example(led_light): Add support for setting POP_TYPE from config

See merge request app-frameworks/esp-rainmaker!574
2025-09-12 17:06:44 +05:30
Vikram Dattu
151b2603fc example(led_light): Add support for setting POP_TYPE from config
- Three options to chose from 0 (POP_TYPE_MAC), 1 (POP_TYPE_RANDOM) and 2 (POP_TYPE_NONE)
 - CUSTOM_POP option is not provided, because it needs additional API call to set custom pop value
2025-09-10 11:35:12 +05:30
Piyush Shah
1dec6f0d3a homekit_switch: Use network_provisioning component instead of wifi_provisioning 2025-08-31 18:01:47 +05:30
Piyush Shah
15922cf7c0 examples: Remove legacy code for esp-idf versions < 5.1 2025-08-29 20:02:57 +05:30
Piyush Shah
5536af3487 app_network: Remove CONFIG_ESP_RMAKER_USING_NETWORK_PROV
Made network prov as default since it is supported for esp-idf v5.1
onwards and esp-idf v5.0 has reached end of life.

This will make the code more readable
2025-08-29 20:02:41 +05:30
Piyush Shah
efcb15b137 cleanup: Remove Makefile related files as it is not supported any more
ESP IDF has moved to CMake since long back and these files were anyways
unused
2025-08-29 19:52:06 +05:30
Piyush Shah
1908682637 Merge branch 'example/add_system_service' into 'master'
example(led_light): Add system service to support factory reset

See merge request app-frameworks/esp-rainmaker!560
2025-07-30 12:14:22 +05:30
esp
98a76a1ecb example(led_light): Add system service to support factory reset 2025-07-30 10:12:17 +08:00
Shubham Patil
9899f6b4e6 examples/matter/matter_light: set default values using set_val api
Variable names differ between main and release/v1.4 branches for setting
the member attributes in feature struct, so use the attribute::set_val()
api as a workaround for compatibility.

esp-matter!1002 added the feature config and we updated the rainmaker
examples, but then there were more changes went in which broke the
APIs/structs and was fixed in esp-matter!1146 which again broke the
rainmaker examples.

This fixes the current esp-matter:main and esp-rainmaker:master builds
for rainmaker+matter examples.
2025-07-22 12:52:47 +05:30
shripad621git
a84ba1aa17 examples/matter: Updated the README for matter examples 2025-06-30 11:01:09 +05:30
Piyush Shah
a96ae30aaa Merge branch 'client-only-matter-controller' into 'master'
Add client-only matter controller example

See merge request app-frameworks/esp-rainmaker!425
2025-06-24 10:19:25 +05:30
Piyush Shah
d465264179 Merge branch 'fix-matter-nvs-sz' into 'master'
examples/matter: increase the nvs size to recommended 48KB

See merge request app-frameworks/esp-rainmaker!537
2025-06-23 19:00:36 +05:30
WanqQixiang
6a79869068 examples: Add client-only matter controller example 2025-06-23 17:22:40 +08:00
Hrishikesh Dhayagude
21f5f47686 Merge branch 'feature/add_matter_plus_rainmaker_light_example' into 'master'
Add matter plus rainmaker light example non fabric and dynamic passcode function

See merge request app-frameworks/esp-rainmaker!526
2025-06-20 13:13:51 +08:00
Sayon Deep
585c834c11 examples/matter: fixed passing address of local variable 2025-06-18 12:26:20 +05:30
Sayon Deep
a443f7ff66 examples/matter: Updated README.md with node config and getparams example.
(cherry picked from commit e5bc3c72dfea92a1c64c68a71ac5aa6be12c56bf)
2025-06-18 12:26:20 +05:30
Sayon Deep
acea4e23cf changed device type value to have 0x for hex 2025-06-18 12:26:20 +05:30
Sayon Deep
5153a9ced5 restructred metadata to add event_list and client clusters 2025-06-18 12:26:20 +05:30
Sayon Deep
626cb34ab7 restructred metadata for new format 2025-06-18 12:26:20 +05:30
Sayon Deep
64320ce950 matter controller can now report the params as per data type of the attribute 2025-06-18 12:26:20 +05:30
Piyush Shah
45d2001a28 Merge branch 'task/c5support' into 'master'
esp32c5: Add ESP32-C5 support to RainMaker

See merge request app-frameworks/esp-rainmaker!544
2025-06-10 14:18:46 +05:30
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
jim
826b85d525 example: Remove the external platform and use secondary ble adv 2025-05-30 10:51:40 +08:00
jim
fc644e6091 Add example README 2025-05-30 10:51:40 +08:00
jim
2b383b0605 Add rainmaker plus matter fabric and no fabric example 2025-05-30 10:51:40 +08:00
Shubham Patil
f463808e68 examples/matter: fix matter example builds with main branch
- Fix the usage of device-hal's button component for matter_light,
  matter_swithc, and matter_controller examples.
- Fix the feature bits usage in matter_light as per new changes in
  esp-matter
- Update the top level README for Matter examples to include the
  mandatory fields in the esp-matter-mfg-tool command that are required
  to PASS the certification
2025-05-23 12:34:15 +05:30
Shubham Patil
c17acb28f0 examples/matter: increase the nvs size to recommended 48KB
Matter requires minimum 48KB to pass the certitication tests
so its better we increase to that recommended limits.
2025-04-29 12:39:31 +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