@ -98,6 +98,10 @@
< a href = "#" class = "pure-menu-link" data = "panel-ntp" > NTP< / a >
< / li >
< li class = "pure-menu-item module module-color" >
< a href = "#" class = "pure-menu-link" data = "panel-color" > LIGHTS< / a >
< / li >
< li class = "pure-menu-item module module-dcz" >
< a href = "#" class = "pure-menu-link" data = "panel-domoticz" > DOMOTICZ< / a >
< / li >
@ -361,7 +365,59 @@
< / div >
< / div >
< div class = "pure-g module module-color" >
< div class = "pure-g module module-alexa" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "alexaEnabled" > Alexa integration< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "alexaEnabled" tabindex = "13" / > < / div >
< / div >
< div class = "pure-g module module-ha" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "haEnabled" > Home Assistant< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "haEnabled" tabindex = "14" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
< div class = "pure-u-0 pure-u-md-1-4" > < / div >
< div class = "pure-u-1 pure-u-md-3-4 hint" >
Home Assistant auto-discovery feature. Enable and save to add the device to your HA console.
When using a colour light you might want to disable CSS style so Home Assistant can parse the color.
< / div >
< / div >
< div class = "pure-g module module-ha" >
< label class = "pure-u-1 pure-u-md-1-4" for = "haPrefix" > Home Assistant Prefix< / label >
< input class = "pure-u-1 pure-u-md-1-4" name = "haPrefix" type = "text" tabindex = "15" / >
< / div >
< div class = "pure-g module module-ds module-dht" >
< label class = "pure-u-1 pure-u-sm-1-4" for = "tmpUnits" > Temperature units< / label >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "radio" name = "tmpUnits" tabindex = "16" value = "0" > Celsius (° C)< / input > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "radio" name = "tmpUnits" tabindex = "17" value = "1" > Fahrenheit (° F)< / input > < / div >
< / div >
< div class = "pure-g module module-ds module-dht" >
< label class = "pure-u-1 pure-u-md-1-4" for = "tmpCorrection" > Temperature correction< / label >
< input name = "tmpCorrection" class = "pure-u-1 pure-u-md-1-4" type = "number" action = "reset" min = "-100" step = "0.1" max = "100" tabindex = "18" / >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
< div class = "pure-u-0 pure-u-md-1-4" > < / div >
< div class = "pure-u-1 pure-u-md-3-4 hint" >
Temperature correction value is added to the measured value which may be inaccurate due to many factors. The value can be negative.
< / div >
< / div >
< / fieldset >
< / div >
< / div >
< div class = "panel" id = "panel-color" >
< div class = "header" >
< h1 > LIGHTS< / h1 >
< h2 > Lights configuration< / h2 >
< / div >
< div class = "page" >
< fieldset >
< div class = "pure-g" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "useColor" > Use colorpicker< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "useColor" action = "reload" tabindex = "8" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
@ -369,7 +425,7 @@
< div class = "pure-u-1 pure-u-md-3-4 hint" > Use color picker for the first 3 channels as RGB.< br / > Will only work if the device has at least 3 dimmable channels.< br / > Reload the page to update the web interface.< / div >
< / div >
< div class = "pure-g module module-color " >
< div class = "pure-g" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "useRGB" > Use RGB picker< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "useRGB" action = "reload" tabindex = "11" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
@ -377,7 +433,7 @@
< div class = "pure-u-1 pure-u-md-3-4 hint" > Use RGB color picker if enabled (plus brightness), otherwise use HSV (hue-saturation-value) style< / div >
< / div >
< div class = "pure-g module module-color " >
< div class = "pure-g" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "useWhite" > Use white channel< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "useWhite" action = "reload" tabindex = "9" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
@ -385,7 +441,7 @@
< div class = "pure-u-1 pure-u-md-3-4 hint" > Use forth dimmable channel as white when first 3 have the same RGB value.< br / > Will only work if the device has at least 4 dimmable channels.< br / > Reload the page to update the web interface.< / div >
< / div >
< div class = "pure-g module module-color " >
< div class = "pure-g" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "useGamma" > Use gamma correction< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "useGamma" tabindex = "10" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
@ -393,7 +449,7 @@
< div class = "pure-u-1 pure-u-md-3-4 hint" > Use gamma correction for RGB channels.< br / > Will only work if "use colorpicker" above is also ON.< / div >
< / div >
< div class = "pure-g module module-color " >
< div class = "pure-g" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "useCSS" > Use CSS style< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "useCSS" tabindex = "11" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
@ -401,41 +457,12 @@
< div class = "pure-u-1 pure-u-md-3-4 hint" > Use CSS style to report colors to MQTT and REST API. < br / > Red will be reported as "#FF0000" if ON, otherwise "255,0,0"< / div >
< / div >
< div class = "pure-g module module-alexa" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "alexaEnabled" > Alexa integration< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "alexaEnabled" tabindex = "12" / > < / div >
< / div >
< div class = "pure-g module module-ha" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "haEnabled" > Home Assistant< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "haEnabled" tabindex = "13" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
< div class = "pure-u-0 pure-u-md-1-4" > < / div >
< div class = "pure-u-1 pure-u-md-3-4 hint" >
Home Assistant auto-discovery feature. Enable and save to add the device to your HA console.
When using a colour light you might want to disable CSS style so Home Assistant can parse the color.
< / div >
< / div >
< div class = "pure-g module module-ha" >
< label class = "pure-u-1 pure-u-md-1-4" for = "haPrefix" > Home Assistant Prefix< / label >
< input class = "pure-u-1 pure-u-md-1-4" name = "haPrefix" type = "text" tabindex = "14" / >
< / div >
< div class = "pure-g module module-ds module-dht" >
< label class = "pure-u-1 pure-u-sm-1-4" for = "tmpUnits" > Temperature units< / label >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "radio" name = "tmpUnits" tabindex = "15" value = "0" > Celsius (° C)< / input > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "radio" name = "tmpUnits" tabindex = "16" value = "1" > Fahrenheit (° F)< / input > < / div >
< / div >
< div class = "pure-g module module-ds module-dht" >
< label class = "pure-u-1 pure-u-md-1-4" for = "tmpCorrection" > Temperature correction< / label >
< input name = "tmpCorrection" class = "pure-u-1 pure-u-md-1-4" type = "number" action = "reset" min = "-100" step = "0.1" max = "100" tabindex = "17" / >
< div class = "pure-g" >
< div class = "pure-u-1 pure-u-sm-1-4" > < label for = "useTransitions" > Color transitions< / label > < / div >
< div class = "pure-u-1 pure-u-sm-1-4" > < input type = "checkbox" name = "useTransitions" tabindex = "12" / > < / div >
< div class = "pure-u-0 pure-u-md-1-2" > < / div >
< div class = "pure-u-0 pure-u-md-1-4" > < / div >
< div class = "pure-u-1 pure-u-md-3-4 hint" >
Temperature correction value is added to the measured value which may be inaccurate due to many factors. The value can be negative.
< / div >
< div class = "pure-u-1 pure-u-md-3-4 hint" > If enabled color changes will be smoothed.< / div >
< / div >
< / fieldset >