Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Host IP Address Not Saving #161

Closed
zwrose opened this issue Feb 20, 2023 · 5 comments
Closed

New Host IP Address Not Saving #161

zwrose opened this issue Feb 20, 2023 · 5 comments
Labels
bug Something isn't working not_enough_data

Comments

@zwrose
Copy link

zwrose commented Feb 20, 2023

My Deco's are used in Access Point mode, and as a result it's possible for the Host IP Address to change. This happened to me recently, and I've seemed to encounter an issue with this integration now where the Host IP Address does not "stick" when saving upon reconfiguration.

Steps I take:

  1. Go to Integrations section
  2. See the integration failing because it's trying to talk to the old IP address which is no longer a Deco
  3. click Configure
  4. Change Host to new, correct IP address
  5. Get a success message
  6. See in the debug logs that devices were indeed fetched

Expected behavior - integration is back working again

Actual behavior - the integration reverts back to trying to reach the old, bad IP address. When I open the configuration menu again, the old IP address is there again.

I've tried both quickly "reloading" the integration after the successful reconfiguration, and doing nothing - in both cases, it reverts to attempting to contact the old, bad IP address.

Not sure there are any logs that would be useful here, but let me know if there is something it would be good to see. The only debug logs I see are either ones related to the successful one-time sync at the time of reconfiguration, and otherwise, the message that the call to the bad IP fails (and the clear_auth call)

@boberggreen
Copy link

I got exactly same problem with my Deco M5 in my HA. IP Address is change, and when i save I get success but the old IP is still there

@zwrose
Copy link
Author

zwrose commented Mar 11, 2023

@amosyuen - any thoughts on this one?

@amosyuen
Copy link
Owner

I'm not able to repro, changing IP address works for me. Make sure you're on the latest version, and maybe try installing from scratch. Possible that there's a problem with upgrading from older versions.

As an aside you should set a static IP assigment for the deco mac so that you don't need to keep updating it.

@lyzo
Copy link

lyzo commented Mar 29, 2023

When changing IP adres, then I got also a succes message. But it still use the old IP adres.

My solution was, reinstall the integration.

@amosyuen
Copy link
Owner

Finally tracked this down, I had trouble re-proing since my config was already initialized. It only reproed if the config failed to initialize on startup. Fix is in release https://github.com/amosyuen/ha-tplink-deco/releases/tag/v3.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not_enough_data
Projects
None yet
Development

No branches or pull requests

4 participants