Commit Graph

718 Commits

Author SHA1 Message Date
Piyush Shah
8371bc0bbf bugfix: User-Node mapping could fail if esp-insights is enabled 2025-08-26 16:13:12 +05:30
Piyush Shah
a87c825fbb chal_resp: Add support for challange response based user node association
This is a synchronous user-node mapping method that is performed during
provisioning, but even before sending Wi-Fi credentials and does not require
any communication from the node to the cloud. Check the esp_rainmaker
component CHANGELOG for details.
2025-08-08 20:02:38 +05:30
Piyush Shah
5b4f62ad5d Merge branch 'task/ota-restructure' into 'master'
Add support for MQTT OTA and split HTTP into a separate file

See merge request app-frameworks/esp-rainmaker!561
v1.6.4
2025-08-04 22:51:56 +05:30
Piyush Shah
7e4ec722c1 Merge branch 'bugfix/docs-build' into 'master'
gitlab-ci: Remove invalid dependency for docs build

See merge request app-frameworks/esp-rainmaker!558
2025-08-04 21:45:50 +05:30
sanket.wadekar
cf49ba4219 esp_rmaker_ota: Added OTA Updates over MQTT
The regular OTA upgrades with ESP RainMaker required an additional https
connection to fetch the OTA image, which has a significant impact on
heap usage.

With MQTT OTA, the same MQTT channel used for rest of the RainMaker
communication is used to fetch the OTA image, thereby saving on RAM.
This could be slightly slower and may odd some cost. but the overall
impact would be low enough when compared against the advantages.

Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
Co-authored-by: Piyush Shah <piyush.shah@espressif.com>
2025-08-04 21:27:08 +05:30
Piyush Shah
e6a3741ee0 Merge branch 'bugfix/ota_refetch' into 'master'
bugfix: Duplicate otafetch was causing crashes

See merge request app-frameworks/esp-rainmaker!563
2025-08-04 16:13:51 +05:30
Piyush Shah
b2bd4c1e9a bugfix: Duplicate otafetch was causing crashes
Triggering a new otafetch while one was already in progress was causing
crashes due to incorrect setting/clearing of data.

This happened specifically on rebooting into new firmware after an OTA
when both, CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE and CONFIG_ESP_RMAKER_OTA_AUTOFETCH
are enabled.
v1.6.3
2025-08-04 14:46:19 +05:30
Piyush Shah
5edb7563a9 Merge branch 'bugfix/fix_mqtt_block_issue' into 'master'
esp_rainmaker: make esp_rmaker_params_mqtt_init function execute in queue so that it will not block event task

See merge request app-frameworks/esp-rainmaker!562
2025-08-04 13:49:39 +05:30
jim
4a0ff0d0eb esp_rainmaker: make esp_rmaker_params_mqtt_init function execute in
queue so that it will not block event task
v1.6.2
2025-08-01 14:00:40 +08:00
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
Hrishikesh Dhayagude
e364fc4b41 Merge branch 'fix-matter-light' into 'master'
examples/matter/matter_light: set default values using set_val api

See merge request app-frameworks/esp-rainmaker!557
2025-07-30 13:57:03 +08:00
esp
98a76a1ecb example(led_light): Add system service to support factory reset 2025-07-30 10:12:17 +08:00
Piyush Shah
13f02b3453 gitlab-ci: Remove invalid dependency for docs build 2025-07-22 23:50:20 +05:30
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
Piyush Shah
c149f36cf6 Merge branch 'cmd-response-publish-api' into 'master'
components/esp_rainmaker: make cmd response payload publish api public

See merge request app-frameworks/esp-rainmaker!541
2025-07-13 22:30:29 +05:30
Shubham Patil
af03e62381 components/esp_rainmaker: make cmd response payload publish api public
also bump the minimum required rmaker_common's version to 1.4.12 to use
the newly added payload generator APIs.
v1.6.1
2025-07-13 11:24:26 +05:30
Shubham Patil
8076c0dd76 rmaker_common: update submodule to add tlv payload generator api 2025-07-11 18:14:09 +05:30
Hrishikesh Dhayagude
5facf1b50d Merge branch 'update/matter_readme' into 'master'
examples/matter: Updated the README for matter examples

See merge request app-frameworks/esp-rainmaker!552
2025-06-30 22:18:45 +08:00
shripad621git
a84ba1aa17 examples/matter: Updated the README for matter examples 2025-06-30 11:01:09 +05:30
Piyush Shah
d0d0e27a98 Merge branch 'task/ota_reliability' into 'master'
ota: Enhance OTA fetch reliability with retry mechanism and delivery confirmation

See merge request app-frameworks/esp-rainmaker!548
2025-06-25 06:49:32 +05:30
Piyush Shah
b2dd13214c esp_rainmaker: Bump up component version and dependency for OTA reliability improvements v1.6.0 2025-06-24 19:58:21 +05:30
Piyush Shah
085b5da9cf esp_rmaker_ota: Retry on failure
- Try OTA multiple times (as per `CONFIG_ESP_RMAKER_OTA_MAX_RETRIES`, set to 3 by default) if it fails
- Schedule an OTA fetch as per `CONFIG_ESP_RMAKER_OTA_RETRY_DELAY_MINUTES` if all retries fail
2025-06-24 19:53:32 +05:30
Piyush Shah
552091a6ef Merge branch 'bugfix/fix_srp_max_hostname_length' into 'master'
fix(local_ctrl): Fix srp host name is too short for some node id used with uuid

See merge request app-frameworks/esp-rainmaker!551
2025-06-24 10:25:01 +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
esp
8bacc14517 fix(local_ctrl): Fix srp host name is too short for some node id used with uuid 2025-06-24 11:11:46 +08:00
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
Piyush Shah
e081eef5c2 ota: Enhance OTA fetch reliability with retry mechanism and delivery confirmation
- Monitor message publish acknowledgement for the otafetch message
- Add retry logic if otafetch fails
2025-06-20 14:13:20 +05:30
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
Hrishikesh Dhayagude
76c0274857 Merge branch 'matter_controller/report_params_as_per_data_type' into 'master'
matter controller:report the params as per data type of the attribute

See merge request app-frameworks/esp-rainmaker!428
2025-06-18 17:04:50 +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
0fd6e1c995 Merge branch 'task/launchpad_c2' into 'master'
launchpad: Add builds for esp32c2 and esp32h2

See merge request app-frameworks/esp-rainmaker!550
2025-06-17 15:54:53 +05:30
Piyush Shah
38dfad21ed launchpad: Add builds for esp32c2 and esp32h2 2025-06-17 12:19:39 +05:30
Piyush Shah
f36dcf20b0 Merge branch 'feature/add_ota_upgrade_progress' into 'master'
ota: Add ota upgrade progress report feature

See merge request app-frameworks/esp-rainmaker!527
2025-06-13 19:41:40 +05:30
Piyush Shah
4ab40d00d8 esp_rainmaker: Bump up component version for OTA Progress reporting feature 2025-06-13 18:28:29 +05:30
jim
04613d9c0f ota: Add ota upgrade progress report feature 2025-06-13 18:28:11 +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
Piyush Shah
27c1dfde76 esp32c5: Add ESP32-C5 CI support and update documentation
- Add dedicated CI job for ESP32-C5 preview (release/v5.5 only, --preview flag)
- Update README to include ESP32-C5 (preview) in supported chips list
2025-06-09 17:44:41 +05:30
Hrishikesh Dhayagude
48a2ccdc80 Merge branch 'fix-matter-main' into 'master'
examples/matter: fix matter builds with main branch

See merge request app-frameworks/esp-rainmaker!534
2025-06-09 16:15:05 +08:00
Piyush Shah
1d3b86e232 esp32c5: Add ESP32-C5 support to RainMaker core component
- Add ESP32-C5 secure boot header include in esp_rmaker_secure_boot_digest.h
- Bump component version from 1.5.5 to 1.5.6 for ESP32-C5 support
2025-06-06 17:50:32 +05:30
Piyush Shah
f3d178b7a1 Merge branch 'task/ci-update' into 'master'
gitlab-ci: Add ESP-IDF v5.4 and v5.5 builds to pipeline

See merge request app-frameworks/esp-rainmaker!542
2025-06-03 19:53:43 +05:30
Piyush Shah
6c839a9251 Merge branch 'task/simple_ts_ttl' into 'master'
simple timeseries: Add an option to include ttl field (in days) while reporting values

See merge request app-frameworks/esp-rainmaker!540
2025-05-30 13:28:56 +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