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

add support for Playbulb Candle #34

Closed
maggu2810 opened this issue Feb 11, 2018 · 3 comments
Closed

add support for Playbulb Candle #34

maggu2810 opened this issue Feb 11, 2018 · 3 comments

Comments

@maggu2810
Copy link

Hi @vkolotov,
I would like to control my Playbulb Candle using your binding.

There is a Github project that contains some information about the protocol of that device e.g.:

Can you give me some the direction what is to do?

@vkolotov
Copy link
Contributor

vkolotov commented Feb 11, 2018

Hi @maggu2810, it seems to me it will be quite easy to add support for this device. Please have a look at some examples here:

https://github.com/sputnikdev/bluetooth-gatt-parser/blob/master/src/test/java/org/sputnikdev/bluetooth/gattparser/GenericCharacteristicParserIntegrationTest.java

and here

https://github.com/sputnikdev/bluetooth-gatt-parser/tree/master/src/main/resources/gatt/characteristic

Have a look how Oregon and Xiaomi devices have been implemented, it will give you an idea how to come up with GATT spec files for your device. For example: https://github.com/sputnikdev/bluetooth-gatt-parser/blob/master/src/main/resources/gatt/characteristic/com.xiaomi.bluetooth.characteristic.miflora.xml

I'm preparing for a new release, lot's of issues fixed.

Also if you have time, could you please jump into this discussion?
#14 (comment)

I'd like to get your opinion on that issue (authentication) and what is a good way to resolve it.

@vkolotov
Copy link
Contributor

@maggu2810
Copy link
Author

Sorry for the late response, but I realized that my Playbulb Candle doesn't seem to work reliable anymore.
Only the RED light seems to work.

So it is at least for me at the moment not very important to get the device working as it does not work anyway. If I buy a new one some time, I will have a look at it again.

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

2 participants