2016:ha:setting_up_openhab_and_mosquitto_on_pi
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
2016:ha:setting_up_openhab_and_mosquitto_on_pi [2016/05/13 09:36] – created 75.177.137.2 | 2016: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 | + | * Step 3: Put the SD Card into the Raspberry |
- | * 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 |
< | < | ||
Username = pi | Username = pi | ||
Line 30: | Line 30: | ||
* Step 7: Install Mosquito | * Step 7: Install Mosquito | ||
< | < | ||
- | [Command to key:] wget http:// | + | wget http:// |
- | [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 / | + | cd / |
- | [Command to key:] sudo wget http:// | + | sudo wget http:// |
- | [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 |
</ | </ | ||
* Step 8: Start and Test Mosquito: | * Step 8: Start and Test Mosquito: | ||
Line 49: | Line 49: | ||
* Step 9: Install OpenHab: | * Step 9: Install OpenHab: | ||
< | < | ||
- | [Command to key:] sudo mkdir / | + | sudo mkdir / |
- | [Command to key:] cd / | + | cd / |
- | [Command to key:] sudo wget https:// | + | sudo wget https:// |
- | [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:// | + | sudo wget https:// |
- | [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 |
</ | </ | ||
* Step 10: Install the Demo Configuration to start with | * Step 10: Install the Demo Configuration to start with | ||
Line 75: | Line 75: | ||
< | < | ||
http:// | http:// | ||
- | < | + | </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