Home Automation System - OpenHAB 3 Migration - 41. Grafana Dashboards

05/01/2022

Forty-first chapter related to my OpenHAB 2.5 to OpenHAB 3 migration.

Let's begin the configuration of secondary services for OPENHAB 3, using the old raspberry pi 3, which was left unused after the migration to the new raspberry pi 4.

Let's start by creating a first dashboard on Grafana, running as a docker container, displaying the environment data (temperature, humidity, etc etc) read by influxdb installed on the raspberry pi 4, again as a docker container.

In particular, let's see how to make the most of the persistence structure of openhab by creating multi-item tables compared to the default that instead creates a table for each item.

This video does not presume to be a tutorial, but simply a step by step of what has been done to achieve the goal. I hope that it will help someone.

Enjoy your viewing

[Open on YOUTUBE]

Home Automation System - OpenHAB 3 Migration - 40. OpenHAB and InfluxDB (docker) backup procedure

26/12/2021

Fortieth chapter related to my OpenHAB 2.5 to OpenHAB 3 migration.

In this video I will show you how I set up my automatic backup procedure for my OpenHAB setup and for the data stored on InfluxDB.

This procedure is written in a simple shell script, starting from a ready-made script that I found on github. I therefore thank the user oliranks; you can find his script on github at this address https://github.com/oliranks/openHAB3-full_backup_and_restore

To keep things simple I chose to backup OpenHAB using the native command "openbab-cli backup", although I could have opted for other solutions, also indicated in the official documentation https://www.openhab.org/docs/installation/openhabian.html#availability-and-backup

For InfluxDB, as it runs through docker containers, I had to follow a slightly different procedure, as the raspberry operating system does not directly see influxdb commands; so I had to interface directly with the container runtime and execute the export commands inside it, using a data volume shared with the raspberry file system, as the backup destination.

The final result is a tar.gz file that contains all the files backed up, organized by folders; this file must be archived and historicized according to your needs.

This video does not presume to be a tutorial, but simply a step by step of what has been done to achieve the goal. I hope that it will help someone.

Enjoy your viewing

[Open on YOUTUBE]

Home Automation System - OpenHAB 3 Migration - 39. Current status and next steps

22/12/2021

Thirty-ninth chapter related to my OpenHAB 2.5 to OpenHAB 3 migration.

In this video let's try to understand the current status of migration and the next steps

This video does not presume to be a tutorial, but simply a step by step of what has been done to achieve the goal. I hope that it will help someone.

Enjoy your viewing

[Open on YOUTUBE]