Hi everyone I tried to search on the net and in the forum but I couldn’t figure out if there is a solution to my problem.
I have installed Home Assistant OS 5.13 on a mini PC / NUC.
On an mSATA module I installed the operating system, now the mini PC has a sata connector on board where I directly connected a 1TB HDD.
I would like to use it to save my IP CAM stream using MotioEye.
How can I do? Is there any way to show the 1TB mechanical disk to the operating system?
I don’t use hassos but normal Linux method is mount drive (you can use /etc/fstab to define exactly where; like /srv/newdrive) then just use that path when selecting where to store files
df command at command line should show current drive mount point I believe
EDIT
Look at the post below
Seems like he may be exposing this
Connect to host as root and edit fstab file. Make sure you not doing this to HA containers
Thanks for the reply, the only thing I was able to find this info in the HW section and I saw that hassio detects the 1TB disk, the problem that I am not a Linux expert and I have no idea how to get it mounted, The commands you suggested are not present when connecting from hassio with a web conole … what can I do?:
Unless I missed some updates, I don’t think HassOS supports adding external media. You simply don’t have enough control over the host operating system and it’s just way too stripped down. Hass is not designed to me a media server or an NVR, even though some addons have such functionality.
I can recommend instead installing Proxmox on your NUC. It’s virtualization server based on Debian, it supports running VMs and LXC containers, and is managed through nice UI. You also have full control over the host OS so you can edit fstab and do all that, anything you can do with Debian you can do here.
From there there are different ways you could go. You could run HassOS in it’s own VM, then mount your external drive on host, pass it to some LXC container and run fileshare like Samba on it. Then you can install your MotionEye server and use that samba as remote share.
Or you could run Hass Supervised on Generic linux. You install LXC or VM with Debian and install Hass on that. From there you have full access to your underlying system and you can directly mount your drive to that VM or LXC container.
Or you could run HassOS in it’s own VM and run MotionEye in another container or VM directly on Proxmox, not through Hass addons.
If there is a way to just add an HDD to HassOS then someone should chip in.
Not sure that add-on provides user access to the share folder though. I think only the add-on has access for saving snapshots.
Sorry, was looking at wrong add-on.
This add-on works the opposite way to what the OP wants. It simply shares the HA files from what I can tell. The docs for it are virtually non-existent.
What’s the status (as per the 18th of September 2022) of this add-on? I try to add this repository, but it doesn’t show up in HA. What 'm doing: 1) Copy this URL: GitHub - dianlight/hassio-addons: Hassio.io. 2) adding it to Add-on store > Repositories by pasting the URL. Then I search for the add-on, but can’t find anything besides the default add-ons.