Play one file at full hour and change back to normal one („b.mp4“) 🙂
timer.sh
#/bin/bash
mv /home/pi/video/b.mp4 /home/pi/video_off
mv /home/pi/video_off/a.mp4 /home/pi/video
# videoduration a.mp4
sleep 300
mv /home/pi/video/a.mp4 /home/pi/video_off
mv /home/pi/video_off/b.mp4 /home/pi/video
„Netvideo“ ist eine elegante Erweiterung, um Videos nicht von USB-Stick oder dem internen Verzeichnis abzuspielen, sondern über das Netzwerk. Vorteil: jede Änderung in dem Netzwerkverzeichnis wird unmittelbar erkannt und die Datei oder die Dateien werden ganz easy, vom Schreibtisch aus gesteuert, abgespielt. Macht richtig viel Sinn für mittlere und grosse Ausstellungsflächen. (mehr …)
Das CM4 gibt es in 32 verschiedenen Varianten und gerade in der Version mit eMMC (integrierten Flash-Speicher) gibt es Unterschiede bei der Erstinstallation im Gegensatz zum normalen RPi.
Zur generellen Unterscheidung hier die Modelle mit Wifi und eMMC: (mehr …)
set ssl_starttls=yes
set ssl_force_tls=yes
set imap_user = 'user_name@hotmail.com'
set imap_pass = 'password_here'
set from= $imap_user
set use_from=yes
set realname='Your_Name'
set folder = imaps://imap-mail.outlook.com:993
set spoolfile = "+INBOX"
set postponed="+[hotmail]/Drafts"
set mail_check = 100
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
set smtp_url = "smtp://$imap_user@smtp-mail.outlook.com:587"
set smtp_pass = $imap_pass
set move = no
set imap_keepalive = 900
set record="+Sent"
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
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 … (mehr …)
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. (mehr …)
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. (mehr …)
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.