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.
I'll be typing in English as my German will only come out of google translate

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.
Kommentar