Hi. Wonderfull app!!!!!
Is there a way to get network traffic value?
I'd like to create a flow like "if network traffic during last X seconds is less than Y then close data connection".
Is it possible?
Network statistics
Moderator: Martin
Re: Network statistics
Hi,
There is no built-in trigger to react to network traffic.
You could try to use an action Execute Command: cat /proc/net/dev and process the output in a script.
The output of the command is stored in the variable stdout. You can check the contents of the variable by using a condition Debug Dialog in the flow. Manually execute the flow and select the row with the variable stdout in the dialog to open the value in the built-in text editor (works best when changing the typeface to monospace: menu->Preferences->Typeface).
Regards,
Martin
There is no built-in trigger to react to network traffic.
You could try to use an action Execute Command: cat /proc/net/dev and process the output in a script.
The output of the command is stored in the variable stdout. You can check the contents of the variable by using a condition Debug Dialog in the flow. Manually execute the flow and select the row with the variable stdout in the dialog to open the value in the built-in text editor (works best when changing the typeface to monospace: menu->Preferences->Typeface).
Regards,
Martin