I’m working with the Arduino Nano Matter board and the Arduino Matter SDK. By default, the examples and setup configure the device as a Matter bridge (in Home Assistant), but I need to set it up as a Sleepy End Device (SED). This device will be in deep sleep frequently so I don’t want my Matter/Thread mesh to assume that this device can route traffic.
I’ve been searching through the documentation but haven’t found clear instructions on how to modify the configuration from bridge to SED. Has anyone successfully configured their Nano Matter to operate as a Matter Sleepy End Device using the Arduino Matter SDK?
Specifically, I’m looking for:
Steps to modify the device configuration from bridge to SED
Sample code or examples would be greatly appreciated
This might help, I was able to add in deep sleep mode / sleep mode in my projects. Not sure if there is examples so far to convert the device from bridge to SED. I know that Eve does that to their device but this device is not connected over matter.
Personally, I think that matter over thread requires your device to be part of the network and route the traffic.
Did you get this to work? I’m looking at the same requirement. I’m building a temp/humidity sensor and I’d really like it to sleep for 5 seconds, then wake up to send the readings, and then go back to sleep.
Yes. I got it to work. I have a nano matter on battery running for the last 2 weeks , it is connected to a temperature sensor and I am tracking the battery usage. Deep sleep works well with thread.
I'd be interested to see the sketch too. Deepsleep runs the code from the start everytime so I'm interested if you coded to account for that. As you don't need the loop section.
From what I understand from that git repo. There is 128 bytes of memory that is saved to run a nano matter board on deep sleep. Everything else is turned off.
Yes , deep sleep basically turns off the board from all it's peripherals but once it is set into the matter fabric it doesn't have to be recommissioned to the system. Since it needs to run the sensor data capture every time it wakes up there shouldn't be any use for the loop if that's what you meant.