Thanks a lot!
As for
simulating an accessory on iOS isn't really all that useful
I guess in my specific case this would not be a big problem, for I can
either — for the time when I actually need to observe those automations, which would be limited to days, weeks at worst — keep my app foreground on an iPad;
or simply run my application on a Mac, where there are no background-execution limits at all, far as I know.
Thus, unless I overlook some other hurdle, this would be OK.
I am a bit wary of the “large-scale projects” though: for me, this functionality is not extremely important (rather “just a bit helpful”), and if the only way to achieve it would mean to write, test and maintain heaps of complex code, I can do without (e.g., for automations triggered by HMCalendarEvents I've already wrote a tool which reads the fireDateComponents and then simply keeps track of the time; whilst there of course could be a small difference betwixt the time the trigger assumed to fire and the moment it actually did, usually this makes no real problem for me).
Is there a documentation or even a public sample code for this anywhere, which i could check?
If not, well I guess I'll focus on other and more important tasks for the time being :) Thanks again!
Topic:
App & System Services
SubTopic:
Hardware
Tags: