Skip to content

Commit

Permalink
Update matter_server/server/device_controller.py
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Hjelmare <[email protected]>
  • Loading branch information
marcelveldt and MartinHjelmare committed Jun 27, 2023
1 parent 2205e93 commit e030d67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion matter_server/server/device_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e030d67

Please sign in to comment.