Search found 4 matches

by MHM
Fri Mar 17, 2023 9:45 am
Forum: Automagically
Topic: Help with Eval on incoming signal
Replies: 5
Views: 14380

Re: Help with Eval on incoming signal

Got some time to do further testing last night... Changed timing presets from default on owserver, added --timeout_presence=60 and --timeout_directory=60 to make sure both timeout after 1 min, this also made it possible to remove my "Find repeats"-workaround mentioned in previous post.. :)...
by MHM
Fri Mar 17, 2023 9:45 am
Forum: Automagically
Topic: Help with Eval on incoming signal
Replies: 5
Views: 14380

Help with Eval on incoming signal

Hello everyone! Need some help on how to make "if-else" eval of incoming signal, or if anyone have any better ideas they are of course welcome as well :) Background: Idea is to use a 1-wire RFID-reader and RFID keyfobs to keep track of family members coming home and leaving and use Automag...
by MHM
Fri Mar 17, 2023 9:45 am
Forum: Automagically
Topic: Help with Eval on incoming signal
Replies: 5
Views: 14380

Re: Help with Eval on incoming signal

Hello, thank you for your reply! Tried your suggestion and it works as expected, just had to change ">" to an "<" :D $EVAL:"parse_away:" + ("0","10")[$Away$<5] which results in (starting with Away=0): 2014-02-27 20:05:48.905504 datafetcher parse_away...
by MHM
Fri Mar 17, 2023 9:45 am
Forum: Automagically
Topic: Help with Eval on incoming signal
Replies: 5
Views: 14380

Re: Help with Eval on incoming signal

Actually managed to make a workaround without much trouble, used "Find repeats" to listen for signal for 120 seconds and then output ONE new signal which i just named "trigger,fetched:NNNNNNNNN" and then used this signal as input to the above mentioned signal handler. This works,...