Raspberry Pi Installation

Introduction

In the following procedure, we will install the HARDWARIO Raspbian Linux distribution. Raspbian is the official and most widely distributed Linux distribution for Raspberry Pi.

HARDWARIO maintains a modified version of this distribution that facilitates some steps and includes pre-installed packages that are key to HARDWARIO.

Caution

If you already have Raspberry Pi with the original Raspbian distribution, go to the section Setup on Original Raspbian. Or if you have OSMC, go to section Setup on OSMC

Note

Raspberry Pi is a small, affordable, single-board computer that is able to run Linux operating system. HARDWARIO TOWER uses this system to process sensor information, actuator control, decision logic for automation, data storage, or serve as a gateway to connect cloud services.

Requirements

  • Raspberry Pi 3b or better

  • MicroSD card with a minimum capacity of 4 GB

  • MicroSD Card Reader (+ optional SD Card Adapter)

  • Ethernet cable

  • Workstation or laptop

  • Router (or LAN switch) with the DHCP server set up

  • One of the following operating systems:
    • Windows 7, 8.x, 10 (32-bit or 64-bit)

    • macOS (tested on version 10.12.x)

    • Ubuntu (tested on version 18.04.2 LTS)

Instructions for Installing

Important

After you flash SD card, connect Ethernet, Radio Dongle and only after that apply the power to Raspberry Pi.

Flash

  1. Insert microSD card to reader in you computer

  2. Open balenaEtcher you’ve downloaded

  3. Select HARDWARIO Raspian which you also downloaded

  4. Select inserted SD card

  5. Click flash

  6. After flashing is done, insert microSD card to Raspberry Pi, you have to connect Radio Dongle before applying power.

  7. Connect microUSB power adapter and Ethernet cable or use Wifi setup in next part

WiFi Setup (optional)

If you would not like to use ethernet cable, you can connect Raspberry Pi over your WiFi

  1. Connect microSD card with HARDWARIO Raspbian to computer

  2. Open boot section in your file explorer or Finder

  3. Create file wpa_supplicant.conf

  4. Edit file with next text, then save and insert microSD card back to Raspberry Pi:

1ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
2update_config=1
3
4network={
5    ssid="YOUR_NETWORK_NAME"
6    psk="YOUR_PASSWORD"
7}

Connecting to HARDWARIO HUB

After Raspberry Pi boots up, use your computer’s web browser and enter the Raspberry Pi IP address to open the HARDWARIO HUB webpage.

Tip

You can also use the hostname hub.local

Note

To find out Raspberry Pi IP you can follow the next chapter.

Caution

If Start pairing button is disabled and you cannot press it. Please make sure you first connect Radio Dongle and then apply the power to Rasberry Pi.

If you are still having trouble with connecting to Radio Dongle it can be because you did apt update and apt upgrade. There is an issue with mosquitto that anonymous connections are not allowed.

To fix this issue just run the following command: echo 'allow_anonymous true' | sudo tee /etc/mosquitto/conf.d/auth.conf