Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfalcon/chsmartbulb-led-bulb-speaker
Hacking "Chsmartbulb" BT/BLE LED bulb speaker
https://github.com/pfalcon/chsmartbulb-led-bulb-speaker
bluetooth-speaker bulb reverse-engineering smarthome
Last synced: 2 months ago
JSON representation
Hacking "Chsmartbulb" BT/BLE LED bulb speaker
- Host: GitHub
- URL: https://github.com/pfalcon/chsmartbulb-led-bulb-speaker
- Owner: pfalcon
- Created: 2017-11-12T16:04:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-11T06:06:17.000Z (about 6 years ago)
- Last Synced: 2024-10-10T15:10:51.776Z (3 months ago)
- Topics: bluetooth-speaker, bulb, reverse-engineering, smarthome
- Language: Python
- Size: 31.3 KB
- Stars: 8
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
There's a Bluetooth RGB LED bulb + combined Bluetooth speaker which
identifies itself in BT scan as "Chsmartbulb". Where bought, it was
described as "BL08A".![picture](https://raw.githubusercontent.com/pfalcon/Chsmartbulb-led-bulb-speaker/master/Chsmartbulb.jpg)
There're many BT speaker bulbs on market, even cheaper than this, but:
* Majority are advertized as BT 2.x or 3.x.
* On a closer look, many such bulbs are actually just Bluetooth speakers,
the bulb color is not controlled via BT (and thus smartphone), instead
there's a standalone remote (usually an IR one)."Chsmartbulb" was bought specifically on a promise to be BT 4, and having
a smartphone app.On arrival, the inspection showed:
1. The bulb is indeed BT 4, specifically controller inside supports
dual mode BT EDR/BLE.
2. Despite that, the bulb color is controlled (by the app) using BT EDR,
not BLE, specifically using the SPP service. (Speaker works over AVDTP
(maybe A2DP) BT EDR only service, as expected).
3. There are some BLE services are exposed, but as mentioned, the official
app doesn't access them. The also look dummy: service UUIDs like 0x6666,
0x7777. The first has characteristic 0x8888, reading as array of bunch of
0x88 values, being written, it retains written value. The second has
characteristic 0x8877, consisting of 0x77 with the similar behavior.
4. Manufacturer is "CUBE TECHNOLOGIES" (0x03EE).The repo contains BT communication capture on an Android phone, from enabling
BT to connecting to bulb, changing colors among the main ones (red, green,
blue), turning bulb on and off.There's a script which sends sequences from the capture to bulb. Thanks to
[@acolytec3](https://github.com/acolytec3), color changing codes were found.