Trigger output for 10 sec on TRB140

Is there a simple way to trigger a output of a trb140 for 10sec, to activate a relay. This to reset a device that is powerd by the relay. I prefer to do this by RMS portal. Is the task manager the way to go. Is there a example script to upload.

Hi,

To activate TRB’s Digital Output (pin 3) over the RMS Task Manager, you could use the following commands:

ubus call ioman.gpio.dio0 update '{"value":"1"}'
sleep 10
ubus call ioman.gpio.dio0 update '{"value":"0"}'

Hello @JohanD,

Please let me know if your issue has been resolved or if you still need any assistance.

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.