Problem with Shelly Dimmer 2 and Rule

Hi,

i ihave a fresh installation of openhabian with openhab 4.0.3 running.
I have a shelly dimmer 2 which i have added 3 items for:

  1. brightness
  2. power (switch on brightness)
  3. Power Consumption
    In HAB Panel i created a slider for the brightness and a switch for the Power.
    This is all working fine.
    Now i created a rule to set the brightness with this rule on a specific point in time to 80%
    At this point in time the slieder goes to 80% but the lamp itself doesn’t change.
    the lamp is turned on and stays on the same brightnes as before.
    Using the slider works fine, but not the rule.
    Also the item in Model settings shows 80 after this.

any idea how to get the setting activated ?

in Log Viewer (Frontail) i can’t see anything regarding this rule.
this is the code for the rule:
configuration: {}
triggers:

  • id: “2”
    configuration:
    time: 10:41
    type: timer.TimeOfDayTrigger
    conditions:
    actions:
  • inputs: {}
    id: “1”
    configuration:
    itemName: shellydimmer2_waermelampe_links_Brightness
    state: “80”
    type: core.ItemStateUpdateAction

You need to change the input type to send command

type: core.ItemCommandAction

What does the log say when you move the slider?
If you have started recently building up your openhab system, please consider moving to the other GUI „MainUI“ as habpanel is our old GUI and almost everybody migrated or will be migrating soon to MainUI.

Here is the Output from frontail when moving the slider:
2023-10-14 16:23:18.469 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘shellydimmer2_waermelampe_links_Brightness’ received command 91
2023-10-14 16:23:18.470 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘shellydimmer2_waermelampe_links_Brightness’ predicted to become 91
2023-10-14 16:23:18.471 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘shellydimmer2_waermelampe_links_Brightness’ changed from 100 to 91

setting the Type to ItemCommandAction didn’t change anything.

Yes i know i need to move to PaperUI but i’m used to HABPanel from the 4 Years of using Openhab. =)

Weird. What happens, if you manually start the rule by clicking the play button?

Hi Oliver,

nothing, at least when looking @Frontail.

Sorry, you also need to change state to command:

    configuration:
      itemName: shellydimmer2_waermelampe_links_Brightness
      command: 80
    type: core.ItemCommandAction

That seems to be working.
Thanks a lot. you saved my day!