Skip to content

Commit

Permalink
Fetch local weather on setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Aug 27, 2022
1 parent 29e56d6 commit 6a42e4a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ echo "Setup InfluxDB Data for Powerwall..."
docker exec -it influxdb influx -import -path=/var/lib/influxdb/influxdb.sql
sleep 2

# Restart weather411 to force a sample
if [ -f weather/weather411.conf ]; then
echo "Fetching local weather..."
docker restart weather411
fi

# Display Final Instructions
cat << EOF
------------------[ Final Setup Instructions ]-----------------
Expand Down

0 comments on commit 6a42e4a

Please sign in to comment.