Skip to content

Releases: roberto-montanari/homebridge-gpio-electric-rim-lock

3.6.2

27 Mar 17:59
b864045

Choose a tag to compare

Changelog

Added

  • Improved GPIO management: pins are now initialized only once at startup.
  • Added protection against double trigger commands to prevent multiple activations.
  • Accessory category explicitly set to Door Lock for better compatibility with HomeKit.
  • Automatic removal of stale accessories no longer present in configuration.
  • Validation for locks array to prevent invalid configurations.
  • Improved logging for invalid lock configurations.

Changed

  • Refactored plugin architecture for cleaner and more maintainable code.
  • Migrated to modern Homebridge characteristic handlers (onGet / onSet).
  • Simplified accessory initialization logic.
  • Reduced overall code size and complexity.
  • Refactored platform logic for improved stability and maintainability
  • Improved accessory restoration and creation flow
  • Cleaned up and simplified codebase

Fixed

  • Fixed issue where Accessory Information characteristics were not always visible in HomeKit.
  • Fixed potential GPIO reinitialization problems that could occur during repeated commands.
  • Improved handling of cached accessories restored by Homebridge.
  • Prevented potential crashes caused by invalid or missing configuration values.
  • Fixed accessory duplication issues.
  • Improved handling of cached accessories.
  • Corrected validation logic for pin (now properly checks for undefined).

Performance

  • Faster accessory initialization.
  • Reduced GPIO overhead by avoiding repeated rpio.open() calls.

3.6.0

27 Mar 07:34
11ee46a

Choose a tag to compare

Changelog

Added

  • Improved GPIO management: pins are now initialized only once at startup.
  • Added protection against double trigger commands to prevent multiple activations.
  • Accessory category explicitly set to Door Lock for better compatibility with HomeKit.
  • Automatic removal of stale accessories no longer present in configuration.
  • Validation for locks array to prevent invalid configurations.
  • Improved logging for invalid lock configurations.

Changed

  • Refactored plugin architecture for cleaner and more maintainable code.
  • Migrated to modern Homebridge characteristic handlers (onGet / onSet).
  • Simplified accessory initialization logic.
  • Reduced overall code size and complexity.
  • Refactored platform logic for improved stability and maintainability
  • Improved accessory restoration and creation flow
  • Cleaned up and simplified codebase

Fixed

  • Fixed issue where Accessory Information characteristics were not always visible in HomeKit.
  • Fixed potential GPIO reinitialization problems that could occur during repeated commands.
  • Improved handling of cached accessories restored by Homebridge.
  • Prevented potential crashes caused by invalid or missing configuration values.
  • Fixed accessory duplication issues.
  • Improved handling of cached accessories.
  • Corrected validation logic for pin (now properly checks for undefined).

Performance

  • Faster accessory initialization.
  • Reduced GPIO overhead by avoiding repeated rpio.open() calls.

3.5.0

26 Mar 16:02
3b8a110

Choose a tag to compare

Changelog

Added

  • Improved GPIO management: pins are now initialized only once at startup.
  • Added protection against double trigger commands to prevent multiple activations.
  • Accessory category explicitly set to Door Lock for better compatibility with HomeKit.
  • Automatic removal of stale accessories no longer present in configuration.
  • Validation for locks array to prevent invalid configurations.
  • Improved logging for invalid lock configurations.

Changed

  • Refactored plugin architecture for cleaner and more maintainable code.
  • Migrated to modern Homebridge characteristic handlers (onGet / onSet).
  • Simplified accessory initialization logic.
  • Reduced overall code size and complexity.
  • Refactored platform logic for improved stability and maintainability
  • Improved accessory restoration and creation flow
  • Cleaned up and simplified codebase

Fixed

  • Fixed issue where Accessory Information characteristics were not always visible in HomeKit.
  • Fixed potential GPIO reinitialization problems that could occur during repeated commands.
  • Improved handling of cached accessories restored by Homebridge.
  • Prevented potential crashes caused by invalid or missing configuration values.
  • Fixed accessory duplication issues.
  • Improved handling of cached accessories.
  • Corrected validation logic for pin (now properly checks for undefined).

Performance

  • Faster accessory initialization.
  • Reduced GPIO overhead by avoiding repeated rpio.open() calls.

3.4.0

23 Mar 12:17
17003b1

Choose a tag to compare

Changelog

Added

  • Improved GPIO management: pins are now initialized only once at startup.
  • Added protection against double trigger commands to prevent multiple activations.
  • Accessory category explicitly set to Door Lock for better compatibility with HomeKit.
  • Automatic removal of stale accessories no longer present in configuration.
  • Validation for locks array to prevent invalid configurations.
  • Improved logging for invalid lock configurations.

Changed

  • Refactored plugin architecture for cleaner and more maintainable code.
  • Migrated to modern Homebridge characteristic handlers (onGet / onSet).
  • Simplified accessory initialization logic.
  • Reduced overall code size and complexity.
  • Refactored platform logic for improved stability and maintainability
  • Improved accessory restoration and creation flow
  • Cleaned up and simplified codebase

Fixed

  • Fixed issue where Accessory Information characteristics were not always visible in HomeKit.
  • Fixed potential GPIO reinitialization problems that could occur during repeated commands.
  • Improved handling of cached accessories restored by Homebridge.
  • Prevented potential crashes caused by invalid or missing configuration values.
  • Fixed accessory duplication issues.
  • Improved handling of cached accessories.
  • Corrected validation logic for pin (now properly checks for undefined).

Performance

  • Faster accessory initialization.
  • Reduced GPIO overhead by avoiding repeated rpio.open() calls.

3.3.0

22 Mar 16:09
c4b86c4

Choose a tag to compare

Changelog

Added

  • Improved GPIO management: pins are now initialized only once at startup.
  • Added protection against double trigger commands to prevent multiple activations.
  • Accessory category explicitly set to Door Lock for better compatibility with HomeKit.
  • Automatic removal of stale accessories no longer present in configuration.
  • Validation for locks array to prevent invalid configurations.
  • Improved logging for invalid lock configurations.

Changed

  • Refactored plugin architecture for cleaner and more maintainable code.
  • Migrated to modern Homebridge characteristic handlers (onGet / onSet).
  • Simplified accessory initialization logic.
  • Reduced overall code size and complexity.
  • Refactored platform logic for improved stability and maintainability
  • Improved accessory restoration and creation flow
  • Cleaned up and simplified codebase

Fixed

  • Fixed issue where Accessory Information characteristics were not always visible in HomeKit.
  • Fixed potential GPIO reinitialization problems that could occur during repeated commands.
  • Improved handling of cached accessories restored by Homebridge.
  • Prevented potential crashes caused by invalid or missing configuration values.
  • Fixed accessory duplication issues.
  • Improved handling of cached accessories.
  • Corrected validation logic for pin (now properly checks for undefined).

Performance

  • Faster accessory initialization.
  • Reduced GPIO overhead by avoiding repeated rpio.open() calls.

3.2.0: Refactor CPU info handling and validation

13 Mar 15:15
bfe965c

Choose a tag to compare

Changelog

Added

  • Improved GPIO management: pins are now initialized only once at startup.
  • Added protection against double trigger commands to prevent multiple activations.
  • Accessory category explicitly set to Door Lock for better compatibility with HomeKit.
  • Improved logging for GPIO actions and accessory lifecycle.

Changed

  • Refactored plugin architecture for cleaner and more maintainable code.
  • Migrated to modern Homebridge characteristic handlers (onGet / onSet).
  • Simplified accessory initialization logic.
  • Reduced overall code size and complexity.

Fixed

  • Fixed issue where Accessory Information characteristics were not always visible in HomeKit.
  • Fixed potential GPIO reinitialization problems that could occur during repeated commands.
  • Improved handling of cached accessories restored by Homebridge.

Performance

  • Faster accessory initialization.
  • Reduced GPIO overhead by avoiding repeated rpio.open() calls.

3.1.0

10 Mar 13:41
7b3e2de

Choose a tag to compare

Changelog

Added

  • Improved GPIO management: pins are now initialized only once at startup.
  • Added protection against double trigger commands to prevent multiple activations.
  • Accessory category explicitly set to Door Lock for better compatibility with HomeKit.
  • Improved logging for GPIO actions and accessory lifecycle.

Changed

  • Refactored plugin architecture for cleaner and more maintainable code.
  • Migrated to modern Homebridge characteristic handlers (onGet / onSet).
  • Simplified accessory initialization logic.
  • Reduced overall code size and complexity.

Fixed

  • Fixed issue where Accessory Information characteristics were not always visible in HomeKit.
  • Fixed potential GPIO reinitialization problems that could occur during repeated commands.
  • Improved handling of cached accessories restored by Homebridge.

Performance

  • Faster accessory initialization.
  • Reduced GPIO overhead by avoiding repeated rpio.open() calls.

3.0.1

08 Mar 16:48
7b3e2de

Choose a tag to compare

Changelog

New Features

  • Converted plugin from single accessory to dynamic platform.
  • Supports multiple locks via locks array configuration.
  • Each lock now creates a separate accessory dynamically.
  • Tested and verified compatibility with Homebridge v2.x and Node 18/20/22/24.
  • Improved Raspberry Pi detection (supports ARM 32-bit and 64-bit architectures).
  • Fully compatible with Homebridge UI configuration under "platforms".

Configuration

  • Added platform name property for proper Homebridge UI and certification.
  • Added configuration schema for Homebridge UI.
  • locks array allows adding multiple locks with name, GPIO pin, and pulse duration.
  • Min/max pulse duration enforced in configuration.
  • UI saves the platform correctly under "platforms" instead of "accessories".

Errors & Warnings Handling

  • Added warning for unsupported architectures (non-Raspberry Pi).
  • Improved error handling for GPIO pin operations.
  • Skip lock creation if configuration is missing required fields.
  • Logs meaningful messages for OPEN/CLOSED states per lock.

3.0.0

08 Mar 16:09
a7f7444

Choose a tag to compare

Changelog

New Features

  • Converted plugin from single accessory to dynamic platform.
  • Supports multiple locks via locks array configuration.
  • Each lock now creates a separate accessory automatically.
  • Tested and verified compatibility with Homebridge v2.x and Node 18/20/22/24.
  • Improved Raspberry Pi detection for ARM 32-bit and 64-bit architectures.

Configuration

  • Added configuration schema for Homebridge UI.
  • locks array allows adding multiple locks with name, GPIO pin, and pulse duration.
  • Homebridge UI now saves the platform correctly under "platforms" section.
  • Min/max pulse duration enforced in configuration.

Errors & Warnings Handling

  • Added warning for unsupported architectures (non-Raspberry Pi).
  • Improved error handling for GPIO pin operations.
  • Skip lock creation if configuration is missing required fields.
  • Logs meaningful messages for OPEN/CLOSED states per lock.

2.3.0

08 Mar 12:54
45d2dd6

Choose a tag to compare

Changelog

New features

  • Fixed error in plugin name.
  • Tested compatibility with Homebridge v2.
  • Minor improvements.

Configuration

  • Added configuration menu.
  • Added better control over plugin configuration.

Errors handling

  • Added new error handling