Event Juggler - I/O Digital input - script - Not triggered

Hello,

I’m trying to call a custom script using the “Event Juggler” when the I/O Digital input changes state.

The Action is the following:

#!/bin/sh
echo -n "IO_input ">> /tmp/run/juggler/IO_input.log
date >> /tmp/run/juggler/IO_input.log

I also tried the Script Upload w/o any more luck… :confused:

I tried to set chmod 777 for both /usr/local/bin/IO_input.sh and /tmp/run/juggler/IO_input.log, just in case. #:pirate_flag:
I also tried to chown juggler:juggler w/o success…

The script IO_input.sh works fine when I call it in CLI.

Any ideas? I saw that is has been quite some changes lately in Event Juggler and how rights are handled.

Sincerely,
Jerome

[edit]

  • Device name: RUT956
  • Firmware version: RUT9M_R_00.07.15.1

Hello,

Thank you for reaching out and for the detailed explanation.

I’ve just tested a similar setup on my end by triggering Input (3) state, and the custom script was executed as expected. For reference, here’s a quick summary of what I used:

  • Execution rights: made sure to run:
chmod +x /path/to/script

Additionally, in Event Juggler’s action data configuration, make sure no unnecessary conditions are added; for this type of action, the Condition compatibility option shouldn’t be selectable. You might want to temporarily remove any conditions for testing purposes.

Feel free to test this and let me know if that makes any change.

Best regards,

1 Like

Hello @anon65719490,

Thank you for your answer.

I found the problem, and it was actually not related to Event juggler at all.

To first test the Digital Input, I used the Impulse Counter, and I still had it enabled. :-/

By disabling it, it make Event Juggler conditions and script working. :smiley:

Sincerely,
Jerome

1 Like

Hello,

Thank you for the update. I’m glad to hear you identified the issue and got it sorted out.

If you need any assistance in the future, don’t hesitate to reach out.

Best regards,

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.