https://github.com/dsully/homebridge-pixelblaze
Homebridge for PixelBlaze LED Controllers
https://github.com/dsully/homebridge-pixelblaze
Last synced: 5 months ago
JSON representation
Homebridge for PixelBlaze LED Controllers
- Host: GitHub
- URL: https://github.com/dsully/homebridge-pixelblaze
- Owner: dsully
- License: apache-2.0
- Created: 2021-02-18T17:08:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-11-18T01:36:00.000Z (7 months ago)
- Last Synced: 2025-11-18T03:28:30.627Z (7 months ago)
- Language: TypeScript
- Size: 142 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

This is a HomeBridge plugin for the awesome [Pixelblaze](https://www.bhencke.com/pixelblaze) LED Microcontroller.
Though the Pixelblaze is usually used for complex patterns, it can also be used for simple architectural lighting.
As HomeKit is limited in controls, the plugin exposes basic on/off/brightness and color pickers.
In order to use the color picker in HomeKit, you'll need to create (and "run") a simple pattern on your Pixelblaze:
```
// Make some global variables to store parameters from UI controls.
// These variables are also exported, so they can be read or written via the API, or watched with the var watcher.
export var hue = .77, saturation = 1, value = 1
// Make a color picker UI control.
export function hsvPickerColor(h, s, v) {
//store the chosen color into global variables
hue = h
saturation = s
value = v
}
export function render(index) {
hsv(hue, saturation, value)
}
```
This exposes `hue` and `saturation` variables which can be set from the plugin. `value` is a synonym for `brightness`.
To add this plugin to your Homebridge configuration:
```
"platforms": [
{
"name": "Pixelblaze",
"platform": "Pixelblaze",
"colorpicker": ""
}
]
```