travisghansen / hass-pfsense

pfSense integration with Home Assistant
193 stars 27 forks source link

Feature request: Ability to adjust traffic shaper #176

Open reg98643t opened 11 months ago

reg98643t commented 11 months ago

I have a pretty niche use case but I suspect a few people might benefit from this.

I have a variable speed internet connection, I am billed at a rate that changes depending on the speed I want for that day. So on a regular day I will use a fairly cheap plan but if I anticipate a big game release or just want to download something quickly I can temporarily upgrade my connection to very high speed.

The problem is I have to delete and recreate my traffic shaper every time, which is extremely manual, or my connection speed remains limited to the slower speed.

I have all the pieces in place in HA to detect when my connection speed increases, I just need a way to adjust the shaper speed limit or even just turn it on/off.

I imagine this might be useful for people with connection or congestion issues as well, the ability to adjust your shaper in response to speedtest results or even at peak times would be pretty powerful.

justynbell commented 7 months ago

This would be cool for me, as I have multiple WANs. One copper from my ISP, and a backup LTE modem. The LTE modem uses my Google Fi data, so when my network fails over to LTE, I'd like to enable a shaper to limit bandwidth so I don't run my phone bill up instantly.

From the 2 seconds I've looked at using the traffic shaper with multiple WANs in PFSense itself, it seems convoluted. We already have a method for knowing which WAN is the default, one traffic shaper and one HA automation is pretty simple imo.