homebridge-esp-led v1.0.0
homebridge-ESP-HSV
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.
Requirements:
- An ESP8266 setup with my URL/UDP API
- working wifi network for the ESP to receive commands
- server to run
homebridgeon - iOS device with HomeKit
Setup
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.
Install
homebridgeon your server. A guide can be found on the project homepageDownload this repository and copy the files to a separate folder
homebridge-ESP-LEDin yournode_modulesdirectory. For me that's/usr/lib/node_modulesRun
npm installin thenode_modulesdirectory to download the dependencies.Add your configuration to the
config.json. An example is included asconfig-sample.json. Make sure that theidandipof 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.
6 years ago