@epirat/homebridge-artnet
v0.100.7
Published
Adds support for Art-Net lights to Homebridge.
Downloads
1
Readme
Homebridge-Artnet
Introduction
Adds support for Art-Net lights to Homebridge.
Usage
Currently plain lights with one channel ("PAR") and RGB lights with three channels ("RGB") are supported.
In Homebridge's config, use the following settings:
{
"bridge": { [...] },
"accessories": [],
"platforms": [{
"platform": "ArtNet",
"name": "Artnet Universe",
"options": {
"universe": 0,
"host": "192.168.0.10"
},
"lights": [
{"name": "Left", "type": "PAR", "channels": [1]},
{"name": "Right", "type": "PAR", "channels": [2]},
{"name": "PAR 5", "type": "RGB", "channels": [5, 6, 7]},
{"name": "PAR 6", "type": "RGB", "channels": [10, 11, 12]}
]
}]
}
Thanks to
- Artnet library: hobbyquaker/artnet
- Schema validation: prismatic/schema
- JavaScript Interop: binaryage/oops
- update-values fn:http://blog.jayfields.com/2011/08/clojure-apply-function-to-each-value-of.html
- HSV/RGB conversion: https://github.com/rm-hull/inkspot/blob/ccb7a452a0930f451bcc6c960024d6029f616cd2/src/inkspot/converter.cljc#L30
- Transitions: https://gist.github.com/raspasov/f9ca712571efd932169e