Comments (3)
First take your local name, in gatttool put:
char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb
in my case show:
handle: 0x0003 value: 45 4c 4b 2d 42 4c 45 44 4f 4d 20 20 20
this value is hex, find in google "convert hex to ascii" to convert it
in my case show:
"ELK-BLEDOM "
You need to know read and write handle in my case my write characteristics is:
handle: 0x0008, char properties: 0x06, char value handle: 0x0009, uuid: 0000fff3-0000-1000-8000-00805f9b34fb
You now need to know at lest ON and OFF commands, in my case 7e0004f00001ff00ef and 7e0004000000ff00ef
With this commands you can try your strip:
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e0004f00001ff00ef # POWER ON
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e000503ff000000ef # RED
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e0005030000ff00ef # BLUE
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e00050300ff0000ef # GREEN
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e0004000000ff00ef # POWER OFF
I receive response: Characteristic value was written successfully and led strip execute the command correct.
You can try to find in google an API with this information , in my case I use:
https://linuxthings.co.uk/blog/control-an-elk-bledom-bluetooth-led-strip
Good luck
from elkbledom.
Other option is reverse enginnering, i can not help you in this, i not need it, you can see some samples here:
https://blog.wokwi.com/reverse-engineering-a-bluetooth-lightbulb/
https://blog.attify.com/the-practical-guide-to-hacking-bluetooth-low-energy/
Good luck
from elkbledom.
If you collect all needed information, create new issue
from elkbledom.
Related Issues (20)
- Lag HOT 1
- Light strip fails to add HOT 14
- Effect Speed LED HOT 1
- Adding Light strip fails HOT 7
- Set Color HOT 1
- ELK-BLE pattern support HOT 5
- Integration error HOT 5
- Any way to also control with App (I have Magic Lantern)? HOT 1
- anyway to add music sync support? HOT 1
- HA OS HOT 8
- ELK-BLEDOB HOT 1
- Error tryng to add lights HOT 4
- LED strip not returning any data HOT 3
- Cannot configure LotusLamp strip (worked before) HOT 3
- Live state polling dont work. HOT 3
- Bledom device not working HOT 9
- More than 1 light HOT 9
- Connecting but still getting an error. HOT 1
- New device HOT 1
- Nrw device wont work HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elkbledom.