sbts-install
Ansible | sbts-install | |
---|---|---|
7 | 5 | |
8 | 31 | |
- | - | |
6.0 | 7.6 | |
about 2 months ago | 2 months ago | |
Python | ||
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Ansible
-
Considerations for a long-running Raspberry Pi
I use some Pis for various things in my house including Zeroes through CM4s and 4Bs.
The Zeroes run Raspbian configured with the read-only filesystem option. I have found it necessary to uninstall `unattended-upgrades` because the overlayfs employed for read-only root caches disk writes in RAM and the update/upgrade process exhausts RAM. For the same reason I disable swap. It makes no sense to swap to RAM on a 512GB system.
Upgrades are tedious since they require disabling overlayfs, rebooting, upgrading, rebooting, and enabling overlayfs. I wrote Ansible playbooks to perform these tasks. (https://github.com/HankB/Ansible/tree/main/Pi)
I have a Pi 4B performing as a file server and running Debian (not Raspbian) It boots from an SD card so that the entire HDDs can be used for a ZFS pool. To reduce wear and tear on the SD card I have mounted `/var` to a ZFS filesystem. I should probably use `tmpfs` for `/tmp`.
I use a Pi CM4 to run HomeAssistant and that boots and runs from an NVME SSD where durability is less an issue.
-
Setup your RPi with only one command using Ansible
Nice. I've written some playbooks for my herd of Pis as well. (https://github.com/HankB/Ansible/tree/main/Pi) I dropped by mainly to say "well done!"
-
"Bootstrapping" a Debian install/config from a Raspberry Pi?
I use Ansible for a lot of repetitive tasks on R-Pi OS - mostly for a bunch of zeroes. https://github.com/HankB/Ansible/tree/main/Pi I haven't bothered automating stuff on Debian but it could be done.
-
Unable to boot the headless Pi
I've been using Ansible to configure Pis instead of the imager just because I've done it manually in the past and just automated that process. https://github.com/HankB/Ansible/blob/main/Pi/provision-local.yml
-
How many SD cards have you destroyed over the years while running Pis? This is going to be my 4th. Not sure what am I doing wrong, I know they are generally sensible for power outages, but come on, or is it just me?
I've started employing the readonly configuration available in raspi-config for systems that don't require writable storage. I've written some Ansible playbooks to make that a little more convenient. https://github.com/HankB/Ansible/tree/main/Pi On Pi 3/4 I usually use an SSD but I have a few zeroes that are more or less IoT devices and run from SD cards.
-
ERROR! Unexpected Exception, this is probably a bug: Unknown OpenSSL error ...
Yes, thanks - I meant to. https://github.com/HankB/Ansible/blob/0c4a1bce42f84acc4176624fed671ee460c683a6/Pi/provision-local.yml
-
Was Ansible Hard For You To Learn?
At one point (well before I finished the series) I decided to start doing rather than continue learning. My results have been very satisfying. (https://github.com/HankB/Ansible *) When I want to perform some task that I'm not familiar with, I check the online manual and/or search for examples. In that way my learning is more self directed. I do plan to get back to watching the series at some point but in the mean time my learning is more goal/self directed. I'm over the hump and at the point where Ansible is a useful tool. (I did not have any experience with other automation tools such as Chef or Puppet and my prior experience is as a S/W developer and not an administrator.)
sbts-install
-
Considerations for a long-running Raspberry Pi
Back in 2011 I made a commercial product that ran on the earliest plug computers from global scale technologies. I only sold 20 of 'em and every single one of them was being returned with SD card corruption problems. I had to quickly pivot to keeping the rootfs read-only. I've been a fan ever since.
Incidentally, that early commercial product was a home security product with a very small amount of home automation. I released this into open source with a new name in 2021 and now runs on the Jetson series SBCs (https://github.com/hcfman/sbts-install). Except then including high end YOLO models as triggers.
Because it was intended to be a standalone product it supported https with a GUI wrapper around all of the certificate operations. This still exists in my open source version, making it easy to use self signed certificates for intra-device rest calls.
But I've kept and expanded upon the multi-partition memory overlayFS approach and the installation of this system first asks you to install the sbts-base system, which installs the multi-partition memory overlayFS so that other's can use this as their own base systems.
-
Wi-Fi jamming to knock out cameras suspected in nine Minnesota burglaries
Is anyone else using the StalkedByTheState security system? It runs on Jetson SBCs and works with the full sized yolov6 and yolov7 models.
Super proactive detection and response
https://github.com/hcfman/sbts-install
-
Frigate: Open-source network video recorder with real-time AI object detection
I use StalkedByTheState (https://github.com/hcfman/sbts-install) with 15 cameras all being evaluated with an NVIDIA GPU with large model yolov6 and matches double checked with large yolov7. Practically never get a false positive in a complex environment and never get a miss. The port to the Orin series still needs to be completed though.
-
Deterring foxes / badgers with TensorFlow, Raspberry Pi, cameras and ultrasound
Sweet! If you are prepared to spend more for more GPU compute power from Jetson SBCs you could use larger models. I’m busy adding the
https://www.deepfaune.cnrs.fr/
model to my security system software
https://github.com/hcfman/sbts-install
It’s almost there but still have to finish the install scripts for the Orin series.
The deep fauna model can be used for all of France’s fauna which includes foxes and badgers (and wolves, bears, lynxes and more of course).
-
How I wrote my own Smart Home software
Nice that you should say that :) I also wrote a home automation system.
Well... actually, it's a kinda burglar alarm except it's focus is alerting way ahead of actually getting inside. I added home automation bits (minimal) just so one can elicit a real world response, but I do use it for minimal home automation (Lights, heating control and letting the chickens in and out).
I have yet to announce on on hacker news and so because I still have to write a bunch of documentation. It uses the latest state of the art computer vision triggering, currently yolov7 and I'm about to release support for yolov6. It's multimodel, so you can double check it's result with more than one model, even for specific parts of an image.
The architecture diagam and installation instructions are here:
https://github.com/hcfman/sbts-install
I actually, started writing this in 2008 and most of the current state in terms of the user interface were finished in 2012 but I only released it into open source last year really. In 2019 I add support for yolov3 and have been adding models even since.
It's written in Java and installs in just two commands on nvidia jetsons at the moment (Not in containers). The inference framework is a simple websocket based wrapper around other models so it's easy to add new models and that's written in python.
Well I finish the new release to introduce yolov6 and support for the seeed studios platforms I'll make an announcement on hacker news, note I still have a lot of work to do on documentation.
What are some alternatives?
pi-gen - Tool used to create the official Raspberry Pi OS images
scullery - Python library for things like media playback, thread pools, and a message bus.
comitup - Bootstrap Wifi support over Wifi
homegui - A simple web GUI + automation to work with zigbee2mqtt
openai-kiss - Simple shell scripts to access OpenAI API
iot_devices - Minimal generic API and data model for an IOT device
iot_devices.nvr - Network video recorder for iot_devices compatible apps
sbts-aru - Low cost Raspberry Pi sound localizing portable Autonomous Recording Unit (ARU)
sdtool - A small tool for managing the write protection flag of SD cards.