Skip to content

3.6.0

Choose a tag to compare

@roberto-montanari roberto-montanari released this 27 Mar 07:34
· 4 commits to master since this release
11ee46a

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.