Post

Replies

Boosts

Views

Activity

Camera tile refresh interval?
Not sure whether it really belongs here, but I haven't found a better place; hopefully, somebody with the proper knowledge would be here.I have noticed in the Home application that the camera tile image is refreshed each 10-12 seconds.Is there a way to customise this interval? Sometimes, I would really need to quick it up to ~1-2 s for a specific camera in a specific room.(The rationale is that I am using other accessories through their tiles, and I would need to see how those accessories really behave through the camera tile picture in the same room. Consider e.g., a dumb garage door opener which has no feedback of its own, or something like that.)Thanks and all the best,OC
1
0
854
Feb ’20
HMAccessorySetupPayload inits to nil
Hi there,using this code: NSURL *url=[NSURL URLWithString:@"x-hm://00143ZB11VOLT"]; HMAccessorySetupPayload *pl=[[HMAccessorySetupPayload alloc] initWithURL:url]; NSLog(@"ABOUTTOTRY WITH PLOAD %@ from URL %@",pl,url);I am consistently getting this result:ABOUTTOTRY WITH PLOAD (null) from URL x-hm://00143ZB11VOLTThere are no other logs around, especially no error log from the HomeKit which would explain why the payload was not created.I am testing on iPhone, 13.3 (17C54), against a real HomeKit database, without the simulator. The URL is also real, scanned from a QR sticker on an actual accessory.Any idea what can be the culprit and how to fix the problem? Thanks!OC
0
0
510
Feb ’20
Build Script Phase just before link?
Hi there,how do I set up a Build Script Phase so that it gets launched after (or along with) compile files, but before a link?The goal is to add a couple of libraries to the link list. Before compile phase it is too soon — the list would get overwritten later. After a link it is obviously too late.I can't simply add the libraries to the Link With Libraries phase, for I don't know them beforehand — the list of those libraries is generated externally and the script determines which ones are actually needed.So far, I have found only an extremely hackish solution — I can add foo.mysuffix to sources, and add the script as a build rule for *.mysuffix. That seems to work, but is ugly beyond ugly; I would really like to simply add the plain build script phase, if I could do that so that it is run at the right moment.Thanks for any insight,OC
6
0
2.6k
Feb ’20
De/activation of an app based on charging state?
Ladies and gentlemen,one of my clients would like an iOS application, which would allow him to control his HomeKit devices in a special way, and which would keep active when the device is in its charging dock, continuously informing him of the current state.I can do most of the things desired, but there are two requirements which I can't find any way how to do:launch/activate my application automatically whenever the device is put to the dock (=starts charging)when in charger, launch/activate my application automatically whenever the device would normally sleep the screen.In other words, the client would want the special HK controller activates whenever the device is put to the charger, and also — only when in charger — whenever he stops using the device in the normal way for the idle interval (whilst, obviously, if not in charger, he wants the device to normally switch off the screen and lock).Is there any trick to do either of these two things or ideally both? Whatever I try, I can't find any. Thanks for any idea!
5
0
1.3k
Jan ’20