My new Smart Home Automation System with OpenHab2 - Work in progress -> Migrating to OpenHAB3 -> Migrating to OpenHAB 4 -> Migrating to OpenHAB 5

openhab in a nutshell on raspberry pi 4: things, channels, items - design theory

in this video from the openhab in a nutshell series we talk about the smarthome design theory on openhab, introducing the concepts of “real environment”, through things, bindings and channels and “virtual / functional environment”, through items and links.

let’s try to understand together how openhab thinks and how we need to design and configure our devices to make it work best.

homeautomation smarthome raspberrypi automation

openhab in a nutshell on raspberry pi 4: 11. design in practice with mainui

in this video from the openhab in a nutshell series we move on to the practice of designing the smarthome on openhab, using the main ui graphic interface.

let’s transform the theoretical concepts we saw in the previous video into objects.

homeautomation smarthome raspberrypi automation

openhab in a nutshell on raspberry pi 4: 12. design in practice with text files

In this video from the openhab in a nutshell series let’s see another way to design our smarthome on openhab, using the text files.

Let’s install bindings and create things, channels, items and links using the text files placed into the openhab configuration folders.

homeautomation smarthome raspberrypi automation

openhab 4 on raspberry pi 4: manual installation for lg #thinq binding, used for lg appliances

In this video we install the lg thinq binding to integrate lg brand appliances that use the thinq app into openhab.

The installation of the binding is done manually, because it is not a binding officially distributed by openhab and therefore it is not found in the addon store

After installing the binding we create the thing to connect to the lg thinq cloud and then import the configured appliances.

homeautomation smarthome raspberrypi automation

openhab in pillole on raspberry pi 4: 13. some considerations on design methods.

In this video from the openhab in a nutshell series, we talk about the advantages and disadvantages for the two design modes of openhab: text file and graphical interface.

homeautomation smarthome #domotic raspberrypi automation

openhab in pillole on raspberry pi 4: 13. tips & tricks for designing using main ui

in this new video from the openhab in a nutshell series, let’s try some tips & tricks to make system configuration via graphical interface faster.

homeautomation smarthome raspberrypi automation

openhab in pillole on raspberry pi 4: 15. introduction to persistence

In this new video from the openhab in a nutshell series, let’s introduce the concept of data persistence.

What is persistence, what is it used for and how to setup in openhab

homeautomation smarthome raspberrypi automation

openhab in pillole on raspberry pi 4: 16. persistence check and examples

In this new video of the openhab in a nutshell series, we continue to talk about persistence by checking stored data and their display.

Using api i’m able to read the stored values and create a “chart” page to display them as a time series

homeautomation smarthome raspberrypi automation

openhab in pillole on raspberry pi 4: 17. groups - the basis of semantic #modeling

In this new video of the openhab in a nutshell series, i talk about the concept of group, the object that is the basis of semantic modeling.

After a small theoretical introduction, let’s see together a practical example of configuring a group, starting from its creation up to the management of its value.

homeautomation smarthome raspberrypi automation

openhab in a nutshell on raspberry pi 4: 18. tags - the basis of #semantic modeling

In this new video of the openhab in a nutshell series, let’s introduce another basic concept of semantic modeling: tags

After seeing what tags are and what they can be used for in openhab, let’s look at some examples together.

homeautomation smarthome raspberrypi automation

openhab in a nutshell on raspberry pi 4: 19. the #semantic model - theory

In this new video of the openhab in a nutshell playlist, let’s introduce the concept of semantic model in openhab.

After having seen what groups and tags are, used as basic concepts of semantic modeling, let’s talk about the semantic model on a theoretical level, trying to understand what it is and why it is important to use it.

homeautomation smarthome raspberrypi automation

openhab in a nutshell on raspberry pi 4: 20. the #semantic model - starting from scratch

In this new video of the openhab in a nutshell series, let’s see in practice how to do semantic modeling in openhab, starting from scratch.

Let’s create locations, equipments, points with properties and see how openhab automatically configures its home page, based on the implemented semantic model.

homeautomation smarthome raspberrypi automation

openhab in a nutshell on raspberry pi 4: 12. the #semantic model - refactoring…

In this new video of the openhab in a nutshell series, we always talk about semantic modeling from a practical point of view, going to do a refactoring of an already existing non-semantic model.
Let’s transform the existing items into points and create the respective equipments to insert into the model, within the locations.
Once finished, let’s see how the dynamic home page has evolved accordingly.

homeautomation smarthome raspberrypi automation

openhab and #swimming pool control panel: testing #ph meter 4502c

In this new video i take up the project of the swimming pool control unit again, starting to test the ph probe purchased on aliexpress, based on the ph-4502c board.

I used an arduino uno, connected to an lcd display for real-time display of the detected values.

homeautomation smarthome raspberrypi automation

openhab and #swimming pool control panel: calibrating #ph meter 4502c

Calibration of the ph 4502c probe, using a ph 9.18 solution to define a second calibration point, in addition to the ph 7 point already defined in the previous video.

I update the sketch with the final ph calculation formula and display the value on the lcd display.

homeautomation smarthome raspberrypi automation arduino

1 Like

openhab in a Nutshell on raspberry PI 4

22. Devices integration - Type of bindings

New video of the OPENHAB in a NUTSHELL series. Let’s talk about the integration of physical devices using Bindings.

Let’s see the different types of bindings

homeautomation smarthome raspberrypi automation arduino

openhab in a Nutshell on raspberry PI 4
23. Devices integration - mqtt Protocol

New video of the “OPENHAB in a nutshell”. We talk about the integration of physical devices using MQTT binding as an example of “horizontal” integration

Let’s do a couple of examples with two sensors of different nature and typology, using the same integration methodology.

homeautomation smarthome raspberrypi automation

openhab in a Nutshell on raspberry PI 4: 24. Devices integration - xiaomi Binding

New video of the OPENHAB in a nutshell. We always talk about physical device integration, but this time we use a vertical binding dedicated to XIAOMI products.

By vertical binding I mean a binding that allows you to integrate devices of the same type or brand.
Normally this type of binding is a bit more closed as it does not allow many customizations, compared to a horizontal binding which is much more open and configurable (such as mqtt binding)

Let’s try the integration of the MI Robot Vacuum, produced by Xiaomi, using the official Xiaomi Wifi devices (Mi IO) Binding

homeautomation smarthome raspberrypi automation

1 Like

openhab and SWIMMING POOL control panel: working prototype with esp8266 nodemcu

In this new video we resume the project of the swimming pool control unit by assembling a rough but functional prototype.

The components used are:
esp8266 nodemcu Lolin v.3: MCU with integrated Wifi
TDS Meter: water quality
PH Probe PH-4205C: PH sensor
Analog Digital Converter ADS1115: Analog digital converter to to increase the number of analog inputs of the ESP8266 (which has only one) and to improve its acquisition
2 x DS18B20 Waterproof temperature sensors: to get water and air temperature

I finally tested the physical and electrical connections with a relatively simple program that prints the data from the temperature sensors and the 4 analog inputs of the ADS1115 on serial.

The final goal will be to write a program to calculate the PH and TDS values ​​and send them, together with the temperature data, to the mqtt broker and then receive them on openhab

homeautomation smarthome raspberrypi automation

1 Like

openhab on raspberry pi 4 - openhab in a nutshell: 25. #mqtt: what and why

let’s begin a new miniseries within the openhab in a nutshell series , dedicated to the mqtt protocol, widely used in iot systems for its technical characteristics that make it the ideal protocol in these areas.

let’s start with an introduction to understand together what the mqtt protocol is and what its characteristics are.

homeautomation smarthome raspberrypi automation

1 Like