How can I use lov selectors

Gratis domotica Forums How can I …? Synology NAS How can I use lov selectors

Dit onderwerp bevat 1 reactie, heeft 2 stemmen, en is het laatst gewijzigd door Mika Mika 3 jaren, 1 maand geleden.

2 berichten aan het bekijken - 1 tot 2 (van in totaal 2)
  • Auteur
    Berichten
  • #876

    jerem
    Bijdrager

    Hello,

    I have tried to use blockly for a scene, but I have a few problems :
    – can’t find a way to “wait” or sleep for a few seconds (found only in util “sleep for x minutes”)
    – when I try in a scene to give a value to a lov selector, the value does not update in the panel on the dashboard : I use “device xx yy new value zz” but it doesn’t update.

    Here is the code (is there a way to copy / paste between scenes ? besides templates ?) :
    (I’m new to this, so it must be pretty bad, and for you to understand, I have the following devices involved :
    – one zwave dual switch
    – one virtual binary switch
    – one virtual lov selector

    Thanks,
    Regards,
    Jeremy

    #881
    Mika
    Mika
    Sleutelbeheerder

    For your first question :

    You have under the “Util” tab a block called “Timer”. This block will execute the actions specified in it after x minutes. If your scene is called again, the timer will recalculate the time.
    If you want to try it with your scene in attachment, add the block “run scene manually”.
    The scene will only be execute when you click on it on the dashboard.

    For your second question :

    Try to run your scene step by step.
    Eg :
    1/ Add the “IF” block” and set the value of “Volets auto” to true;
    2/ Add the “AND” in your if and see if it’s still OK
    3/ Add the timer block
    4/ …

    I think it’s needed if your are not familiar with blockly.

    Note : Once you have created your scenes dont forget to regenerate your panels to have it on the dashboard.

    Mikael

2 berichten aan het bekijken - 1 tot 2 (van in totaal 2)

Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.