How can I use lov selectors

Domotica gratuit Forums How can I …? Synology NAS How can I use lov selectors

Mots-clés : , ,

Ce sujet a 1 réponse, 2 participants et a été mis à jour par Mika Mika, il y a 2 ans et 3 mois.

2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #876

    jerem
    Participant

    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
    Admin bbPress

    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 sujets de 1 à 2 (sur un total de 2)

Vous devez être connecté pour répondre à ce sujet.