homebridge-luxor
v4.2.7
Published
Homebridge Plug-in for the FX Luminaire (Luxor) lighting controller
Downloads
12
Maintainers
Readme
homebridge-luxor 4.0.0
This is a PLATFORM module for the HomeBridge Platform to control FX Luminaire.
This plug-in enables power and brightness controls for:
Installation
- Install homebridge - Full directions at HomeBridge page
- Install this plugin using
- Homebridge UI
npm install -g homebridge-luxor
. Update your configuration file. See sample-config.json in this repository for a sample.
Specific ZDC controller with ZDC lights notes
- This app will designate a specific Luxor color palette for each group. The formula is (250-[group number]+1). Group 1 will user C250, Group 2 will use C249, etc. Homekit will then assign any colors to this new group. This allows you to keep your existing color palettes in case you want to change the lights from the Luxor app.
- The first time you load this module it will copy the current color palette values (hue and saturation) to the aforementioned new groups.
- This module will poll the Luxor controller every 30 seconds for color (see note below in known issues on brightness/on/off). If the color is changed in the Luxor app or controller, it will NOT be indicated here. However, we will accurately display brightness/on/off.
- If you change any of brightness/color/on/off through HomeKit, all values will be updated in this module.
NOTE: Experimental Support for LXTWO
Not supported:
- Color wheel values 251-260 and DMC control 65535
Themes
- Themes will show up as a switch (instead of a lightbulb). The way Luxor implements themes is that you can only turn them on (eg the theme has no knowledge if individual lights in the theme are changed after a theme is "set"). Therefor, the switch will illuminate momentarily and then turn itself off.
- The two themes "Illuminate All" and "Extinguish All" will be automatically added to your themes.
Remove accessories
- There may be occasions (upgrading from the original version of this code) when some accessories will not be removed. You can remove these by including the line
removeAllAccessories:true
to remove all accessories. Or, list individual UUID's inremoveAccessories
with a comma delimited string of the names of any Luxor accessories you want to remove. Once you remove the accessories Homebridge will exit. Run homebridge then stop it, reset the value back to the defaults and restart Homebridge.
Known Issues
- This module will poll the Luxor controller every 30 seconds for updates to brightness/on/off. This may appear to have a small delay when reporting a status that is changed outside of HomeKit.
Future enhancements (in no particular order)
- Any requests?
Credit
- I knew that the FX controller had a minimal web interface, and discovered a couple of the API calls, but then found a full(?) list and implementation of the code in a Go library written by Scott Lamb.
- I used the original WeMo code from rudders as a template and hacked away at it until I got to this point.
- Of course, to nfarina for the HomeBridge and, in turn, KhaosT for the original HAP-NodeJS project.
- David Parry for helping convert v1.0 to a platform module.
- The Luxor team at Hunter for providing support and test materials.