Hello,
i have the Aeon Z-Stick on my Windows 7 - openHAB NUC.
At the moment i use a
Fibaro RGBW Controller … the Full Item File is:
Group gWohnzimmer "Wohnzimmer" <sofa> (gAlles)
Group gwzRGBW "TV Rücklicht Erweitert" <sofa> (gWohnzimmer)
Color wzRGBW "TV Rücklicht" <slider> (gwzRGBW)
Dimmer wzRGBW_All "Helligkeit [%d %%]" <switch> (gwzRGBW) {zwave="2"}
Dimmer wzRGBW_R "Rot [%d %%]" <switch> (gwzRGBW) {zwave="2:2"}
Dimmer wzRGBW_G "Grün [%d %%]" <switch> (gwzRGBW) {zwave="2:3"}
Dimmer wzRGBW_B "Blau [%d %%]" <switch> (gwzRGBW) {zwave="2:4"}
Dimmer wzRGBW_W "Weiß [%d %%]" <switch> (gwzRGBW) {zwave="2:5"}
Switch wzRGBW_Switch "Schalter Alle" <switch> (gwzRGBW) { zwave="2:1"}
Switch wzRGBW_R_Switch "Schalter Rot" <switch> (gwzRGBW) { zwave="2:2"}
Switch wzRGBW_G_Switch "Schalter Grün" <switch> (gwzRGBW) { zwave="2:3"}
Switch wzRGBW_B_Switch "Schalter Blau" <switch> (gwzRGBW) { zwave="2:4"}
Switch wzRGBW_W_Switch "Schalter Weiß" <switch> (gwzRGBW) { zwave="2:5"}
Number wzRGBW_Power "Stromverbrauch [%.1f W]" <energy> (gwzRGBW) { zwave="2:command=sensor_multilevel"}
Number wzRGBW_Energy "Gesamtverbrauch [%.2f KWh]" <energy> (gwzRGBW) { zwave="2:command=meter", refresh_interval=60}
I have only the Colorpicker in the Sitemap
And the rule for the Colorpicker is:
import org.openhab.core.library.types.*
var HSBType hsbValue
var String redValue
var String blueValue
var String greenValue
rule "Set wzRGBW Value"
when
Item wzRGBW changed
then
hsbValue = wzRGBW.state as HSBType
redValue = hsbValue.red.intValue.toString
greenValue = hsbValue.green.intValue.toString
blueValue = hsbValue.blue.intValue.toString
sendCommand(wzRGBW_R,redValue)
sendCommand(wzRGBW_G,greenValue)
sendCommand(wzRGBW_B,blueValue)
end
i have sometimes a Warning Message … i dont know why ???
2015-08-22 18:12:21.124 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.172 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.174 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.177 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.181 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.186 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.189 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.194 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
2015-08-22 18:12:21.198 [WARN ] [.b.z.i.c.ZWaveConverterHandler] - NODE 2: Generating message failed for command class = SWITCH_MULTILEVEL
The second Device is a Fibaro Rollershutter FGRM-222
Group gKind "Kinderzimmer" <boy3> (gAlles)
Group gkdSHUTTER "Kinderzimmer Außenrollo Erweitert" <rollershutter> (gKind)
Rollershutter kdSHUTTER "Außenrollo [%d %%]" (gkdSHUTTER) {zwave="3:command=switch_multilevel,invert_state=false,invert_percent=true"}
Number kdSHUTTER_Power "Stromverbrauch [%.1f W]" <energy> (gkdSHUTTER) { zwave="3:command=sensor_multilevel"}
Number kdSHUTTER_Energy "Gesamtverbrauch [%.2f KWh]" <energy> (gkdSHUTTER) { zwave="3:command=meter" }