Everyone makes mistakes, even NASA but as @allan said, that’s dumb. It’s dangerous to devices and lazy engineering. Put a few blobs of conformal coating on it at least.
Though I suppose it’s easy enough to fix with a small amount of play-dough experience and some Sugru or (open source!) Ooogoo.
Because all Hassio images today are built on HassOS and not Resin anymore… So I wasn’t sure if you had managed to get it working on a HassOS build… In other words, I can’t move everything as I understand it…
I’ve just seen your post about configuring recorder to use a NAS. I would like to do this for my hassio setup. I’ve read through the recorder component and I’m still none the wiser as to exactly what the config should look like. Are you able to share yours as an example?
Now I haven’t tried this or anything but I found this little tutorial that moves the home assistant log and db to a usb. They use symbolic links to link from the HA config directory to the usb drive and move the files to the drive. That makes sense to me, might have to give it a try when I have some free time. Eventually I’d like to move the log and db off the pi entirely and onto my server but that’s another can of worms. https://www.cribbstechnologies.com/index.php/home-assistant/moving-home-assistant-logs/
I reconstructed the following from memory. Proceed carefully.
I’ve installed hass.io on raspbian buster. If you have a different installation please adapt accordingly.
Backup everything first (not outlined below)
ssh into raspbian (ssh [email protected] for me)
then su or use sudo in each command
follow these directions to setup the USB stick: https://thepihut.com/blogs/raspberry-pi-tutorials/17699796-formatting-and-mounting-a-usb-drive-from-a-terminal-window
I created my mountpoint as /usr/share/hassio/share/usbstick via mkdir (so that hassio will see it as /share/usbstick). I wanted it outside /config, but available via the hassio samba addon in /share.
then add this line to /etc/fstab:
UUID=69788be1-6a02-4e8d-ad6c-5c7bd9a3c0f1 /usr/share/hassio/share/usbstick ext4 defaults,nofail 0 0
of course, put in your UUID or use a device designation you’re sure won’t change.
That’ll make sure your stick gets mounted on reboot if it is plugged-in.
Symlinks must be made within the docker container, so now ssh into hassio: (ssh [email protected] -p 222 for me per setup of hassio ssh addon).
hassio ha stop
chmod 775 /share/usbstick
cd /config
mv home-assistant_v2.db /share/usbstick
mv home-assistant.log /share/usbstick
ln -s /share/usbstick/home-assistant.log home-assistant.log
ln -s /share/usbstick/home-assistant_v2.db home-assistant_v2.db
hassio ha start
You can run on SSD on RPI 3B+ - I think for 3 you have to set that one time USB boot bit IF you don’t mind being on a release candidate - issue #440 is USB boot:
I installed release candidate 3.5 on an RPI 3B+ and it’s working for a few weeks now. Don’t upgrade to stable or you will lose ability to SSD boot though I hope it will soon be incorporated in a stable release.
Installation procedure is identical to SD - flash image to SSD and plug in your RPI (and be very patient). I have the feeling booting is slower than on SD card but once it is up you’ll be happy with the performance gain.