AlexandrErohin / home-assistant-tplink-router

Home Assistant component for TP-Link router administration with sensors, button reboot, switches and device tracking.
https://community.home-assistant.io/t/custom-component-tp-link-router-integration
MIT License
137 stars 16 forks source link

Stuck on setup #1

Closed Mikescotland closed 1 year ago

Mikescotland commented 1 year ago

Tried but getting "starting configuration wizard for tp link router" and spinning wheel forever.

AlexandrErohin commented 1 year ago

@Mikescotland Hi Did you restart Home Assistant? It stucks before you type host and password? Could you tell please also 1) What is the version of your Home Assistant 2) The router version and build version. It could be found in the bottom of the router web page when you are logged 3) Is there any related logs in Home Assistant. Check please in Home Assistant Settings->System->Logs

Mikescotland commented 1 year ago

Yes. I restarted of course. HA core 2023.11.2

Succesfully added via HASS. Whenever I try to add via devices and services, immediately after choosing package it goes forever to "starting configuration wizard for tp link router" and never goes to inputting the router IP. After a few minutes it shows message "config flow could not be loaded, unknown error"

AlexandrErohin commented 1 year ago

@Mikescotland Is there any errors in Settings->System->Logs ? P.S. Just have tested on 2023.11.2. Its open OK. Would be good to see your logs

Mikescotland commented 1 year ago

All good now with the installation, redownloaded and reinstalled. Although my tplink router is supported by TPLINK tether app (similar to yours), I think it gives different response:

0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('http://192.168.1.1/cgi-bin/luci/;stok=/login?form=keys&operation=read')

I've got Archer VR400 router.

AlexandrErohin commented 1 year ago

@Mikescotland yes, it looks like Archer VR400 and Archer C6U have different responses

AlexandrErohin commented 9 months ago

@Mikescotland Archer MR200 v5.3 support was added, It has different api, so maybe it is similar with yours. Could you try new version of the integration and let me know