From e030d67451ca11f7476f5b559115375cbd07c5aa Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Tue, 27 Jun 2023 09:43:01 +0200 Subject: [PATCH] Update matter_server/server/device_controller.py Co-authored-by: Martin Hjelmare --- matter_server/server/device_controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matter_server/server/device_controller.py b/matter_server/server/device_controller.py index a534dc03..8afcabf4 100644 --- a/matter_server/server/device_controller.py +++ b/matter_server/server/device_controller.py @@ -524,7 +524,8 @@ async def _subscribe_node(self, node_id: int) -> None: # simply subscribe to all (urgent and non urgent) device events events=[("*", 1), ("*", 0)], # use a report interval of 0, 300 which means we want to receive state changes - # as soon as possible (the 0 as floor) but we want to receive a report at least once every + # as soon as possible (the 0 as floor) but we want to receive a report + # at least once every 5 minutes (300 as ceiling), # 5 minutes (300 as ceiling), this is also used to detect the node is still alive. # a resubscription will be initiated automatically by the sdk if there was no report # within the interval.