Home Automation System - Riconnessione automatica Cloud / Auto reconnection to OpenHab Cloud ITA ENG

avatar

cloud_3362004_1920.jpgCreative Commons

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

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

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

***********************************

Quarantatreesimo capitolo relativo alla mia migrazione da OpenHAB 2.5 ad OpenHAB 3

In questo video vi mostro la soluzione che ho adottato per gestire le disconnessioni del mio sistema dal Cloud.

Utilizzando log reader ed exec binding sono riuscito a creare una rule che viene invocata in caso di disconnessione dal Cloud; questa rule non fa nient'altro che riavviare il servizio OpenHAB eseguendo un comando linux shell tramite exec binding

E' una soluzione tampone al problema, che ogni tanto mi è capitato, di trovare OPENHAB disconnesso dal cloud senza un valido motivo.

Post del forum dal quale ho preso spunto: https://community.openhab.org/t/display-myopenhab-cloud-connection-status/107008

Questo video non ha la presunzione di essere un tutorial, ma semplicemente uno step by step di quanto fatto per raggiungere l'obiettivo. La speranza è che possa essere d'aiuto a qualcuno.

Buona visione

Video di mia proprietà

My own video



0
0
0.000
0 comments