-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Matter sleep mode temperature sensor example #11338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@SuGlider Can you take a look please? |
Using Matter over Thread or WiFi? |
By using the wifi connection, as it seems to me that Thread is not supported directly with Arduino. |
@lboue - Some analysis about it: ESP-Matter Battery Operation:Matter has an operating mode called ICD (Intermittently Connected Devices) which can be used to extend the battery life of power-limited devices. The Matter specification says that it could be used with Wi-Fi / Thread. Currently, ESP-Matter only supports Thread based ICD. No Wi-Fi ICD Support at this time. In order to achieve something similar with WiFi, I think that it could be possible to use Wi-Fi 6 TWT (IEEE802.11ax) capability. Both, Wi-Fi 6 TWT and Wi-Fi DTIM could work within Matter ICD, BUT it would require manual CHIP library setup, given that it is not natively supported by ESP-Matter library. TWT is better than DTIM, once it can be negotiated by the Station (Matter Device). DTIM interval is imposed by the Wi-Fi AP and can't be changed. Modem/Light Sleep modes use DTIM information to wake up on the Wi-Fi Beacon right time and keep the Wi-Fi Connection to the AP. ESP32 Arduino support:Currently, ESP32 Arduino doesn't support NimBLE based Arduino BLE Library, which is necessary in order to use NimBLE and support Matter over Thread. This is a current on-going work. ESP32 Arduino doesn't support FreeRTOS Tickeless idle mode, neither ESP-IDF Power Management mode (based on DFS - Dynamic Frequency Scaling). Those could work with Wi-Fi 6 TWT in order to reduce the power consumption using an ESP32-C6 with Wi-Fi 6 Network. Anyway, it would require a Wi-Fi 6/6E network infrastructure, including a proper Wi-Fi 6 AP Router. In other words, ESP32 Arduino is not in a position to support necessary IDF features that could allow a sufficient power consumption reduction and make it work correctly with Matter. It may be possible to be achieved using Arduino as IDF Component, BUT this would require specific MENUCONFIG settings. Some IDF code examples:ESP-Matter ICD using Thread (ESP32-C6 and ESP32-H2): A video about ESP32-C6 battery operated devices: |
Thank you for these detailed explanations. |
Related area
Matter
Hardware specification
ESP32-C6
Is your feature request related to a problem?
Could you add Matter sleep mode temperature sensor example?
The aim is to be able to run this example on battery power.
Describe the solution you'd like
Base on MatterTemperatureSensor example but with LowPower (sleep mode) to save battery.
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: