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.
working wifi network for the ESP to receive commands
server to run homebridge on
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 homebridge on your server. A guide can be found on the project homepage
Download this repository and copy the files to a separate folder homebridge-ESP-LED in your node_modules directory. For me that's /usr/lib/node_modules
Run npm install in the node_modules directory to download the dependencies.
Add your configuration to the config.json. An example is included as config-sample.json. Make sure that the id and ip of the device you want to control matches your ESP8266-LED configuration.
请发表评论