#Remote Home-Assistant setup help
1 messages · Page 1 of 1 (latest)
It does give a yaml snippet for the remote instance in "Installation"
Where are you stuck?
well less stuck and more confused
i am still learning yaml so mainly doing everything via GUI
in the instructions there is only steps for gui for main node not 2nd node, does the 2nd node only need the integration installed, nothing more?
Remote instance
On the remote instance you also need to add this to configuration.yaml:
remote_homeassistant:
instances:
This is not needed on the main instance.
oh so in 2nd node there is no gui config?
That seems to be the case
oh ok, so i have to ssh into 2nd one do it all via cli?
Depends on your install method. Any method of getting access to the configuration.yaml will do
HA OS has add-ons to install so you can use your web browser
wait, im just re reading the github
it says that it must be installed on both then the config shows like steps to do via gui on the main node "OR VIA" yaml?
it says nothing about what to do on 2nd node?
also for context
Node 1 (main)
Optiplex micro pc with HAOS flashed to m.2 (no linux with docker with HAOS on that)
Node 2
Raspberry Pi 5 8GB with HAOS flashed using the pi imager to an m.2
it says nothing about what to do on 2nd node?
Yes, it does. I've pointed it out to you twice already.
this?
Under Installation, there is a Remote Instance heading
That is what is required for the remote instance
The remaining set up is on the main instance
ohhh at the very top of the page
i missed that lol
so for the remote instance i just have to add that and thats all?
do i have to install the integration?
also the configuration.yaml file
do i have to make it on node 2 in homeassistant/custom_components/remote_homeassistant/ ?
its not working and i dont exactly know why?
You should thoroughly re-read the README. All of the answers are in there and it'll make it less frustrating since all of those steps need to be followed, or else the setup won't work
configuration.yaml lives in /config/configuration.yaml
And yes, the integration needs to be installed on both
Restart Home Assistant after configuring everything as well
i mean its working atm
however i have installed it via HACS on both then i have installed the integration on the main node but not the 2nd node but i have had to do it via hostname not via IP which is the way i wanted
You're saying the main node can't connect to the remote node by IP but it can by hostname?
well im trying to use the tailscale ip of the device
and is Tailscale configured on your main instance?
tailscale is installed on both nodes
i can access the dashboard when not at home via http://<TAILSCALE IP>:8123
How did you do this
via CLI
ha> apps install a0d7b954_tailscale
then
ha> apps start a0d7b954_tailscale
then
ha> apps logs a0d7b954_tailscale
to get the url to link machine to my tailscale
If you need to access other clients on your tailnet from your Home Assistant instance, disable userspace networking mode, which will create a tailscale0 network interface on your host.
Did you do that
this is all i have done
so what exactly do i have to do? i dont really understand the documentation
i am sorry for being a pain lol
@keen quartz
What have you tried in the last few days? Where are you stuck? The add-on documentation does a much better job than I could laying out all of the options and what their function is.
ok
just bcs the way i am, i dont really understand the documentation
my plan was to have both nodes connecting using remote HAOS integration via tailscale as they will be on different local networks
atm the remote HAOS integration only works if i connect them via hostnames and atm i still have them on the same local network
Right and that's exactly where we left off above. I had given you a link to an option of your Tailscale add-on that allows HA to connect to other Tailscale clients instead of only being connectable as one. Had you tried that out to see if that allowed you to use the Tailscale IP instead of your DNS name
yea i did read that but i didnt fully understand it
So kinda stuck atm
All that is is an option on your Tailscale add-on that you need to switch to false (or off) and restart the add-on. Once you do that, you should be able to retry using the tailscale IP from the integration config
ok?
so how do i do it?
Go to the Tailscale add-on in Home Assistant, on the Configuration tab and change the setting
This?
@keen quartz what do i gotta do with this?
do i have to enable the "userspace networking mode"?
its already showing as disabled and the doc you sent said i have to disable it?
Toggle it on and back off and save it. It defaults to true oddly, but the default won't show in the UI
okkk
is there a way to edit the existing remote HAOS integration host or do i have to do a whole new one?
Unsure off hand, you can attempt to go to the integration and see if it exposes a way to reconfigure it. I'd imagine since you're changing the actual connection props though, that it probably won't allow that
where would i find the part to edit?
cant find anything via the UI, can i edit it via CLI?
I'd recommend setting it up again
would entity IDs that have been linked change if i do that?
like say for example i have made a card that shows stats from my Node 2, if i remake it with tailscale IP instead of hostname, will thoes entities on the card change?
Do those entity names have the hostname in them today?
no
Then they should be exposed the same way if there isn't anything unique about the actual ip/hostname in the ID itself
its worked, thank you for all the help @keen quartz
this is annoying tho
I don't disagree. The documentation at least clarifies what the defaults are, but the UI is misleading.
Actually looks like it'll be fixed in the next Tailscale app release
thats good
on my tailscale admin console it says the HAOS nodes need tailscale updating, im guessing i have to wait on the app release for that?