Home Assistant Configuration

Enable Advanced Mode

Josh -> Advanced Mode: ON

Configure network interfaces

Settings ->Network -> Configure network interfaces

  • IPv4: Static
  • IP address/Netmask: 192.168.107.7/24
  • Gateway address: 192.168.107.1
  • DNS Servers: 192.168.96.96

SAVE

http://192.168.107.7:8123/

Enable SSH

Install OpenSSH

Settings -> Add-ons: Add-on store

Official Add-on -> Terminal & SSH -> Info: INSTALL

Wait for it to install

Add your SSH Public Key and Set the SSH Port

Official Add-on -> Terminal & SSH -> Configuration:

Options -> Menu -> Edit in YAML

authorized_keys: [ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIpnKCXYVleM0ikozrgmQKQ18nZUEGX+OT/X4fEJxotq josh@doiotyourself.com]
password: ""
apks: []
server:
    tcp_forwarding: false

SAVE

Network -> Show disabled ports: ON

SSH Port: 22

SAVE

Start SSH and login

Official Add-on -> Terminal & SSH -> Info: START

$ ssh root@192.168.107.7
The authenticity of host '192.168.107.7 (192.168.107.7)' can't be established.
ECDSA key fingerprint is SHA256:S4dJw0UoqDIovbY/bh2BEhriBSeozI6GoqQT0fqDDaM.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.107.7' (ECDSA) to the list of known hosts.

| |  | |                          /\           (_)   | |            | |  
| |__| | ___  _ __ ___   ___     /  \   ___ ___ _ ___| |_ __ _ _ __ | |_ 
|  __  |/ _ \| '_ \ _ \ / _ \   / /\ \ / __/ __| / __| __/ _\ | '_ \| __|
| |  | | (_) | | | | | |  __/  / ____ \\__ \__ \ \__ \ || (_| | | | | |_ 
|_|  |_|\___/|_| |_| |_|\___| /_/    \_\___/___/_|___/\__\__,_|_| |_|\__|

Welcome to the Home Assistant command line.

System information
  IPv4 addresses for enp11s0: 192.168.107.7/24
  IPv6 addresses for enp11s0: fe80::xxxx/64

  OS Version:               Home Assistant OS 9.5
  Home Assistant Core:      2023.2.5

  Home Assistant URL:       http://homeassistant.local:8123
  Observer URL:             http://homeassistant.local:4357
[core-ssh ~]$

Install HACS: Home Assistant Community Store

  1. Read the prerequisites

  2. Follow the instructions

     [core-ssh ~]$ wget -O - https://get.hacs.xyz | bash -
     Connecting to get.hacs.xyz (172.67.143.44:443)
     Connecting to raw.githubusercontent.com (185.199.110.133:443)
     writing to stdout
     -                    100% |**************************************************************************************************************************|  3988  0:00:00 ETA
     written to stdout
     INFO: Trying to find the correct directory...
     INFO: Found Home Assistant configuration directory at '/root/config'
     INFO: Creating custom_components directory...
     INFO: Changing to the custom_components directory...
     INFO: Downloading HACS
     Connecting to github.com (20.248.137.48:443)
     Connecting to github.com (20.248.137.48:443)
     Connecting to objects.githubusercontent.com (185.199.110.133:443)
     saving to 'hacs.zip'
     hacs.zip             100% |**************************************************************************************************************************| 3885k  0:00:00 ETA
     'hacs.zip' saved
     INFO: Creating HACS directory...
     INFO: Unpacking HACS...
    
     INFO: Verifying versions
     INFO: Current version is 2023.2.5, minimum version is 2022.11.0
    
     INFO: Removing HACS zip file...
     INFO: Installation complete.
    
     INFO: Remember to restart Home Assistant before you configure it
    

    Developer Tools -> RESTART

    Restart Home Assistant? RESTART

  3. Follow these steps to configure HACS

Install Local Tuya

Home Assistant Community Store -> Integrations: EXPLORE & DOWNLOAD REPOSITORIES

Search for repository: tuya

Local Tuya: DOWNLOAD

Developer Tools -> RESTART

Restart Home Assistant? RESTART

Local Tuya integration with devices is unpredictable. Keep trying! Restart the device, Restart the Tuya Local integration. Keep trying!

Written on February 26, 2023