Open-source stack for building automation 2026

By the DANIAN team
Facilities teams and smart-building installers keep wiring lighting, HVAC, and sensors into vendor cloud portals that bill every month. This guide covers the open-source stack that puts the automation logic, the dashboards, and the data back in your hands, five apps, run for you, at €9 each.
The pitch is ownership, not a few saved euros. You own the rules. You own the trend history. You own the document store. We run the apps so your team does not have to run a server.
TL;DR
- Five open-source apps, a vendor-neutral engine, a device hub, dashboards, alerts, and a document store, run for you at €9 each, or €45 a month for all five.
- You own the automation logic and the data; the apps are open source and yours to export.
- Hosted instances run the brain, the screens, the alerts, and the docs, in the region you choose.
- The honest limit: local-only hardware still needs a small on-site bridge or VPN back to the hosted apps.
- Start with the layer that hurts most, dashboards or alerts for an existing setup, the control brain for a new one.
Who this stack suits
The fit here is the non-technical owner or operator who wants a building's apps run for them, a facilities manager, a small property operator, or an installer handing a site to its owner. You want the automation logic and the dashboards under your control, not metered back to you through a vendor portal.
It is not for a team happy inside a single vendor's ecosystem, and it is not a drop-in for proprietary controllers that only their maker's software can reach. Most operators run this stack beside existing equipment rather than tearing anything out.
What we run, and what stays on-site
Be clear on this before anything else. A hosted instance runs the brain, the screens, the alerts, and the documents. It reaches anything that talks over the internet, cloud-connected devices, a meter API, or a tunnel back to the building.
What a hosted instance does not do on its own is drive local-only hardware. A KNX or Modbus bus, Z-Wave or Zigbee radios, a serial controller on the building network, those live on-site. To reach them from the hosted brain you add a small on-site bridge: an edge gateway, or a VPN tunnel from the site to the apps.
So the honest split is plain. The logic, the dashboards, the alerts, and the document store are a strong fit for managed hosting. Direct control of on-prem-only hardware needs that bridge. For cloud-connected devices and for everything above the wire, owning and hosting the apps beats renting a vendor portal.
The five-app stack
Five apps cover the layers of an owned building stack. Each is open source, each is €9 a month to have run for you, and each has one honest limit worth naming up front.
OpenHAB: the automation engine
OpenHAB is a vendor- and technology-agnostic automation engine. Its rule engine fires on time and on events, and bindings connect it to a wide range of bus systems and devices. It runs on-premises by design and talks to local devices where it can, while integrating cloud platforms like Google Assistant, Alexa, and Apple HomeKit. The point for an operator is owned logic: the rules that run your building are yours, not a vendor's.
Schedules, scenes, and threshold rules live in one place, so a holiday calendar or a setback temperature is a rule you can read, not a setting buried in a vendor app. OpenHAB can also keep a history of item states, which gives you a record of what the building did and when.
What it replaces is the proprietary logic and portal of a vendor BMS. It is licensed under the Eclipse Public License 2.0, so there is no per-seat fee on the software itself. Switching effort is medium, you re-create rules and add bindings, and the payoff is automation logic you control.
The honest limit: OpenHAB is built to reach local devices on the building network. Hosted, it runs the rules and the operator screen, but driving an on-prem-only bus needs a bridge back to the site. See OpenHAB for automation for how we run it.
Home Assistant: devices and UI
Home Assistant brings a large library of device integrations together with a configurable operator interface. Where OpenHAB leans on a rule engine, Home Assistant leans on breadth of integrations and a dashboard built for daily use. Many teams run it on its own; others pair it with OpenHAB and let each do what it does best.
Its integration library spans thousands of devices and services, from smart thermostats and metering plugs to presence sensors and gateways, so mixed equipment lands on one screen. Automations are built in a visual editor or in YAML, and the same dashboards work on a wall tablet in a plant room or on a phone off-site. For a facilities team, that is one operator view instead of an app per manufacturer.
What it replaces is the vendor's smart-building app and the per-device portals that come with mixed equipment. It is licensed under the Apache License 2.0. Switching effort is low to medium for cloud-connected gear, and higher for local radios that need a bridge.
The honest limit: many integrations expect the instance to sit on the same network as the device. Hosted, you connect cloud-API devices directly and reach local devices through a site gateway or VPN. See Home Assistant for devices for how we run it.
Grafana: sensor and energy dashboards
Grafana turns time-series data into dashboards, temperature, occupancy, carbon-dioxide, and energy trends on one screen. It reads from a data source such as a time-series database and draws panels and alert rules over it. For an operator, it is the owned replacement for a vendor's reporting portal, with history you keep rather than rent.
A single board can show a week of energy use beside outdoor temperature, so a spike has context. Threshold and trend alerts can fire from the same panels, and boards can be shared read-only with a building owner who never logs into the control system. Because the data sits in a store you own, you keep years of history without paying a vendor to retain it.
What it replaces is the proprietary BMS dashboard and the energy-reporting portal. It is licensed under the AGPLv3. Switching effort is medium, you point Grafana at a data store and build the panels your team actually reads.
The honest limit: Grafana shows data, it does not gather it. You need a store behind it and something writing readings in. In this stack, OpenHAB or Home Assistant, or a meter integration, feeds the store Grafana reads. See Grafana for dashboards for how we run it.
ntfy: alerts to a phone
ntfy is a small publish-subscribe notification service. Phones subscribe to a topic; your rules or scripts publish to it; a push notification lands on the phone in a pocket. It speaks webhooks, so the rest of the stack can hand it a message without custom plumbing. For an on-call facilities team, it is owned alerting instead of a vendor's paid notification add-on.
Messages carry a priority and a title, so a high-temperature alarm looks different from a routine notice. A single phone or a whole on-call rota can subscribe, and the same topic can also reach a desktop or a chat channel. Nothing in the path depends on a vendor's notification server staying online.
What it replaces is the portal SMS or app alert that often sits behind a higher tier. It is dual-licensed under Apache 2.0 and GPLv2. Switching effort is low, subscribe a few phones and point your rules at a topic.
The honest limit: ntfy delivers, it does not decide. Something upstream, an OpenHAB or Home Assistant rule, or a Grafana alert rule, sets the condition and publishes. It has no built-in on-call schedule or escalation chain, so pair it with rules that say who gets what, and when.
Nextcloud: as-builts and manuals
Nextcloud is file sync and sharing with documents and controlled access. For a building, it is where the as-built drawings, operations and maintenance manuals, panel schedules, warranty documents, and site photos live, in one place, shared by link, with permissions you set. It replaces the scattered drives and the vendor document portal that nobody can find a login for.
Folders can be laid out per building and per system, with version history on every file, so the current panel schedule is never overwritten by accident. Share a single link with a contractor for a job, then revoke it when the work is done. A facilities team gets one place for the documents an installer would otherwise email as attachments and lose.
It is licensed under the AGPLv3. Switching effort is low, upload, organise, and share. The win is a handover pack that survives the installer leaving and the facilities manager changing.
The honest limit: Nextcloud stores and shares, it is not a maintenance-management system. It holds the manuals and the as-builts and gives controlled access, but it will not track work orders, assets, or planned maintenance. For that you would add a separate tool beside it.
How the five fit together
Read the stack as layers. OpenHAB or Home Assistant is the control brain and the operator screen. Grafana is the trend layer over the data those produce, plus any meters. ntfy is the alert pipe the brain and Grafana publish to. Nextcloud is the document layer beside all of it.
A common shape: Home Assistant or OpenHAB runs the logic and records readings into a time-series store; Grafana shows the energy and sensor trends; ntfy pushes a threshold alert to the on-call phone; Nextcloud holds the as-builts and manuals. You do not need all five on day one, start with the layer that hurts most and add the rest as they earn it.
A worked example. A small office has a rooftop heating-and-cooling unit, smart lighting, and a handful of temperature and carbon-dioxide sensors. Home Assistant reads the sensors and the lighting and writes their values into a time-series store. OpenHAB holds the setback schedule and the holiday calendar for the rooftop unit. Grafana shows the week's energy use against occupancy on one board. ntfy pings the duty manager when a zone runs hot for more than ten minutes. Nextcloud holds the unit's manual and the panel schedule for whoever picks up the call. If the rooftop unit speaks only a local protocol, it reaches the hosted brain through a small on-site gateway over a VPN.
What it costs
Five apps, €9 apiece, come to €45 a month, flat. That one figure covers the hardware, the security updates, the patching, the daily off-site backups, and email and ticket support, for all five apps, in the region you choose.
A vendor BMS portal or smart-building dashboard is usually billed per building, per point, or per feature tier. Alerts, remote access, and data history often sit behind higher tiers. The €45 here does not move when you add a building's worth of dashboards or a second person on alerts. The difference is the pricing structure, not only the price.
We will not change your resources or your bill without your say-so. The apps are open source, so your data and your automation logic stay yours to export.
The stack at a glance
| App | Price | Replaces | Team-size fit | Owned, in your region |
|---|---|---|---|---|
| OpenHAB | €9/mo | Vendor BMS logic and portal | Any site, single building up | Yes |
| Home Assistant | €9/mo | Vendor smart-building app | Smaller, mixed-device sites | Yes |
| Grafana | €9/mo | Proprietary BMS dashboards | Any operator wanting owned trends | Yes |
| ntfy | €9/mo | Portal SMS or app alerts | Any on-call facilities team | Yes |
| Nextcloud | €9/mo | Scattered drives, doc portals | Any team handing over buildings | Yes |
How to start
Pick the layer that hurts most. For an existing setup, that is usually Grafana for owned dashboards or ntfy for owned alerts. For a new building, start with the control brain, Home Assistant or OpenHAB.
Deploy one app, connect a data source or a few devices, and run it for a fortnight against your current vendor portal. Keep what earns its place. A 7-day free trial gets you the first app with no card; the longer evaluation tells you whether to move the rest.
Questions operators ask
Fit and scope
What does this open-source building-automation stack do?
It gives you an owned control brain, owned dashboards, owned alerts, and owned documents for a building. OpenHAB or Home Assistant runs the logic and the operator screen, Grafana shows sensor and energy trends, ntfy sends alerts to phones, and Nextcloud holds the as-builts and manuals.
Can managed hosting control my on-site HVAC and lighting directly?
Not on its own. A hosted instance runs the rules and the screens, but local-only hardware on the building network, KNX, Modbus, Z-Wave radios, needs a small on-site bridge or VPN back to the hosted brain. Cloud-connected devices and the dashboard layer work without one.
Is this a replacement for a full building management system?
For the logic, dashboards, alerting, and documents, yes, and you own all of it. For deep proprietary integration with a specific manufacturer's controllers, a vendor BMS may still fit better. Many operators run this open-source stack alongside existing controllers rather than ripping them out.
Who should not use this stack?
Teams with no appetite to move off a single vendor's portal, or sites whose control is entirely local hardware with no way to add a bridge. If you need one contract for proprietary controllers and firmware, a vendor agreement may suit you better than owned open-source apps.
The apps, combined
Why OpenHAB and Home Assistant both, isn't that redundant?
Usually you pick one. OpenHAB leans on a vendor-neutral rule engine and bindings across bus systems; Home Assistant leans on a large integration library and a configurable operator UI. Run Home Assistant for devices and screens, OpenHAB for cross-system logic, or just the one that fits your site.
Do I need all five apps?
No. Start with the layer that hurts most, dashboards, alerts, or the control brain, and add the rest later. Each app is €9 a month on its own, so you can run one or two and grow into the full stack only if it earns its place.
What feeds data into Grafana?
A time-series store does, and something has to write readings into it. In this stack, OpenHAB or Home Assistant, or a meter integration, records sensor and energy values, and Grafana reads them back as panels. Grafana shows data; it does not collect it by itself.
How do alerts reach my phone?
Through ntfy. A rule in OpenHAB or Home Assistant, or an alert rule in Grafana, publishes a message to an ntfy topic when a threshold trips. Phones subscribed to that topic get a push notification. ntfy is the delivery pipe; the rules upstream decide when to fire.
Cost and ownership
What does the stack cost per month?
Five apps, €9 apiece, come to €45 a month, flat. That covers hardware, security updates, patching, daily off-site backups, and email and ticket support for all five, in the region you choose. Running fewer apps costs less, there is no bundle and no minimum beyond a single app.
How does €45 a month compare to a vendor BMS portal?
A vendor portal is usually billed per building, per point, or per feature tier, with alerts, remote access, and data history often gated behind higher tiers. The €45 here does not move when you add more dashboards or a second person on alerts. Pricing structure, not just price, is the difference.
Do I own the data and the automation logic?
Yes. The apps are open source, the rules you write are yours, and your data is yours to export at any time. We run the apps for you; we do not own what runs inside them. We will not change your resources or your bill without your say-so.
Can I move the apps off DANIAN later?
Yes. Because every app in the stack is open source, you can export your configuration and data and run it elsewhere, a server you own, another host, or on-site. There is no proprietary lock-in layer between you and the software. You are renting operations, not access.
Running it, and getting started
Who patches and backs up the apps?
We do. The DANIAN team patches the apps, applies security updates, monitors them, and takes daily off-site backups, for €9 per app per month. You get a working instance and a human by email or ticket when something needs attention, rather than a patch cycle to run yourself.
What still lives on-site if you host the apps?
Any local-only hardware and its bridge. Sensors, controllers, and radios on the building network stay on-site, and a small edge gateway or VPN links them to the hosted brain. The logic, dashboards, alerts, and documents live in the hosted apps; the physical layer and its link stay at the building.
Can my installer or facilities team manage this without a developer?
For day-to-day use, yes, the operator screens and dashboards are built for non-developers. Setting up bindings, integrations, and a site bridge is installer-level work, and we help by email or ticket. You are not expected to run a patch cycle or a server; we handle that part.
How do I connect a hosted instance to on-prem devices?
With a small on-site bridge. An edge gateway or a VPN tunnel links the building network to your hosted OpenHAB or Home Assistant, so local devices appear to the hosted brain. Cloud-connected devices need no bridge, they talk to the hosted app directly over their own APIs.
How do I try the stack?
Start a 7-day free trial on one app, no card required, then give it a fortnight against your current vendor portal before you commit. Deploy the layer that hurts most first, usually dashboards or alerts, connect a data source or a few devices, and keep what earns its place.
Which app should I deploy first?
Whichever pain is loudest. For an existing setup, that is usually Grafana for owned dashboards or ntfy for owned alerts. For a new building, start with the control brain, Home Assistant or OpenHAB. You can add the other layers later, each at €9 a month.
The honest bottom line
Owning the logic, the dashboards, and the data is the reason to do this, the flat €45 is a bonus, not the headline. The engine, the device hub, the dashboards, the alerts, and the document store are open source, and each is €9 a month to have run for you.
Hosted, the apps cover the brain, the screens, the alerts, and the docs. The one caveat to keep honest is local-only hardware, which still needs a bridge to the site. If a vendor portal is metering your own building's data back to you, pick the layer that hurts most and try it.
Try managed OpenHAB hosting for 7 days
Sources



