TRB140 Output fails to react after a while
TRB140 Output fails to react on I/O juggler Input state change, whereas this Output continues to react properly to sms commands
The issue is solved each time after a Reboot of the TRB140, but appears again after a while (after approximately 1 day)
Same problem occurs on 2 different TRB140 , both using R-00.07.03.4. The issue already existed on former releases.
Could you try updating to the latest firmware and check if the issue reproduces?
No such issue has been registered on our end.
Perhaps you have another I/O features enabled (e.g. scheduler) which could cause this behavior?
If the behavior replicates on the latest firmware, I’ll ask you to run the following command via the CLI and check if the state changes (only run after the issue replicates):
ubus call ioman.gpio.dout1 update '{"value":"1"}'
If the state changes, could you try using a different browser and checking if the issue is still there?
Remark :
the 2 first lines of the crontabs have been programmed by myself to have a daily action ,
but the 2 last lines, I do not know what it is ? and where is it coming from ?
The scheduler function does not allow for a recurrent daily 3 minutes activation of the output, as we need it (which means activation for 3 minutes every day at the same time of the day). On top of that we need also to activate the output by a sms command, which is incompatible with the scheduler (as stated by the system when we try it).
May I stress again that our solution is perfectly working, but after a while, needs a reboot of the TRB140. This is strange !
Best regards
Perhaps you could try moving the commands to a script and calling the script from the crontabs?
It may be that the && operator is what is causing the issues here, so please try setting up the script like so:
#!/bin/sh
uci set ioman.dio1.value=1
uci commit ioman
/etc/init.d/ioman restart
You should have two scripts - one for setting the output to HIGH, and another for setting it to LOW. This is also possible to do using one file by utilizing arguments, but for the sake of simplicity, let’s use two.
One file will have contents like so: