This is a plugin for homebridge to control an LED strip connected to an ESP8266 chip. It allows adding the ESP8266 as a lightbulb to HomeKit and controlling it with Siri or the Home App on iOS.
- An ESP8266 setup with my URL/UDP API
- working wifi network for the ESP to receive commands
- server to run
- iOS device with HomeKit
Connect your LED strip to the ESP8266 and flash the device. Have a look here for more information.
Check that the ESP connects to your Wifi.
homebridgeon your server. A guide can be found on the project homepage
Download this repository and copy the files to a separate folder
node_modulesdirectory. For me that's
npm installin the
node_modulesdirectory to download the dependencies.
Add your configuration to the
config.json. An example is included as
config-sample.json. Make sure that the
ipof the device you want to control matches your ESP8266-LED configuration.
Optionally: Configure homebridge to [run on system startup](https://github.com/nfarina/homebridge/wiki/Homebridge-autostart-at-boot-(init.d%29-on-Ubuntu-(linux%29) for convenience
Set up the HomeKit device on your iOS device. It should be automatically discovered if you are on the same network.
Control your light with Siri or the Home app.