Jeedom tutorial and Amazon Alexa

Use Jeedom with Amazon AlexaWhy install Jeedom?

The advantage of installing Jeedom is that it will cost you almost nothing, and it is a good springboard to start or to continue in home automation.

Jeedom integrates a Friendly Use interface, even if like me you don't know anything about Linux and Raspberry, you will quickly be able to do nice little things around the house 🙂.

Compatibility with the different materials on the market will depend on the investment you make behind it (for the protocols), the only "concern" concerning Jeedom is that certain plugins (those which will interest you of course ^^) will be paying (2à 6 € updates for life 🙂).

Jeedom is a software: multi-protocol, open source and the most important cloudless (basically no need to have your information roaming the internet ^^). The forum is extremely comprehensive, the documentation also, and there is a huge community behind it, and a little bit of chauvinism: it's French.

One thing that will be of particular interest to us is going to be the HA –Bridge (I will come back to it), for the moment I have not found how to install it on the same Raspberry (but I know it is possible, just do not want to break my existing installation: D).

How to make it work with Alexa?

With our little pudgy fingers 🙂 and a little patience and testing, I will share information on sites that have helped me get started and better understand (I will systematically cite the sources and invite you to go to the sites for more info).

Necessary material:

I am communicating to you here a list of the equipment that I recommend to you I try to find the best prices / available, if you find less expensive or that you have ideas do not hesitate to share.
(Some links are sponsored, no extra cost for you just a few cents for the site and / or for me ^^).
I give you several shopping list depending on what you want to do.

Basic list

This list allows you to install Jeedom, without any protocol other than Wi-Fi and Bluetooth:

Raspberry 3 + integrated Wifi and bluetooth box 39.99 €
Power supply 5v3A 3A minimum 8.99 €
Micro SD 16GB Free for you to take + (8mini) 9.53 €
TOTAL € 58.51

 

Complete list :

Raspberry 3 price + integrated Wifi and bluetooth box 39.99 €

Power supply 5v3A 3A minimum 8.99 €

Micro SD 16GB Free for you to take + (8mini) 9.53 €

Zwave usb key Included natively 30 €

RFlink + Solder See option 1 + 2 47.44 € rfxcom Option 3 €90

TOTAL 135.95 € / 178.51 €

 

 

Option 1  : it is a system developed by enthusiasts, some peripherals will not be compatible (from memory the somfy), it is absolutely necessary to take the 433.92Mhz which is the most used protocol in France, I strongly advise you to take the option welding see a box (add 12 € for the box).

Option 2: You are crazy in your head, you are boiling hot and you want to weld I invite you to come through here.

Option 3: Certainly the most complete option, but as there is little competition in the sector, the price is also very complete.
Only one of the options otherwise it is duplicated.

The installation of Jeedom:

The first step is to install an operating system on your SD card, Jeedom is actually just a simple program that runs. 🙂

All the softwares and links I give you here are official sources, so virus / spyware free.

The system that we are going to use RASPBIAN, a version of Debian developed specifically for the Raspberry, to proceed with the installation you will need:

Raspbian (take the zip) (1.6Go attention)

7zip (for decompression) 32 or 64 bits depending on your OS

SDcardFormatter (to prepare the SD card, go to the bottom of the page and accept)

Win32 Disk Imager (to copy to SD card)

And the youngest

Putty (it will allow you to access the PI control without having to connect a screen / keyboard etc above)

Now let's proceed with the copy of the system and its configuration (I assume that you have installed all the software and unzip Raspbian)

1. Preparation of the SD card SDFORMATER
(I use a USB stick which allows me to put the card in)
Select your SD card, Overwrite Format, give it a name and launch Format.

2. Copy of the WIN32 DISK IMAGER system
Select decompresserxxxxx.img image file using blue folder, check device. Validate by writing and confirm with YES.

3. Activation of SSH (Thanks to sarakha63)

Once your system is installed on your SD card, we will need to activate SSH. The what ? SSH is a secure communication protocol that allows you to control your Pi remotely. For this step, nothing very complicated. You add an empty file to the root of your Sd card named ssh, without extension. In display, check "show extensions", then create a new text file, then rename it to ssh, without the .txt.

4. Beast settings

You must connect your Raspberry to the network with an RJ45 cable (we will use Wi-Fi later) and retrieve the IP address (in my case 192.168.1.25), you can use a scanner for this. port type angyipscanner, or retrieve it directly from your box.

We will notify you of a security alert (Putty's check to see if he knows the hardware it avoids the little jokes who spoof your IP address to retrieve information 😉) validate you with Yes (he will never ask you again, if this is the case there is a problem)
By default the MDP login are: pi / raspberry (it is normal not to see anything when entering the password)

And here we come to the scary thing 😀 of the command line on a very black screen: / don't worry, we will explain to you as well as possible what we are doing and why we are doing it 🙂

The first thing to do, update the system:

sudoapt update–> Check sources and update them
sudoapt upgrade -> Download and install the sources

SUDO -> allows you to be admin by placing an command, Linux being more secure than Windows on this point by default you are not admin 😀

Not stupid the trick it checks everything you have to install, updates and better removes obsolete stuff 😀 validate with O

5. Configuration of the Raspberry

You will surely want to do scenarios so you need to be on time, it is also good to change the password (at least)

Type the following command:

sudoraspi-config

For the default password, it is simple to validate choice 1

Once validate, return to the "graphical" interface
Choice number 4
Choice number 2
Here you will choose EUROPE

Validate by Enter and finally Paris

Once you have made the changes they are automatically saved, exit with Esc

Addition of Wi-Fi because your box will not necessarily be the place where you want your box to be installed

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

network = {
ssid = "nomDeLaBox"
psk = "securityKey"
key_mgmt = WPA-PSK
}
As you can see on my screen screenshot, you have to leave the quotes (yes I put it in all black I was not going to give you my credentials either, do not mess around: D)

ctrl + o to save
ctrl + x to return to the command line

Then we will activate the wifi with:

ifconfig wlan0

In yellow surrounded by red: the IP address of the Wi-Fi, you can now update your Putty with this IP

6. Installation of Jeedom

Just copy and paste the following line everything is then automated
wget -O-https: //raw.githubusercontent.com/jeedom/core/stable/install/install.sh | sudobash

Depending on your internet speed, the installation may take 45 to 90 minutes. You should especially not interrupt the process before the end. Otherwise, the entire procedure will have to be repeated.

Once the installation is complete, you can access Jeedom through your web browser

http://192.168.1.25–>Avec votre IP à vous hein ^^

The default connection information is:

admin / admin

More in a future article 🙂

Sources and inspiration:

Sarakha63
Domoblog
France
Jeedom

Fascinated by Alexa since the day I received it in beta test, I gradually became passionate about the subject, before deciding to go further by creating a site with Jean-Christophe. An activity that allows me to quench my thirst for new technologies and share my discoveries about the nicest of communities: Les Alexiens.