How to do - Button/Switch Lock Function

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • killeriq
    Smart Home'r
    • 18.09.2015
    • 91

    #1

    How to do - Button/Switch Lock Function

    Hello,

    Im looking for a way how to lock button in ON state, that other function/condition wont be able to put it OFF.

    Here is the case....

    IF condition > 50C -> open Valve and hold it open (not able to close it in UI)

    IF condition < 50C -> close Valve and hold it open (able to open/close it in UI)


    I was trying different switches/puttons but all of them are able to put ON/OFF manually. Its and ON/OFF valve with 15s run time - so when the 2-way switch is turned ON or OFF i need to keep that state to be able to tell if the valve is closed or not...

    I had it once setup the "lock button" that i wasnt able to change in UI , but cant remember how i did it.

    Thanks!

  • duncan
    LoxBus Spammer
    • 28.08.2015
    • 313

    #2
    do you need it to show in the interface if you want it disabled from user interface? if not, tick the 'use' box for the output device so it shows the state in the interface, and turn off the 'use' box for the button - that way your logic works, the output state is shown in the visu, but cant be changed

    Kommentar

    • killeriq
      Smart Home'r
      • 18.09.2015
      • 91

      #3
      yes i need to have it in UI....

      Logic behind it is when heating circuit A is heating (ON) and circuit B is cooling down - dont want to be able to open it when is heating on, but still want to have option to open/close manually in case heating is OFF. Its due to circuit B is cooling down GPUs and when is too high need to send hot water elsewhere...

      Had still already set on different setup - due to accident and i wasnt able to operate button fix it time ago but i cant remember how it was done

      Kommentar

      • Christian Fenzl
        Lebende Foren Legende
        • 31.08.2015
        • 11234

        #4
        If you need to switch it by UI, put in some switch block that is visible.
        Behind, have an OR block, that collects the switch and your second condition.
        The output of your OR can directly switch the actuator, or another (invisible) switch.
        If you need pulses behind the OR, use a push switch (don't know the English term, in German it's "Tastschalter"). Now you get pulses for ON and OFF.
        Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

        Kommentar

        • killeriq
          Smart Home'r
          • 18.09.2015
          • 91

          #5
          will check , thanks!

          btw this is the "heating" system - which im cooling down

          Kommentar

          Lädt...