cephos / MQTT-Pi-Relay

MQTT Script for Raspberry Pi Relay Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect relay board and Pi

View the standard Raspberry Pi pinout diagram

Install git

sudo apt-get install git-core
sudo mkdir git  //optional, to keep git files in one place
cd git

Clone the test git //optional but strongly suggested

sudo git clone https://github.com/skiwithpete/relaypi.git

Install pip and paho

sudo apt-get install python-pip
pip install paho-mqtt

Install MQTT Relay Python sketch

sudo git clone https://github.com/cbienlein/IDontKnowWhatImDoing.git

About

MQTT Script for Raspberry Pi Relay Module


Languages

Language:Python 100.0%