Skip to content

Polling queue fix for Aircon

Choose a tag to compare

@ztalbot2000 ztalbot2000 released this 13 Jun 00:29
· 167 commits to master since this release

The polling queue becomes a little more intelligent in that

  1. Only the latest setValue of a characteristic is used.
  2. setValues are placed ahead of getValues
  3. The stateChangezresponseTime applies to all characteristics of the devices queue
  4. Queue recovery purges old requests, instead of them accumulating.

As a note to all, A stateChangeResponseTime of Zero is the time taken for the script to run. Only devices like GarageDoorOpeners should have a stateChangeResponseTime to go between open and closed.
The timeout is how long the script can take before being killed.

Take care,
John Talbot