From 7d4c64e64a28811c2158b47b4d40f7a9b26ccba8 Mon Sep 17 00:00:00 2001 From: Christophe SCAYA <> Date: Tue, 22 Mar 2022 21:56:14 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20Readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index fa30bf9..f2bf344 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,16 @@ -### Projet python3 pour raspberry pi : +# Projet python3 pour raspberry pi -* Pour forcer la GPIO4 au démarrage, mettre la ligne suivante dans /boot/config.txt\ - `gpio=4=op,dh` \ No newline at end of file +#### Prérequis : + +Sur une image fraîchement installée de RPI OS, cloner le dépôt (en ssh ou https) avec : + +`git clone ssh://git@gitea.christophe-scaya.fr:222/scayac/Gestion-sonnerie-ICS.git` + +ou + +`git clone https://gitea.christophe-scaya.fr/scayac/Gestion-sonnerie-ICS.git` + +Pour forcer la GPIO4 au démarrage, mettre la ligne suivante dans /boot/config.txt\ +`gpio=4=op,dh` + +Editer les tâches cron pour exécuter le fichier `get_dates.py` et le fichier `verif_sonnerie.py` (toutes les minutes) \ No newline at end of file