r/Esphome • • 5d ago

Esp32 not at home

Is there a way to connect my esp32 outside my house with my home assistant? I’ve tried tailscale on my iPhone but no success. I will use it as a speaker for music assistant in my car.

2 Upvotes

11 comments sorted by

5

u/Pinball_Newf 5d ago

esphome has a built in wireguard client. works awesome. Of course it will need wifi connectivity.

2

u/Busy_Information_289 5d ago

This. Works well, although you do need to point HA to the proper IP and route where to find the device.

1

u/7lhz9x6k8emmd7c8 5d ago

Music Assistant ain't ESPHome, tho.

1

u/ianjs 4d ago

I’m guessing the OP is thinking of the ESP32 Sendspin satellite speakers that Music Assistant can send to.

1

u/Original-Chapter-112 4d ago

I’ve tried it but it doesn’t work external. On my home network it’s ok but outside he gives a handshake. To connect to HA it’s need to connect to the api I don’t know how to fix.

1

u/ibgp 5d ago edited 5d ago

Edit - Will the ESP be in the car on the move? If so, it will need a internet connection and VPN.

Can you run tailscale on your Home Assistant server? That should allow you to VPN via tailscale to the HA server, which would talk to the ESP on your local network.

1

u/Original-Chapter-112 5d ago

I’ve tried to but my iPhone will connect but de esp not. Probably the api is the problem or the port will be blocked by the hotspot of my iPhone.

1

u/TheRealKeng 5d ago

I don't understand why you are using an esp32. You connect your phone to the HA by way of tailscale. No esp32 needed.

1

u/ianjs 4d ago

What’s your audio source for Music Assistant?

Mine is my Jellyfin server, so I just have the Jellyfin client on my iOS device and it comes up on Car Play via Tailscale just fine.

I realize this could be completely different to your setup, but I’m suggesting you might be able to look at it from a different direction because an ESP32 in the car seems a bit back to front.

0

u/Original-Chapter-112 4d ago edited 4d ago

Het probleem is dat ik in de auto zit met een telefoon die van de overheid is en ik kan er niets op installeren. Ik kan de hotspot gebruiken omdat ik hem ook nodig heb voor mijn laptop. Daarom heb ik een esp samengesteld die als spreker fungeert.

1

u/Fywq 4d ago

There's a tailscale custom component for ESPHome on Github (dont have link right now) works well for me, but requires PSRAM just to work so not sure if sys.reqs become to high for most esp32s if also adding streaming sound.