Advertisement
Guest User

VIM1S SD Home Assistant

a guest
Oct 3rd, 2023
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. You will need to download this image:
  2.  
  3. https://drive.google.com/file/d/1nqsnVBdKI7vH0U671cfQYQun2lW3mY62/view
  4.  
  5.  
  6. -------Use balenaEtcher or Rufus to flash this image onto the SD card (no need to extract the file, simply select the .xz file in balenaEtcher or Rufus) and then put it into the VIM1S. The default login is user "khadas" with password "khadas". Make sure to have the device connected to the internet. Connect your ethernet cable, or you can setup Wi-Fi by following:-------
  7.  
  8.  
  9. nmcli dev wifi rescan
  10. nmcli dev wifi list
  11. nmcli dev wifi connect "your network name" password "your network password"
  12.  
  13.  
  14. -------On first boot, you may notice that it seems stuck or keeps reporting messages/errors back. This is normal behaviour and can be skipped by pressing Enter or CTRL+C. It may still continue to report these messages back for a few minutes, but just press Enter and continue your commands or use CTRL+C to reload-------
  15.  
  16.  
  17. -------Now you will need to manually install Home Assistant:-------
  18.  
  19.  
  20. su -
  21.  
  22. apt update
  23. apt upgrade
  24.  
  25. apt install lsb-release gnupg2 apt-transport-https ca-certificates curl software-properties-common -y
  26.  
  27. curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/debian.gpg
  28.  
  29. add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
  30.  
  31. apt update
  32.  
  33. apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
  34.  
  35. apt install \
  36. apparmor \
  37. jq \
  38. wget \
  39. curl \
  40. udisks2 \
  41. libglib2.0-bin \
  42. network-manager \
  43. dbus \
  44. lsb-release
  45.  
  46. wget https://github.com/home-assistant/os-agent/releases/download/1.5.1/os-agent_1.5.1_linux_aarch64.deb
  47.  
  48. dpkg -i os-agent_1.5.1_linux_aarch64.deb
  49.  
  50. apt -t bullseye-backports install systemd=252.5-2~bpo11+1
  51.  
  52. apt-get install systemd-journal-remote=252.5-2~bpo11+1
  53.  
  54. nano /boot/uEnv.txt
  55.  
  56. -------at the bottom you will see "boot_user_args=". Add to this so that you will have:-------
  57.  
  58. boot_user_args=systemd.unified_cgroup_hierarchy=0 apparmor=1 security=apparmor
  59.  
  60. reboot now
  61.  
  62. su -
  63. wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
  64.  
  65. apt install ./homeassistant-supervised.deb
  66.  
  67. -------select "qemuarm-64" from the list of options and afterwards, Home Assistant should begin to setup.-------
  68.  
  69. -------From here, you will be able to connect to Home Assistant through your browser using homeassistant.local:8123 or HOSTIP:8123. You should see the IP for HA given after the last step above, but if you need to find this manually, you can run:-------
  70.  
  71. ip addr show
  72.  
  73. -------Look for your Wi-Fi/Ethernet (wlan0/eth0) adapter and an IP underneath, such as 192.168.0.100. Then you would put 192.168.0.100:8123 into your browser. It might take a few minutes after the last step to appear. -------
  74.  
  75. https://www.home-assistant.io/getting-started/onboarding/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement