You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested by @dylanslewis (in issue #4), allow for changing the polling interval from HomeKit instead of from config.json. Add a StatefulProgrammableSwitch service to the Homekit accessory for each bridge, mapping the heartrate to Output State and the time of the last sync to Last Updated. Could even use Switch and use On to turn off polling altogether.
Notes to self:
Need to change setInterval() loop in HuePlatform.accessories() to fire every second and call HueBridge.heartbeat() with counter and check for counter % heartrate === 0 in each bridge.
Need to change the handling of "get" events from HomeKit to issue ad hoc bridge state refresh when heartbeat is off.
The text was updated successfully, but these errors were encountered:
As suggested by @dylanslewis (in issue #4), allow for changing the polling interval from HomeKit instead of from config.json. Add a
StatefulProgrammableSwitch
service to the Homekit accessory for each bridge, mapping the heartrate toOutput State
and the time of the last sync toLast Updated
. Could even useSwitch
and useOn
to turn off polling altogether.Notes to self:
The text was updated successfully, but these errors were encountered: