Configuring multiple sensors in the same device #12809
Replies: 4 comments
|
@cfdev - I have tested the 3 endpoints running in a single ESP32-S3 with the Alexa Eco Dot. This is because Amazon Alexa doesn't support the Pressure Endpoint: Looking in the list of supported sensors, there is no Pressure sensor. The Pressure endpoint works with Home Assistant, which is the one I have tested. I'd say that for the Alexa Matter Environment, it would be better to only add Temperature and Humidity endpoints. |
|
Hello,
But even with 2 sensors only (temp and humid), Alexa didn't complete the commissioning and when I close and restart Alexa App,
|
|
When a Matter device has more than 1 endpoint, Alexa will create the same number of devices plus one. This is how Alexa works. If you try to build and execute the Composed Matter Light example that creates 3 different lights in a single Matter Accessory, Alexa will create 4 new devices, 3 for the 3 lights plus a fourth one that represents "the whole" accessory. Deleting any of the 4 will delete the whole accessory. The same for your application. This is my Alexa Screenshot with 3 lights + extra fourth "main endpoint device (dispositivo in portuguese)"
|
|
Transfering this issue to ESP32 Arduino's Discussion area. |


Uh oh!
There was an error while loading. Please reload this page.
Board
ESP32-S3
Device Description
Adafruit ESP32-S3 Reverse TFT Feather - 4MB Flash, 2MB PSRAM, STEMMA QT
Hardware Configuration
.
Version
v3.3.10
Type
Question
IDE Name
Arduino IDE 2.3.10
Operating System
Windows 11
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
115200
Description
Hello,
Thanks for this lib! But, I’m having trouble configuring multiple sensors in the same code.
`
// List of Matter Endpoints for this Node
MatterTemperatureSensor mTemperatureSensor;
//MatterPressureSensor mPressureSensor;
//MatterHumiditySensor mHumiditySensor;
...
// Set initial sensors measurement
mTemperatureSensor.begin(sensor_getTemp()); // < Only one work perfectly :(
//mHumiditySensor.begin(sensor_getHumidity());
//mPressureSensor.begin(sensor_getPessure());
// Matter beginning - Last step, after all EndPoints are initialized
Matter.begin();
`
The Alexa Dot only recognizes 2 sensors, and their behavior is inconsistent.
Can you confirm if this is expected?
Thanks
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
All reactions