Installing Home Assistant on a raspberry PI 4 headless with wifi configured

There is plenty of information about but just incase if you are creating your SD card on a windows PC once you have writtien the image you will need to create your wifi config file.

First off create a directory on the root of the SD called config then in the config directory create one called network then in the network directory create a file called

my-network

and copy and past the information below into that file changing the ssid and the psk to your network name and password

[connection]
id=resin-wifi
type=wifi

[wifi]
hidden=true
mode=infrastructure
ssid=My Awesome Wifi Ssid

[ipv4]
method=auto

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

[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=super_secret_wifi_password