Playbulb
Playbulb copied to clipboard
Extra info for the Rainbow bulb
Hi!
Compliments on your research :-)
I opened this 'issue' to give you some extra info.
I just received my Kickstarter Playbulb Rainbow, and I tried to analyze the commands via the Android app and the btsnoop.log:
Format for the effects is: 0x0019 WWRRGGBBMM??SS?? where the questionmarks are still unknown to me, but MM is the effect mode (00 = Flash solid color, 01 = Pulse solid color, 02 = Rainbow, 03 = Rainbow with fading effect). SS is the speed, from 00 to ff.
For solid colors the command is: 0x001b WWRRGGBB
Because I borrowed the Android phone, I wasn't able to do more research, but it's a start :-)
Thanks for your research too.
Are the questionmarks always 0 ? Because on my Playbulb Candle the layout is the same But as the handle seem to have changed we may need to split the document
Do you have access to a Linux system with a BT 4.0 dongle? Then we could dump the handles and have a look.
I added some info about the Rainbow LED in the protocols folder. Thing is, I cannot confirm the handles you provided. Actually, they don't even exist. Have a look at the document, and let me know if this is what you have. Otherwise I would like to get a characteristics dump from your LED.
Hi! Thank for your research! I just received my Playbulb Rainbow and tried to find out commands. I have the same commands as @Calimerorulez said. 0x001b - for color, and 0x0019 for effects. @derchrisuk you said about dump on a Linux system. How can I make it?
maybe it help for your research :) https://play.google.com/store/apps/details?id=com.mipow.androidplaybulbcolor https://apps.evozi.com/apk-downloader/ http://www.decompileandroid.com/
I have a rainbow dont want to liste m'y ordres. Thé same pi can send order to candles and garden.
I try 14+16, 16+18, 19+b1 none working.
I have thé Android log with thé bulb but I dont know what to do of it. I also have a linux that can liste.
@lunarok you can activate bt hci snoop log in the developer options in android and open these logs with wireshare. there you can see if its 14/16, 16/18 etc...
did anybody got sound working with the mi pow playbulb ?
After snooping I found the following values worked for me SOLID colour 0x0025 WWRRGGBB EFFECTS 0x0023 WWRRGGBBEE00SSSS
WW White Saturation RR Red Saturation GG Green Saturation BB Blue Saturation EE (Effect) 00 = Flash 01 = Pulse 02 = Rainbow Jump 03 = Rainbow Fade 04 = Candle 05 = Constant SSSS (SPEED) 0101 = Fast FFFF = SLOW
For more documentation especially for Mipow Playbulb BTL201, you may want to go to https://github.com/Heckie75/Mipow-Playbulb-BTL201
I have investigated and written an API documentation. At this moment I am also implementing a (hopefully) full-featured shell script in order to control the Mipow playbulb.