Simple rule not working on Synology setup

Excellent Robin because watching the log while you are working on your rules is essential. Your rules look correctly formed, do you have an item for each of these items?
Light_Desk
Plug_in_onoff_Module
zwave_device_7a2a2811_node22_switch_dimmer
zwave_device_7a2a2811_node4_switch_binary

How are the items defined? in a rules file or in Paper UI, sorry if I missed this in earlier post

Rules are in rules files.

Items 1 and 3 are the same. Items 2 and 4 are the same.

  1. Light_Desk
  2. Plug_in_onoff_Module
  3. zwave_device_7a2a2811_node22_switch_dimmer
  4. zwave_device_7a2a2811_node4_switch_binary
  • In paper UI the field Name is the item #1
  • In the log file, the item #1 is shown like #3 which is the same as in HABmin in the field Dimmer or Switch

Same for #2 and #4. I didnā€™t know which to take so I copied the rules and changed the names to see if It works!

iā€™m sorry, I meant to ask if the items were defined in an items file or Paper UI
Items must be defined in an items file in the items directory or in Paper UI

The rule is looking for a specific event - that Item to change form OFF to ON

but the actual event

the given Item changes from 0 to 100.
It was never OFF and has not become ON.
The rule is doing exactly what you told it to do, itā€™s a dumb machine.

Suggestion - simplify your rule trigger to just ā€˜changedā€™.
Add a message so that you can see when it triggers.
Check the state of the Dimmer Item in the rule. Remember, this Item is a Dimmer type - it does not have ON or OFF states, the state is always 0-100.

rule ā€œPlant Timer Link Onnā€
when
   Item zwave_device_7a2a2811_node22_switch_dimmer changed
then
   logInfo('test', "My rule has started")
   if ( (zwave_device_7a2a2811_node22_switch_dimmer.state) as Number > 0) {
      logInfo('test', "The dimmer is on")
      zwave_device_7a2a2811_node4_switch_binary.sendCommand(ON)
   } else {
      logInfo('test', "The dimmer is off")
   }
end

There is actually a way to cheat and force a dimmer 0-100 state to be treated as though it was on/off, but itā€™s good to understand why your rule didnā€™t work.

if ( zwave_device_7a2a2811_node22_switch_dimmer.state as OnOffType == ON) {

As for the other rules -

there is no sign of that Item changing in your events.log, so why would the rule ever run. Dumb machine, cannot guess what you want.

What makes you think that this Item is ā€œthe sameā€ as your real zwave Items?

Ok, after a couple of hours and a lot of learning, I got everything fixed!

I removed the Experimental rules engine and moved my rules in the rules folder.

The loginfo command is really usefull to troubleshoot!

Youā€™ll see me again starting new threads with my future problems:)

Big thanks to you all!