OpenMarine
Time buffer in actions - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Time buffer in actions (/showthread.php?tid=778)



Time buffer in actions - Luckbert - 2017-09-26

Hello everybody,
I think I'm standing on the hose.
I would like to perform an action only if a trigger triggers a certain time.

Eg: A float switch is connected to GPIO. When he triggers, he shows a message "Swimmer front".
Now it could however be that the float switch triggered by vibrations without water.
My idea: Show only a message if the trigger (float switch) min 2 sec.

Greetings Jürgen


in German:
Hallo zusammen, 
Ich glaub ich stehe gerade auf dem Schlauch. 
Ich möchte eine Aktion nur ausführen wenn ein Auslöser eine bestimmte Zeit triggert. 

Z.B.: Ein Schwimmerschalter ist mit GPIO verbunden. Wenn er triggert zeigt er eine Meldung " Schwimmer vorn". 
Jetzt könnte es aber sein das der Schwimmerschalter durch Vibrationen ohne Wasser auslöst. 
Meine Idee: Zeige erst eine Meldung wenn der Trigger (Schwimmerschalter) min 2 sek besteht.

Grüße Jürgen


RE: Time buffer in actions - jim321 - 2017-09-26

nodered

i have a similar situation i want to turn on spreader lights with a relay when pir sensor triggered but only at nite time.
i didn't find a gpio in actions in op, so i get the data to nodered and manipulate it there.. there i can use bigtimer for dusk dawn and trigger a relay with a gpio.
you could do what you want like that too , but use a function or node to check how long that the sensor is on before an action takes place.
jim


RE: Time buffer in actions - Luckbert - 2017-09-26

OK,
I thought I had overlooked the function.

Then it would be great if there was an entry "buffer" in the tab Actionen.
as well as: wait
                sytem restart
                 ....


Maybe move into "feature requests"


RE: Time buffer in actions - Luckbert - 2017-10-10

Hello, Jim,
Sorry I didn't answer until now, but I had to deal with other things first.
Thanks for your suggestion, but I'm afraid it might be too difficult for me. I therefore prefer a solution in the actions.

Maybe you can integrate it in a newer version.

Greetings Jürgen