ppet36 / openhab-lightswitch

OpenHAB lightswitch based on ESP8266.
GNU General Public License v3.0
7 stars 3 forks source link

How to load code on ESP8266 #1

Open jamipraveeen opened 7 years ago

jamipraveeen commented 7 years ago

I need to automate my applianes using OPENHAB2.I have installed Openhab2 on my raspberry pi and now my problem is how to control relays according to the user input using ESP8266.Can I control without Esp8266 ?I mean only with relay board connecting inputs to GPIO Pins of Raspberry pi? If not please provide me circuit diagram for connection

ppet36 commented 7 years ago

Here is short tutorial how to connect relay to raspberrypi gpio pin http://www.susa.net/wordpress/2012/06/raspberry-pi-relay-using-gpio/. On OpenHab website is also information how to map gpio pin to item: https://github.com/openhab/openhab1-addons/wiki/GPIO-Binding