Install Domoticz on an Orange Pi Lite (WiFi) under Armbian

Black Friday on Amazon right now! Black friday Banggood Gearbest Black Friday
Extra 10% off For XIAOMI SUPER HOME TECH GADGET Sale

Smart Home kits, security camera, robot vacuum cleaner, air purifier ... *Excluding products already on promotion

Reveal
35 days left

Orange Pi Lite because of its low price and its performance close to a Raspberry Pi 3 is a very good solution to build a home automation server at a lower cost. Domoticz does not officially support this platform. There is therefore no official image. We will have to install Domoticz from the sources. Here is a step by step installation guide very simple to follow.

Configuration used

For this tutorial, I used an Orange Pi Lite (Wi-Fi version) equipped with a 1.2GHz AllWinner H3 microprocessor and 512MB DDR3 memory.

orange pi lite h3 computer board Orange Pi Lite

€12€ (shipping cost, about €3.50 )

orange pi alimentation 5v 3a jack Power 5V – 3A

Or USB cable, about €2.50€

carte sd Armbian on 8Go SD Card classe 10

From €6.90

To help you choose the Orange Pi according to your needs, you can read this article which compares all the technical characteristics to a Raspberry Pi 3.

Follow this tutorial to prepare the SD card with Armbian.

Preparing the Armbian System

Before we go into the installation of Domoticz on the Orange Pi, let’s start by making the updates strictly.

Creating a user domoticz

Even if it is not necessary, it is better to create a user domoticz

The new user is added to the sudo group to allow it to use this command.

Change current user

Ensuite, on modifie la configuration pour autoriser l’utilisateur à exécuter des commandes sudo sans avoir à saisir le mot de passe.

At the end of the file, insert this new line

Save with CTRL+X then Y.

Installation of Domoticz

Now that everything is ready, change account and run the installation with this curl command.

This simple command will take care of everything. From the installation of the dependencies to the configuration via small configurators that will appear as the installation.

domoticz orange pi lite installation armbian raspbian

Configuration start

2-domoticz-orange-pi-lite-installation

You can enable or disable the HTTP and HTTPS connections.

domoticz orange pi lite installation armbian raspberry pi raspbian https

Choice of HTTPS port. 443 by default.

domoticz orange pi lite installation armbian raspberry pi raspbian folder destination

The destination folder

domoticz orange pi lite installation armbian raspberry pi raspbian complete

It’s over. The IP address of your Orange Pi on your network is shown.

Once the installation is complete, close the last window and wait for the Domoticz service to start before you connect from a browser to your new brand new home box. To test the functioning, I simply connected to an outdoor temperature probe (cold fact!) Which publishes its measurements on a Gateway MySensors ESP8266.

domoticz orange pi lite installation armbian

The Orange Pi Lite is a small, really powerful and versatile single board computer that is very well suited for the manufacture of a 100% DIY home automation box. Only restriction, the GPIO which on paper is compatible with that of Raspberry (model B). But in practice, difficult to implement. If you have positive feedback and info about it, feel free to share your experience in the comments. However, a large number of home automation accessories use other protocols (radio most often) making the GPIO less essential.

Source: https://www.domoticz.com/wiki/Installing_and_running_Domoticz_on_CubieBoard2

Subscribe to the weekly newsletter

No spam and no other use will be made of your email. You can unsubscribe anytime.

  • M Bouius

    This worked great! Only needed to change the folder from /homes/root/domoticz/ to /root/domoticz/

  • Markus Rohner-Bührer

    Hi, trying to add the domoticz ALL=(ALL) NOPASSWD: ALL line to the sudoers file gives an error
    >>> /etc/sudoers: syntax error near line 32 <<<
    any idea?

    • Hi Markus, could you try this :
      – change the current user
      su domoticz
      – execute
      sudo visudo
      – add line
      domoticz ALL=(ALL) NOPASSWD: ALL
      Have a nice day. See you soon

      • Markus Rohner-Bührer

        Perfect, this solved the issue. Now Domoticz works nicely on my Orange Pi PC. Thanks

  • Markus Rohner-Bührer

    Yet another question. I’m just migrating from Domoticz Windows to Domoticz on Orange Pi.
    Where would I put my Lua Scripts?

    • Perfect. Normally, you need to put your scripts in the folder /home/pi/domoticz/scripts/lua. The easiest is to do it in ftp with filezilla for example

  • Chuc Nguyen

    Thanks! easy to install.

    • Hi Chuc. Thank you very much. But all the work goes to the whole Domoticz community first of all !

DIY Projects