Warning
This plugin is no longer maintained as I now use HomeAssistant, feel free to open issue if needed, but I can't garantee fixing stuffs
This plugin let you control RGB ledstrips using this kind of 12V BLE RGB LED strip controller module.
Control On/Off, Hue, Saturation and Brightness
You need to have a bluetooth device. Check using hcitool dev
command. You may also need root access with Homebridge
To run without root access, go to homebridge terminal and type sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
npm i @lyliya/homebridge-ledstrip-ble
{
"accessory": "LedStrip", // Dont change
"name": "LED", // Accessory name
"uuid": "be320202f8e8" // BLE device UUID
}
To find your device uuid, use hcitool lescan
, grab the device uuid, remove all ':' and use lowercase alpha characters
You can contribute by creating merge request, you can find a documentation of the BLE message used here : Documentation