Modifier la valeur de timelapse à 3 et simplifier l'exécution de Singleroutin dans les scripts de connexion

This commit is contained in:
2025-04-27 15:56:21 +02:00
parent 5f4127ad99
commit bebfb8adb3
4 changed files with 7 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ class Server:
"maintenance": False,
"stop current config":False,
"timelapse":1,
"timelapse":3,
"conf nb_images":1,
"nb_images restantes":1
}

View File

@@ -113,9 +113,8 @@ class TimeLapse:
if __name__ == "__main__":
print("FICHIER TIMELAPSE")
TL = TimeLapse()
for i in range (0,3):
TL.Singleroutin()
time.sleep(1)
TL.Singleroutin()
time.sleep(1)
""" FONCTIONNEL
TL.get_Hygrodata()
TL.pick_Picture()

View File

@@ -107,9 +107,8 @@ class TimeLapse:
if __name__ == "__main__":
print("FICHIER TIMELAPSE")
TL = TimeLapse()
for i in range (0,3):
TL.Singleroutin()
time.sleep(1)
TL.Singleroutin()
time.sleep(1)
""" FONCTIONNEL
TL.get_Hygrodata()
TL.pick_Picture()

View File

@@ -11,5 +11,5 @@ if check_internet; then
else
echo "pas connecté à internet"
python Time_Lapse_NoConnection.py
python Automate.py
fi
python Automate.py