IOBroker on a Raspberry Pi

Raspbian

We are going to use a clean installation of Raspian (a Debian based LINUX Dist for your Raspberry Pi) to set up ioBroker. Please be aware that there is also a specific Distro for ioBroker that - in theory - sets up everything for you. No assembly required. But we ran into some issues and decided to do it all manually instead. But please feel free to try the ioBroker OS first - it might work for you and save you some time.

Required Hardware

  • Raspberry PI
  • Power supply (it is important to have a good one. You will have stability problems with weak or bad quality power supplies)
  • SD Card

Required Software

Raspbian Installation

  1. Insert the prepared SD card into your RaspberryPi, connect a LAN and power cable and wait 20-45min for the Operating System to install.

  2. Connect to Raspberry via your SSH client. Login: pi, Password: raspberry

ioBroker Installation

  1. Make sure that you are up-to-date with your software-base

ioBroker Installation

ioBroker Installation

  1. Configure RaspberryPi with sudo raspi-config

ioBroker Installation

  1. First, change the default password:

ioBroker Installation

  1. Set your location and language

ioBroker Installation

  1. Then go the Advanced Options and expand the file system to use the complete available storage space.

ioBroker Installation

ioBroker Installation

ioBroker Installation

  1. Finish the Configuration and Login with your new Password:

ioBroker Installation

ioBroker Installation

  1. Installation of Node.js

ioBroker Installation

ioBroker Installation

Deinstall old node.je Version:

apt-get --purge remove node
apt-get --purge remove nodejs
apt-get autoremove
reboot

ioBroker Installation

ioBroker Installation

Then install Node.js anew for Raspbery 2/3:

sudo -s
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y build-essential python-rpi.gpio python nodejs
reboot

ioBroker Installation

ioBroker Installation

ioBroker Installation

After installation of node.js the command node -v should show the node.js version. if not, create alias to bin file:

sudo ln -s /usr/local/bin/nodejs /usr/bin/node
  1. Set static IP address (optional)
sudo nano /etc/dhcpcd.conf

Call per interface (example):

interface eth0
static ip_address=192.168.2.115/24
static routers=192.168.2.5
static domain_name_servers=192.168.2.5 1.1.1.1

ioBroker Installation