Skip to content

Releases: gormanb/homebridge-connector-hub

v1.0.9

15 Jun 10:55
Compare
Choose a tag to compare

The previous release introduced a new feature whereby values are read "actively" from each device once per minute, in contrast to the "passive" reads which are performed every five seconds. The difference is that the latter are cached values read from the hub, while the former require the hub to contact the device to obtain real-time values.

However, in practice it turned out that performing active reads this frequently had a significant negative impact on battery life, causing my blinds to fall to 0% in a matter of weeks rather than months. At the same time, the plugin cannot rely exclusively on passive reads; while passive reads will report the decline of a battery's remaining power, they seemingly do not report the battery's increasing level when it is plugged in to charge. Without active reads, a device's battery indicator in Homekit would thus fall to 0% and remain there indefinitely, even after the device has been recharged.

To work around this, I've decreased the frequency of active reads from once per minute to once per hour. From experience, it takes about 5-6 hours to fully charge one of my blinds; a one-hour active read interval should therefore ensure that the plugin notices and tracks the change in charging state, while having negligible impact on battery life.

v1.0.8

11 Jun 10:30
Compare
Choose a tag to compare
  • Added support for more than 15 devices attached to a single hub. Hubs can typically manage up to 30 devices, but only report a maximum of 15 per network message. The plugin now waits to see whether the hub reports a second set of devices during discovery. Fixes #5.
  • The plugin will now proactively sync values which the hub does not update in passive status requests (e.g. battery level, charging state) once per minute.
    • NOTE: this change turned out to have a negative impact on battery life. Release 1.0.9 fixes this issue.

v1.0.7

11 Mar 01:00
Compare
Choose a tag to compare

Added support for multiple hubs, and for standalone WiFi devices which communicate directly with the plugin. Fixes #4.

v1.0.6

03 Jan 22:05
Compare
Choose a tag to compare

Improved integration with third-party apps.

Apple's own Home app does some client-side work to deduce the current state of a given device. For instance, if it successfully sends a setTargetPosition request to a blind, it will automatically set the device into Opening or Closing state based on its knowledge of the blind's previous position. When the blind reports that its position now matches the target, the Home app infers that the movement is complete, and will set the device to Open or Closed state, or to X% Open as applicable.

However, third-party Homekit apps (e.g. the Eve app) often do not perform these kinds of client-side deductions; instead, they are entirely reliant on the device to explicitly tell them everything about their state. Previously, this meant that devices managed by this plugin would show up with odd states in these apps, such as being stuck in Closing state regardless of what the device is actually doing.

This release fixes these issues by exhaustively reporting all required properties of the device state to Homekit.

v1.0.5

22 Dec 15:23
Compare
Choose a tag to compare

Improved initial discovery of devices. Previously, devices appeared in Homekit with generic default names:

Connector Blind 1
Connector Blind 2
Connector Blind 3
Connector Blind 4
...

Device names will now resolve to their actual type upon discovery, as <Device Type> #<DeviceNum>:

Roller Blinds #1
Roller Blinds #2
Awning #3
Venetian Blinds #4
...

v1.0.4

15 Dec 16:20
Compare
Choose a tag to compare

General robustness and logging improvements:

  • Validate the configuration on startup, and suspend the plugin if any malformed entries are found
  • More detailed logging if the plugin fails to set a blind's target position
  • Catch and log network exceptions if the hub is not reachable

v1.0.3

14 Dec 01:58
Compare
Choose a tag to compare

This release fixes the following issues:

  • #2 Plugin does not work for devices which only support binary open / close commands
  • #3 Battery level and charging state values are sometimes not in the expected range

v1.0.2

09 Dec 00:12
Compare
Choose a tag to compare

Fixes #1. Some runtime dependencies were mistakenly listed as devDependencies, causing the plugin to throw MODULE_NOT_FOUND on startup. This release addresses the issue by specifying which of the dependencies are required for a production install.

v1.0.1

28 Nov 21:30
Compare
Choose a tag to compare

Corrected package metadata, added more details to README.

v1.0.0

27 Nov 10:57
Compare
Choose a tag to compare

Initial release of the plugin.