Skip to content

dwaan/homebridge-broadlink-platform

 
 

Repository files navigation

npm-version npm-total-downloads Donate

Homebridge Broadlink Platform Outlet

Original plugins from @smka to support Broadlink SP2/SP3 & MP1 in Homebridge. Work with SP plugs and MP1 in your local network. The only difference between this and the original plugins are this plugins will display outlet instead of switch icon, I also added Homebridge Config UI X support for configuring your devices. This plugins also will auto update power status, useful for automation.

Installation

  1. Configure your SP or MP device using Broadlink app to connect to your router. Make note of your device MAC address, you'll need later for setting up the plugins.
  2. Install Homebridge and Homebridge Config UI X, follow the instruction https://github.com/oznu/homebridge-config-ui-x
  3. Search for "Broadlink Outlet" Homebridge Config UI X or install it using: sudo npm install -g homebridge-broadlink-platform-outlet
  4. Add your device from Plugin's Setting in Homebridge Config UI X.
  5. Now you can turn on/off your SP and MP devices using homebridge, homeKit and Siri.

Configuration

If you prefer to configure your device using config.json, here's the example of configuration:

  {
      "accessories": [
          {
              "name": "TV",
              "type": "MP",
              "mac": "23:b1:34:f8:e3:73"
          },
          {
              "name": "Sofa",
              "type": "SP",
              "mac": "32:ba:24:e3:e1:65"
          }
      ],
      "platform": "broadlinkPlatformOutlet"
  }

About

Homebridge plugin for Broadlink SP and MP devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%