Search found 14 matches

by tomasmcguinness
Tue Jun 17, 2025 10:55 am
Forum: ESP-IDF
Topic: Define Matter PhaseList in Operational State cluster of Dish Washer Endpoint
Replies: 2
Views: 137

Re: Define Matter PhaseList in Operational State cluster of Dish Washer Endpoint

To resolve this, I needed to add the commands to the cluster. I think that's because the commands are optional.


esp_matter::cluster_t *operational_state_cluster = esp_matter::cluster::get(endpoint, chip::app::Clusters::OperationalState::Id);
esp_matter::cluster::operational_state::command::create ...
by tomasmcguinness
Mon Jun 16, 2025 4:14 pm
Forum: ESP-IDF
Topic: Define Matter PhaseList in Operational State cluster of Dish Washer Endpoint
Replies: 2
Views: 137

Re: Define Matter PhaseList in Operational State cluster of Dish Washer Endpoint

I made some progress with this.

I created an implementation of the Delegate, as described in the Matter SDK. This means that the Phase List and Operational Status attributes can be read successfully.

However, when I try to sent a Start command, I get an error: 0x81 Unsupported_Command.
by tomasmcguinness
Fri Jun 13, 2025 3:14 pm
Forum: ESP-IDF
Topic: Define Matter PhaseList in Operational State cluster of Dish Washer Endpoint
Replies: 2
Views: 137

Define Matter PhaseList in Operational State cluster of Dish Washer Endpoint

I am trying to understand how to configure the Operational State cluster on a Dishwasher Endpoint.

I can see that an operations state cluster is created when the dish_washer::add method is called

operational_state::create(endpoint, &(config->operational_state), CLUSTER_FLAG_SERVER);

I have ...
by tomasmcguinness
Mon Mar 10, 2025 7:45 am
Forum: ESP-IDF
Topic: Add Matter Dimmer Switch behaviour
Replies: 0
Views: 574

Add Matter Dimmer Switch behaviour

I am trying to convert the light_switch example to a Dimmer Switch.

I changed the endpoint creation in app_main.cpp to


dimmer_switch::config_t switch_config;
endpoint_t *endpoint = dimmer_switch::create(node, &switch_config, ENDPOINT_FLAG_NONE, switch_handle);


in the app_driver.cpp, I added ...
by tomasmcguinness
Sat Nov 30, 2024 7:23 am
Forum: ESP-IDF
Topic: espressif/button component version mismtat
Replies: 2
Views: 1049

Re: espressif/button component version mismtat

This worked perfectly. The power consumption in light sleep is down at 1.5mA and the button successfully wakes everything up and sends a Matter event before going back into sleep.
by tomasmcguinness
Fri Nov 29, 2024 10:49 am
Forum: ESP-IDF
Topic: espressif/button component version mismtat
Replies: 2
Views: 1049

Re: espressif/button component version mismtat

As soon I typed "dependency lower down", I thought to check the CMAKE file and found that it was pulling in a few folders from the esp-matter directory.

One of these was the device_hal folder, under that there is an import of the iot_button, which has a dependency on espressif/button 2.5.0!!!

I ...
by tomasmcguinness
Fri Nov 29, 2024 10:41 am
Forum: ESP-IDF
Topic: espressif/button component version mismtat
Replies: 2
Views: 1049

espressif/button component version mismtat

I am trying to upgrade the espressif/button version used in the esp-matter ICD example, to try and take advantage of the light sleep support introduced.

My code is working, but due to the light sleep, the GPIO button clicks don't always register. I believe that going to the espressif/button with ...
by tomasmcguinness
Tue Nov 12, 2024 5:03 pm
Forum: ESP-IDF
Topic: Performing build step for 'chip_gn' fails on fresh esp-idf and esp-matter installation
Replies: 4
Views: 2877

Performing build step for 'chip_gn' fails on fresh esp-idf and esp-matter installation

Hi,

I have had a previously working esp-matter environment on my MacOS, but after attempting to download everything again, I can't get any of the samples to compile.

I am opening the generic_switch example under esp-matter/examples. This previously compiled and flashed onto an esp32-h2 I have, but ...
by tomasmcguinness
Sun May 10, 2020 7:24 pm
Forum: ESP-IDF
Topic: Call to esp_bt_gap_config_eir_data results in LoadProhibited kernal panic
Replies: 3
Views: 4281

Re: Call to esp_bt_gap_config_eir_data results in LoadProhibited kernal panic

Yes, that certainly stopped the crash! Thank you.

Unfortunately, I now get this error:

BT_APPL: bta_dm_config_eir, malloc failed.

I will investigate further!

Thanks again for your help!

Go to advanced search