Options to reduce home assistant and pfsense integration load #141
Replies: 3 comments 11 replies
-
What load do the unused entities introduce to your system? What is load introduced on the firewall vs when the integration is fully disabled? |
Beta Was this translation helpful? Give feedback.
-
just realized that I could select all to disable integration entities in ha. this and setting the scan interval to once a day, would be the easiest way to disable entity/refresh loading. after the scan interval any new firewall changes would create new entities and I'd need to repeat the process again. in this case, if I wanted to toggle a firewall rule, I would first need to enable the switch, or use a custom component to enable the switch (such as ha-registry) and wait the interval for new data on the result, or does flipping a switch force a data refresh for that entity or all entities? still feel like there is a missed opportunity for a manual data refresh service |
Beta Was this translation helpful? Give feedback.
-
for my use case, I would prefer to have only needed entities generated, and refresh only a targeted entity data, but I can see how someone else may want the integration to resync config and pull down the whole pfsense state in some cases. these days, my pfsense 2.6 dashboard takes a full 5 second delay to load in the browser, it's super annoying. while I haven't figured out the problem yet, presumably pfsense is waiting on one of the dashboard widgets to refresh data. pulling too much data at once is an anti-pattern |
Beta Was this translation helpful? Give feedback.
-
I'm not using most of the entities the pfsense integration generates, and I want to reduce the impact to my firewall. The fact is, I cannot adequately manage pfsense from home assistant and certainly don't want to recreate the pfsense dashboard in home assistant. I can see the appeal in having a summary snapshot card with cpu or bandwidth data, and the last few firewall entries, but primarily I need a method to automate tasks only pfsense can perform. Using the integration, this comes at a cost.
Currently the pfsense integration creates 380 entities in my home, 295 disabled and *85 enabled - simply too many.
How can the integration best be updated to reduce the number of entities generated? Are more filter options are needed in config setup? device_trackers entities have a config setup filter toggle, which I greatly appreciate since I'm running a unifi controller integration that provides the network-based device trackers I need.
Today, I'm only using the pfsense integration for WOL service... At peak usage, I've only used a single switch to toggle one firewall rule on/off. Due to this low usage and the huge number of entities, I uninstalled the integration today. Wow it felt great, but soon found that it was going to be a big headache to implement WOL broadcasting through my linux vlan/bonding/docker network infrastructure.... and pfsense can reliably send WOL packets.
and how do I reduce the data refresh load on my firewall? The data refresh interval can be set to a very large number but then the entity states would always be stale. Eliminating the update interval with configuration could work, but this would require a service to reload (update) data. Are there any other uses for having a manual data update service?
Curious what are others' thoughts
Beta Was this translation helpful? Give feedback.
All reactions