Homebridge Plugin for LifeSmart Bulb
This plug-in enables you to control your Lifesmart bluetooth bulb however does not support RGB/Hue/Brightness as reversing the bluetooth protocol was faced with difficulty. I will not upload this to npm.
- Download the git
- cd into the git folder Run the following command
sudo npm -g install
{
"accessory" : "Lifesmart-bulb",
"name" : "Lifesmart",
"mac" : "xx:xx:xx:xx:xx:xx",
}
Key | Description |
---|---|
accessory | Required. Has to be "lifesmart-bulb" |
name | Required. The name of this accessory. This will appear in your Homekit app |
mac | Required. The mac address of the lifesmart bulb |
- When starting the plugin, the bulb will be turned on automatically. This is due to the get state issue if the bulb is not turned on automatically, the get state will not be accurate.
- RGB,HUE,Brightness are not working as reversing the bluetooth protocol was faced with difficulty. If anyone requires the bluetooth wireshark logs. Feel free to ask
Thanks to Lucavb for the magicblue-blue-bulb plugin here. I reused the code to make the lifesmart plugin works.