Closed
Description
Board
ESP32C6 Dev Module
Device Description
ESP32-C6-WROOM-1
Hardware Configuration
16m flash
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
macOS 15.2
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
115200
Description
Hallo,
I tried to combination sensors for Temperature and humidity with Pressure from your examples
[Zigbee_Temp_Hum_Sensor_Sleepy]
[Zigbee_Pressure_Flow_Sensor]
It look like pressure sensor try to reasign temperature sensor cluster.
Can you check it, or helo i how to combinate multiple sensors to show it in Zigbee2Mqtt like 1 device with multiple values?
Thank you
Sketch
++
#include "Zigbee.h"
/* Zigbee temperature + humidity sensor configuration */
#define TEMP_SENSOR_ENDPOINT_NUMBER 10
#define PRESSURE_SENSOR_ENDPOINT_NUMBER 11
ZigbeeTempSensor zbTempSensor = ZigbeeTempSensor(TEMP_SENSOR_ENDPOINT_NUMBER);
ZigbeePressureSensor zbPressureSensor = ZigbeePressureSensor(PRESSURE_SENSOR_ENDPOINT_NUMBER);
...
void loop() {
...
// Update temperature and humidity values in Temperature sensor EP
zbTempSensor.setTemperature(temperature);
zbTempSensor.setHumidity(humidity);
// Report temperature and humidity values
zbTempSensor.report();
zbPressureSensor.setPressure(pressure_value);
zbPressureSensor.report();
...
}
void setup() {
...
// Add endpoint to Zigbee Core
Zigbee.addEndpoint(&zbTempSensor);
Zigbee.addEndpoint(&zbPressureSensor);
// Create a custom Zigbee configuration for End Device with keep alive 10s to avoid interference with reporting data
esp_zb_cfg_t zigbeeConfig = ZIGBEE_DEFAULT_ED_CONFIG();
}
Debug Message
[0;31mE (261) ESP_ZIGBEE_CLUSTER: The requested add cluster ID:0x3 is already existed�[0m
[0;31mE (278) ESP_ZIGBEE_ATTRIBUTE: Wrong cluster(0x0403) to add attribute, expect 0x0402�[0m
[0;31mE (279) ZB OSIF: Zigbee lock is not ready!�[0m
Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.