Hope someone clever could help out here.
I have this DHT22 sensor which I have connected to a ESP32-C3 devkit. With this setup I have then created to be a Matter device (both a temperature and a humidity sensor). Code can be found at this GitHub repo (https://github.com/osterhult/Temperature-Matter/).
In this environment I have a Raspberry Pi that acts as a Matter controller and with that my own Matter Fabric. On this Raspberry Pi I can use the following commands using CHIP-TOOL to get some values from the sensors.
Code: Select all
$ ./chip-tool temperaturemeasurement read measured-value [NODE-ID] 1
Gives ….
[1706704628.735109][30763:30765] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0402 Attribute 0x0000_0000 DataVersion: 2542485144
[1706704628.735395][30763:30765] CHIP:TOO: MeasuredValue: 23
$ ./chip-tool relativehumiditymeasurement read measured-value [NODE-ID] 2
Gives …
[1706704766.636335][30776:30778] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_0405 Attribute 0x0000_0000 DataVersion: 3911489774
[1706704766.636567][30776:30778] CHIP:TOO: MeasuredValue: 24
But then I have also commisioned the device/node to my Apple HomeKit Matter Fabric. In which I get values of 0 on both Temperature and Humidity.
Why is that?? Since Matter is multiadmin I should get the same values on both cases.
Any ideas from any one?