Connect your building automation system to Home Assistant — no YAML, no hassle.
Monitor sensors, control outputs, and automate your BACnet/IP devices through a simple GUI.
HACS Compatible · GUI-only setup · Real-time COV updates · ASHRAE 135 compliant
Project page · Nederlands · Deutsch
This integration is free and stays free. It is built and maintained in spare time: new features, support for more devices, answering issues and testing against real controllers. How much time goes into it depends on support from the people who use it. If it saves you time or money, please consider sponsoring or buying me a coffee.
No budget? A star helps too. It costs nothing, takes one click on the ★ Star button of the GitHub repository and helps other Home Assistant users find the integration.
Contents: What it does · Features · Safety · Screenshots · Object types · Tested devices · Installation · Getting started · Configuration · Entity attributes · Device information · How writes work · Examples · Troubleshooting · Privacy · Requirements · Contributing · License
This custom integration lets Home Assistant talk to BACnet/IP devices — the protocol used in professional building automation for HVAC, lighting, access control, and energy management.
In plain terms: if your building has BACnet controllers, thermostats, sensors, or actuators, this integration brings them into Home Assistant so you can monitor and control them from your dashboard, automations, and scripts.
No YAML configuration required. Everything is set up through the Home Assistant GUI.
- Three-step setup wizard — network → discover devices → select objects
- Automatic device discovery — finds BACnet devices on your network via Who-Is / I-Am
- Cross-subnet support — reach devices on other VLANs through BBMD / Foreign Device Registration
- Real-time updates via COV — Change of Value subscriptions for instant state changes, with automatic polling fallback
- Configurable COV increment — control how sensitive COV notifications are for analog objects
- Read and write — monitor sensors and control outputs with proper BACnet Priority Array handling
- Device identity — automatically reads vendor name, model, and firmware version from the device
- Custom device naming — choose your own device name during setup
- Flexible entity naming — use BACnet
objectNameordescriptionfor display names - Per-object customization — override the entity type or COV setting of individual objects (e.g. make a sensor into a number)
- Selective import — only import the objects you actually need
- Configurable write priority — per-device select entity to change the BACnet write priority (disabled by default)
- Relinquish & one-off writes —
bacnet.relinquishandbacnet.write_valueservices for full Priority Array control - Alarms — an Alarm binary sensor and an Active alarms sensor per device, plus a
bacnet_alarmevent for automations - Any BACnet property — read or write any property (e.g.
minimumOnTime, property 67) withbacnet.read_propertyandbacnet.write_value, also on objects you didn't import - Trend logs — read the records a controller logged with
bacnet.read_trend_log - Schedules — BACnet Schedule objects as a sensor, with
bacnet.read_scheduleandbacnet.write_scheduleservices for the weekly schedule, exceptions and default - Device limits & state texts — number limits from
minPresValue/maxPresValue/resolution, multi-state objects as a select with theirstateTextlabels - Climate with a real room temperature — pair a setpoint with a separate temperature object
- Automatic outage recovery — detects network outages, reconnects automatically and tells you in Repairs when a device stays unreachable
- Reconfigure — change IP, port, BBMD or the device address without re-adding the integration
- Diagnostics — a diagnostics download and health sensors for troubleshooting
- Efficient on the network — batched ReadPropertyMultiple reads that adapt to what the device can handle
- English and Dutch user interface
- Usage statistics — ticked by default on the setup page, existing installations are asked once; helps grow the tested devices list. See Privacy and usage statistics
What this integration writes to your devices, so you know before trying it on a running building:
- Writes only on your action — Home Assistant writes a value only when you (or an automation) switch, set, or call a service. Discovery, polling and COV subscriptions don't change any values.
- One exception: COV increment — if you set the COV increment option above
0, it is written to thecovIncrementproperty of each imported analog object (with COV) whose device value differs. The default0leaves the device's own value alone. - Priority 16 by default — entities write at the lowest priority, so anything at 1–15, including a Manual Operator command at 8, still wins. The Write Priority select offers 8, 9 and 12–16.
- Services can go higher —
bacnet.write_valueandbacnet.relinquishaccept any priority from 1 to 16. A write at 1–7 outranks a Manual Operator command; use those levels only on purpose. - Turning off is a command — switching off writes
inactiveat the same priority; it does not release the output. Usebacnet.relinquishto hand control back. - Schedules have no priority —
bacnet.write_schedulechanges the Schedule object's configuration itself. It refuses to remove existing exceptions unless you setallow_removal, and reads the result back. See Schedules. - No read-only mode yet — to keep an object read-only, import it as a
sensororbinary_sensor(see Customize objects), or leave it out. Services can still write to any object on the device.
Demo: a simulated air handling unit ("AHU 1"), not a real installation.
![]() |
![]() |
| Setup: network settings | Setup: pick the objects to import |
![]() |
![]() |
| BACnet attributes on every entity | Extra properties per object |
![]() |
![]() |
| Setpoint as a climate entity | Active alarms from the controller |
| BACnet Object | Default entity | Writable? |
|---|---|---|
| Analog Input | Sensor | No |
| Analog Output | Number | Yes |
| Analog Value | Sensor | Auto-detected |
| Binary Input | Binary sensor | No |
| Binary Output | Switch | Yes |
| Binary Value | Switch | Auto-detected |
| Multi-State Input | Sensor | No |
| Multi-State Output | Number | Yes |
| Multi-State Value | Sensor | Auto-detected |
| Schedule | Sensor (current value) | Via bacnet.write_schedule |
| Trend Log | Sensor (number of records) | No — records via bacnet.read_trend_log |
Value objects may or may not support writes — the integration auto-detects this by checking for a Priority Array during discovery.
Any object type can be changed to another entity type per object (see Customize objects). Multi-state objects can also become a select that shows their
stateTextlabels (e.g. Off / Heat / Cool).
Want to know if your controller works? The list of tested devices shows every BACnet device that users have run with this integration: manufacturer, model, firmware, integration version and what was confirmed to work. You can search and filter it by manufacturer or model.
BACnet is a standard, so a device that isn't listed will most likely work too. The list only shows what has actually been tried. Also available in Nederlands and Deutsch, or as a plain table on GitHub.
Works on your device? Send a device report with the manufacturer, model and what you've used; it's added to the list once checked. Installations that opted in to usage statistics add to the list too.
- Click the button above, or:
- Open HACS → Integrations → ⋮ → Custom repositories
- Paste this repository URL and select category Integration
- Click Download
- Restart Home Assistant
Copy the custom_components/bacnet folder into your Home Assistant config/custom_components/ directory and restart.
Go to Settings → Devices & Services → Add Integration and search for BACnet IP.
| Setting | What it does | Default |
|---|---|---|
| Local IP address | Which network interface to use (leave empty for auto-detect) | Auto |
| Local port | BACnet/IP UDP port | 47808 |
| Target device address | Direct IP of a specific device (leave empty to discover all) | — |
| Device ID | BACnet Device Object Instance number (only needed with target address) | Auto |
| Enable BBMD | Turn on if devices are on a different subnet/VLAN | Off |
| BBMD address | IP:port of the BBMD router | — |
| BBMD TTL | Foreign device registration lifetime in seconds | 900 |
The integration discovers BACnet devices on the network and shows them in a dropdown. Pick the one you want to add.
- Enter a device name (pre-filled with the BACnet device name — you can change it)
- Pick what to import. Nothing is selected yet; combine any of these:
- Import all objects of these types: tick e.g. Analog Input (40) to import every AI
- BACnet objects: a searchable list; type an abbreviation (
AI,BO 3,MSV), an instance or a name to find single objects - Select all objects: everything on the device
- Click Submit — your entities are created and data starts flowing immediately
After setup, click Configure on the integration card to adjust:
| Option | What it does | Default |
|---|---|---|
| Enable COV | Use Change of Value subscriptions for real-time updates. Present values use the standard SubscribeCOV service, which nearly all controllers support; SubscribeCOVProperty is only used for the optional live metadata properties below. |
On |
| COV increment | Minimum value change before a COV notification is sent (analog objects only). Set to 0 to use the device default. |
0 (device default) |
| Polling interval | How often all objects are polled, in seconds (minimum 10). Polling always runs — COV only adds faster updates in between. | 30 |
| Use description | Show BACnet description (property 28) instead of objectName as entity name |
Off |
| Live metadata properties | Opt-in per property (object_name, description, units) for a live push update via BACnet's SubscribeCOVProperty service, instead of periodic re-reads. Each one is a separate COV subscription on the device — leave off unless you need instant updates and know your device supports it. |
None |
| Share usage statistics | Once a day, send this device's manufacturer, model, firmware and a few counts. See Privacy and usage statistics for every field. Also on the last setup page, ticked there by default. | On for new devices |
| Rescan device | Re-read the device's object list to add or remove objects. The next page has three fields, all empty: Objects to add (objects not imported yet, marked NEW), Add all objects of these types (with how many), and Objects to remove. Both object fields are searchable by abbreviation (AI, BO 3), instance or name. Submitting without changes keeps the selection; objects the device no longer has are dropped. |
— |
After this page comes Customize objects. Changes take effect immediately — the integration reloads automatically.
The second options page has a searchable list of your objects. Pick the ones you want to change; objects that already have a custom setting are already picked. The next page shows, for just those objects:
- type — the Home Assistant entity type (
sensor,binary_sensor,switch,number,climate, orselectfor multi-state objects) - COV — use COV for this object, overriding the device-wide Enable COV setting
- temperature sensor (climate objects only) — the object that provides the room temperature. Without one, the climate entity shows its setpoint as the current temperature. Just changed an object to climate? Save, then open the options again to pick its sensor.
- extra properties — other BACnet properties of the object to show as their own entity, picked from a list that fits the object type. See Extra properties as entities.
- other properties — any other property, typed by name (
inactiveText) or number, separated by commas. These become read-only sensors (unless the extra properties table lists them for that object type).
Objects not picked use the defaults. Settings of objects you remove with a rescan are remembered and come back if you add the object again.
The default type depends on whether a Value object is commandable: a non-commandable Binary Value is a
binary_sensor, a commandable one aswitch. Versions before 1.0.47 could save the wrong type when you saved the options; if that happened, a Repairs message offers to reset those objects or keep them. Keep them when you chose the type on purpose, for example a Binary Value without a Priority Array that still accepts writes; types you set in the options are never flagged again.
To change the local IP address, port, BBMD settings or the device's address, open the integration's ⋮ menu and choose Reconfigure. Entities, their history and all options are kept.
A Write Priority select entity (under Configuration on the device page) is added to every BACnet device. It is disabled by default to keep dashboards clean.
To use it:
- Go to Settings → Devices & Services → BACnet → your device
- Find the Write Priority entity and enable it
- Use the dropdown to select your desired priority level
Available levels: 8 (Manual Operator), 9, 12, 13, 14, 15, 16 (default — lowest)
BACnet Priority Array levels run 1–16. Priority 16 is the safest default. Use level 8 if your BAS requires Manual Operator override. The selected priority persists across HA restarts.
By default, changes to an object's metadata on the BACnet device (objectName, description, units, stateText, limits) are picked up automatically within about an hour (or sooner if the object also has active COV traffic) — see issue #26. No action is needed for this baseline behavior. The Refresh object metadata button (under Configuration on the device page) checks immediately.
If you need those changes reflected immediately, enable one or more properties under Live metadata properties in Configure. This uses BACnet's SubscribeCOVProperty service (ASHRAE 135-2012 Addendum ar) to get a live push the moment the property changes on the device — but:
- It's a separate COV subscription per property, per object. Enabling all three on 20 objects adds 60 extra subscriptions on top of the 20 already used for live values — many devices cap total COV subscriptions well below that.
- Not all devices implement this addendum. Unsupported properties/devices silently fall back to the default periodic behavior above — no error, no user action needed.
Every entity exposes additional BACnet metadata as state attributes:
| Attribute | Description |
|---|---|
bacnet_object_type |
BACnet object type name (e.g. "Analog Input") |
bacnet_instance |
BACnet object instance number |
bacnet_commandable |
Whether this object supports writes |
bacnet_units |
Engineering units (e.g. "degrees-celsius") |
bacnet_description |
BACnet description property |
bacnet_status_flags |
BACnet status flags array |
bacnet_in_alarm |
true while the object's IN_ALARM status flag is set |
bacnet_update_method |
How this entity is updated: COV or polling |
bacnet_cov_increment |
Configured COV sensitivity (analog objects with active COV only) |
bacnet_state_text |
The stateText label of the current state (multi-state objects only) |
Only bacnet_status_flags, bacnet_in_alarm and bacnet_state_text are stored in the recorder history — the other attributes don't change and aren't stored again with every state change.
An entity is unavailable when the device doesn't respond. Status flags (in-alarm, FAULT, overridden, out-of-service) don't change availability — some gateways report FAULT on every object while their values are live. Check bacnet_status_flags to see them.
Analog sensors keep the full precision of the device value; Home Assistant shows 2 decimals by default, which you can change per entity.
Every device also gets diagnostic sensors (under Diagnostic on the device page):
| Sensor | Enabled by default |
|---|---|
| Last successful poll | Yes |
| COV subscriptions | No |
| Consecutive failed polls | Yes |
They stay available while the device is offline, which is exactly when they're useful.
Alarms the controller already tracks are shown in Home Assistant. Nothing is configured or acknowledged on the device.
- Alarm (binary sensor, per device) — on while any imported object has its IN_ALARM status flag set, or the device reports an active alarm.
- Active alarms (sensor, per device) — the number of active alarms the device reports through BACnet
GetEventInformation, polled with every poll. Thealarmsattribute lists every entry the device reports, including objects that are back tonormalbut still wait for an acknowledgement at the BMS (those don't count as active; at most 50 entries are listed, active ones first, withalarms_truncated: truewhen there are more):object_type,instance,object_name,event_state(high-limit,low-limit,offnormal,fault, …) and which transitions areacknowledged. Objects you didn't import are included too. Unknown means the device doesn't supportGetEventInformation; the Alarm binary sensor still works from the status flags. bacnet_alarmevent — fired when an alarm appears, changes state or clears (event_state: normal). Event data:device_id(BACnet device instance),object_type,instance,object_name,event_state,previous_event_state. Alarms that are already active when Home Assistant starts don't fire an event.
GetEventInformation doesn't carry the alarm message text; that only exists in event notifications sent to the controller's notification recipients, which this integration doesn't receive.
The integration automatically reads device identity from BACnet during discovery:
- Manufacturer — from BACnet
vendorName(property 121) - Model — from BACnet
modelName(property 70) - Software version — from
applicationSoftwareVersion - Firmware version — from
firmwareRevision
This information appears in the Home Assistant device registry, so you can see exactly what hardware you're working with.
All writes to commandable objects use the BACnet Priority Array (ASHRAE 135):
- Turn ON / Set value → writes at the configured priority level (default: 16)
- Turn OFF → writes
inactive(0) at the same priority level — this commands the output off, it doesn't release it - Climate → Off → relinquishes the setpoint (writes Null), so the device's own schedule or Relinquish Default takes over
The priority level is controlled by the Write Priority select entity on the device (disabled by default — see Configuration options above). Number entities use the object's minPresValue, maxPresValue and resolution as limits and step when the device provides them.
If the device rejects a write, Home Assistant shows an error message instead of silently keeping the old state.
Binary outputs use the Enumerated BACnet type (0 = inactive, 1 = active), compliant with ASHRAE 135.
| Service | What it does |
|---|---|
bacnet.relinquish |
Release Home Assistant's command on an object (write Null) so lower priorities or the Relinquish Default take over. Optional priority (1–16), default: the device's Write Priority. |
bacnet.write_value |
Write a value once at a chosen priority, without changing the device's Write Priority setting. Binary objects: 0 = inactive, 1 = active. With property, writes any other property instead (no priority). |
bacnet.read_property |
Read any property of an object and return it as response data. |
bacnet.read_trend_log |
Read the records of a Trend Log object on a device. See Trend logs. |
bacnet.relinquish works on BACnet switch, number and climate entities:
action: bacnet.relinquish
target:
entity_id: switch.ahu_1_supply_fan
data:
priority: 8Entities show an object's present value. To read or change any other property — a fan's minimum run time (minimumOnTime, property 67), an alarm limit (highLimit), outOfService — use bacnet.read_property and the property field of bacnet.write_value. The property can be given by name (minimumOnTime or minimum-on-time) or by number (67).
action: bacnet.read_property
target:
entity_id: switch.ahu_1_ventilation_fan
data:
property: minimumOnTime
response_variable: resultreturns {"switch.ahu_1_ventilation_fan": {"object": "4:3", "property": "minimumOnTime", "value": 300}}.
action: bacnet.write_value
target:
entity_id: switch.ahu_1_ventilation_fan
data:
property: minimumOnTime
value: 600Writes to other properties never carry a priority; only the present value has a Priority Array. Values are sent in the property's own BACnet type. Writing a property other than the present value changes the object's configuration, so it is only allowed for administrators.
Objects you didn't import: pick the BACnet device in the device field (instead of a target entity) and add object_type (name such as analog-value or trend-log, or the number) and instance. This is only allowed for administrators, because it reaches every object on the device.
action: bacnet.read_property
data:
device: 0123456789abcdef0123456789abcdef
object_type: analog-value
instance: 12
property: highLimit
response_variable: resultIf the device refuses (for example unknown-property), the action fails with the device's error.
For properties you want to see or change from the dashboard, no automation or template is needed: in Configure → Customize objects, tick the object and pick its extra properties. Each becomes its own entity on the device, named after the object and the property (e.g. Ventilation fan Minimum On Time), and is read with every poll.
| Property | Entity | Objects |
|---|---|---|
| Minimum On Time, Minimum Off Time | number (s) | Binary Output / Value |
| Time Delay | number (s) | analog, binary, multi-state |
| High Limit, Low Limit, Deadband, COV Increment | number (object's unit) | analog |
| Relinquish Default | number (object's unit) | Analog Output / Value |
| Out Of Service | switch | analog, binary, multi-state, Schedule |
| Event State, Reliability | sensor | analog, binary, multi-state (Reliability also Schedule) |
| Change Of State Count | sensor | binary, multi-state |
| Elapsed Active Time | sensor (s) | binary |
Targeting one of these entities with bacnet.write_value or bacnet.read_property uses its property, so property can be left out.
Properties you type under other properties become read-only sensors, unless the table above lists them for that object type. Writable ones (number, switch) are under Configuration on the device page, read-only ones under Diagnostic. A property the object doesn't have shows as unknown.
Controllers log values in Trend Log objects, so changes between two polls aren't lost. Trend Logs show up in the object list of the setup wizard and the rescan; imported, each becomes a sensor with the number of records it holds (attribute bacnet_log_enabled tells whether it is logging). bacnet.read_trend_log reads the records with BACnet ReadRange.
| Field | Meaning |
|---|---|
| target | A Trend Log sensor |
device + instance |
Instead of a target: the BACnet device and the Trend Log's instance number, for a Trend Log you didn't import (administrators only) |
start |
Optional. Records from this time on. Without it, the most recent records. |
count |
Maximum number of records, 1–1000 (default 100) |
action: bacnet.read_trend_log
target:
entity_id: sensor.ahu_1_supply_temperature_log
data:
start: "{{ now() - timedelta(hours=24) }}"
count: 500
response_variable: trendreturns {"sensor.ahu_1_supply_temperature_log": {"instance": 4, "records": [{"time": "2026-10-19T10:00:00", "value": 21.5}, …]}}, oldest first. Only records with a time and a value are returned: log-status changes, time changes, failures and buffer-cleared markers are left out. Times are the controller's local time, without a time zone.
A BACnet Schedule object is imported as a sensor showing the value the schedule currently commands. The schedule itself is read and changed with two services that target that sensor:
| Service | What it does |
|---|---|
bacnet.read_schedule |
Returns the schedule as response data: weekly_schedule, exception_schedule, calendars (the dates of calendars the exceptions refer to), schedule_default, effective_period, controlled_objects, value_type, priority_for_writing. |
bacnet.write_schedule |
Changes weekly_schedule, exception_schedule, schedule_default and/or effective_period, in the same shape read_schedule returns. Fields you leave out are not touched. The schedule is read back afterwards and the action fails if the device rejected the change or stored something different. |
action: bacnet.write_schedule
target:
entity_id: sensor.ddc_heating_schedule
data:
weekly_schedule:
monday:
- { time: "06:30:00", value: 21.5 }
- { time: "22:00:00", value: null } # null = back to the default
exception_schedule:
- period: { date: "2026-12-25" }
priority: 10
time_values:
- { time: "00:00:00", value: 16 }
response_variable: schedule- Weekly schedule — only the weekdays you pass are changed (one write per day). Pass all seven days to send the week as a single write, which some devices require.
- Exception schedule — always replaces the complete list. To protect the controller, the action fails (and lists them) if that would remove exceptions the device currently has. Pass the full list including the ones to keep, or set
allow_removal: trueif removing them is what you want. Aperiodis one ofdate,date_range(start/end),week_n_day(month,week_of_month,weekday) orcalendar_reference(Calendar object instance). - Dates — write
"YYYY-MM-DD", or{year, month, day, weekday}wherenullmeans any. Dates are always returned in the second form, with raw BACnet numbers (month 13/14 = odd/even months, day 32 = last day of the month, weekday 1 = Monday). - Values are written in the schedule's own datatype (
value_type).
Complete automations for common tasks. Replace the entity IDs with your own. The examples use the automation syntax of Home Assistant 2024.10 and newer.
Command an area to occupied while a calendar event runs, and release the command when it ends so the controller's own schedule takes over again. The occupancy object here is a Multi-State Output (a number entity); check its bacnet_state_text attribute for which value means occupied on your device.
alias: Meeting room occupied during calendar events
triggers:
- trigger: calendar
event: start
entity_id: calendar.meeting_room
id: start
- trigger: calendar
event: end
entity_id: calendar.meeting_room
id: end
actions:
- choose:
- conditions:
- condition: trigger
id: start
sequence:
- action: bacnet.write_value
target:
entity_id: number.meeting_room_occupancy
data:
value: 1 # occupied on this device
priority: 11
default:
- action: bacnet.relinquish
target:
entity_id: number.meeting_room_occupancy
data:
priority: 11 # release the same priority you wrote atAlways relinquish at the priority you wrote at. Turning a switch off or writing 0 commands the object off; only bacnet.relinquish releases it.
Set a comfort setpoint in the morning and hand control back to the controller in the evening. Turning a BACnet climate entity off relinquishes its setpoint.
alias: Office comfort setpoint on weekdays
triggers:
- trigger: time
at: "07:00:00"
id: "on"
- trigger: time
at: "18:00:00"
id: "off"
conditions:
- condition: time
weekday: [mon, tue, wed, thu, fri]
actions:
- if:
- condition: trigger
id: "on"
then:
- action: climate.set_temperature
target:
entity_id: climate.office_setpoint
data:
temperature: 21.5
else:
- action: climate.set_hvac_mode
target:
entity_id: climate.office_setpoint
data:
hvac_mode: "off"Entities become unavailable when their device doesn't answer. After 10 failed polls a message also appears in Settings → Repairs; this automation notifies you sooner.
alias: BACnet device offline
triggers:
- trigger: state
entity_id: sensor.ahu_1_supply_temperature
to: unavailable
for: "00:05:00"
actions:
- action: notify.notify
data:
message: "AHU 1 is not responding to BACnet requests."alias: BACnet alarm notification
triggers:
- trigger: event
event_type: bacnet_alarm
actions:
- action: notify.notify
data:
message: >-
{% if trigger.event.data.event_state == 'normal' %}
Alarm cleared: {{ trigger.event.data.object_name }}
{% else %}
Alarm: {{ trigger.event.data.object_name }} is {{ trigger.event.data.event_state }}
{% endif %}Instead of overriding the controller, add each calendar event to its Schedule object as an exception. The controller then knows about the event in advance, so features like optimal start can prepare the space. This automation adds the exception 12 hours before the event and removes it when the event ends.
alias: Calendar events as BACnet schedule exceptions
triggers:
- trigger: calendar
event: start
entity_id: calendar.meeting_room
offset: "-12:00:00"
id: add
- trigger: calendar
event: end
entity_id: calendar.meeting_room
id: remove
actions:
- action: bacnet.read_schedule
target:
entity_id: sensor.meeting_room_schedule
response_variable: schedule
- variables:
event_start: "{{ trigger.calendar_event.start }}"
event_end: "{{ trigger.calendar_event.end }}"
current: "{{ schedule['sensor.meeting_room_schedule'].exception_schedule or [] }}"
- if:
- condition: trigger
id: add
then:
- action: bacnet.write_schedule
target:
entity_id: sensor.meeting_room_schedule
data:
exception_schedule: >-
{% set start = as_local(as_datetime(event_start)) %}
{% set end = as_local(as_datetime(event_end)) %}
{{ current + [{
'period': {'date': start.date().isoformat()},
'priority': 11,
'time_values': [
{'time': start.strftime('%H:%M:%S'), 'value': 1},
{'time': end.strftime('%H:%M:%S'), 'value': none}
]
}] }}
else:
- action: bacnet.write_schedule
target:
entity_id: sensor.meeting_room_schedule
data:
exception_schedule: >-
{% set start = as_local(as_datetime(event_start)) %}
{% set ns = namespace(keep=[]) %}
{% for ex in current %}
{% set d = ex.period.get('date') %}
{% if not (d and ex.priority == 11 and d.year == start.year
and d.month == start.month and d.day == start.day) %}
{% set ns.keep = ns.keep + [ex] %}
{% endif %}
{% endfor %}
{{ ns.keep }}
allow_removal: truevalue: 1is the occupied value and must match the schedule'svalue_type; runbacnet.read_scheduleonce in Developer tools → Actions to see what your schedule uses.noneat the end time hands control back to the weekly schedule.- The removal step drops every priority-11 exception on the event's date. Use a priority that nothing else on the controller uses for exceptions.
- Events that run past midnight need a
date_rangeperiod instead of a singledate.
| Problem | Likely cause | Solution |
|---|---|---|
| "No devices found" | Device not running or on a different subnet | Verify the device is reachable on UDP 47808 |
| "Cannot connect" | Port 47808 already in use | Stop other BACnet software or use a different port |
| Entities show "Unavailable" | Device went offline | Check the device (and Settings → Repairs) — entities recover automatically. |
| "The BACnet device rejected the write" | Wrong write priority, or object not writable | Check the log for the reason; enable the Write Priority entity or check bacnet_commandable |
| Want to release an override | Turn off commands inactive, it doesn't release |
Use the bacnet.relinquish service |
| COV not working | Device doesn't support COV | This is normal — polling activates as fallback |
| Write has no effect | Object is not commandable | Check the bacnet_commandable attribute |
| Values don't update | COV increment too high, or polling interval too long | Lower the COV increment or reduce the polling interval |
| Entities go unavailable after network blip | Expected — the integration detects outages and reconnects automatically. Entities recover once the device is reachable again. | No action needed |
| Write has no effect at expected priority | Device requires a specific priority level | Enable the Write Priority entity and select the correct level |
Add this to your configuration.yaml for detailed BACnet logs:
logger:
logs:
custom_components.bacnet: debugWhen reporting a problem, attach the diagnostics file: Settings → Devices & Services → BACnet IP → ⋮ → Download diagnostics. Network addresses are redacted.
The defaults suit most controllers. For unusual devices they can be changed in custom_components/bacnet/const.py:
| Constant | Default | Meaning |
|---|---|---|
RPM_MAX_OBJECTS |
25 |
Objects per ReadPropertyMultiple poll request (halved automatically when the device rejects a request as too large) |
MAX_CONCURRENT_REQUESTS |
4 |
Parallel requests per device when individual reads are needed |
METADATA_PERSIST_DELAY |
5 s |
Metadata changes found within this window cause one reload together |
Beta: available in the 1.0.51 pre-releases (enable Show beta versions in HACS).
The integration can send usage statistics. Share usage statistics is ticked by default on the last setup page; untick it there, or later in a device's options, to send nothing. Installations from before 1.0.51 are asked once, in Settings → Repairs: tick to share for all devices, untick to keep it off. That question never comes back.
While at least one device has it ticked, Home Assistant sends one report a day (the first about 10 minutes after start) to a server run by the maintainer, on servers in the EU. The full privacy policy (English and Nederlands) explains what is collected, why, how long it is kept and how to have it deleted; it is also linked under the checkbox. Only ticked devices are included, and only once they have answered a poll.
What a report contains — everything, nothing else:
| Field | Example | Meaning |
|---|---|---|
schema |
1 |
Report format version |
install_id |
3f2b… |
A random ID created by this integration, only used to count installations. Not derived from your Home Assistant |
integration_version |
1.0.50 |
Version of this integration |
ha_version |
2026.10.1 |
Version of Home Assistant |
vendor |
Siemens |
The device's vendorName |
model |
PXC200-E.D |
The device's modelName |
firmware |
V6.00.338 |
The device's firmwareRevision |
connection |
direct |
direct, or foreign_device when connected through a BBMD |
cov |
true |
Whether at least one COV subscription works |
rpm |
true |
Whether the device accepts ReadPropertyMultiple |
objects |
{"0": 12, "2": 40} |
Number of imported objects per BACnet object type |
Never sent: IP or BACnet addresses, device instance numbers, object or device names, descriptions, values, or anything about your Home Assistant setup. The server does not store your IP address with the data; it adds only the country the report came from and the date it arrived.
The reports are kept for statistics (how many installations, which devices and object types are in use). The only thing that ever becomes public is a device's manufacturer, model and firmware, in the tested devices list, after the maintainer has checked it.
To stop: untick the option in each device's options. A failed report is never retried and never shows up in your log (only at debug level).
- Home Assistant 2024.4.0 or newer
- Python 3.12+
- Network UDP port 47808 accessible between HA and BACnet devices
- Cross-subnet A BBMD or BACnet router if devices are on a different network
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-improvement) - Submit a Pull Request
GPL-3.0 — see LICENSE for details.
Developed by BRDC
Powered by BACpypes3 · Built for Home Assistant








