Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sorae42/homebridge-mohuan-ble
Homebridge plugin for MohuanLED app
https://github.com/sorae42/homebridge-mohuan-ble
homebridge homebridge-plugin homekit led-strips
Last synced: 4 months ago
JSON representation
Homebridge plugin for MohuanLED app
- Host: GitHub
- URL: https://github.com/sorae42/homebridge-mohuan-ble
- Owner: sorae42
- License: apache-2.0
- Created: 2024-08-01T21:41:02.000Z (6 months ago)
- Default Branch: latest
- Last Pushed: 2024-08-05T15:44:27.000Z (6 months ago)
- Last Synced: 2024-09-27T08:20:50.494Z (4 months ago)
- Topics: homebridge, homebridge-plugin, homekit, led-strips
- Language: TypeScript
- Homepage:
- Size: 69.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Homebridge Plugin for Mohuan LED
Install: `npm install @sorae42/homebridge-mohuan-ble`
Please note that the color shown on the Home.app will not always accurate to the LED strip. Blame your Chinese manufacturer for that. (or send an PR if you figured out the accuracy!)
## How do I know my LED strip is compatible?
If your LED strip use MohuanLED app to control, it should be 100% compatible.
If not, do some bluetooth intercepting between your LED app and your strip to see whether the following data is the same:
(If you have an iOS device with a MacBook, you should use PacketLogger.app)
```
Data usually has 6-8 bytes of data.
6996 Default Header
0000 Command:
0201 OFF
0601 ON (usually set existing color)
0502 SETCOLOR
0303 SETMODE: FADE
0304 SETMODE: FLASHIgnore the FADE and FLASH SETMODE as we don't have such thing in HomeKit.
The remaining 4 bytes are RGBA values.
```If they don't match the same but have the same format, feel free to fork then change them. I will plan on implementing configuration for these settings sometime soon.
If none of the case above apply to you, you will be to fork the repo and change the data accordingly for your light strip.