2016:ha:openhab_mqtt_arduino_and_esp8266
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
2016:ha:openhab_mqtt_arduino_and_esp8266 [2016/05/13 09:17] – [Step #1: Assemble the Raspberry Pi and touchscreen] 75.177.137.2 | 2016:ha:openhab_mqtt_arduino_and_esp8266 [2016/05/13 09:23] (current) – [Step #1: Assemble the Raspberry Pi and touchscreen] 75.177.137.2 | ||
---|---|---|---|
Line 15: | Line 15: | ||
* Insert the ribbon cable into the display connector on the side of the controller board, then place the Pi on top of the standoffs and screw it in. Connect the other end of the ribbon cable to the display connector on the Pi. | * Insert the ribbon cable into the display connector on the side of the controller board, then place the Pi on top of the standoffs and screw it in. Connect the other end of the ribbon cable to the display connector on the Pi. | ||
* In order to run power and ground to the touchscreen, | * In order to run power and ground to the touchscreen, | ||
+ | ==== Step #2: Setup the microSD card and configure Raspbian ==== | ||
+ | {{: | ||
+ | * Download the latest build of Raspbian from the Raspberry Pi website and flash it onto a microSD card. Then insert the card into the Pi. | ||
+ | * Plug in a keyboard, mouse, and wifi adaptor, then insert the card into the Pi and boot it up. | ||
+ | * Go through the configuration process, and when it's fully booted, connect to your WiFi network. | ||
+ | * In order to get the touchscreen to work, you’ll likely need to run a few commands from the command line to update Raspbian: sudo apt-get update sudo apt-get upgrade This will probably take a while, so be patient! | ||
+ | * If you restart the Pi after the update, the touchscreen will flip upside-down. If that’s a bother to you, you can flip it by adding lcd_rotate=2 to the last line in the config file in the boot folder, using the following command: sudo nano / | ||
+ | ==== Step #3: Install OpenHAB ==== | ||
+ | {{: | ||
+ | Now it’s time to install our home automation control software, OpenHAB, and the OpenHAB addons we’ll be using. | ||
+ | * Open a command line on the Pi, and enter the following commands: sudo mkdir / | ||
+ | Now we'll enter a few more commands to configure OpenHAB to run at startup: sudo wget http:// | ||
+ | We'll also need to install the OpenHAB MQTT addons, since that's the protocol we'll be using to communicate with our LED strip: sudo wget https:// |
2016/ha/openhab_mqtt_arduino_and_esp8266.1463145468.txt.gz · Last modified: 2016/05/13 09:17 by 75.177.137.2