homebridge-shell-lock

Homebridge plugin for lock using shell commands

Usage no npm install needed!

<script type="module">
  import homebridgeShellLock from 'https://cdn.skypack.dev/homebridge-shell-lock';
</script>

README

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)
                }
            ]
        }
    ]
}