Skip to content

ESP32C6: E (575) esp_matter_cluster: At least one of the feature(s) must be supported from (Heat,Cool) #1747

@tomgermany

Description

@tomgermany

IDE: WSL2 ESP-IDF Extension Version 5.5, ESP-Matter Version release/V1.5
Target: ESP32C6 with Matter Thermostat
Code:
extern "C" void app_main()
{
nvs_flash_init();
node::config_t node_config;
node_t *node = node::create(&node_config, app_attribute_update_cb, NULL);

// 1. Erstelle einen leeren/einfachen Endpoint (statt des fertigen Thermostats)
endpoint_t *thermostat_endpoint = endpoint::create(node, ENDPOINT_FLAG_NONE, NULL);

if (thermostat_endpoint) {
    thermostat_endpoint_id = endpoint::get_id(thermostat_endpoint);

    // 2. Füge den Thermostat-Cluster manuell hinzu
    cluster::thermostat::config_t thermostat_config;
    thermostat_config.local_temperature = 2250;
    thermostat_config.system_mode = 4;
    
    // Hier fügen wir den Cluster dem Endpoint hinzu
    cluster_t *thermostat_cluster = cluster::thermostat::create(thermostat_endpoint, &thermostat_config, CLUSTER_FLAG_SERVER);

    if (thermostat_cluster) {
        // 3. JETZT fügen wir das Heating-Feature hinzu
        // Das setzt intern die Feature-Map auf 1 und fügt die Attribute hinzu
        cluster::thermostat::feature::heating::config_t heating_config;
        heating_config.occupied_heating_setpoint = 2100;
        cluster::thermostat::feature::heating::add(thermostat_cluster, &heating_config);
    }

    ESP_LOGI(TAG, "Manueller Thermostat mit ID %d initialisiert.", thermostat_endpoint_id);
}

esp_matter::start(NULL);
xTaskCreate(temperature_update_task, "temp_task", 4096, NULL, 5, NULL);

}

Build: No Errors
Flash: No Errors

But: Monitor ESP32 always: E (575) esp_matter_cluster: At least one of the feature(s) must be supported from (Heat,Cool)

Tryd everything, no chance .... solution? Could someone help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions