Script for external LEDs:
Continue reading „Online LED“
Kategorie: raspberrypiOS
Webcam@Ionos with sshpass & sftp & imagemagick
Record Audio in Raspberry Pi OS
#!/bin/bash
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v listen-usb.wav
Mutt Config File for IONOS
nano ~/.mutt/muttrc
#================ IMAP ====================
set imap_user = your@email.de
set imap_pass = yourpassword
set spoolfile = imaps://imap.ionos.de/INBOX
set folder = imaps://imap.ionos.de/
set record="imaps://imap.ionos.de/mbox/Sent Mail"
set postponed="imaps://imap.ionos.de/mbox/Drafts"
set mbox="imaps://imap.ionos.de/mbox/All Mail"
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
#================ SMTP ====================
set smtp_url = "smtp://your@email.de@smtp.ionos.de:587/"
set smtp_pass = $imap_pass
set ssl_force_tls = yes
#================ Composition ====================
set editor = "nano"
set edit_headers = yes
set charset = UTF-8 # value of $LANG; also fallback for send_charset
# Sender, email address, and sign-off line must match
unset use_domain
set realname = "yourname"
set from = "your@email.de"
set use_from = yes
set timeout = 30
send email with:
echo „this is body of email“ | mutt -s „this is subject of email“ receiver@mail.com
tcptrack
sudo apt-get install tcptrack
sudo tcptrack -i eth0
Check your IP-Adress with Alias Commands
Create Script ipadress.sh:
Continue reading „Check your IP-Adress with Alias Commands“
Control External Audio-Interfaces
Die Waveshare-USB-Card ist meine erste Wahl bei Audio-Projekten: kompakt, belegt keine GPIOs, lässt sich auch mit einem RPi Zero benutzen und hat obendrein einen Vorverstärker für den direkten Anschluss von kleinen Lautsprechern. Und zwei Mikrofone …
Continue reading „Control External Audio-Interfaces“
Start/Stop Videolooper
To permanently disable video looper, i.e. to prevent it from ever starting on boot again, you can run a small script included with the video looper code. Connect to the Raspberry Pi in a terminal/SSH session and navigate to the folder where video_looper was downloaded, usualy the directory with this path /home/pi/pi_video_looper.
Continue reading „Start/Stop Videolooper“
SMB.CONF und Guest-Access (LibreELEC > RPi OS)
Die Standard-smb.conf im Zusammenhang mit dem Gast-Zugang ist absoluter Pain-in-the-Ass, mit den einfachen Settings wie „public = yes“ und „guest = ok“ ist es nämlich absolut nicht getan. Wichtig sind ein paar globale Settings, und die sind ja nicht alle in der Standard-Installation enthalten.
Continue reading „SMB.CONF und Guest-Access (LibreELEC > RPi OS)“
pi-top [4] Audio
Erstes Beispiel: Play Audio mit den Miniscreen-Buttons für 5 Sekunden und Stop.
Audiomotion Device
Mit Bewegung Ton steuern ist jetzt keine grosse Idee, die Frage ist, in welchem räumlichen und inhaltlichen Rahmen das funktionieren kann, z.B. auch mit mehreren Geräten, die am Ende eine akustische Raumumgebung erzeugen.
Installing Luma Drivers (RPi OS)
Driver for the LED Matrix
sudo -H pip install --upgrade --ignore-installed pip setuptools
sudo python3 -m pip install --upgrade luma.led_matrix
Raspberry Pi Firmware Update
if
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn’t be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
Videoplayer „Kompakt“
Install videolooper and waveshare driver alltogether
Additional Script after a fresh raspberrypiOS (Buster Legacy Lite) Installation.
Continue reading „Install videolooper and waveshare driver alltogether“