ioBroker installation on Raspberry pi Ubuntu or Debian Linux

To automate our home, we need a central unit that brings together our other IoT devices, for which ioBroker is a good solution.

ioBroker installation on Raspberry pi
ioBroker installation on Raspberry pi

These may require:

Raspberry Pi 4 Model B

Raspberry Pi 4 Power Supply (USB-C)

SanDisk Ultra 16GB Class 10 SDHC UHS-I Memory Card


CanaKit Raspberry Pi 4 8GB Extreme Kit – 128GB Edition (8GB RAM)

Includes Raspberry Pi 4 8GB Model B with 1.5GHz 64-bit quad-core CPU (8GB RAM), 128GB Samsung EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader, Premium High-Gloss Raspberry Pi 4 Case with Integrated Fan, CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply, Heat Sinks, 2 Micro HDMI to HDMI Cables

ad

Includes Raspberry Pi 4 8GB Model B with 1.5GHz 64-bit quad-core CPU (8GB RAM), 128GB Samsung EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader, Premium High-Gloss Raspberry Pi 4 Case with Integrated Fan, CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply, Heat Sinks, 2 Micro HDMI to HDMI Cables

In terms of hardware, ioBroker can be installed on a SoC single-card computer (RaspberryPI, OrangePI, etc.) or on a desktop PC running Debian or Ubuntu, Linux. I assume the operating system is installed. In the first step, update the system.

sudo apt-get update && upgrade

Check the installed versions of nodejs and npm.

node -v

nodejs -v

npm -v

If the version is correct or no version number is returned, we can proceed with the installation.

If the version is not correct it should be removed as follows.

sudo apt-get --purge remove node

sudo apt-get --purge remove nodejs

sudo apt-get autoremove

Then reboot the system.

sudo reboot

Let’s install the cURL program.

sudo apt-get install curl

Then install node.js

curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -

sudo apt-get install -y nodejs

On Debian as root

sudo su

curl -sL https://deb.nodesource.com/setup_18.x | bash -

apt-get install -y nodejs

Restart the system again.

sudo reboot

Check the nodejs version again.

node -v

If  node -vthe answer is “not found”, enter the following at the command prompt:

sudo ln -s /usr/local/bin/nodejs /usr/bin/node

Let’s see the npm version:

npm -v

This must return a version number higher than 8. If not, update npm:

sudo -H npm install -g npm@8

Install ioBroker:

curl -sLf https://iobroker.net/install.sh | bash -

If all went well we can see something like this:

ioBroker installed on Raspberry Pi
ioBroker installed on Raspberry Pi

Other commands for ioBroker:

sudo systemctl stop iobroker

sudo systemctl start iobroker

sudo systemctl restart iobroker

Now open the IP address you received at the end of the installation in your browser

http://192.168.8 102:8081

We can start setting up iobroker.

ioBroker getting started
ioBroker getting started

Choose a language and accept the terms of use.

ioBroker license
ioBroker license

Let’s set our iobroker administrator password.

iobroker - Set admin password
iobroker – Set admin password

On the next page, you can set it to require a login ID when entering the iobroker administration interface.

iobroker - login required
iobroker – login required

Enter your location information, as well as your preferred units, currency and date format.

iobroker - unit of measurement, location data
iobroker – unit of measurement, location data

That’s it, let’s click on the ‘finish’ button.

iobroker settings done
iobroker settings done

After completing the basic settings of iobroker, go to the Adapter tab.

ioBroker Adapter panel
ioBroker Adapter panel

In the Adapter panel, install the required adapters.

Find out more about ioBroker here!

Good luck, have a nice day!


Examples of smart applications:

advertising – Amazon.com