Playbulb icon indicating copy to clipboard operation
Playbulb copied to clipboard

Extra info for the Rainbow bulb

Open Calimerorulez opened this issue 10 years ago • 9 comments

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 :-)

Calimerorulez avatar Feb 23 '15 17:02 Calimerorulez

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

Phhere avatar Feb 23 '15 17:02 Phhere

Do you have access to a Linux system with a BT 4.0 dongle? Then we could dump the handles and have a look.

derchrisuk avatar Feb 24 '15 19:02 derchrisuk

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.

derchrisuk avatar Mar 01 '15 00:03 derchrisuk

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?

popadko avatar Jul 14 '15 20:07 popadko

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/

ded5b13328 avatar Aug 14 '15 13:08 ded5b13328

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 avatar Sep 18 '15 19:09 lunarok

@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 ?

ded5b13328 avatar Sep 21 '15 15:09 ded5b13328

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

sdavies avatar Dec 18 '16 02:12 sdavies

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.

Heckie75 avatar Jan 20 '17 12:01 Heckie75