Jeedom on Raspberry Pi 3 (Netinstall): installation, configuration, Wi-Fi

Jeedom @Jeedom_domotic is a French Open Source home automation server very easy to use and let’s say it, very beautiful. Open Source does not always mean free, Jeedom has its Market and it will have to get its credit card from time to time when you crack for a module. The prices are however very reasonable (a few euros). In this tutorial, we will prepare a Jeedom DIY box based on Raspberry Pi 3, configure the keyboard in French, the integrated WiFi connection and activate the SSH connection.

Warning: this tutorial is obsolete since version 3 of Jeedom

This tutorial, originally written for the rpi-2.0.0.1 image and then the Raspberrypi_Debian_jessie_4.4_jeedom_netinstall_20160924_rc1 image of September 25, 2016, is no longer suitable for Version 3 of Jeedom. Images are no longer available for download. To install Jeedom and build your DIY home box based on Raspberry Pi, Orange Pi or PC under Linux Debian 8, you need to install Jeedom from an installation script. Follow this tutorial to install Jeedom v2 or v3 on Raspberry Pi and this one on Orange Pi (including on the eMMC flash memory).

Preparing the SD card with Etcher

I always use a SD card of good quality (SDHC class 10) to guarantee an optimal speed of operation. For Jeedom, an 8GB card is enough but considering the difference in price, do not hesitate to opt for 16GB or 32GB.

Let’s say it clearly, I became a fan of Etcher (presentation article) to prepare my SD cards!

With Etcher, preparing the SD card is child’s play. Unzip the Rar archive (with Stuffit on Mac OS X or WinRar on Windows). Launch Etcher and specify the path of the image that is in the directory that has just been created. Insert the SD card and press Flash! After a few minutes of patient, your SD card is ready.

etcher raspberry pi sd card jeedom

Typical configuration of a box Jeedom 100% DIY

If you are starting to manufacture your Jeedom Home Automation Box, here is a configuration based on Raspberry Pi 3 very well adapted

raspberry pi 3 raspi 3 Raspberry Pi 3

About €40

convertisseur hdmi dvi HDMI adapter

To DVI, about €7

To VGA, about €6

case raspberry pi 3 Raspberry Pi 3 case

A partir de 6,99€

carte sd SD card8 Go SDHC Classe 10

From  €5.90€

chargeur raspbery pi 3 5v 3000ma 5V – 2.5A power supply

From €4

That is a budget of about €65.

Keyboard configuration, Wi-Fi and SSH connection

At the first startup, an internet connection is required to update the Raspbian distribution and complete the installation of Jeedom. If you have an Ethernet switch or router nearby, you can connect the Raspberry Pi to the Internet using an ethernet cable. If you want to use the Wi-Fi to connect the home automation box to the internet, we will see a little below how to configure the Wi-Fi connection of the Raspberry Pi 3. We will take advantage of it to make some adjustments that can be useful on a daily basis.

The image of Jeedom is built on Raspbian, the official Linux distribution of the Raspberry Pi. You will quickly find your marks. If you want to know more, read this article.

Plug a keyboard and monitor into the Raspberry Pi and turn on the power after inserting the prepared SD card with Etcher.

Identify yourself with the default login (root) and password (Mjeedom96). Attention the first startup the keyboard is in qwerty. The “M” is on the comma (,). The keypad is disabled.

Configure Raspbian in your language

First of all, it is preferable to configure the keyboard in your language

Keyboard

Start raspi-config with the command

sudo raspi-config

Go to option (5) Internationalization Options and then click Local Change. In the list choose your langage then validate 2 times.

raspi-config domoticz francais

To put the keyboard in French, go back to Internationalization Options then go to Change Keyboard Layout. In the list select PC Generic (intl) then in the keyboard layout English – French (variant). If you do not know which keyboard layout to choose, do not change anything about the proposed options.

The Wi-Fi zone

Finally return to option (5) then Change Wi-Fi Country. In the list choose FR France. Confirm and exit raspi-config

Configure the Raspberry Pi 3 Wi-Fi

Open the interfaces file

sudo nano /etc/network/interfaces

Check that the wlan0 interface looks like this

allow-hotplug wlan0
iface wlan0 inet manual
   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Save by pressing CTRL + X then Y

If you want to check the available SSID (and case), run the command

sudo iwlist wlan0 scan

Now edit the file wpa_supplicant.conf

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Change the configuration according to your network. If your configuration is not classic, you should find answers on this article.

country=FR
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
  ssid="SSID"
  psk="MOT_DE_PASSE"
  key_mgmt=WPA-PSK #optionnel
}

Save by pressing CTRL + X then Y. You can restart the Pi

sudo reboot

How to find the Jeedom ip on the network

Once restarted, authenticate yourself and run the ifconfig wlan0 command to know the IP address of the Jeedom box. It is next to the label inet addr

ifconfig adresse ip box jeedom wlan0 wifi

You can also go on your internet box.

Jeedom Finder is no longer available for download since December 16, 2016.

SSH Connection

If you’re new to Linux, read this article to learn more about SSH secure connection and Raspberry Pi.

To connect in SSH to Jeedom, first open the port. In the Terminal, run

sudo raspi-config

Go to Advanced Options then SSH and finally Enable. Do not accept the reboot. Restart the Raspberry Pi from the Jeedom web interface for added security. Indeed, it is better to let Jeedom close the temporary files, connect to the database … before restarting.

From another computer (or from a tablet or smartphone), open a Terminal (or an SSH client) and connect either with ssh pi@jeedom or ssh pi@IP_PI. The password is raspberry, the default password for Raspbian ssh root@jeedom or ssh root@IP_JEEDOM. The password is Mjeedom96.

jeedom ssh netinstall

Image netinstall: First start of Jeedom

Now that you have an Internet connection, the first time you start Jeedom on a new SD card prepared from the netinstall image, a script completes the Jeedom installation and begins with an update Of Raspbian. This may take quite some time (about 45 minutes).

During this phase, do not perform any other installation or upgrade. Avoid turning it off or restarting. Briefly wait … Follow the progress of the installation from a web browser from another computer (tablet or smartphone) connected to the same local network.

By connecting to Jeedom from a web browser (http://IP_PI/ or http://jeedom/), you can follow the installation process.

jeedom netinstall fin installation en cours

After completing the operation, the login page will be displayed. Log in with the admin user and the admin password.

jeedom ecran connexion login

How to update Jeedom?

To update Jeedom, go to the Update Center that is accessible from the Gear icon.

jeedom centre de mise a jour

Then click the Update combo box to choose Jeedom only. Take advantage of this to update the plugins.

jeedom mise a jour plugin

You can follow the operation in the information window. At the end of the update, no restart is necessary.

jeedom mise a jour suivi information

Error /tmp/jeedom-cache

At first boot, you will most likely encounter the error message /tmp/jeedom-cache . It appears when certain modules are activated (for example MySensors). Simply restart Jeedom to get everything in order.

jeedom netinstall message temp jeedom.cache is not available

https://www.jeedom.com/site/fr/

Subscribe to the weekly newsletter

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

DIY Projects