but I am getting these lines in the HA log when restarting:
2025-11-07 21:50:32.159 ERROR (SyncWorker_1) [openwrt.ubus.interface] api_call exception: HTTPConnectionPool(host='10.1.10.1', port=80): Max retries exceeded with url: /ubus (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7e357a3ab8c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Do I really need to give the integration root-access to my router? I’d rather not do that for ovious reasons, but my attempt at using the hass user has failed…
OpenWrt allows rather fine-grained access to individual features via ACL definitions, it’s possible - but depending on what you want to get access to not necessarily sensible (as you’d effectively just create a root user under another name).
You are right, it was a firewall issue. Sorry and thank you!
Unfortunately it turns out I can’t use the ubus or luci integration since this is also the case for me
In my environment I don’t use the AP on the router, and so it was correctly returning no data. Armed with this information, I know that I cannot use this integration for device tracking or presence.
In my environment, I don’t use the main router as access point, but it is still the DHCP provider for my whole network, so I can use luci for device tracking…