#Remote Home-Assistant setup help

1 messages · Page 1 of 1 (latest)

spark knot
#

Heya,

Was hoping someone could help me with setting up Remote Home-Assistant please?

I have read the documentation but im kinda confused about it as on github it says that it "must" be installed on both nodes but then only has instructions for main node?

keen quartz
#

It does give a yaml snippet for the remote instance in "Installation"

#

Where are you stuck?

spark knot
#

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?

keen quartz
spark knot
#

oh so in 2nd node there is no gui config?

keen quartz
#

That seems to be the case

spark knot
keen quartz
#

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

spark knot
#

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

keen quartz
spark knot
keen quartz
#

That is what is required for the remote instance

#

The remaining set up is on the main instance

spark knot
#

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?

spark knot
#

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?

keen quartz
#

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

spark knot
keen quartz
#

You're saying the main node can't connect to the remote node by IP but it can by hostname?

spark knot
#

yea

#

and i want it to be via IP

keen quartz
#

What does the hostname resolve to

#

Is it a different IP than what you're trying

spark knot
#

well im trying to use the tailscale ip of the device

keen quartz
#

and is Tailscale configured on your main instance?

spark knot
#

tailscale is installed on both nodes

#

i can access the dashboard when not at home via http://<TAILSCALE IP>:8123

keen quartz
spark knot
# keen quartz 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

keen quartz
#

Did you do that

spark knot
spark knot
#

i am sorry for being a pain lol

spark knot
#

@keen quartz

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.

spark knot
keen quartz
#

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

spark knot
spark knot
#

So kinda stuck atm

keen quartz
spark knot
#

ok?
so how do i do it?

keen quartz
#

Go to the Tailscale add-on in Home Assistant, on the Configuration tab and change the setting

spark knot
#

@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?

keen quartz
#

Toggle it on and back off and save it. It defaults to true oddly, but the default won't show in the UI

spark knot
#

okkk

#

is there a way to edit the existing remote HAOS integration host or do i have to do a whole new one?

keen quartz
#

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

spark knot
#

where would i find the part to edit?
cant find anything via the UI, can i edit it via CLI?

keen quartz
#

I'd recommend setting it up again

spark knot
#

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?

keen quartz
#

Do those entity names have the hostname in them today?

spark knot
#

no

keen quartz
#

Then they should be exposed the same way if there isn't anything unique about the actual ip/hostname in the ID itself

spark knot
#

okk

#

thx for all the help btw

spark knot
#

its worked, thank you for all the help @keen quartz

keen quartz
#

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

spark knot
#

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?

keen quartz
#

Yeah, that'd be tied to the app

#

You can't do anything about that