Comment piloter les ports GPIO du Raspberry avec Domoticz

(Source) Afin de pouvoir contrôler les GPIO du Raspberry depuis l’interface Domoticz, il faut au préalable installer les outils GPIO et la libraire wiringPi de Gordon Henderson

sudo apt-get install gcc

sudo apt-get install git-core

sudo apt-get update

sudo apt-get upgrade

Allons chercher la wiringPI

git clone https://github.com/wiringpi/wiringpi
cd wiringpi
git pull origin

Compiler

./build

Pour tout cela il vous faudra sans doute faire un petit sudo avant toute commande.

Vérifier que ça marche
gpio readall
doit vous renvoyer toute la liste des pins/GPIO, leur état …