Hi! I have an issue with the OpenWRT / Luci device tracker. I keep getting the error message
[homeassistant.components.device_tracker.luci] Luci responded with a 403 Invalid token
every time Home Assistant queries the router.
I have found some information in a similar post (https://community.home-assistant.io/t/device-tracker-luci-invalid-response-from-luci-response-404) but it just wont help. I have luci-mod-rpc installed and can access the web interface / Luci via http.
In one post, it was stated that a rm /tmp/luci-indexcache
on the router would help, but it does not help for me.
Curl responses:
http:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Cache-Control" content="no-cache" /> <meta http-equiv="refresh" content="0; URL=/cgi-bin/luci" /> </head> <body style="background-color: white"> <a style="color: black; font-family: arial, helvetica, sans-serif;" href="/cgi-bin/luci">LuCI - Lua Configuration Interface</a> </body> </html>
https:
curl: (7) Failed to connect to [IP] port 443: Connection refused
Does it need to be able to connect via https? I dont need https in my LAN…
Any help appreciated.