Implementato driver subsistem per il controllo delle condizioni meteo tramite servizio online. Implementato driver 'wunderground' per il controllo meteo tramite il servizio wunderground
This commit is contained in:
@@ -832,6 +832,11 @@ if [ -z "$EVENT_DIR" ]; then
|
||||
EVENT_DIR="$DIR_SCRIPT/events"
|
||||
fi
|
||||
|
||||
if [ -z $WEATHER_SERVICE ]; then
|
||||
WEATHER_SERVICE="drv:wunderground"
|
||||
else
|
||||
WEATHER_SERVICE="drv:$WEATHER_SERVICE"
|
||||
fi
|
||||
|
||||
# Elimina il file di lock se più vecchio di 11 secondi
|
||||
if [ -f "$LOCK_FILE" ]; then
|
||||
|
||||
Reference in New Issue
Block a user