ztalbot2000 / homebridge-cmd4

CMD4 Plugin for Homebridge - Supports ~All Accessory Types & now all Characteristics too
Apache License 2.0
149 stars 13 forks source link

What is polling exactly? #64

Closed hunhejj closed 4 years ago

hunhejj commented 4 years ago

Great plugin! However I struggle to understand what polling is exactly for, when to use, when not to use.

I guess it is only needed if a device works async? How to configure a normal device then, that works sync and should set the state once the command was handled e.g. with State.js?

ztalbot2000 commented 4 years ago

Hi,

By default HomeKit only gets the status of any device when you access the App. This is the closest you can get to push notifications. I hope that helps.

TTFN, John

Sent from Zarf’s iPad Air 2

On Aug 16, 2020, at 8:18 AM, hunhejj notifications@github.com wrote:

 Great plugin! However I struggle to understand what polling is exactly for, when to use, when not to use.

I guess it is only needed if a device works async? How to configure a normal device then, that works sync and should set the state once the command was handled e.g. with State.js?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.