Running Home Assistant via Wi-Fi instead of cable

I’ve moved into a new house with a new router and have installed Home Assistant on a Raspberry Pi 4 using Imager. How can I set up Home Assistant to run exclusively via Wi-Fi? I don’t have the option to use a network cable where the Raspberry Pi 4 will be placed.

just buy something like TP-Link TL-WR802N

Or move the pi to be beside the router, after all they are quite portable :slight_smile:

1 Like

Mine has been running on WiFi for well over 5 years now. I can assure you it can be done. I don’t run streaming video or audio or anything like that, which may be why some are advising against it.

Anyway, I asked that question back in January of 2021 (wow it’s been a while!) and the advice I got was good at that time. Post #5 summarizes how I got it working. Still, I’d use a proper search engine to search this site for anything newer.

2 Likes

on the boot partiation create a file called

/CONFIG/network/my-network

with the following content

[connection]
id=hassos-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=<MySSID>

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=<MyPassword>

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto

This is from my own documentation, but I moved to wired 2 years ago, so maybe it’s outdated.

you could also check this topic