I am working on an app (iOS, iPadOS & macOS (Mac Catalyst)) for a Home Automation device. I am using HomeKit APIs to access commissioned devices and provided APIs to get a MatterNodeID and then a MTRBaseDevice so I can query the device. Since the current APIs for accessing Matter devices this way do not support subscriptions, I am using the readAttributes() method of the MTRBaseDevice to get information from the device. There can be significant lag time in these reads, and I realize my network speed and congestion can contribute to this. What are the final endpoints you're interacting with and, in particular, are they using Thread? On top of the fixed cost (more on that shortly), Thread accessories tend to increase latency. Part of that is that extra layer of the thread bridge and lower bandwidth, but most of that is that the accessory itself, particularly for things like battery-powered sensors or buttons. In concrete terms, there is a pretty big performance spectrum between: A wall-powered Matt
Topic:
App & System Services
SubTopic:
Core OS
Tags: