OPNsense Integration

Maybe ill try it again. Thanks.
But i have not much hope on this.

Mimu is at holidays.

For ~6 Months? :smiley:
New opnsense version was also released before his latest commits other repos.
Anyway its not well maintained anymore (imo).

1 Like

Does anyone know how to get the integration to work when you have two WAN connections? I can only get it to display one WAN device rather than both.

1 Like

I just found this awesome integration and it will be disappointing if it’s no longer well maintained. I will assess support and stability on Opnsense 24.7…

Installed fine for me with Opsense 24.7.3. No issues. Very cool integration. Thank you!

Do you have the switches for controlling firewall rules?

I quite like the integration and all the control it gives. I have a question though. Is there any way currently to see the connections/dhcp leases for specific interface? My idea is to check if there is connections to the guest network and if there are connections to enable guest mode in HA (quite a few automations rely on this thing to run or not to run) and would be nice to automate this switch and not to have it manually changed when needed.

EDIT: Okay, i am blind as a bat on a concert … There is actually such a thing, just didn’t show the DHCP Leases Guest (my guess is that it currently doesn’t have anything and that’s why it’s not exposing it) i will try to connect a VM to it and see if it changes.

EDIT 2: Yes… this was correct - since i had no current connections the entity was not even showing as disabled. Connected a vm and it promptly showed up with correct count. Again - amazing integration! Thank you!

EDIT 3: After fiddling a bit with this i found something that seems a bit weird to me. If there are no clients on the interface the DHCP Leases entity is unavailable, which might be from the implementation - might be something from HA itself, not sure yet. The real issue comes when a client connects to those interfaces - the entity remains Unavailable until i reload the integration. After reloading the number displays correctly. The same goes in the other direction also - if a client disconnects - the number becomes 0 - which is expected, but on reloading the integration it becomes unavailable (simulating restart of HA while no client is connected). Is this an expected behavior or am i missing again something obvious?

1 Like

Anyone else is experiencing issues, like integrations is loosing connection to OPNsense every couple of minutes (opnsense 24.7.8, plugin 1.0)?

EDIT: Actually, it looses connection everytime i turn off and on a port forwarding rule (not a port that is actually used but just for testing cases)

EDIT2: Any switch that I turn on or off, will cause an interruption of the connection, until I manually reload the integration. Polling is set to 30 sec, no device tracking is activated