Drimmer and roller Toggle with scene

  • Hi,

    Please help me, because I don't know how to solve my problem.

    I have:

    • i4 (button mode)
    • Shelly 2.5 as roller mode
    • Dimmer2
    • And a ton of other shelly products 😀

    I want:

    • If I short press the button toggle the dimmer
    • If I long press change the brightness of the dimmer
      • If higher than 80% change to 5%
      • If lower than 20% change to 100%
    • If I double click toggle the roller
      • If its above 90, go to 100
      • If its 100 go to 0
      • If its moving stop

    What I tried:

    • Short press solved with ddd (webhook) and its working
    • I tired to solve the dimmer with scene, but its blinking now... :(
      • Set to max
        • If long pressed (condition type: once) and
        • If the brightness is less then 20% (condition type: once)
        • Turn on and set to 100%
      • Set to min
        • If long pressed (condition type: once) and
        • If the brightness is more then 80% (condition type: once)
        • Turn on and set to 5%

    What happend when I pushed long:

    • The light started to blink (5% to 100% to 5%) and stop about after 10 minutes

    My questions:

    • How to solve the dimmer issue
    • How to solve the roller scene

    Thanks a lot!

    Csaba