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

openhab on raspberry pi 4 - openhab in a nutshell: 26. #mqtt: installation of mosquitto broker on windows

let’s continue the miniseries dedicated to mqtt, within the openhab in a nutshell series and see how to install the open source broker mosquitto on windows

let’s download the installation package from the official mosquitto website and install it on our windows system. then we run it with the default options and through mqtt explorer and command line tools we perform connectivity and message sending/receiving tests.

homeautomation smarthome raspberrypi automation

openhab on raspberry pi 4 - migrate configuration from mainui to files - automatic software

video update on my openhab 4 setup.

I decided to switch to text file configuration. i like main ui but when you reach a big number of items to manage i think it’s better using text files than ui.

For this purpose I am writing a software that will be able to automatically recreate the files via api, reading things, channels, groups and items from the openhab configuration.

I’m developing it and it’s written in php; using a container docker for its execution environment.

homeautomation smarthome raspberrypi automation

2 Likes

openhab on raspberry pi 4 - openhab in a nutshell: 27. mqtt : installation of mosquitto broker on openhabian / linux

New video of the openhab in a nutshell series. The miniseries dedicated to mqtt continues; this time let’s see together how to install the mosquitto mqtt broker on openhabian with a standard linux installation.

homeautomation smarthome raspberrypi automation

openhab on raspberry pi 4 - migrate configuration from mainui to files - i’m almost done with my software!!!

In this new video let’s see where i am with my software for automatically creating openhab configuration files.

If someone wants to try the software, they can download it from github using this link

homeautomation smarthome raspberrypi automation

Why do you want to migrate from UI configuration to files?
Seems like a backward step to me?

Hi,

I think it’s easier to manage configuration when you have a lot of objects in openhab.

openhab in a nutshell on raspberry pi 4 - 28. mqtt installation of mosquitto broker as docker container

new video of the openhab in a nutshell series. last mini chapter dedicated to the mosquitto mqtt broker; let’s see together how to install the mosquitto mqtt broker as a docker container, using portainer.

homeautomation smarthome raspberrypi automation

The developer side bar can do a lot of management and searching.
I removed all my files when I went to oh3 and also removed DSL rules.

Maybe I’m a “keyboard” friendly but for me it’s easier to manage multiple objects with files…
With Visual studio code and a simple search & replace I can do a lot of stuff :slight_smile:

2 Likes

openhab 4.2 on raspberry pi 4 - some problems with timezone? resolved!!!

Short video to show a problem i had on my fresh installation of openhab 4.2.

The current time used by openhab for logs and rules invocations was wrong by one hour. the problem was the time zone not set correctly.

It seems that setting the correct time zone on the operating system and in the openhab settings is not enough, but an additional step is needed to definitively solve the problem.

Idea had following the content of a post of the official openhab forum, which you can find at this link: OH3 does not respect the local timezone

homeautomation smarthome raspberrypi automation

openhab 4.2 on raspberry pi 4 - ui2files software updated

Short video update on my ui2files software, which is used to migrate the configuration made via main ui to text files.

I have inserted some changes to handle the lack of management of aggregation functions on groups and the management of profiles in the configuration of links between items and channels

ui2files link: GitHub - domoticsduino/openhab4-ui2files: Command line tools to help migrating configuration from UI to files for OpenHAB v. 4 (semantic model compatible)

homeautomation smarthome raspberrypi automation

2 Likes

openhab 4.2 on raspberry PI 4 - influxdb 2 on RASPBERRY PI 4 with 64 BIT openhabian OS as a docker container

Let’s install InfluxDB v. 2 on Raspberry PI 4 with 64 bit Openhabian OS, using a DOCKER container, together with my current InfluxDB v. 1.8 instance

homeautomation smarthome #domotic raspberrypi automation

openhab 4.2 on raspberry pi 4 - influxdb v. 2 on raspberry pi 4 - test with openhab and grafana

let’s run some read and write tests on influxdb v. 2 using openhab and #
grafana.
we are almost ready for the final migration

homeautomation smarthome raspberrypi automation

openhab 4.2 on raspberry pi 4 - influxdb upgrade from v. 1.8 to v. 2 with docker on openhabian 64 bit

Finally, let’s upgrade influxdb from v 1.8 to v 2.0 using docker containers and the official procedure.

After duplicating the influxdb 1.8 container, let’s create the container with influxdb 2 image, following the upgrade procedure for data and configuration.

homeautomation smarthome raspberrypi automation

openhab 4.2 on raspberry pi 4 - post upgrade test for influxdb v. 2 as docker container using grafana

After updating the influxdb 1.8 docker container to version 2, we verify the presence of the migrated data, using grafana.

Then we do the final configuration of the docker container and modify openhab so that it can write to influxdb v. 2

homeautomation smarthome raspberrypi automation

openhab 4.2 on raspberry pi 4 - influxdb v. 2 64 bit - my first #flux #task to manage historical data

As the last step of the influxdb v.2 64 bit update from the old 1.8 version, i migrate the continuous queries to the new influxdb tasks.

This step is used to efficiently manage the historical data, being able to define automatic aggregation and archiving rules.

homeautomation smarthome raspberrypi automation

openhab 4.2 on raspberry pi 4 - influxdb v. 2 64 bit - checking tasks

Very short video to verify the correct execution of influxdb 2 tasks, which allow the historicization of some data acquired by openhab

homeautomation smarthome raspberrypi automation

openhab in a nutshell with raspberry pi 4 - 29. user interface introduction

Let’s resume the openhab in a nutshell series, addressing the topic of graphical interfaces from the end user’s point of view.

In this video i make a brief introduction on all the types of pages available in openhab, with particular attention to the default home page, closely linked to the #semantic #modeling of the system

homeautomation smarthome #domotic raspberrypi automation

openhab 4 with raspberry pi 4: light and rain sensor, connected to a sonoff 4 ch with tasmota firmware - preview

Very short video with a small spoiler on a possible next project to integrate in openhab 4.

A rain sensor and a light sensor connected to an analog-to-digital converter connected to a sonoff 4ch via i2c connection and tasmota firmware.

homeautomation smarthome raspberrypi automation

openhab in a nutshell: sitemap part 1 - everything you need to know

New video of the openhab in a nutshell series.

Let’s introduce the sitemap, the historical user interface of openhab, describing its features and peculiarities that make it still useful for many use cases.

sitemaps are used mainly in mobile app, both ios and android, because they are very lightweight and clean.

homeautomation smarthome raspberrypi automation