Skip to content

aildermi/homebridge-lanbon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-lanbon

Lanbon switch plugin for Homebridge - stateful switches

  • Forked from homebridge-udp-multiswitch

Configuration Params

Parameter Description Required
name name of the accessory
switch_type 1 (for one gang) or 2 (for 2 gang) or 3 (for 3 gang)
multi_switch array of names for each gang (default: [1, 2, 3])
host broadcast address (eg: 192.168.1.255)
device_id device 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/

About

Simple HTTP switches for Homebridge - stateful and radio-button/multi-switch switches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%