Provides a smartapp, device handler and node.js server to manage yeelight bulbs
Provides a smartapp, device handler and node.js server to manage yeelight and mipow bulbs. This release is much tidier, handles bluetooth and wifi bulbs. Also, handles IP changes of the bulbs
The yeelight bulbs must be set in developer mode (using settings in the yeelight supplied app )
sudo mkdir /var/opt/node
sudo addgroup --system smartbulbs
sudo adduser --system smartbulbs --ingroup smartbulbs
sudo usermod -a -G dialout smartbulbs (Add user to dialout permission for usb and rfxcom)
getent group smartbulbs Check group created
id smartbulbs Check user created in the smartbulbs group
cd /var/opt/node sudo git clone https://github.com/davidcreager/smartthings-smartbulbs.git
/var/opt/node/smartthings-smartbulbs sudo chown smartbulbs:smartbulbs /home/smartbulbs/
sudo cp /var/opt/node/smartthings-smartbulbs/smartbulbserver.service /etc/systemd/system/
sudo cp /var/opt/node/smartthings-smartbulbs/properties.json /home/smartbulbs/
sudo cp /var/opt/node/smartthings-smartbulbs/characteristics.json /home/smartbulbs/
sudo chown smartbulbs:smartbulbs /home/smartbulbs/properties.json
sudo chown smartbulbs:smartbulbs /home/smartbulbs/characteristics.json
sudo systemctl daemon-reload **sudo systemctl enable smartbulbserver
sudo systemctl start smartbulbserver sudo systemctl status smartbulbserver
Polling vs subscribe behavior Sort out Settings that define how a bulb starts up Investigate Color dimming and scaling (may not be a problem)