@nzws/homebridge-mqtt-smartlock
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@nzws/homebridge-mqtt-smartlock

Install

npm install --global @nzws/homebridge-mqtt-smartlock

Config

{
  "accessory": "MQTTLocker",
  "name": "Room Lock",
  "mqtt": {
    "host": "localhost",
    "port": 1883,
    "username": "",
    "password": ""
  },
  "degrees": {
    "locked": [170, 83],
    "unlocked": [0, 83]
  },
  "degreesInterval": 500
}
  • mqtt: MQTT Broker address.
  • degrees: Set the angle for unlocking/locking.
    • example [170, 83]: set angle to 170 → wait (degreesInterval)ms → set angle to 83

Readme

Keywords

Package Sidebar

Install

npm i @nzws/homebridge-mqtt-smartlock

Weekly Downloads

5

Version

0.3.0

License

Apache-2.0

Unpacked Size

250 kB

Total Files

84

Last publish

Collaborators

  • nzws_me
  • nzws-publisher