You can now create a folder “CONFIG” on the boot partition instead of using a USB stick. Then, create the
folder “network”, and place the “my-network” file inside of that. It did take me a while to find the boot partition as for some reason I could only see 4 out of the 8 partitions in the file manager after using Etcher, so I manually mounted it after finding it with fdisk (it was /dev/mmcblk0p1).
/CONFIG/network/my-network
Alternatively, if you use Hassbian, create a file on the boot partition:
wpa_supplicant.conf
with the following formatting (change the country as well):
country=SE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="YOUR_SSID"
psk="YOUR_PASSWORD"
}
The documentation has been amended to add the CONFIG directory method (which you can use for much more than just setting up WiFi)
https://github.com/cschroeter/hassos/blob/dev/Documentation/configuration.md