0.0.5 • Published 1 year ago

homebridge-lanbon v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

homebridge-lanbon

Lanbon switch plugin for Homebridge - stateful switches

  • Forked from homebridge-udp-multiswitch

Configuration Params

ParameterDescriptionRequired
namename of the accessory
switch_type1 (for one gang) or 2 (for 2 gang) or 3 (for 3 gang)
multi_switcharray of names for each gang (default: 1, 2, 3)
hostbroadcast address (eg: 192.168.1.255)
device_iddevice id of switch

Example configuration

{
        "accessory": "LanbonSwitch",
        "name": "Bedroom",
        "switch_type": 3,
        "multi_switch": ["Chandelier", "Wall mount", "Hidden light"],
        "host": "192.168.1.255",
        "device_id": "201504xxxx",
}

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install homebridge-http using: npm install -g homebridge-lanbon
  3. Update your config file

Reference

  1. https://jan.newmarch.name/IoT/Home/Lanbon/