diff options
-rwxr-xr-x | deploy.sh | 6 | ||||
-rwxr-xr-x | plot.py | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/bin/bash set -e -scp favicon.ico plot.py read_sensors.py water_the_plant create_backup make_photo index.html history.html *.png robert@waterpi: +scp favicon.ico plot.py read_sensors.py water_the_plant create_backup make_photo index.html history.html bck.png error.png fbck.png ffwd.png fwd.png stop.png robert@waterpi: ssh robert@waterpi -C '\ - sudo cp favicon.ico index.html history.html *.png /var/www/html; \ + sudo mv favicon.ico index.html history.html bck.png error.png fbck.png ffwd.png fwd.png stop.png /var/www/html; \ sudo chown www-data:www-data /var/www/html/*.html /var/www/html/*.png; \ - sudo cp plot.py read_sensors.py create_backup make_photo read_temperature.py water_the_plant /usr/local/bin' + sudo mv plot.py read_sensors.py create_backup make_photo read_temperature.py water_the_plant /usr/local/bin' @@ -85,7 +85,7 @@ def create_temperature_humidity_plot(records, output_filename): # Feuchtigkeitsplot (dritte Y-Achse) ax3 = ax1.twinx() ax3.spines['right'].set_position(('outward', 60)) # Platz für die dritte Achse schaffen - ax3.set_ylabel('Feuchtigkeit (16-32k)', color='tab:green') + ax3.set_ylabel('<-feucht trocken->', color='tab:green') ax3.plot(times, moistures, color='tab:green', label='Feuchtigkeit') ax3.tick_params(axis='y', labelcolor='tab:green') ax3.set_ylim(min_moisture, max_moisture) |