1.2.4 • Published 4 months ago

homebridge-electromagnetic-lock-with-reed-switch v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

homebridge-electromagnetic-lock

This Homebridge plugin allows you to control an electromagnetic lock connected to a Raspberry Pi GPIO pin. The plugin monitors the lock and door status, providing secure and convenient control through HomeKit.

Installation

  1. Install Homebridge using npm install -g homebridge
  2. Install this plugin using npm install -g homebridge-electromagnetic-lock-with-reed-switch
  3. Update your Homebridge configuration file to include the ElectromagneticLock accessory. See the example below.

Configuration

Add the following information to your Homebridge config.json file:

"accessories": [
  {
    "accessory": "ElectromagneticLock",
    "name": "Türöffner",
    "doorName": "Haustür",
    "lockPin": 37,
    "buzzerPin": 38,
    "doorPin": 4,
    "activeLow": true,
    "unlockingDuration": 40,
    "pollingInterval": 2
  }
]
  • name: The name of the accessory as it will appear in HomeKit.
  • doorName: The name of the accessory as it will appear in HomeKit.
  • lockPin: The GPIO pin connected to the electromagnetic lock.
  • buzzerPin: The GPIO pin connected to the active buzzer.
  • doorPin: The GPIO pin connected to the reed switch on the door.
  • activeLow: Set to true if the GPIO pin operates with active low logic.
  • unlockingDuration: The duration, in seconds, for which the lock remains unlocked.
  • pollingInterval: The interval, in seconds, at which the plugin checks the door status.

Usage

Once configured, the electromagnetic lock accessory will appear in your HomeKit app. You can control and monitor the lock's state, and the plugin will handle the unlocking and jammed scenarios based on the door status.

Accessory Information

The accessory information, such as manufacturer, model, and version, is also provided for better identification in HomeKit.

Manufacturer: Quantum Ultra Lock Technologies

Model: RaspberryPi GPIO Electromagnetic lock with door contact

FirmwareRevision 1.2.4

Acknowledgments

This plugin utilizes the rpi-gpio package to interface with the Raspberry Pi GPIO.

1.2.4

4 months ago

1.2.3

4 months ago

1.2.2

5 months ago

1.2.1

5 months ago

1.2.0

5 months ago

1.1.9

5 months ago

1.1.8

5 months ago

1.1.7

5 months ago

1.1.6

5 months ago

1.1.5

5 months ago

1.1.4

5 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago

0.9.0

5 months ago

0.8.0

5 months ago

0.6.0

5 months ago

0.5.1

5 months ago

0.5.0

5 months ago

0.4.0

5 months ago

0.2.0

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago