ePrivacy and GPDR Cookie Consent by TermsFeed Generator Home Automation System - OpenHAB 3 Migration - 43. Auto reconnection to OpenHab Cloud | OpenHAB - SmartHome | DomoticsDuino - Computer engineer, Smart Home / OpenHAB, Flight Sim and others...
OpenHAB - SmartHome (219 posts)

07/02/2022

Home Automation System - OpenHAB 3 Migration - 43. Auto reconnection to OpenHab Cloud [Versione in italiano]

by Marco Lamanna

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

In this video I will show the solution I have adopted to manage the disconnections of my system from the Cloud.

Using log reader and exec binding I managed to create a rule that is invoked in case of disconnection from the Cloud; this rule does nothing more than restart the OpenHAB service by running a linux shell command via exec binding

It is a raw solution to the cloud disconnection problem without a valid reason, which has occasionally happened to me.

Forum post from which I was inspired: https://community.openhab.org/t/display-myopenhab-cloud-connection-status/107008

Thanks to Diego for the idea

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]