Commit Graph

133 Commits

Author SHA1 Message Date
Piyush Shah
914290928d Merge branch 'support/add_zigbee_gateway' into 'master'
Add zigbee gateway support

See merge request app-frameworks/esp-rainmaker!439
2024-06-11 18:39:57 +08:00
xiaqilin
d9526fc9df zigbee gateway: Add example for gateway to work as esp_rainmaker 2024-06-11 14:33:50 +08:00
Sayon Deep
1951ca5b87 examples/matter: Fix README.md for mfg_tool removal from esp-matter 2024-06-07 16:00:19 +05:30
Sayon Deep
8ca27c50e4 examples/matter: Fix the parsing of metadata from cloud to parse "Matter" object 2024-06-07 15:59:14 +05:30
Sayon Deep
804bc61954 fixed closing of HTTP conn. and clean device_list on parse failure. 2024-06-05 15:14:56 +05:30
Sayon Deep
b43d8e1f86 changed http to HTTP 2024-06-05 13:24:56 +05:30
Sayon Deep
5771453aad fetched http response size before fetching node_list 2024-06-04 20:29:47 +05:30
Sayon Deep
b2f7b6ae6c rainmaker node_id size and log format fix 2024-06-04 14:43:06 +05:30
Sayon Deep
0f19585689 dont display unknown devices on UI 2024-06-04 14:11:32 +05:30
Sayon Deep
7271bf0aab fixed parsing of node_details from cloud 2024-06-03 22:26:54 +05:30
Sayon Deep
f0fd2b7810 examples/matter: Fixed naming of controller custom cluster config option 2024-05-31 16:06:26 +08:00
chendejin
b2738e06fc Add Thread border router support in rainmaker + matter controller 2024-05-17 16:15:12 +08:00
Hrishikesh Dhayagude
a2fbfd1267 Merge branch 'rmaker_rest_api' into 'master'
example: Add components controller_rest_apis and controller_custom_cluster for matter controller usage

See merge request app-frameworks/esp-rainmaker!417
2024-05-17 14:53:19 +08:00
Hrishikesh Dhayagude
92a5435a33 Merge branch 'controller/show_dynamic_qrcode' into 'master'
show dynamic QR code on screen for matter_controller_with_touchscreen exmaple.

See merge request app-frameworks/esp-rainmaker!429
2024-05-13 18:15:58 +08:00
Vikram Dattu
904938f1b0 Added support for LEDC driver
This can drive the LED on ESP32C2
2024-05-10 17:58:24 +05:30
Vikram Dattu
5dccee9eac examples: Add support for esp32c2
- Added entry for esp32c2 build in CI
- RAM optimized sdkconfig.defaults.esp32c2
- Disable ws2812 led drivers from non-rmt supported devices
- Use GPIO9 as BOOT button for C2
2024-05-09 20:38:11 +05:30
WanqQixiang
a54560b836 example: Add component controller_rest_apis and controller_custom_cluster for matter controller usage 2024-04-28 12:28:24 +08:00
chendejin
e0715b240d matter_controller: support dynamic QR code 2024-04-08 17:11:10 +08:00
Vikram Dattu
138e2e6983 Add support for closing provisioning window after PoP mismatch
- The feature prevents brute force attacks by not allowing more than allowed PoP attempts
 - Allowed failure attempts are configurable via menuconfig and is 5 by default
 - Change added for both `app_wifi` and `app_wifi_with_homekit`
 - Min IDF version needed (release/v5.1.3)
2024-03-13 15:52:10 +05:30
Sayon Deep
d49fee4e9d Updated documentation for using idf-version v5.2 accross all boards 2024-03-12 12:01:48 +08:00
Sayon Deep
baa7c80e5c Fixed not reporting of params when some device goes offline. 2024-03-12 12:01:48 +08:00
Sayon Deep
63c495c7ec Added reporting of reachability parameter to cloud 2024-03-12 12:01:48 +08:00
chendejin
343739c105 Added Matter controller example with touchscreen. This example supports esp-box and s3-lcd-ev-boards. 2024-03-12 12:01:48 +08:00
Piyush Shah
798825b07d bugfix: ci failures were seen for esp32s2
- Due to some changes in esp-idf after v5.1.3, CONFIG_BT_ENABLED gets set
even for esp32s2, causing issues in compilation.
 - In earlier esp-idf versions, since this was not applicable for esp32-s2,
it was getting skipped even when it was present in sdkconfig.defaults.
 - Added sdkconfig.defaults.esp32s2 and disabled BT explicitly
2024-03-08 20:30:19 +05:30
Sayon Deep
8a201e0db0 matter_controller: Updated the JSON parsing for Invoke command structure changes 2024-02-01 16:34:22 +08:00
Hrishikesh Dhayagude
eaa455d102 Merge branch 'docs/remote_control' into 'master'
matter_controller: Docs to test remote control feature.

See merge request app-frameworks/esp-rainmaker!419
2024-01-18 16:02:03 +08:00
Hrishikesh Dhayagude
539e3a8c8b Merge branch 'increase_nvs_size' into 'master'
examples: Increase nvs partition size for matter examples

See merge request app-frameworks/esp-rainmaker!418
2024-01-18 15:56:01 +08:00
Sayon Deep
66dd3f9206 added instructions for remote control. 2024-01-10 14:44:20 +05:30
Piyush Shah
20d826c232 esp_rainmaker: Update version for idf component manager
app_insights component manifest file also changed for better
handling of component versions.
2024-01-04 13:16:51 +05:30
WanqQixiang
cabbe1e802 examples: Increase nvs partition size for matter examples 2024-01-03 16:30:38 +08:00
WanqQixiang
1c887053d7 examples: fix matter_light building 2023-12-27 10:49:53 +08:00
chendejin
558f2318e4 remove ESP_BOX_PATH ENV require for controller on box 2023-12-11 16:55:10 +08:00
chendejin
41ef0bec9c matter_support: Controller demo on esp32_s3_box_3 2023-12-08 14:54:23 +08:00
Sayon Deep
555f969bcb matter_controller: Support for remote control via CLI and minor fixes
- Added support for wildcard attribute reads
- Changes to support newly added read_done_cb
2023-12-07 16:28:00 +05:30
Sayon Deep
a1dc04151a matter_support: Changes to support new subscribe command format 2023-12-05 11:22:47 +05:30
Piyush Shah
00bf093167 app_wifi: Add an option to provide a custom Proof of Possession (PoP) for provisioning
POP_TYPE_CUSTOM has been added as an option for app_wifi_start().
app_wifi_set_custom_pop() should be used before this.
2023-11-29 13:56:05 +08:00
chendejin
d1354bc4f3 examples: Add matter controller on ESP32-S3-BOX example 2023-11-08 17:30:42 +08:00
Vikram Dattu
10361704b4 wifi-prov cli: Set Wi-Fi creds directly for already provisioned devices
When device is already provisioned, `wifi_prov_mgr_configure_sta` API call fails.
This happens because, provisioning manager is in uninitialized state.
We set Wi-Fi credetials directly using `esp_wifi_set_config` in that case.

Also removed error check on `wifi_prov_mgr_is_provisioned` API call, as for
IDF 4.x APIs return `ESP_ERR_INVALID_STATE`
2023-10-27 18:20:00 +05:30
Vikram Dattu
f1d16cf736 examples: Added support for ESP32C6
1. ESP32C6 button configs for RGB LED and Boot GPIO
2. CI: Added entry for C6 in `.gitlab.yaml`
3. Added `partitions_4mb_optimised.csv` which uses flash to the full extent
  - Created sdkconfig.defaults for esp32c6 and used partitions_4mb_optimised.csv as default
  - This is made default for esp32c6 because, for esp32c6, image sizes exceed config from partitions.csv
4. Fixed matter examples CMakeLits.txt files for c6 support
2023-10-26 17:38:53 +05:30
Piyush Shah
9689b6942b Merge branch 'code/matter_controller_example' into 'master'
examples: Add matter controller example

See merge request app-frameworks/esp-rainmaker!385
2023-10-10 00:35:08 +08:00
WanqQixiang
b5da8d7d4a examples: Add matter controller example 2023-10-09 15:15:56 +08:00
Piyush Shah
cfca241575 idf_component_manager: Add components of esp rainmaker to component manager
Includes esp_rainmaker and esp_schedule
2023-09-22 09:40:00 +05:30
Piyush Shah
f6ed0c4994 components: Updated and moved some components
- qrcode, ws2812_led and gpio_button moved to examples/common
- esp-insights and rmaker_common submodules updated
- json_generator and json_parser components copied from component
  manager so that they can be used for component overrides
2023-09-22 09:39:55 +05:30
Vikram Dattu
9255e94b52 Remove Insights component for IDF >= 5.0 as it is already included by esp-matter
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2023-09-21 11:25:26 +05:30
Vikram Dattu
7a8b26c936 matter examples: Change flag to -std=gnu++17 to fix build errors
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2023-09-21 11:18:24 +05:30
Vikram Dattu
c43cd071fa IRAM optimization fix for ESP32 to all examples
From IDF 5.1 and above, we are out of IRAM for ESP32.
Enabled FreeRTOS functions to flash option to save IRAM. This is same existing fix in other examples

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2023-09-15 16:18:47 +05:30
sanket.wadekar
ed52355881 feature: Add APIs to enable/disable local control.
If local control is enabled via config option (CONFIG_ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE),
the enabling/disabling will happen internally and the behaviour will be
unchanged. However, if the config option is disabled, applications can
still call esp_rmaker_local_ctrl_enable/disable at runtime as and when
required, if CONFIG_ESP_RMAKER_LOCAL_CTRL_FEATURE_ENABLE option is enabled.

Note that the older config option CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE
has been renamed to CONFIG_ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE. However,
CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE will also continue to work and
ensure backward compatibility
2023-09-08 23:46:21 +05:30
sanket.wadekar
d789c719e6 wifi_prov: Add mfg data for improved device discovery
For BLE provisioning, adding some metadata in BLE advertisement can help
apps in filtering the scanned device list better, instead of relying
just on the prefix. It can also help show the device type even before
provisioning.

Metadata has been added in led_light and switch examples only, but can be
added in any other project too, as per the apps' requirement.
2023-08-18 18:22:06 +05:30
sanket.wadekar
e627cc6beb Added matter_light and matter_switch example 2023-08-08 14:08:29 +05:30
sanket.wadekar
58e936f79f examples: Include nvs keys partition to enable using nvs encryption
Also updates the rmaker_common submodule to include support for encrypted fctry nvs partition.
2023-07-14 14:37:24 +05:30