Mise à jour de 'README.md'

This commit is contained in:
Xavier 2022-09-03 06:39:13 +02:00
parent 1b5b613175
commit c3aed86319

View File

@ -1,31 +1,33 @@
Telecommande Domotique Telecommande Domotique
=========================== ===========================
<img src="http://xavier.debert.free.fr/telecom/relais.jpg" width="50%"><img src="http://xavier.debert.free.fr/telecom/schema_funduino_keyes.jpg" width="50%"><img src="http://xavier.debert.free.fr/telecom/funduino_keyes_8_prises.jpg" width="50%"> <img src="http://xavier.debert.free.fr/telecom/relais.jpg" width="50%"><br>
<img src="http://xavier.debert.free.fr/telecom/schema_funduino_keyes.jpg" width="50%"><br>
<img src="http://xavier.debert.free.fr/telecom/funduino_keyes_8_prises.jpg" width="50%"><br>
## Pre-requis ## Pre-requis
sudo apt-get install rpi.gpio sudo apt-get install rpi.gpio
ou en manuel <br>ou en manuel
wget https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.5.11.tar.gz wget https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.5.11.tar.gz<br>
tar -xvf RPi.GPIO-0.5.11.tar.gz tar -xvf RPi.GPIO-0.5.11.tar.gz<br>
cd RPi.GPIO-0.5.11 cd RPi.GPIO-0.5.11<br>
sudo python setup.py install sudo python setup.py install<br>
## 1) Installation ## 1) Installation
dans /home/pi dans /home/pi<br>
des fichiers index.html gohttp.py et relay.py et favicon.ico des fichiers index.html gohttp.py et relay.py et favicon.ico
## 2) demarrage auto ## 2) demarrage auto
editer dans /etc editer dans /etc<br>
le rc.local le rc.local<br>
ajouter en fin avant exit ajouter en fin avant exit<br>
#gestion Relay a 0 #gestion Relay a 0<br<>>
./home/pi/relay.py power 1 ./home/pi/relay.py power 1<br>
gohttp.sh gohttp.sh<br>
faire un reboot faire un reboot