hass-opnsense icon indicating copy to clipboard operation
hass-opnsense copied to clipboard

Timeout on getting ARP table

Open alceasan opened this issue 1 year ago • 2 comments

I'm having timeout errors recently, when trying to get ARP table from OPNSense with device tracking.

I manually solved it increasing the timeout global variable from 10 to 25 seconds, but I think it'd be a good idea to have this as a parameter in the integration UI.

alceasan avatar Jan 19 '24 11:01 alceasan

How you change the timeout? I have the same problem.

Ergerbolt avatar Jan 25 '24 21:01 Ergerbolt

It's in custom_components/opnsense/pyopnsense/__init__.py

# value to set as the socket timeout
DEFAULT_TIMEOUT = 10

alceasan avatar Feb 06 '24 08:02 alceasan