可以开发一款OpenWrt的功能插件么

在OpenWrt的WEB管理页面,可以增加一个带宽负载均衡控制带宽上传速度的功能么,以300秒为一个时间循环,前150秒上传流量速度调度率为100%,后150秒上传流量速度调度逐步递减最低递减到50%或者后150秒以10-30秒为一个时间节点随机降低带宽上传速度的5-10%,最低目标是整体的50%调度,(In the WEB management page of OpenWrt, can you add a bandwidth load balancer function to control the bandwidth upload speed, with a time loop of 300 seconds, the upload traffic speed scheduling rate for the first 150 seconds is 100%, and the upload traffic speed scheduling for the next 150 seconds is gradually decreasing to 50%, or the last 150 seconds is a time node with 10-30 seconds to randomly reduce the bandwidth upload speed by 5-10%, and the minimum goal is the overall 50% scheduling)

The preferred language in the OpenWrt forum is english.
When writing in your native language, please always provide an english translation.
This way other users all around the world can take part in the discussion and possibly benefit from the outcome, without having to use a translator.

Thanks! :slight_smile:

In the WEB management page of OpenWrt, can you add a bandwidth load balancer function to control the bandwidth upload speed, with a time loop of 300 seconds, the upload traffic speed scheduling rate for the first 150 seconds is 100%, and the upload traffic speed scheduling for the next 150 seconds is gradually decreasing to 50%, or the last 150 seconds is a time node with 10-30 seconds to randomly reduce the bandwidth upload speed by 5-10%, and the minimum goal is the overall 50% scheduling

1 Like

I apologize if I get this wrong; the translation is difficult to reconcile:

You want >90% for >299 seconds? 300.
The easy answer is to increase the time to 450 and let it ramp down.

If you want to override that, someone else will need to reply.

If I have completely misunderstood, please rephrase the whole post.

The openNDS package can do something very similar to this using its data quotas functionality, for both upload and download (configured separately).
See:

It is a captive portal, so if you don't want to be required to log in you can add the mac addresses of the client devices to the config to automatically log in (although mac randomisation can be a problem, but not so bad because most client devices stick to a fixed random mac once you have joined the network).
See:

Thank you, thank you very much for your advice