DEV Community

Perch D
Perch D

Posted on • Originally published at iotforall.hashnode.dev

Smart Building Automation: HVAC, BMS, Lighting, Elevators, and Occupancy Data

Smart buildings are integration-heavy systems.

A single facility can include HVAC units, CRAC systems, lighting controllers, elevators, escalators, meters, access control systems, occupancy sensors, PLCs, gateways, local controllers, vendor APIs, and building management software.

Each subsystem may work well on its own. The real engineering challenge is making them work together.

For developers and system integrators, smart building automation is not only about connecting devices. It is about building a reusable architecture for data modeling, event processing, monitoring, control, dashboards, alerts, and workflow integration.

Platforms such as Iotellect show how different building systems can be unified through one low-code IoT/IIoT architecture instead of many disconnected dashboards.

The integration problem

Most smart building projects start with fragmented systems.

HVAC data may come from BACnet controllers. Lighting data may come from a separate lighting control system. Elevator alarms may come from a vendor platform. Occupancy data may come from sensors, Wi-Fi analytics, access control, or meeting room systems.

This creates several problems:

  • Different naming conventions
  • Different protocols
  • Different alarm logic
  • Different dashboards
  • Different user roles
  • Different historical data stores
  • Limited cross-system automation

For example, a high-temperature alarm is more useful when the system also knows whether the zone is occupied, whether lighting is active, whether the AHU is running, and whether the area is comfort-critical.

That is why smart building automation needs a shared data model.

A basic smart building data model

A reusable building model usually starts with a hierarchy:

Site
 └── Building
      └── Floor
           └── Zone
                └── Asset
                     └── Point
Enter fullscreen mode Exit fullscreen mode

Example:

{
  "site": "Business Center A",
  "building": "Tower 1",
  "floor": "Floor 08",
  "zone": "Open Office East",
  "asset": {
    "id": "AHU-08-EAST",
    "type": "air_handling_unit",
    "protocol": "BACnet/IP",
    "points": [
      "supply_air_temperature",
      "return_air_temperature",
      "fan_status",
      "damper_position",
      "alarm_state"
    ]
  }
}
Enter fullscreen mode Exit fullscreen mode

The goal is to avoid one-off integrations. Once assets and points are normalized, dashboards, rules, alarms, reports, and APIs can be reused across buildings.

HVAC and CRAC monitoring

HVAC and CRAC systems are among the most important data sources in smart buildings. They affect comfort, air quality, cooling reliability, and energy consumption.

With Iotellect HVAC and CRAC monitoring, building teams can collect and structure data from air handling units, chillers, fans, compressors, cooling systems, sensors, and controllers.

Typical telemetry includes:

{
  "asset_id": "CRAC-DC-01",
  "asset_type": "crac_unit",
  "zone": "Data Room 1",
  "supply_temp_c": 18.9,
  "return_temp_c": 24.7,
  "humidity_percent": 46,
  "fan_status": "running",
  "cooling_stage": 2,
  "alarm": false
}
Enter fullscreen mode Exit fullscreen mode

From an architecture perspective, HVAC automation usually needs:

  • Protocol adapters
  • Normalized point names
  • Real-time state detection
  • Alarm rules
  • Historical trend storage
  • Maintenance workflows
  • Integration with occupancy and energy data

The value is not only seeing HVAC data. The value is correlating HVAC data with how the building is actually being used.

BMS as the supervisory layer

A building management system is usually the central supervisory layer for facility automation.

A traditional BMS may focus on local monitoring, alarms, schedules, and operator screens. A modern BMS also needs to behave like an integration backend.

A building management system by Iotellect can connect field devices, controllers, dashboards, histories, alarms, reports, users, and external systems into one operational layer.

A practical BMS architecture looks like this:

Field devices
  ↓
Controllers and gateways
  ↓
Protocol adapters
  ↓
Normalized building model
  ↓
Rules, alarms, histories, dashboards, APIs
  ↓
Facility workflows and external systems
Enter fullscreen mode Exit fullscreen mode

The important design question is where automation logic should run.

Some rules should run locally because they require low latency or resilience. Other rules can run centrally because they support portfolio analytics, reporting, optimization, and cross-site visibility.

A hybrid pattern is often the most practical:

Edge layer:
- local equipment monitoring
- safety-critical alarms
- offline fallback logic
- local control rules

Central layer:
- multi-site dashboards
- analytics
- reporting
- user management
- API integrations
Enter fullscreen mode Exit fullscreen mode

Lighting management as event-driven automation

Lighting is often treated as a schedule-based system. In smart buildings, it should be event-driven.

With Iotellect lighting management, lighting controllers can be connected with occupancy data, daylight sensors, room booking systems, security modes, and energy rules.

Example rule:

rule: meeting_room_lighting
when:
  occupancy: detected
  booking_status: active
  daylight_lux: below_300
then:
  lighting_scene: meeting_mode
  brightness_percent: 75
else:
  delay_minutes: 10
  lighting_scene: energy_saving
Enter fullscreen mode Exit fullscreen mode

Lighting automation can react to:

  • Occupancy
  • Daylight level
  • Time of day
  • Room bookings
  • Cleaning schedules
  • Security modes
  • Emergency events
  • Energy-saving policies

This makes lighting more efficient and reduces manual facility work.

Elevator and escalator management

Elevators and escalators are often managed separately, but they are important connected assets.

With Iotellect elevator and escalator management, facility teams can monitor operating status, trip counts, door cycles, downtime events, fault codes, and maintenance needs.

Example telemetry:

{
  "asset_id": "ELV-T1-04",
  "asset_type": "elevator",
  "status": "in_service",
  "current_floor": 12,
  "direction": "up",
  "door_state": "closed",
  "trip_count_today": 847,
  "fault_code": null,
  "maintenance_required": false
}
Enter fullscreen mode Exit fullscreen mode

This data becomes more valuable when connected with the broader building model.

For example:

  • Occupancy data can show traffic peaks.
  • Fault events can trigger maintenance workflows.
  • Downtime can be correlated with tenant complaints.
  • Energy data can support efficiency analysis.
  • Emergency workflows can include elevator status.

In a smart building architecture, elevators and escalators should have telemetry, alarms, history, dashboards, and workflow integration like any other operational asset.

Occupancy monitoring as a control signal

Occupancy data is one of the most important signals in smart building automation.

With Iotellect occupancy monitoring, buildings can collect occupancy data from sensors, access systems, Wi-Fi analytics, smart cameras, meeting room tools, or other sources.

Example model:

{
  "zone_id": "F08-MEETING-03",
  "capacity": 12,
  "occupancy_count": 7,
  "occupancy_state": "occupied",
  "confidence": 0.92,
  "source": "mmwave_sensor",
  "timestamp": "2026-06-23T10:15:00Z"
}
Enter fullscreen mode Exit fullscreen mode

Occupancy data can support:

  • HVAC optimization
  • Lighting automation
  • Cleaning schedules
  • Room booking analysis
  • Space utilization reporting
  • Security workflows
  • Energy reduction

The important detail is confidence.

Not every occupancy source has the same accuracy or latency. A strong occupancy model should include source, timestamp, confidence, and aggregation logic.

Example:

{
  "zone_occupied": true,
  "confidence": 0.86,
  "sources": ["mmwave_sensor", "booking_system", "wifi_analytics"]
}
Enter fullscreen mode Exit fullscreen mode

This helps automation rules avoid depending blindly on one sensor.

Reference architecture

A practical smart building automation platform usually has seven layers:

1. Device layer
   HVAC, CRAC, lighting, elevators, meters, sensors, controllers

2. Connectivity layer
   BACnet, Modbus, OPC UA, MQTT, SNMP, REST APIs, vendor gateways

3. Normalization layer
   Asset types, point names, units, metadata, site hierarchy

4. Event layer
   Alarms, thresholds, derived states, rule triggers, notifications

5. Storage layer
   Time-series data, event logs, reports, audit trails

6. Application layer
   Dashboards, HMI screens, mobile views, reports

7. Integration layer
   APIs, ITSM, CAFM, ERP, BI, energy systems, security platforms
Enter fullscreen mode Exit fullscreen mode

This architecture allows developers to create reusable templates:

Building template
 ├── Floor template
 ├── Zone template
 ├── AHU template
 ├── Lighting group template
 ├── Elevator template
 └── Occupancy sensor template
Enter fullscreen mode Exit fullscreen mode

Templates are important because most buildings are different, but many automation patterns repeat.

Event processing example

Smart building automation is usually event-driven. A useful event object should include context, severity, duration, asset data, and recommended action.

{
  "event_type": "temperature_threshold_exceeded",
  "severity": "warning",
  "asset_id": "AHU-08-EAST",
  "zone_id": "F08-OFFICE-EAST",
  "value": 27.8,
  "threshold": 26.0,
  "duration_seconds": 900,
  "recommended_action": "Check cooling valve and occupancy schedule"
}
Enter fullscreen mode Exit fullscreen mode

Rules should also reduce alert noise.

Example:

rule: suppress_comfort_alarm_when_unoccupied
when:
  asset_type: hvac
  alarm_type: comfort_temperature_high
  zone_occupancy: unoccupied
  severity: warning
then:
  suppress_notification: true
  log_event: true
  reevaluate_after_minutes: 30
Enter fullscreen mode Exit fullscreen mode

Without correlation, smart buildings generate noise. With correlation, events become actionable.

Security and access control

Smart building platforms interact with physical infrastructure, so access control is critical.

A production-ready architecture should include:

  • Role-based access control
  • Audit logs
  • Secure API access
  • Network segmentation
  • Encrypted communication where supported
  • Controlled operator actions
  • Change history for dashboards and rules

Example access model:

Energy manager:
- view energy dashboards
- export reports
- view HVAC trends

Facility operator:
- acknowledge alarms
- adjust approved setpoints
- create maintenance actions

System integrator:
- configure devices
- update templates
- manage protocol adapters
Enter fullscreen mode Exit fullscreen mode

Not every user should have the same level of control.

Conclusion

Smart building automation is not about adding another dashboard. It is about connecting building systems into a reusable operational architecture.

HVAC, BMS, lighting, elevators, and occupancy data all describe different parts of the same environment. When these systems share one data model, developers can build dashboards, alarms, reports, APIs, and automation rules that scale across buildings.

The strongest architectures are built around:

  • Normalized data
  • Reusable templates
  • Event processing
  • Secure access
  • API integration
  • Real facility workflows

For teams comparing smart building solution architectures, Iotellect provides useful reference examples across HVAC, building management, lighting, elevator management, and occupancy monitoring.

Top comments (0)