Smart Home Automation with openHAB 2
4.0 (8 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
37 students enrolled

Smart Home Automation with openHAB 2

Smart Home Automation Guide | Step by step guide to a cloudless, technology independent smart home automation
4.0 (8 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
37 students enrolled
Last updated 2/2019
English
English [Auto-generated]
Current price: $49.99 Original price: $119.99 Discount: 58% off
30-Day Money-Back Guarantee
This course includes
  • 8 hours on-demand video
  • 3 articles
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to Udemy's top 3,000+ courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Understand the Fundamentals of a Smart Home
  • Learn how to install openHAB 2

  • Make important settings on the Raspberry Pi

  • Overview of Administration Interface (Paper UI)
  • Install different Addons (Bindings, Transform, Persistence)
  • Configure Your First Thing using Paper UI
  • Configuration and Structuring of IoT Devices using Things and Items
  • Designing your Smart Home Visualization using Elementtpes and Sitemaps
  • Storing your Data in a Database (Persistence)
  • Home Automation using Rules
  • ... see the Curriculum
Requirements
  • You will need a platform that is able to run Java
  • Raspberry Pi ( highly recommended!), Synology Diskstation (able to run Java), Windows PC
  • You should be able to use a PC
  • Course will be presented on Windows PC
Description

This is a Beginner Course!

Smart Home Fundamentals will teach you build your own cloudless, technology and manufacturer independent smart home automation. We will use openHAB 2 (open Home Automation Bus). You will be able to integrate the most important technologies like Z-Wave (e.g. Fibaro) and ZigBee (Philips Hue).

Why manufacturer and technology independent ?

  • As long as the technology is supported you do not have to fear of vanishing manufacturers

  • You will be able to combine the best products of any technology supported

Why cloudless?

  • You will not be impacted by downtimes of cloud services

  • You will not have to pay any extra money for the services

  • Your local home will be secure

Smart Home Automation Fundamentals will cover all you need to get your own smart home automation running, including:

  • Smarthome basics

  • Install openHAB 2 on a Raspberry Pi

  • Make basic settings on the Raspberry Pi and learn most important commands

  • Configuring and administration using Paper UI

  • Configuration and Structuring of IoT Devices using Things and Items

  • install add-ons (Bindings, Transform, Persistence)

  • smart home visualization using the Basic UI (openHAB Sitemaps and Elementtypes)

  • Storing your smarthome data in a database (openHAB Persistence)

  • Smart home automation using rules

  • ... see the curriculum

Why am I qualified?

I set up my own smart home in 2010 and started a blog in 2016. In 2018 I made my first smart home course in German and it got on of the best selling online courses. I am consulting customers and help building barrier free smart homes in a non profit organisation.

My promise

I will help you master this course. Simply use platform to ask questions. I will answer as soon as possible.

Enroll now and start building your smart home and make your life smarter.

See you in lesson 1,

Thomas

Image source: Pixabay (Creative Commons CC0)

Who this course is for:
  • Smart Home Beginners
  • Learn how to install and configure openHAB 2
  • Want to build your own smart home step by step
Course content
Expand all 80 lectures 07:51:23
+ Introduction
1 lecture 01:10

Welcome to Smart Home Fundamentals.  A short overview what I will teach in this Course.

Preview 01:10
+ Smart Home Fundamentals - Basics of a Smart Home
2 lectures 12:09

In this Lecture I will explain the basics of a Smart Home. 

Smart Home - Basics
05:05

In this video I will tell you about the different wired and wireless standards. 

Smart Home - Standards and Technologies
07:04
+ openHAB 2 - Installation and Basic Settings
5 lectures 31:42

In this lecture you will learn how to flash the openHABian image onto a micro sd card using etcher. 


Install openHAB 2 on a Raspberry Pi using openHABian
06:55

Learn how to assemble the Raspberry Case and connect needed cables. 

Assembly and Connection of the Raspberry Pi
02:30

This lecture will guide you how to connect the first time to your openHAB 2 Raspberry Pi. 

Preview 02:36

In this lecture you will learn how to change the default passwords (login, samba share, etc.). Furthermore we will change the hostname. 

Change password and hostname
11:46

Learn about the most important and common SSH commands to solve problems and to replace hardware.

  • Stop, Start and Restart openHAB 2 service

  • Reboot your Pi

  • Shutdown your Pi e.g. to replace the Micro SD card

Overview useful SSH commands
07:55
+ openHAB 2 - UI Driven Adminstration and Set Up
6 lectures 58:53

In this lecture I will explain which kind of packages openHAB 2 provides and which one to choose for the course. I will also demonstrate the initial start of openHAB 2.

openHAB 2 - Initial Start
06:45

In this Lecture you will learn the basics about the Configuration Menu of Paper UI the Admin UI of openHAB 2. 

Guide to Paper UI - Configuration Menu
11:26

This lecture will guide you through the Add-Ons and Preferences of the Paper UI. 

Guide to Paper UI - Add-Ons and Preferences
10:43

In this lecture you will learn how to install your first Binding using the Paper UI. We will install the Astro Binding and I will show you how to bind items to channels using the Paper UI. 

Install your first Binding - Astro Binding
09:42

You will learn what the simple mode in system settings will do and what my recommendation is. 

The simple mode - A recommendation
07:52

You will learn how to integrate first technical things in openHAB 2. I will demonstrate an installation of a Philips Hue Bride and a Color Led Bulb. 

Preview 12:25
+ openHAB 2 - Visual Studio Code
3 lectures 22:29

Learn how to connect your openHAB 2 configuration folder to your Windows PC. Furthermore get a rough understanding which files have to put where. 

Connect to the Raspberry Pi folders
06:58

You will learn how to install and configure VS Code to use it as an editor for openHAB 2. I will show you how to configure the openHAB extension e.g. setting your hostname. 

Visual Studio Code - Configuration
07:28

openHAB 2 is a system that will develop by time. So will the openHAB Extension. There might be problems with later relases. In this lecture you will learn how to downgrade to a working version. 

openHAB Extension - Troubleshooting
08:03
+ openHAB 2 - Thing and Item Configuration
6 lectures 50:20

Learn how to install Bindings by using the addons.cfg files.

Add-Ons - Textual installation
06:59

Learn how to configure and structure your openHAB 2 Things.   

Thing Structure and Configuration
10:53

Learn how to configure Channel specific parameters. Use the Rest documentation to get the need information. 

Thing Channel - Configuration
13:41

Learn how a openHAB Item is configured. What are the elements of an item and what is the exact structure. 

Items - Structure and Configuration
07:55

Bind your Item to the Astro Channels we have created to show them in the Paper UI control area. 

Item Binding - Astro Example
07:12

Learn how to use the shortcut function in the openHAB Extension to automatically create Items from Channels.


openHAB Item Binding using VS Code Shortcu
03:40
+ openHAB 2 - Item Types
17 lectures 01:24:01

Get a rough overview over all actual Item types. What Item types are offered and what will the types control. 

Item Types - Overview
06:59

Create your first Sitemap to show your Item Types in the Basic UI. 

Item Types - Create first Sitemap
06:26

This is the first video about groups. Groups can be used to structure from different point of view. In this lecture I will give some examples about Location Groups. 

Preview 10:39

In this second video about the Group Item type I will teach you some examples of functional views e.g. lighting. 

Item Type Group - Functional View
03:42

The last video of the Group Series will explain the logical point of view. Use and learn how to structure your smart home. 

Item Type Group - Logical View
06:55

I will teach you how to create a simple switch to turn on and off your bulbs. I will also show you how to show the state in Basic UI by using the string state format. 

Item Type - Switch
10:15

Next Item Type is the Dimmer. You will learn how to configure a Dimmer and use a slider to control your dimmable lights. Furthermore I will show you another state format to show the percentage value in the UI. 

Item Type Dimmer
08:43

Use the Color Item Type to control color led lamps.See an example to set colors and saturation. 

Item Type Color
03:05

Use the Item Type Number to display numeric values e.g. a temperature. 

Item Type Number
04:55

Use the Rollershutter Type to control your blinds and other stuff that moves. You will also learn about a new state format to show the shutter level in the UI. 

Item Type Rollershutter
05:02

A Contact Item is used to show the state of a window or door. It can be open or closed. You will learn how to configure the item and pull the state to the UI. 

Item Type Contact
02:17

Learn how to show Date and Time Information in the Basic UI. You will learn how to use state formatting to show any format you need. DD.MM.YYYY, YYYY-MM-DD, HH;MM All is possible. 

Preview 07:34

In this video we are going to use the Item Type String to get some more information from a Astro channel in our Basic UI. 

Item Type String
02:11

The Item Type Location will be used to receive GPS coordinates in point. We will use this Item Type Later to show our position in a map view. 

Item Type Location
01:44

A Player Item Type can be used to display a control panel to control your Sonos Boxes. 

Item Type Player
01:25

The Image Item Type will be used to show images in your UI. 

Item Type Image
01:33
Itemtypes.items - Source Code
00:36
+ openHAB 2 - Sitemaps and Element Types
21 lectures 01:34:52

Frames will be used to structure your Sitemap in different ways. Use frames to structure your Sitemap in logical sections. 

Element Type Frame
03:26

Groups are another way to easily structure your Sitemap. We talked about the Item Type Group already and we will use some of those groups. 

Element Type Group
04:09

Text Element Types can be used to group and structure your Sitemap as well. There is a difference from using Text Boxes instead of real Groups. You will learn the difference in this video. 

Element Type Text
05:36

The Element Type Setpoint is the classic way to set temperatures. You can use it to raise or lower your thermostat step by step.   

Element Type Setpoint
04:32

The Element Type Selection can be used for different purposes. For example you could use it to select your TV station or control your heating. I will use the Selection Element Type to set temperature. 

Element Type Selection
03:50

The Element Type Switch is another way to control your Smarthome in different ways. We will once more take the heating control as example. 

Preview 03:09

The Colorpicker Element Type will look like the Color Item Type. I will demonstrate this by using the Default type and the Colorpicker type   

Element Type Colorpicker
04:15

The Element Type Slider will be shown like the Dimmer Item Type. You may use the Item Type Slider to reduce the functionality of a Color Item.   

Element Type Slider
02:00

The Element Type Switch can also be used to reduce the functionality of a Dimmer or Color Item. If you would like to have a simple on/off switch, I will show you how to easily configure your Sitemap Element Type. 

Element Type Switch - Light Example
02:09

The Element Type Image will be used to show an image in your Sitemap. 

Element Type Image
03:05

Learn how to integrate an external Video in your openHAB Basic UI by using the Element Type Video 

Element Type Video
01:08

You will learn how to integrate external websites in your openHAB UI. This could be used for example to show the latest news. 

Element Type Webview
01:53

I will explain how to configure the Element Type Chart. Charts will be used to show a graphical flow of your values. You could use charts to see how temperatures developed.

Note: This is only the configuration part. Charts will only show the content if data is persisted. Please check the Section Persistence if you like to see values straight away.

Element Type Chart
05:25

As already mentioned Groups are very powerful. I will show you how to configure your Item Type and use the Element Type Group to view how many lights have been left on in a room, a floor level, your home.

This example could also be used for counting open windows. Check your UI and you will immediately see how many windows are still open.

Element Type Group - view light count
10:32

In this lecture you will learn how to control more than one Item by using the Element Type Group in combination with a Switch function.   

Element Type Group - Function Switch
03:10

We will use a Group Element Type with a Dimmer function to control more than one Item. I will explain how to configure the Item and how to change your Sitemap.

This example could also be used to control the heating of your thermostats. 

Preview 07:21

Learn how to get a unique Basic UI by integrating your own loved icons in openHAB 2. 

Sitemap - Individual Icons
06:51

In this lecture I will teach you how to build dynamic icons that will reflect the state of a dimmer item.

This example can be used as a template to reflect any state like opened or closed windows etc.

Sitemap - Dynamic Icons
06:15

You would like to translate states to different languages or have an individual text? You will learn to install and configure the MAP transformation and to add the transformation to your state format.

Simply translate the state ON and OFF to any language.

Sitemap - Translate States by using MAP Transformations
08:04

We will walk trough what you have learned in this section again. This section does also contain the coding of our elementtypes.sitemap.

If you encounter any problem, use the comments. Thanks!

Sitemap and Element Types - Section Wrap Up
07:06
Elementtypes.sitemap - Source Code
00:56
+ Persistence
3 lectures 18:44

Learn what steps are necessary to install a persistence add-on. In the following videos you will learn about strategies and items persistence. And at the end of the section we will see our chart element type filled with data. 

Persistence - Install Persistence Add-On
04:39

Learn how to define persistence strategies to persist data every minute, hour, day or every change.   

Persistence - Define Strategies
06:10

In this lecture we will use the second part of the Persistence Configuration to define which Groups and Items shall be persisted with which kind of strategy.   

Persistence - Configure Group and Item Persistence
07:55
+ openHAB 2 - Product and Technology Integration
7 lectures 41:31

In this video I will explain different possibilities to connect Z-Wave Gateways. You will learn what is important if you use a GPIO module. The further course will be done using a USB Stick.   

Z-Wave - Raspberry Pi Connection
02:23

Learn how to integrate the Z-Wave USB Stick into openHAB 2. This is the first step to integrate more Z-Wave devices. 

Z-Wave - Gateway Integration
06:58

You will learn how to integrate a Danfoss LC-13 Z-Wave Thermostat using openHAB 2 and the Gateway. 

Preview 07:31

We will integrate a Z-Wave multi sensor (Philio PST02-1A). This multi sensor can be used to get information about:

  • motion detection

  • window / door open and close status

  • temperature

  • luminescence

Z-Wave - Multi Sensor Integration
05:29

Learn how I do my trouble shooting if a Z-Wave device is not working as expected. We will have a real life example with the multi sensor from the video before.   

Z-Wave - Troubleshooting
08:43

We will add another Zigbee device in openHAB 2 using the Hue Binding. Osram devices need to be reset. I will show you how to did this with an Osram Lightify Plug. 

Zigbee - Osram Lightify Plug Integration
07:10
Tech Stuff Integrate - Wrap Up
03:17