User Tools

Site Tools


2016:ha:setting_up_openhab_and_mosquitto_on_pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
2016:ha:setting_up_openhab_and_mosquitto_on_pi [2016/05/13 09:36] – created 75.177.137.22016:ha:setting_up_openhab_and_mosquitto_on_pi [2016/05/13 14:47] (current) 75.177.137.2
Line 9: Line 9:
   * Step 2: Write the image to a SD card   * Step 2: Write the image to a SD card
  
-  * Step 3: Push the SD Card into your Raspberry Pi2 and connect the thing to Power and Plug the Ethernet cable.+  * Step 3: Put the SD Card into the Raspberry Pi and connect the thing to Power and Plug in the Ethernet cable.
  
-  * Step 4: Login to your Raspberry Pi via SSH (using Terminal on a mac or Putty on a Windows machine.+  * Step 4: Login to the Raspberry Pi via SSH using Putty
 <code> <code>
 Username = pi Username = pi
Line 30: Line 30:
   * Step 7: Install Mosquito   * Step 7: Install Mosquito
 <code> <code>
-[Command to key:] wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key+wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
  
-[Command to key:] sudo apt-key add mosquitto-repo.gpg.key +sudo apt-key add mosquitto-repo.gpg.key 
-[Command to key:] rm mosquitto-repo.gpg.key +rm mosquitto-repo.gpg.key 
-[Command to key:] cd /etc/apt/sources.list.d/ +cd /etc/apt/sources.list.d/ 
-[Command to key:] sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list +sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list 
-[Command to key:] sudo apt-get update +sudo apt-get update 
-[Command to key:] sudo apt-get install mosquitto mosquitto-clients+sudo apt-get install mosquitto mosquitto-clients
 </code> </code>
   * Step 8: Start and Test Mosquito:   * Step 8: Start and Test Mosquito:
Line 49: Line 49:
   * Step 9: Install OpenHab:   * Step 9: Install OpenHab:
 <code> <code>
-[Command to key:] sudo mkdir /opt/openhab +sudo mkdir /opt/openhab 
-[Command to key:] cd /opt/openhab +cd /opt/openhab 
-[Command to key:] sudo wget https://bintray.com/artifact/download/openhab/bin/distribution-1.8.1-runtime.zip +sudo wget https://bintray.com/artifact/download/openhab/bin/distribution-1.8.1-runtime.zip 
-[Command to key:] unzip distribution-1.8.1-runtime.zip +sudo unzip distribution-1.8.1-runtime.zip 
-[Command to key:] sudo rm distribution-1.8.1-runtime.zip +sudo rm distribution-1.8.1-runtime.zip 
-[Command to key:] cd addons/ +cd addons/ 
-[Command to key:] sudo wget https://bintray.com/artifact/download/openhab/bin/distribution-1.8.1-addons.zip +sudo wget https://bintray.com/artifact/download/openhab/bin/distribution-1.8.1-addons.zip 
-[Command to key:] sudo distribution-1.8.1-addons.zip +sudo distribution-1.8.1-addons.zip 
-[Command to key:] sudo unzip distribution-1.8.1-addons.zip +sudo unzip distribution-1.8.1-addons.zip 
-[Command to key:] sudo rm distribution-1.8.1-addons.zip+sudo rm distribution-1.8.1-addons.zip
 </code> </code>
   * Step 10: Install the Demo Configuration to start with   * Step 10: Install the Demo Configuration to start with
Line 75: Line 75:
 <code> <code>
 http://xxx.xxx.xxx.xxx:8080/openhab.app?sitemap=demo http://xxx.xxx.xxx.xxx:8080/openhab.app?sitemap=demo
-<code>+</code>
 (replace xxx.xxx.xxx.xxx by your local IP address of your raspberry pi) (replace xxx.xxx.xxx.xxx by your local IP address of your raspberry pi)
  
2016/ha/setting_up_openhab_and_mosquitto_on_pi.1463146608.txt.gz · Last modified: 2016/05/13 09:36 by 75.177.137.2