espressif / esp-zigbee-sdk

Espressif Zigbee SDK
Apache License 2.0
178 stars 31 forks source link

Possible to get date & time from router/hub? (TZ-733) #306

Closed darianbjohnson closed 7 months ago

darianbjohnson commented 8 months ago

Question

Is is possible for an end device to obtain/request the current data and time from the zigbee router?

Additional context.

No response

xieqinan commented 8 months ago

@darianbjohnson ,

The Zigbee cluster provides the timer cluster for managing time, and Zigbee devices attach a timestamp when sending frames. Which way better suits your requirements?

darianbjohnson commented 8 months ago

I just reviewed the time cluster API Documentation…. This is what I need. Is there an example that shows how to use the time cluster API?

xieqinan commented 8 months ago

@darianbjohnson ,

We have not provided an example for the timer cluster temporarily. However, you can implement it based on the ZCL specification and refer to the examples of other clusters, such as the temperature cluster.

chshu commented 7 months ago

@darianbjohnson please reopen if you have any further questions on this topic.