Async get characteristic
makleso6 opened this issue · 5 comments
makleso6 commented
Hi! Is it possible to notify that accessory characteristic will/did get and async return new characteristic value
(trying to remove overhead with update characteristic by timer)
Bouke commented
I think what you want is tracked by #13. There’s currently no support for that, but I would welcome a PR for that!
makleso6 commented
I'll try to add it
Bouke commented
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 fire. So I'd advice to still perform a periodic update with a certain frequency to match your use-case.
makleso6 commented
Yes, periodic update sometimes needed.