Harmony IP change

Ive recently changed the subnet IP address that my hassio resides on from 192.168.1.X to 192.168.2.X

I was running harmony which had an ip of 192.168.1.7 and all was working fine. Now ive changed to the new subnet, ive updated the config.yaml to the new IP address, however the log file still shows that its trying to connect to 192.168.1.7 with the following entries.

MainThread) [aioharmony.hubconnector] 192.168.1.7: Exception on post: Connection timeout to host http://192.168.1.7:8088/
2020-04-21 21:06:00 ERROR (MainThread) [aioharmony.hubconnector] 192.168.1.7: Unable to retrieve HUB id
2020-04-21 21:06:00 WARNING (MainThread) [homeassistant.components.harmony.remote] Living Room: Unable to connect to HUB.
2020-04-21 21:06:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for harmony not ready yet. Retrying in 5 seconds.

I’ve looked at all the configuration files and cant find reference to this IP address. Ive also tried deleting the db file with no sucess. Can anyone direct me to where this old IP address may still be stored.

1 Like

If you are on 0.107 or 0.108 already, the harmony is managed as official integration and keeping it enabled via configuration.yaml duplicates config - at least this is what I observed, after update and enabling harmony integration in Configuration->Integrations I had 2 entries for each of my harmony hubs. Strangely both sets of files were identical, referring to the same hubs with exactly the same configuration, but somehow it was causing issues with remotes not working properly. I removed manual configuration from configuration.yaml and rely only on integration. Now everything works fine. Perhaps you should also remove this and try integration only?

I’m having the same problem, but I’m using the standard Harmony integration. Did you ever get this resolved on your side?

I’m pretty late to the party but in case somebody is looking for an answer, here’s how I’ve solved the issue.
As mirekmal mentioned, harmony has now its own integration. However, I could not update the IP without completely removing the integration.

Search for ‘harmony’ in the file ‘core.config_entries’ and update the IP address. After a restart of home assistant the integration should work again.

      {
        "entry_id": "28f58860b89534668b15430f2aef11a4",
        "version": 1,
        "domain": "harmony",
        "title": "Harmony",
        "data": {
          "name": "Harmony",
          "host": "192.168.3.100"
        }

This way the entity id won’t change.

4 Likes

Oh, thank you so much.
But why on earth is this using a fixed IP when it’s an auto-discovered integration where you can’t change the ip? :crazy_face:

Thank you so much! This took me hours before I found this post.