Add emergency test, announce time and weather
This commit is contained in:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
source pa-lib
|
||||
|
||||
WFILE=/tmp/weather
|
||||
LOCATION="BRQ"
|
||||
|
||||
info "Fetching weather report for $LOCATION."
|
||||
weather -q -m $LOCATION > $WFILE
|
||||
|
||||
pa-preheat
|
||||
|
||||
pa-announcement
|
||||
|
||||
pa-say "Here is the latest weather report:"
|
||||
cat $WFILE
|
||||
pa-say -f "$WFILE" -l 80
|
||||
|
||||
pa-say "Have a great day!"
|
||||
|
||||
pa-announcement-quick
|
||||
|
||||
pa-shutdown
|
||||
|
||||
Reference in New Issue
Block a user