How to: create Matter device with temp and humidity?

hello,

just got the arduino nano matter and ran through some examples (e.g. matter_humidity_sensor) and that all works fine

now i want to make a "matter device" which measures (and publishes) temperature and humidity. do i need to make my own "DeviceTempHumidity.h&cpp" and "MatterTempHumidity.h&cpp"?

i guess i need a "multi-endpoint Matter Accessory Device"?

is there an example somewhere?

thanks,
frank

okay, found it out: you just instantiate both the MatterHumidity and MatterTemperature class! easy as that!

2 Likes

how did this work when it came to commissioning and using on your smart home hub?
is the Nano Matter useable as 2 separate device types?

3 actually: there is also the bridge. i use it with apple homekit and with the qr you commission all 3 (after eachother)

1 Like

They both commission as a single device with 2 readings. I used home automation and Google home for this.

Did you get this to work with Apple Home? I purchased and am using the EPDK-Matter Development Kit from Pervasive Displays, which has two demos -- one for an RGB light and one for a weather station. Everything went right when I commissioned/added this device to my apple home except no devices popped up on my Apple Home GUI. I am wondering whether this is because Apple Home can't do weather stations or perhaps it's because of some mistake I did.

As an aside, I have a couple Meross smart plugs which support power monitoring on my Apple Home. The on/off part of the plugs works fine but I have to use the Meross app to actually see the power usage. This is because Apple Home doesn't yet support that feature. So I'm wondering if this is something like that.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.