Raspberry Pi
Updated Published 1 min read
My Pi Collection
- Pi 3B
- Pi Zero W + Zero 2
- Pi 4 (4GB)
- CM4 (in my homeassistant yellow)
- Pico (Microcontroller)
Tools
- PiKISS
- SD Card Formatter - for when you want to make an sdcard usable after burning an OS to it
Images
- RetroPie
- For retro gaming
- OctoPi
- Used for 3DPrinting
- chilipie
- full-screen-chrome kiosk-mode
- DietPi
- Pi Hole - DNS server powering my homelab
- RPi Cam Control
- HomeAssistant
Commands
Config
raspi-config
Update
sudo apt-get --yes update
sudo apt-get --yes upgrade
From pi-tips.md
Cleanup
Remove unused apps and run cleaning functions
# http://raspberry.tips/faq/raspberry-pi-speicherplatz-voll-sd-karte-aufraeumen
sudo apt-get purge wolfram-engine
sudo apt-get remove --purge libreoffice*
sudo apt-get purge --auto-remove scratch
sudo apt-get remove --purge sonic-pi
# apt cleaning
sudo apt-get --yes autoremove
sudo apt-get --yes autoclean
sudo apt-get --yes clean
# Remove old logs
sudo rm -v /var/log/*.gz
# Find big files
sudo find / -type f -size +100M
Networking
Wifi Setup
wpa_supplicant
network={
ssid="SSID"
psk=PASSWORD
}
Docker
- Setup
- Containers
- run in privileged mode for GPIO-access:
docker run --device /dev/ttyAMA0:/dev/ttyAMA0 --device /dev/mem:/dev/mem --privileged -p {ports} {image}
Pico
- MicroPython
- Connect from macos:
screen /dev/tty.usbmodem+ tab-complete - Copy files over using rshell
# connect to pico rshell --buffer-size=30 -p /dev/tty.usbmodem0000000000001 -a # copy single file cp main.py /pyboard # sync all files in folder cp -r developer/micropython/*.py /pyboard/ # launch into a REPL-shell repl - Connect from macos:
Resources
- http://pi.bek.no/ - Pi Notes
- https://www.raspberrypi.com/software/ - Raspberry Pi Imager
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679
Links from this note 5
- HomeassistantNow that the chip shortage is slowly subsiding, I was able to get my hands on a Home Assistant Yellow and a CM4 with 4GB of RAM. This now runs my HA server with all the zigbee,…
- GamingMy Steam library is full of games, mainly because I buy a lot of Humble Bundles. I've made some of my duplicate keys freely available. Check it out and snag some games, if there…
- 3D-PrintingWhenever possible, I try to print things instead of buying them. This makes me more conscious of the actual value of an item and gives me control over how it will be designed and…
- HomelabMy homelab journey started off by running various services on an old Dell Optiplex PC, mostly with docker containers. For the OS I had chosen Linux Mint. After noticing how high…
- macOSMy OS of choice. The setup and configuration is managed via my dotfiles. Apps My main apps: Chrome, trying out Arc spotify - music is always necessary VSCode - ide raycast -…