Home Assistant OS, Tailscale and ESPhome together

Hi, I have a Home Assistant OS installation on a LAN1 network (192.168.1.0/24) with a fiber optic router and 5G WiFi.

I also have another installation at a mobile location with a Teltonika RUTX12 router and a LAN2 subnet (192.168.0.0/24).

Connectivity is established by connecting the WAN of the RUTX12 (via 5G WiFi or 4G LTE).

I want to connect the Home Assistant OS on LAN1 with a ESPhome device on LAN2.

To do this, I installed Tailscale on:

  • Home Assistant using the integration and the add-on, enabled Accept Routes in the add-on, and set it to Advertise Routes (192.168.1.0/24).
  • I also installed Tailscale on the RUTX12 and enabled the Advertise Routes option (192.168.0.0/24, which is LAN2).
  • To complement and test the Tailscale network, I also installed Tailscale on a Windows PC located in LAN1.

I reviewed and approved all the routes in the Tailnet admin portal.

The current situation is as follows: I want Home Assistant in LAN1 to be able to see ESPhome devices connected via WiFi to the LAN2 network, but I haven’t been able to achieve this.

If I run a ping from the PC to the device located in LAN2 (i.e., ping 192.168.0.205), it responds. But if I do the same from the Home Assistant terminal, it does not respond.

Readig a lot i think Home Assistant OS can´t route the packets to tne Lan2.

Any other solution than migrate to Home Assistant Supervised and install tailscale directly into Debian?

Thanks for your attention.

Also maybe the solution is to change the way i want to comunicate the LAN´s

I dont want to install another HA on Lan2 because is a Motorhome and power is gold.

2 Likes

Hi cardof, did you find a solution that worked?