Skip to content

bust4 1.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 10:01
· 1 commit to main since this release

Changes since 1.0

  • Gate Console: / opens the console in the plain build without web_server (it answered 404).
  • The firmware images are also published as the repository's package on ghcr.io; the guides link the latest release.

bust4: the BusT4 protocol specification, a portable C++17 library, ESPHome components and
the Gate Console, a web console for a gate's control unit and radio receiver. What ran on real hardware is listed in
the README's Status; everything else is marked untested.

Safety. This software can move a gate. Keep the gate in view whenever you send a motion command, and do not
leave service mode on.

Recommended setup: a BiDi-WiFi module with the Gate Console firmware

The easiest way in is a BiDi-WiFi module: it plugs into the control unit's BusT4 header, is powered from it and
brings its own bus interface, so there is no soldering and no adapter to build. It costs not much more than the
parts for a comparable home-made ESP32 dongle.

The files

File Use
gate-console-bidiwifi.factory.bin first install on a BiDi-WiFi module, over USB/serial, from offset 0
gate-console-bidiwifi.ota.bin update a module that already runs the Gate Console (Device tab)
gate-console-devkit.factory.bin / .ota.bin the same for a plain ESP32 devkit wired to the bus (guides)

Install

  1. Flashing replaces the module's original software. If you may want it back, take care of that first.
  2. Take the module off the control unit and connect a USB-serial adapter to the ESP32's serial port, with the ESP32
    in download mode. Find the pads on your module and check them with a meter.
  3. Write the factory image:
    esptool.py --chip esp32 write_flash 0x0 gate-console-bidiwifi.factory.bin
  4. Put the module back on the control unit.

First boot

  1. With no network saved, the module opens the access point gate-console-bidiwifi (password gate_admin).
  2. Join it from a phone. The console opens at http://192.168.4.1/, or open that address by hand.
  3. On the Device tab (service mode), set your Wi-Fi network, a LAN login and your own access point password.
  4. Later updates: upload gate-console-bidiwifi.ota.bin from the Device tab.

The button (hold 5–10 s: temporary access point; 10–30 s: factory reset) and the status LED are described in the
BiDi-WiFi guide.

Tested so far: the Gate Console built from YAML (plain build) on a BiDi-WiFi module next to an HO7124 control
unit and an OXILR receiver (reads, open, close, Stop, OTA updates); this generic image on an ESP32 devkit (first
setup, button, LED, updates).

Home Assistant instead

To use the module as an ESPHome node with a cover, sensors and buttons in Home Assistant, build your own YAML with
the bust4 component: see the BiDi-WiFi guide
and the examples.