Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra info for the Rainbow bulb #1

Open
Calimerorulez opened this issue Feb 23, 2015 · 9 comments
Open

Extra info for the Rainbow bulb #1

Calimerorulez opened this issue Feb 23, 2015 · 9 comments

Comments

@Calimerorulez
Copy link

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

@Phhere
Copy link
Owner

Phhere commented Feb 23, 2015

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

@derchrisuk
Copy link
Collaborator

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
Copy link
Collaborator

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.

@popadko
Copy link

popadko commented Jul 14, 2015

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?

@lunarok
Copy link

lunarok commented Sep 18, 2015

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.

@ded5b13328
Copy link

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

@sdavies
Copy link

sdavies commented Dec 18, 2016

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

@Heckie75
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants