Sorry I don’t monitor the forums much and mostly work out of github. There are transforms that can be done in the ui vs making the integration produce different values. I’m sure others are far better than I to provide examples of such cases though.
Unfortunately it looks like 2024.2.x has broken this integration. I can not find any evidence as to what exactly was changed in the core HA code that would have broken this. Works fine in 2024.1.6 and breaks as soon as you upgrade to 2024.2.0b0 or later
While the integration still pulls stats in 2024.2.x, but the services seem completely busted. Check out this issue for tracking. Wake On Lan not working with HA 2024.2.0 · Issue #188 · travisghansen/hass-pfsense · GitHub
upgraded to v0.6.5 today and I can call services again.
Does this still work for you? I don’t see any entity like this at all.
Can this integration press the ‘recycle the tunnels’ button for wireguard tunnels? I have a dual isp setup and one of the massive issues that pfsense has, which netgate seems to not care about after several attempts to bring this to their attention, is that wireguard does not properly handle things if a link goes down, and often times tunnels will make attempts to use other tunnels (even though they arent supposed to) to reach their peer. I’ve found a really good solution here is to just bounce the tunnels if an interface has an issue.
this is something that seems like pfsense would have, but no, there is no custom ‘do this thing or run this script if an interface goes down’ ability. when i discovered this pfsense-hass integration i installed it immediately!
what i’d like to do is create a home assistant automation that basically bounces the wireguard tunnels for me if either of the two isps goes down, but I can’t figure out how to use this integration to actually ‘do stuff’ to the firewall. It can see the interfaces, but im not sure how to make it basically press buttons on my behalf.
Could you just kill states?
Not sure if this would have the desired result, but this can be done with the integration.
no, the problem is that pfsense doesnt correctly handle the wireguard tunnels with respect to routing groups. the only thing that’s a surefire way to fix the issue is to bounce wireguard to have it restablish the tunnels.
i can see theres a pfsense_exec ability in here, but ive been struggling with the syntax. is there an example?
There are some examples on github. Link in the first post.
You may be able to use restart service for wireguard.
Hi, yes, I still have this entity
I am trying to setup this integration and I cannot get the correct URL setting.
I have Verify SSL certificate unchecked.
I have tried http://192.168.X.X which results in Incorrect URL (redirect)
I have tried 192.168.X.X which results in Invalid URL Format
From the project github:
URL - put the full URL to your pfSense UI (ie: https://192.168.1.1), supported format is ://[:]
So if you navigate to the pfsense interface using the browser, copy the URL from the address bar and paste that into the config dialog of the integration, what happens?
I have had these issues before and the copy and paste has worked more than once when typing has failed like you’re describing.
Thank you! That worked.
Is it possible to get stats from pfblocker, like top blocked IPs, amount of ips blocked, etc?
Many thanks for this great integration!
Question: I’m a bit of a PfSense noob, but is it possible to expose the outbound traffic (in kB/s or something) from a specific device / LAN ip-address to Home Assistant via this integration?
I want to monitor my work laptop traffic, to detect when I have video calls starting / ending.