← BFi53ER0 / BFi53ER0S EdgeRouter EdgeRouter firmware · Battery-Free Bluetooth Gateway

Self-powered switches and sensors, onto your IPv4/IPv6 network.

A PoE-powered DIN-rail gateway that receives Bluetooth LE telegrams from battery-free switches and sensors and delivers them as JSON over UDP (IPv4 and/or IPv6) or a TCP feed, straight onto your own network. A built-in live dashboard at http://bfi53er0-xxxx.local/ — the name printed on the label — shows every device as it is heard; settings are password-protected and answer the local network only. In the same DIN-rail box: a Modbus gateway, field I/O and microSD logging — one gateway instead of several.

Used in: Assistive Help Call for Care, Healthcare & Schools · Factories, Energy & Utilities · Commercial Buildings & Hotels

PTM 215B / 216B · STM 550B · EMDCB JSON over UDP & TCP Modbus TCP · RS-485 · field I/O PoE+ or 14–32 V DC
BFi53ER0 gateway, terminal side: SMA antenna connectors, status light, RJ-45 and terminal block on an extruded aluminium body Rendering. Production enclosure is black-plated extruded aluminium.
46 msair heard to handed to the network, average, measured
3 channelsall three Bluetooth advertising channels, listened to continuously
256devices tracked at once (planning figure) — up to 200 with names, places and allow/block lists (firmware limit)
0 setupfound by the name on its label; sends to link-local multicast and broadcast by default
Where it is used
Commercial buildings
Commercial buildings
Hospital room
Hospitality & healthcare
Retrofit projects
Retrofit projects
What it does

It reports what it heard, and sends it on.

The gateway listens on the three Bluetooth advertising channels all the time, merges the copies of each telegram into one, and forwards it with the signal strength and a count of any telegrams from that device that never arrived. It holds no device keys: decoding and authentication belong with the system that consumes the telegrams.

Battery-free capture

  • EnOcean Bluetooth LE: PTM 215B / 216B switches, STM 550B multisensor, EMDCB motion and light sensor
  • Copies from the three advertising channels merged into one telegram
  • RSSI and a lost-telegram counter on every telegram, from the device’s own sequence number
  • Devices are listed by being heard — no pairing, no key entry
  • Need battery-free devices inside a Bluetooth Mesh / NLC network instead? The BFi53ER0-MB firmware (by project) translates them into Mesh models

Delivery

  • One JSON object per telegram over UDP, IPv4 and IPv6 or either one
  • Each family with its own destination and port — or display-only, nothing sent; a receiver on Wi-Fi should use a unicast destination or the TCP feed
  • TCP feed, one JSON object per line; with a microSD card fitted, a client that connects first receives what it missed, then the live stream, in order.
  • Every source, an allow list, or everything except a block list, applied to every output; optional name, place and coordinates on each telegram
  • Encrypted output, off by default: AES-256-GCM on UDP, the TCP feed and the microSD card, sealed in the nRF5340’s CryptoCell-312 hardware. Only a receiver with the key can read a telegram, and an altered one is dropped

On the local network

  • Open http://bfi53er0-xxxx.local/ — the name printed on the label; several gateways on one network never clash
  • Built-in live dashboard, decoded in the browser the moment a telegram is heard; settings pages in four groups, usable from a phone, in light or dark colours
  • DHCP, a self-assigned address on a direct cable, or a static IPv4 address applied on trial with automatic rollback
  • Works with standard tools: a browser, Wireshark, nc, Python

Security & updates

  • Settings behind a password, changed at first sign-in; settings, the TCP feed and network firmware updates answer the local network only
  • Commissioning keys are never forwarded, recorded or displayed
  • Bluetooth closed by default — opened for 10 minutes from the settings page, for firmware updates from a phone
  • Signed firmware only, from a phone over Bluetooth, the network or a microSD card; every update runs on trial and rolls back if it is not kept, and Modbus keeps answering during a network update
  • Settings backup and restore to a file — onto the same gateway or a replacement — optionally sealed with a password of your own (AES-256-GCM, in the browser)

Recording, reliability & recovery

  • microSD ring recorder: the recent past, whether or not anyone was listening
  • RGB status light — colours in the Quick Start
  • Watchdog: a stalled or crashed firmware restarts by itself and records why
  • Forgotten password? Press the reset button three times to restore the default password, ten times to restore factory settings

Modbus, RS-485 and field I/O, in the same box.

The PLC or SCADA reads the battery-free devices as ordinary Modbus registers, talks to RS-485 equipment through the gateway, and drives the terminals — no packet decoding, no second box. The register blocks in outline are in the Quick Start, chapter 5; the complete register map is in the System Integration Guide, leave your details to get it.

Modbus TCP server

  • IPv4 and IPv6, port 502; off until turned on
  • Several masters at once — measured figures below
  • Also Modbus UDP and Modbus RTU over TCP, both off by default
  • Function codes 01–06, 15, 16 and 43/14

Battery-free devices as registers

  • Switch contacts and press counts; each sensor field — temperature, humidity, light, occupancy, contact — with a valid bit
  • Signal strength and missed-telegram counts per device

RS-485 Modbus RTU

  • Gateway mode: Modbus TCP masters read and write devices on the RS-485 bus; device mode: a PLC or HMI on the bus reads this gateway
  • 1200–921600 bit/s; RTU and ASCII; read cache and polling
  • Change a device’s Modbus address from the settings page, including modules that leave the factory at address 255

Field terminals (BFi53ER0)

  • 4 digital outputs, open collector, for 24 V relays and indicators; 2 digital inputs, 12/24 V DC, with edge counters
  • 2 analog inputs and 2 analog outputs, 0–10 V; outputs about ±0.1 % of full scale (bench)
  • Analog outputs are restored after a power cut, within the limits set for each
  • Outputs go to a safe state when the master goes quiet

Access, history and time

  • Per-source-IP access list, read-only or read/write
  • microSD history of polled RS-485 registers, terminal states and events as CSV, downloaded from the settings page
  • Analog data — outputs written, analog inputs, bus read-back — on the microSD card and/or as JSON lines; the JSON is off by default
  • Time set by a Modbus master or by the signed-in browser

Rules and alerts: a press, a door or a reading switches or dims something.

On the BFi53ER0, a self-powered switch or sensor drives outputs directly — the gateway’s own terminals, relays on the RS-485 bus and analog outputs — with no PLC, master or network in the path. A Modbus RTU sensor on the bus, such as a temperature or level sensor, can drive them too. On the Rules page you choose a switch or a sensor, say what each of its events does, and tick the outputs it works.

Examples

  • Light switch: one rocker on, the other off
  • Meeting room: occupied → light on; empty → back to how it was
  • Door alert: door open → beacon on; closed → off
  • Out-of-hours alert: while armed, a door or occupancy event sounds a siren for 3 minutes; a sensor silent for an hour raises it too
  • Daylight dimming: a sensor’s illuminance followed onto a 1–10 V dimming output
  • Dimming switch: each press steps a 0–10 V or 4–20 mA output up or down
  • Temperature: a Modbus RTU temperature sensor on the bus switches a fan relay, with hysteresis

Configuration limits

  • Up to 64 rules per gateway; several rules can share one switch
  • Each rule watches one switch or sensor and drives up to 16 outputs at once — terminals, relay coils and analog outputs on the RS-485 bus
  • Analog outputs: the gateway’s own 0–10 V outputs, and 0–10 V or 4–20 mA output modules on RS-485 — on/off, in steps or in proportion
  • Triggers: a press; a sensor’s temperature, humidity or illuminance, as thresholds with hysteresis or followed; a value polled from a Modbus RTU device
  • Limits for each analog output (0–10 V, 1–10 V or 4–20 mA) also hold what a SCADA or PLC writes through the gateway
  • Rules work with the devices on the gateway’s device list — up to 200

More in the manual

  • Arming, silence alerts, power-cut restore order and wiring examples are in the User Manual
Rule settings: a multisensor's illuminance, 100 to 800 lux, followed in proportion onto analog output AVOUT-S1
Daylight dimming: a multisensor’s illuminance, 100–800 lx, followed onto the gateway’s analog output.
Rule settings: a Modbus RTU temperature sensor polled on the bus switches a relay channel on at 28 degrees and off at 26, and on if not heard for 10 minutes
A Modbus RTU temperature sensor switches a relay on the bus: on at 28 °C, off at 26 °C, and on if it is not heard for 10 minutes.

An alert, not a certified alarm system. A radio telegram can be missed and the 2.4 GHz band can be jammed; do not rely on it where life or property depends on it, and arm or disarm from the settings page or over Modbus rather than with a battery-free switch.

Built-in pages

Open a browser. Nothing to install.

The live view shows a card for every device as the gateway hears it, decoded in the browser. The settings page, behind the password, chooses where telegrams go and which devices are forwarded.

Live view: cards for EnOcean wall switches, a motion sensor and a multisensor, each with its readings, signal strength and sequence number, light coloursLive view: cards for EnOcean wall switches, a motion sensor and a multisensor, each with its readings, signal strength and sequence number, dark colours
The live view at http://bfi53er0-xxxx.local/, from a working gateway: wall switches with the contact last pressed, an EMDCB motion sensor and an STM 550B multisensor, each with signal strength and sequence number. Light or dark: the live view and the settings pages follow the computer (Auto) or a choice of Light or Dark.
Settings overview: devices heard, telegrams, forwarding, and the status of network, recorder, TCP feed, Bluetooth and firmware
The settings overview: what the gateway hears, where it sends it, and the state of every part at a glance.
Forwarding settings: IPv6 and IPv4 each switched on with a destination address and UDP port, and a choice of which devices to forward
Forwarding: IPv6 and IPv4 each on or off, with their own destination and port. The defaults reach every computer on the segment with nothing configured.
Encrypted output settings: encrypt every telegram with AES-256-GCM, seal the microSD recording as well, and a 256-bit key made on the gateway or pasted in
Encrypted output: AES-256-GCM. Make a key on the gateway or paste one in to share it among several gateways, then copy it into the receiving system; the example programs open the envelopes with --key. Off by default.
Supported devices

Battery-free Bluetooth devices, working today.

These harvest their energy from a press, from light or from motion, and need no battery. Most are from EnOcean — a long-standing partner whose Bluetooth energy-harvesting devices this gateway is built around. The gateway forwards every EnOcean Bluetooth LE telegram it hears; the devices below have been captured on the bench — the EMSIB is the same STM 550B in a frame. Also received on the bench: the EnOcean ECO 260 kinetic harvester with the PTM 535BZ transmitter, as a single-key switch.

EnOcean Easyfit single and double rocker wall switches

PTM 215B

Kinetic wall switch — the press powers the telegram. Single rocker (2 channels) or double rocker (4 channels).

Reports contact A0, A1, B0 or B1; press or release

EnOcean PTM 216B switch module

PTM 216B

The same transmitter as a module, for switch makers building their own rocker and frame.

Reports the same telegrams as the finished switch

EnOcean STM 550B solar-powered multisensor

STM 550B

Solar-powered multisensor, sending on a schedule and on change.

Factory-calibrated by EnOcean — accuracy figures.

Reports temperature, humidity, illuminance, acceleration, magnet contact, energy store

EnOcean EMSIB Easyfit BLE multisensor

EMSIB

The STM 550B with an Easyfit frame around it — the same module, ready to mount.

Reports the same telegrams as the STM 550B

EnOcean EMDCB ceiling-mount motion detector

EMDCB

Solar-powered ceiling-mount occupancy sensor.

Factory-calibrated light sensing by EnOcean — accuracy figures.

Reports occupancy, illuminance, light at the solar cell, energy store

Product photos: EnOcean GmbH.

Bluetooth only. The gateway uses the Bluetooth LE models from EnOcean, the B series.

Solution built on this gateway

Assistive Help Call for Care, Healthcare & Schools.

Battery-free call buttons, plus the factory-calibrated STM 550B and EMDCB for room climate, presence and light — collected by one BFi53ER0 and handed to the nurse-call, security or building system. For long-term care homes, hospitals and clinics, kindergartens, schools and public places.

Nothing to wire, no batteries, nothing to calibrate on site

The button is powered by the press and the sensors by room light, and the sensors from EnOcean leave the factory calibrated. See the Assistive Help Call solution →

Measured

Performance on the bench.

Repeat-copy waitEach telegram waits for its repeat copies — 44 ms on average, 61 ms at most — and goes out once; the live view does not wait (bench)
Delivery19 of 19 telegrams arrived on both IPv4 and IPv6; 24 telegrams in two rapid bursts, none missing (bench)
TCP feed catch-up22 of 22 telegrams missed during a disconnection delivered on reconnect, in order, microSD fitted (bench)
Modbus32 Modbus TCP masters at once, about 400 requests/s shared evenly, no errors; a cached RS-485 read in about 2 ms against about 43 ms through to the bus at 9600 bit/s (bench)
Hardware & documents

Runs on the BFi53ER0 EdgeRouter (BANFi BFi53MLG module, Nordic Semiconductor nRF5340), PoE+ or 14–32 V DC, DIN-rail or wall mount; BFi53ER0S: terminal assignment to be announced. Hardware specification → · Documents → · All downloads →

Next step

Put one on your network.

Tell us which devices and how many, what should receive the telegrams, and which Modbus masters or RS-485 equipment are on the site. We will send the product specification and arrange a unit.

BFi53ER0 and BFi53MLG are products of BANFi Semiconductor Co., Ltd. (Taiwan); FL Semiconductor LLC is BANFi's design and product partner in North America. EnOcean, PTM, STM and Easyfit are trademarks of EnOcean GmbH. Bluetooth is a trademark of Bluetooth SIG, Inc. Modbus is a registered trademark of Schneider Electric, licensed to the Modbus Organization, Inc. Nordic Semiconductor, nRF5340, Arm, Cortex, TrustZone and CryptoCell are trademarks of their respective owners.