I figured out how to get scripts (DSL, I think) into the rules.
So I set the trigger, using the UI, to ZW130WallMoteQuad_SceneNumber1 changed.
Then I have a script that runs:
logInfo(“DEBUG”, "info 1: "+ ZW130WallMoteQuad_SceneNumber1.state )
the log lists:
info 1: NULL
And only when I run the script manually. I know that OpenHab is receiving a value from the WallMote, because the debug logs say (among other things)
NODE 7: Got a value event from Z-Wave network, endpoint=0, command class=COMMAND_CLASS_CENTRAL_SCENE, value=3.0
NODE 7: Updating channel state zwave:device:f71779d3f4:node7:scene_number to 3.0 [DecimalType]
(In this case I pushed button 3, but it changes from 1.0 to 4.0 depending on the button pushed.
So how do I get a rule to detect that change and respond to that value?
I tried to use “when a trigger channel fires” as a trigger, but there are no channels in the list of channels. Maybe that’s part of the problem?