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
73 stars 7 forks source link

Stuck on setup #1

Closed Mikescotland closed 8 months ago

Mikescotland commented 8 months ago

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

AlexandrErohin commented 8 months 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 8 months 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 8 months 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 8 months 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 8 months ago

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

AlexandrErohin commented 4 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