Skip to content

v0.6.4 — Auto-Discovery

Pre-release
Pre-release

Choose a tag to compare

@confusedjoe confusedjoe released this 21 Jun 11:05
· 8 commits to master since this release

Experimental BACnet/IP binding for openHAB 4.3.x — now with fully automatic discovery.

What's new in 0.6.4

  • Automatic background discovery: an initial scan starts shortly after the bridge comes
    online and repeats on a configurable interval (default 15 min). Any new IP that sends
    BACnet traffic is probed immediately. With openHAB's "auto-approve inbox" enabled,
    devices appear as Things hands-free — no manual scan needed.
  • Discovery is registered per bridge from the handler factory, so its lifecycle is
    deterministic and reliable.

Feature set

  • Pure-Java BACnet/IP (Annex J), no external library (clean-room, EPL-2.0).
  • Universal discovery: Who-Is/I-Am + passive detection + active unicast subnet sweep with
    the wildcard instance, so devices that ignore Who-Is are still found (e.g. a real
    223-object controller).
  • Read/write of analog, binary and multi-state present values; Schedule present value
    writable; intrinsic alarms as trigger channels.
  • Live updates via COV subscriptions.
  • Object-list read with an indexed fallback (handles large lists without segmentation).
  • Channels labelled with the device's real object names and units (e.g. AU_Temp_H00 [°C]).
  • Network-interface picker in the bridge config (UI).

Config (bridge)

  • broadcastAddress (required), localPort (47808), discoveryTimeout (5 s),
    backgroundDiscovery (true), discoveryInterval (15 min).

⚠️ Experimental. For a fixed installation a device can also be defined manually in a
.things file (bridge + deviceInstance + address). Technical details: ARCHITECTURE.md.