Troubleshooting¶
First check whether requests arrive at all: the status bar shows Req/60 s (BACnet requests received in the last 60 seconds) and View → Request log… lists every request with its source, target device, service, object / property and result (ACK, Error class:code, Reject, Abort). If a client is running and nothing shows up, the packets do not reach the simulator: work through Devices are not found below. If no request has arrived a few minutes after the start, the status bar shows an info link to this page (with no client that is normal).
Devices are not found (Who-Is gets no I-Am)¶
- Client on the same PC: on Windows a client on the same machine may not receive broadcast replies
(Who-Is / I-Am); unicast works. Run the client on another machine, bind the simulator to a different network
adapter than the client, or set
network.mode: bbmdand register the client as a foreign device. - Different UDP port: Who-Is / I-Am broadcasts go to the simulator's port (47808 by default). A client bound to
another port (e.g. 47809) does not receive the I-Am broadcasts. Use the same port on both sides, or register the
client as a foreign device with the simulator (
network.mode: bbmd). When a Who-Is arrives from another port, the status bar names the client. - Firewall: allow UDP 47808 (or your port) inbound for the simulator (on Windows, a dismissed firewall prompt at the first start blocks it). The web UI port (8080) is TCP and unrelated.
- Wrong network adapter: with
ip: autothe simulator picks the adapter of the default route. On machines with several adapters (VPN, Wi-Fi + LAN, Hyper-V / WSL switches) choose the right one in Edit → BACnet network… or with--ip. The status bar shows the bound address; a loopback address (127.0.0.1) is reachable only from the same machine. - Docker: on the default bridge network broadcasts from the LAN do not reach the container. Use
network_mode: host(Linux), see Quick start. - Network number: simulated devices sit on the virtual network (default 100) behind the router device; the
client must accept routed devices (
100:1,100:2, ...). Clients that ignore routers see only the router device.
Different subnets¶
Broadcasts do not cross IP routers. Either put a BBMD on each subnet (network.mode: bbmd on the simulator plus
a BDT on the other side), or register the client as a foreign device with the simulator, or register the
simulator as a foreign device with your BBMD — see Foreign device.
Port already in use¶
Only one program can bind UDP 47808 on an address (another simulator, a BACnet client bound to 47808, a gateway's BACnet stack).
- Web UI (Edit → BACnet network…): the dialog checks the port before applying and reports "UDP ... is in use or cannot be bound"; the running stack is unchanged.
- Command line: there is no special handling at start; the start fails with the operating system's
"address already in use" error. Pick another port with
--bacnet-port 47809or stop the other program. clonestops with a clear error, see Cloning.
A write has no effect¶
The request log shows whether the write arrived and what the simulator answered.
- Priority array: a commandable object's Present_Value is the highest-priority non-null slot. A write at priority 16 does not win over an existing value at 8; relinquish (write NULL) the higher slot, or write at a higher priority.
- Out_Of_Service: while it is false, inputs are driven by their behavior and overwrite a written value at the next tick; set Out_Of_Service = true first.
- DeviceCommunicationControl disable: the device ignores everything except DeviceCommunicationControl and
ReinitializeDevice; the request log shows
ignored (DCC disable). See Device management. - Error / Reject: the result column shows the class and code (e.g.
property:write-access-denied).
No COV notifications¶
- COV increment: an analog value notifies only when it changes by at least COV_Increment; see
Device management for the default and set
cov_incrementper object. - Subscription lifetime: a subscription ends after its lifetime; the client must renew it (the request log
shows each SubscribeCOV with
lifetime N, orcancel). - Paused simulation or constant values: no change, no notification (except the initial one after subscribing).
- DCC disable / disable-initiation stops notifications.