Ankündigung

Einklappen
Keine Ankündigung bisher.

Looking for the counter module and maybe some help.

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    HS/FS Looking for the counter module and maybe some help.

    Hello,

    I'll be typing in English as my German will only come out of google translate and i dont think that will make anyone happy.

    Anyway, been fiddling with the logic modules in Homeserver and starting to understand how they are build up.
    Most of this learning has been done by looking at existing modules and reverse engineering what they do.

    Now for my challenge:
    I want to do different things with my switches (knx) depending on how many times i pressed them within 1 sec of each press.

    Example:
    1 press the switch 3 times and the time difference between each press is not longer then 1 second. After the 3rd press and letting 1 second lap the module will activate the 3rd output

    So i'll need an module with 2 inputs (switch and intervall time) and 4 outputs
    The module will self reset after it outputs for 1 second

    Been looking at the module that can choose between long and short press which seems a good start, and i would like to combine that with the counter module.
    However the counter module i cannot find in the hsl files. Anyone know how the formula is created for the counter module? Or can nudge me in the right direction.

    Thank you in advance.

    #2
    Have you checked the module "Doppelklick" -> http://service.knx-user-forum.de/?co...&id=13161&dl=1 ? Maybe you'll find this useful.
    You'll find the code of the standard modules in the file logik.dat in your chosen installation directory (e.g. C:\Program Files (x86)\Gira\HS+FS\exp420\dat).
    Gruß, Rainer

    Kommentar


      #3
      cevers,

      Great idea. I have some regular switches outside which could benefit with that 'double click' function

      Taxus,

      Thanks.

      Kommentar


        #4
        Vielen Dank für die gute Beratung. (I have some German relatives, they help me with the hard german stuff that google chokes on )
        I am working on the module now and will post an update here.

        Kommentar

        Lädt...
        X