Cloud Connector could can now report when OH local system disconnect?

Hello,
accordingly with OH 4.2 improvement Annouchment I want to ask you if now is possible to push a message notification From OH Cloud to my phone If Events in OH Cloud see that OHLocal service goes from Online to Offline ???

Will be a great feature in my opinion.

Thank for clarifications

1 Like

openHAB Cloud used to do this. That feature was turned off many years ago for technical reasons and fixing it is complex and involved. No one has volunteerered to implement it.

Cloud not reporting online/offline alerts · Issue #212 · openhab/openhab-cloud · GitHub (which you are already aware of as I see your reply is the last reply on the thread).

The new notification stuff is separate from the problem that caused the feature to be removed in the first place. It doesn’t change the fact that the logic to detect when the local OH instance has gone offline in the first place in as distributed deployment of the cloud server is not yet implemented and not easy to implement.

But as with all things OH, it only awaits a volunteer to implement it.

When we were having cloud connection problems last year, I wrote a tutorial to detect a disconnect event in the log and then test to see if the reconnection worked properly. It’s no longer necessary since the issue has been fixed.

If you’re experiencing regular connection problems, you could adapt this solution to send a notification through a service that doesn’t require the cloud connector (e.g. email, Telegram).