Wifi setup for Home Assistant via COMMAND LINE

Power on HA

Have a screen and a keyboard connected

When you see the ha> prompt enter login

Then do this:

nmcli radio

radio

Now scan and list available wifi access:

nmcli device wifi rescan

nmcli device wifi

wifi list

Connect to wifi:

Use quotes around your ssid and password:

nmcli device wifi connect "YOUR_SSID" password "YOUR_WIFI_PASSWORD"

This will try to connect to your SSID and will generate a network profile for you if successfull.
The output will be similar to
"Device 'wlan0' successfully activated with...."

Then check your connections again:

nmcli con show

con show

You should be seeing at least two profiles and both green.

If you are seeing some profiles you’d like to get rid of you can remove them using:

nmcli connection delete CONNECTION_NAME

delete con

These may have two separate ip addresses on your network: one for ethernet, one for wifi.
You can check the ip addresses using:

ip addr show

Now connect to http(s)://your_wifi_ip:8123 in your browser.

Credit goes to: https://community.home-assistant.io/t/guide-connecting-pi-with-home-assistant-os-to-wifi-or-other-networking-changes/98768

Tytera TYT-390 GPS setup

To set up GPS on the TYT-390, make an own contact with name GPS and call ID 5057

 

 

 

 

 

Then set up Destination ID: GPS under GPS settings. Set the interval to 60s or more. (Not too often as GPS packets take repeater capacity)

 

 

 

 

 

 

 

Now select “GPS system 1” under the channels you want GPS enabled on. I have made a set of channels with GPS on and a set of channels with GPS off.

 

 

 

 

 

 

In Brandmeister dashboard, go to Services/Self Care and select chinese radio. Check that your call and your name looks OK (you need an account at Brandmeister).

 

 

 

Then program your radio with the codeplug with the radio settings above.

Set your radio outside for several minutes to achieve GPS lock (can take quite some time).

You should see a globe symbol show up without the red ring (red ring means no GPS lock).

Then you can check aprs.fi for your callsign.