Managing Multiple Remote Sites (300+) via Openhab

Hi All,

The need is to manage some process on multiple remote servers which are probably going to be in more than 300 different locations. They are going to be capable of communicating via MQTT in two way.

Can Openhab handle such big scale?
Networking, as all remote sites are going to be connected via s2s vpns, is not likely to be an issue.

comments and opinions are highly appreciated.

Thanks
Kerem

Thanks for the info

Well, it’s not a question of how many sites to control, but more how many things (and therefor items) there will be in sum. openHAB itself is not limited in any way, but when there are tens of thousands of items to control thousands of lights , shutters and so on it may become laggy at some point.

This really isn’t a home automation problem. There are IT monitoring type systems which will be way better at monitoring remote servers and processes than openHAB. I use Zabbix to monitor my home lab but there are many good options.

Well… here is MY opinion.

A project like this would get me off my ASS and implement OpenHAB in a Kubernetes Cluster.

Horizontal Scalability would be limited by OH only being viable in a practical sense as a single k8s pod.

A trickier problem is your management Dashboard.

I would be A LOT of work (but possible) to implement a dashboard in the OH UI.

What do you mean by “multiple servers” and “300 different locations”

OH is kind of a Monolith. If you want MUTIPLE instances of OH, one per server, That is a whole different kettle of fish. YOU would have to DEVEOP some sort of Control Plane where a NEW Dashboard would need to be developed. Also sounds more like Kafka than MQTT

This is NOT an out of the box OpenHAB deployment.

Sure would be fun.

It does seem you have not given enough context and clarity on the overall use case and the final goal. Without having a better understanding of what you are really looking to accomplish this can go 1 to 1000 different ways and 10,0000 different recommendations.
For example, are you asking about having 1 or more mqtt devices from 300 different locations. connecting to a single instance of broker and then all of them reporting up a on central OpenHab instance?
Or 300 remote OpenHab server instances managing each remotes sites automation needs and Broker then having the remote OpenHab servers up linking to a centralized Primary OpenHab instance for monitoring and overview?
The scope of work may be somewhat reduced if all 300 sites are going to have basically the same devices and automation cloning much of it could be done pretty easily otherwise you will spend huge amounts of time building out each site’s dashboard and configurations.
But as others have also mentioned it would be a fun and interesting project for sure.

1 Like