You are reading a single comment by @pdominique and its replies.
Click here to read the full conversation.
-
I just updated the firmware but it didn't change anything. I also tried with a timeout.
Here are the devices I want to control: http://www.playbulb.com/en/playbulb-candle-bluetooth-smart-led-flameless-candle.html
I also have some light bulbs from the same manufacturer. Here's a blog I wrote about the candles a while ago: https://pdominique.wordpress.com/2015/01/02/hacking-playbulb-candles/
Just checking - do you have up to date firmware on Puck.js (1v91?) - I guess it could help.
You could also try waiting a second with setTimeout before disconnecting. I guess the bulb may fail if it doesn't think it can update the status.
Out of interest, what's the light bulb you're trying to write to?