{"id":122,"date":"2024-03-10T16:07:38","date_gmt":"2024-03-10T08:07:38","guid":{"rendered":"https:\/\/www.arasaka.ltd\/?p=122"},"modified":"2024-03-14T23:10:45","modified_gmt":"2024-03-14T15:10:45","slug":"onething_box_flash_hassio_tutorial","status":"publish","type":"post","link":"https:\/\/www.arasaka.ltd\/en\/2024\/03\/10\/onething_box_flash_hassio_tutorial\/","title":{"rendered":"For just $5 and some patience you can have a low-power homeassistant hub"},"content":{"rendered":"

The first step \uff1aFlash<\/h2>\n\n\n\n

We recommend that you use the armbian system image https:\/\/github.com\/hzyitc\/armbian-onecloud\/releases<\/p>\n\n\n\n

Once completed, log in to the ssh of the onething box<\/p>\n\n\n\n

Execute cp \/usr\/share\/zoneinfo\/Asia\/Shanghai \/etc\/localtime to correct the time (please modify it as appropriate)<\/p>\n\n\n\n

Execute nano \/etc\/apt\/sources.list<\/p>\n\n\n\n

(Not required for non-mainland Chinese users) Delete all content and replace with:<\/p>\n\n\n\n

https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ bullseye main contrib non-free\n\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ bullseye main contrib non-free\n\ndeb https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ bullseye-updates main contrib non-free\n\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ bullseye-updates main contrib non-free\n\ndeb https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ bullseye-backports main contrib non-free\n\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ bullseye-backports main contrib non-free\n\ndeb https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian-security bullseye-security main contrib non-free\n\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian-security bullseye-security main contrib non-free<\/code><\/pre>\n\n\n\n

Ctrl + X and press Y to enter to save<\/p>\n\n\n\n

The second step is to install dependencies<\/h2>\n\n\n\n

First execute apt update<\/p>\n\n\n\n

Install docker<\/p>\n\n\n\n

curl -fsSL get.docker.com | sh<\/p>\n\n\n\n

The third step is to download os-gent and install it<\/h2>\n\n\n\n

https:\/\/github.com\/home-assistant\/os-agent\/releases<\/a><\/p>\n\n\n\n

dpkg -i *downloaded file name*<\/p>\n\n\n\n

You may then see a prompt<\/p>\n\n\n\n

\"dpkg:\n\t\t\t\n\t\t\t\t\n\t\t\t<\/svg>\n\t\t<\/button>
\n