npm.io
1.0.6 • Published 5 years ago

homebridge-remote-control

Licence
MIT
Version
1.0.6
Deps
1
Size
38 kB
Vulns
0
Weekly
0
Stars
3

homebridge-remote-control

Homebridge plugin to control remote control(s) using Raspberry Pi (or similar) output pin(s)

Sample config:


"Platforms": [{
    "platform": "HomebridgeRemoteControlPlugin",
    "accessories": [{
        "name": "Gate", // unique name
        "pin": 26, // the pin to turn on / off
        "delay": 10 // optional delay before gate / garage toggle the state between open and close in seconds. Default is 10
        "defaultState": // optional, "open", "close",
        "pressDuration": // optional, in milliseconds
    }]
}]