0.0.1 • Published 5 years ago

homebridge-shell-lock v0.0.1

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
5 years ago

homebridge-shell-lock

A lock that can trigger shell commands.

Configuration

Example config.json:

{
    "platforms": [
        {
            "platform": "ShellLockPlatform",
            "cache_directory": "./.node-persist/storage", // (optional, default: "./.node-persist/storage")
            "locks": [
                {
                    "id": "someLockId1",
                    "name": "Front Door",
                    "lockCommand": "ls -l",
                    "unlockCommand": "ps aux",
                    "autoLock": 5000 // (optional)
                }
            ]
        }
    ]
}