Closed Rexadev closed 5 months ago
Hi
The 2 problems seems related to bash.
Did you manage to authenticate and generate the correct REST request to your OpenWrt device and got the json reponse with data ?
If so you need to parse and handle the json response to extract the traffic data and then sort it as you like (and ignore invalid data as you see fit).
OpenWrtManager shows Up and Down bandwidth of each connected wifi station. I assume using this dart code (https://github.com/hagaygo/OpenWrtManager/blob/github/lib/Overview/NetworkTraffic.dart).
I want to use this feature in bash script that controls wifi power and I need help with it.
Problems with it after adapting it for bash -