UNPKG

homebridge-gpio-electromagnetic-lock

Version:

Homebridge plugin to control electromagnetic lock via Raspberry Pi GPIO pins

22 lines (21 loc) 497 B
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" }, "description": "This is an example configuration for the Homebridge GPIO Electromagnetic Lock plugin", "accessories": [ { "accessory": "ElectromagneticLock", "name": "Button", "lockPin": 5, "doorPin": 16, "activeLow": false, "reedSwitchActiveLow": false, "unlockingDuration": 2, "lockWithMemory": true } ] }