remote_homeassistant
remote_homeassistant copied to clipboard
'Already configured' prevents adding a remote node
I have a main HA which runs in a server room and 3 small HAs which run on Debian on Pis around the house.
One connects ok, the other two get an 'Already configured' message. I have hunted around the forum and the issues on this repository but can't see anything.
I did have all 3 set up at a point in the past via yaml but as the Zeitgeist is to eschew this in favour of configflow....
I wonder if some setting configuration file needs wiping out somewhere?
I am on latest everything.
I'm seeing the same thing when I try to add a 2nd remote HA instance
Have you tried using YAML to config vs the UI?
I have tried with YAML too, that also did not work. The error message suggests that a configuration might need wiping - I don't suppose you know where it lives?
Deleting the component I assume
\Greg
From: @.> Sent: Monday, August 1, 2022 8:22 AM To: @.> Cc: @.>; @.> Subject: Re: [custom-components/remote_homeassistant] 'Already configured' prevents adding a remote node (Issue #175)
I have tried with YAML too, that also did not work. The error message suggests that a configuration might need wiping - I don't suppose you know where it lives?
— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcustom-components%2Fremote_homeassistant%2Fissues%2F175%23issuecomment-1201131359&data=05%7C01%7C%7Cc3cdc11bf9bb4ff2b9dd08da73b8897e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637949533722799679%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=K5nHyeC2T0tTgOjRQ3bG2K5YQuMWD29MQ1UjNVQKGYs%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGEO6Z3OEHZZWJHTPKDTJADVW66RFANCNFSM5XRFRI5A&data=05%7C01%7C%7Cc3cdc11bf9bb4ff2b9dd08da73b8897e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637949533722799679%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=doXvCBwIagJbQDZfFbxMnYaAd%2B%2Bvjf2twq4%2FSdBSuUk%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
I tried that a couple of times but no luck. :-(
Any news on this? I'm also getting the error ("Already configured") when trying to add a second remote node from the UI. If i try the YAML config, only the first node connects...
Everything is updated (HA, Core, HACS, Remote HA...).
Same problem for me. I can add a total of 2 remotes but the third causes a response "Already Configured" - I know it isn't.
Well, i think i've came up with something...
I've searched for the file where the configurations was and found it. It's stored in /config/.storage/core.config_entries, in there searched for the entry remote_homeassistant. Copied the complete configuration and replaced the necessary entries (entry_id, title, host, access_token, service_prefix, unique_id, etc.) and rebooted.
When the system went up again, a second Remote Home-Assistant entry was there with all the remote entities!
The only thing i don't understant is an error on the logs saying:
Platform remote_homeassistant does not generate unique IDs. ID bb3d3aa51ded43518501c6c6b88fe27f already exists - ignoring sensor.remote_connection_to_sigrev001
Interesting. I checked core.config_entries and only found the 2nd or last remote I configured. Both remotes show up in the Integrations block but only the 2nd entry can be accessed for configuration. The core.device* and core.entity* files are really big - as expected. For the one remote I have working this is very impressive software. Hope it will be possible to have more than 1 remote soon.
Did you by any chance copy the configuration folder between all instances? In that case, they all have the same UUID, and remote_homeassistant cannot differentiate between them.
Can you check the file .storage/core.uuid in the configuration folder of each instance, and see if they have different uuid values?
Please re-open this issue if you still encounter the problem with different UUIDs.
You are quite right - I duplicated setup and they had the same core.uuid, now fixed (I deleted the file and it created a new one with a different uuid). Thank you.
Kind thoughts,
Andrew