Bouke Haarsma
Bouke Haarsma
Beware that updating the characteristic async will return stale data until a refresh is performed. Also if there's no periodic update, any defined triggers based on value thresholds will not...
Check the Package.swift of all the dependencies and verify the target versions. You might be using an older version of HAP (non-master) with a newer version of SRP. Update them...
Interesting idea; I haven't thought of this use-case. I think we should not try to combine this in the existing `GenericCharacteristic`, but have something like a separate `ProxyCharacteristic` instead; *...
> Interesting thought on ProxyCharacteristic, however in many cases, the response will not be instantaneous, and should not block the main queue while it determines the latest value. Ah yes,...
I've pushed a new `DeviceDelegate` in af0fa006f522c4145bc3f8307c69f59b348784a2, which can be used to monitor both changes to values in `Characteristic`s and subscribe / unsubscribe similar to this PR. I removed the...
> However it doesn't help for accessory implementation. What do you mean by this, what use-case isn't covered?
> As this PR has a lot of changes along the way, would you prefer I open a fresh PR with a single commit ? No need, if/when I merge...
> Removed the OpenWeather class I'm considering to add additional targets including demos and other examples. Maybe we can include the openweather as such. E.g. `HAPContrib` or something like that....
That's a good question actually. It seems we don't have the proper accessories / services / characteristics to do that. Those types are generated from a framework, but on my...
We only emit the characteristics that are actually in use by a service. You can remove `&& whitelistedCharacteristics.contains(name)` on this line, so at least you get all the characteristics: https://github.com/Bouke/HAP/blob/82f681166ab2c5b4e0e4ef8b51dc9088e5d09013/Sources/HAPUpdate/Inspector.swift#L458...