Closed withanhdammit closed 2 years ago
Welcome! It doesn’t have a discovery mechanism, so after installing the plugin you have to hit the add integration button and then just search for ‘pfsense’.
That's what I did, and it doesn't show...
Did you restart hass? What versions do you have of hass etc? Do you see any errors in the logs?
I did restart hass. I'm running Home Assistant 2021.10.6 installed on Debian.
No errors, only one warning: 2021-10-21 17:27:36 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration pfsense which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Maybe do a hard refresh in the browser?
I opened in incognito mode and it's there. Tried a hard refresh and I'm good to go.
Thanks so much for responding so quickly! That is highly appreciated! Do you have a donation link or anything like that? I'd like to buy you a beer or cup of coffee or somethign.
Thanks for the offer of support! All good for now. My preference is actually just to receive some feedback (good or bad) and any features you think might be helpful.
That I can do. My first reaction is "389 entities? Holy hell that's insane!"
lol that’s why a bunch are disabled by default! I’m guessing you have several interfaces..or enabled device tracker.
Or a bunch of firewall and/or nat rules..
Several interfaces. I've got 10 or so vLANs built, with all the associated block or allow rules.
Haven't done the device tracker yet, probably won't, I use the Unifi integration to see if one of the kid's phones is on the network so I know if they are home or not.
I have the HA app installed on my and my wife's phones, so do GPS tracking into zones for us.
Yeah, the multiple interfaces will add up as the number of sensor for each is high. I will probably disable even more by default.
I agree device_tracker is of limited use but figured I'd do it since I'd seen others ask about it etc. There are definitely much better ways to handle that.
Just published an update with the # of sensors enabled by default trimmed down a bit (you'll have to remove the config and re-add to get the latest defaults) and also a saner set of icons.
This might be a fringe case, I'm building a network dashboard using https://github.com/RomRider/apexcharts-card and when I put them in a 2x grid, the formatting is a little wonky because "packets/s" is way wider than "kB/s". Maybe abbreviate "packets/s" to "pkts/s" or "pkt/s".
Cool! I actually pulled those from the other integrations to align and have consistency from a wholistic standpoint. Any way to alter that at the UI level?
Not sure. Apex charts has so many options, I wouldn't be surprised if it could. I know on the surface it just reads what you give it. Those numbers are in the "header", I'll keep digging.
In the meantime, this is the code to build those exact charts: https://pastebin.com/f63Y1XpP
edit: Asked in the Home Assistant forums for the ApexCharts-card if anyone knows how to edit the header labels. I checked the ApexCharts website, but it's such a huge/complex beast it's easy to get lost in there. https://community.home-assistant.io/t/apexcharts-card-a-highly-customizable-graph-card/272877/1226?u=withanhdammit
How's the integration been so far? Any gaps that need to be filled in?
The device_tracker stuff is being updated to have much better configuration options etc and a few services will be added but otherwise I think it's relatively complete.
No gaps so far, I'm definitely liking being able to chart stuff. I have been working on other config stuff, not as much as on the pfSense. Frigate is a freaking cool NVR, and I've been tweaking that a bunch.
On the charts note, I did find out how to edit the labels so packets/s is abbreviated to pkt/s. Turns out to be pretty easy!
type: custom:apexcharts-card
series:
- entity: sensor.packets
unit: pkt/s
I've almost got the Frigate NVR set up. Well, enough for now, things always need tweaking! LOL I'll spend some more upcoming time with the pfSense integration soon.
I just installed this component (custom repository via HACS) and when I search the integrations list, it does not show. I can see it in the custom_components folder, so I believe I connected the repository and installed it correctly.
How to I activate this integration?