在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:maxmacstn/MQTT-LEDStrip开源软件地址:https://github.com/maxmacstn/MQTT-LEDStrip开源编程语言:C++ 100.0%开源软件介绍:HomeBridge-MQTT LED-StripA code for ESP8266 microcontroller to control LED Strip via homebridge-mqtt plugin for homebridge which can contron LED Strip from iOS Devices. Implemented from https://github.com/ArnieX/esp8266_dimmer_mqtt https://www.youtube.com/watch?v=2EnSU2nZBkw Functions
Prerequisites
HardwareI duplicate DIY Dimmer module circuit from https://github.com/ArnieX/esp8266_dimmer_mqtt but I added momentary push button and connected it to D3 and ground (No pull-up resistor needed because I uses built-in pull-up) It control 12V LED Strip using PWM Signal that generated from ESP8266 which can control brightness of the LED Strip Please visit original project link for schematic. Note : Controlling LED from this circuit is invert, 100% PWM Duty cycle is off, 0% duty cycle is full brightness. (You can change invert setting with ISINVERT boolean parameter) Add accessories to Homebridge-mqtt pluginAccording to homebride-mqtt plugin, you can add accessories for LED-Strip to homebridge by sending message(payload) to topic below.
homebridge/to/add
{
"name": "LED Strip",
"service_name": "led_strip",
"service": "Lightbulb",
"Brightness": "default"
} Usage
Tested on
Known bugs
If you got any problem or suggestions, don't hesitate to contact me, enjoy! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论