Skip to content

Releases

v1.15

Choose a tag to compare

@github-actions github-actions released this 11 Nov 08:07

Summary: emulation (a virtual Modbus device shows another device's values as another meter, e.g. an SDM630 as an ABB B23 over the Modbus TCP server), periodic Telegram reports of Modbus devices, I2C sensors and GPIO, ABB B21 and B23/B24 templates; integration 1.7.1.

  • Periodic Telegram reports, My account › Periodic reports (/api/auth/telegram/reports): each user up to
    4 reports of Modbus devices (virtual ones too), I2C sensors and GPIO pins, every 15 min to 7 days (or own
    minutes) aligned to the clock from a time of day: current values, minimum, maximum and average of
    measured values and the difference of counters over the period (start values in NVS, they survive a
    restart); without sound in quiet hours; Preview and Send now. Tests: TC58, UI39.
  • /api/modbus/raw refuses register values over 65535 (they were cut to 16 bits).
  • Emulation, System › RS485 › Add device, connection Emulation: a virtual device shows the values of
    another device as a device of another template (e.g. an Eastron SDM630 as an ABB B23 for an inverter or
    a Victron GX), over the Modbus TCP server (every read answered from the values, the target's types,
    scales, "no value" and fixed identification, no read reaching the source), MQTT and the integration;
    read only. Mapping by quantity (new template field q), units converted, totals summed from the
    phases; the page and /api/modbus show where each value comes from. Template fields q, fill,
    emulate. Integration 1.7.1 leaves writable entities of a virtual device out. Tests: TC57, UI38.
  • Modbus templates abb_b21 (ABB B21) and abb_b23 (ABB B23 / B24): voltages, currents, powers, power
    factors, frequency, energies (per phase on B23/B24), serial, firmware and type; over RS485 or a Modbus TCP
    gateway. The meter's "no value" shows no value. Tests: TC56.

Commits since v1.14

  • a042c8c Changelog: v1.15
  • 9585334 Periodic Telegram reports of Modbus devices, I2C sensors and GPIO
  • adeea49 Virtual Modbus devices: one device's values shown as another device
  • 8f6a52b Templates: quantity, fill and fixed values for emulation; mapping and register image
  • 6bbcd83 Plan: virtual Modbus devices (emulation) and periodic Telegram reports
  • e2ab2f7 Modbus templates for ABB B21 and B23/B24 meters

v1.14

Choose a tag to compare

@github-actions github-actions released this 06 Nov 08:52

Summary: Modbus TCP server for the gateway's Modbus devices (RS485, Modbus TCP, GoodWe UDP): shared port 502 by unit id or own ports, cache of polled registers and of answers to clients, rate limit, optional writes with an address allowlist.

  • Modbus TCP server, System › Modbus TCP server (GET/PUT /api/modbus/server): the gateway's Modbus
    devices (RS485, Modbus TCP, GoodWe UDP) for other Modbus TCP clients in the network. The shared port
    502 routes by unit id, a device may also get its own port (any unit id). Reads of polled registers come
    from a cache of the blocks read, and for cache_ms (1500-5000 ms, default 2000; 0 off) so do answers to
    clients; a write drops what it touches; the same read of two clients goes to the device once. Requests
    wait between the blocks of a poll, not for the whole poll; at most rate per second (else exception 6);
    writes only where switched on, optionally only from listed addresses. Up to 8 ports, 2 clients per port,
    8 in all. lwIP limits raised: 40 sockets, 32 active and 24 listening TCP connections.
  • Tests: TC55, UI37, unit tests of the server's request decoding; tools/modbus/server_load.py (load
    test, results in docs/modbus.md); the simulator logs reads with --log-reads, --delay plays a slow device.

Commits since v1.13

  • ee0d5c5 Changelog: v1.14
  • 0e5be7c Docs: Modbus TCP server cache, queue and new load test results
  • 22bcb79 Modbus TCP server: cache of client answers, shared reads, no wait for a whole poll
  • fb0fa48 Docs: Modbus TCP server, load test results, user docs page
  • 20edd54 Modbus TCP server for the gateway's Modbus devices
  • 711909e Plan: Modbus TCP server for the gateway's Modbus devices

v1.13

Choose a tag to compare

@github-actions github-actions released this 06 Nov 04:32

Summary: free GPIO of header JP1 (input, output, PWM, counter, UART-TCP bridge, second I2C bus, 1-Wire DS18B20, WS2812) in the web UI and Home Assistant (integration 1.7.0, MQTT group gpio); SNTP servers and the gateway time zone for the whole gateway.

  • Time settings, System › LAN › Time (GET/POST /api/time): up to three SNTP servers (default
    pool.ntp.org) and the gateway time zone (a listed IANA zone or a POSIX rule), applied at once. The zone
    holds for the whole gateway: the web UI shows times (header clock, log, backups, events) in it instead of
    the browser's zone, Telegram quiet hours follow it, the nightly Zigbee backup runs 03:00-04:00 local
    time (was 02:00-03:00 UTC). The time zone moved there from the Telegram settings (same key, no migration;
    tz of POST /api/telegram still sets it). /api/status carries tz_name.
  • Tests: TC51, UI35.
  • GPIO of header JP1, System › GPIO (JP1) (/api/gpio): the header drawn with every pin's use, radio pins
    locked with the reason; free pins (GPIO1, 2, 3, 45; radio B's while radio B has no role and none is found)
    as input (pull, inverted, debounce), output (open drain, pulse, read back on the pad), PWM (1 Hz-1 MHz)
    or pulse counter (rate, frequency, glitch filter), state after a restart per pin (off, on, last).
    Telegram /gpio.
  • Home Assistant: integration 1.7.0 shows GPIO set to integration as the device " GPIO" (input
    binary sensor, output switch, PWM light with the duty as brightness, counter count and frequency);
    MQTT discovery group gpio with the same entities and commands gpio/<n>/set (ON, OFF, PULSE ) and
    gpio/<n>/duty/set. A stored selection of all eight MQTT groups gets the new one.
  • GPIO functions over the chip's peripherals: UART-TCP bridge (UART4, TCP port 6639 by default, one
    client at a time), second I2C bus for the I2C sensors ("bus": 2, ids i2c2_<addr>, System › Hardware
    shows the bus), 1-Wire DS18B20/DS1822/DS18S20 (each a temperature in Home Assistant), WS2812 LED strip
    (colour, brightness, rainbow effect; MQTT JSON light). MQTT commands may carry up to 191 bytes.
  • Tests: TC52, TC53, TC54, UI36, integration tests of the GPIO device.
  • Fix: an MQTT settings change that switched groups on and off at once (e.g. a new broker with other
    groups) published the newly switched-on groups to the old broker before reconnecting; now only the
    removals go there.

Commits since v1.12

  • 33bf2b1 Changelog: v1.13; GPIO docs in README and hardware.md
  • fb0c922 MQTT: keep GPIO entity list over restarts, no new groups to the old broker
  • 5c04f0d GPIO functions: UART-TCP bridge, second I2C bus, 1-Wire DS18B20, WS2812
  • 6ecaa48 GPIO in Home Assistant: integration 1.7.0 and MQTT group gpio
  • da4d410 GPIO of JP1: inputs, outputs, PWM and pulse counters (System › GPIO)
  • b9186f3 Plan: free GPIO of JP1 controlled from the gateway and Home Assistant
  • 6febd2a Dual radio docs: XIAO nRF54LM20A research, implementation deferred
  • df58a28 Time settings: SNTP servers and the gateway time zone for the whole gateway
  • a1a35c0 User docs: System › Modbus TCP search page; README links modbus.md and sensors.md

v1.12

Choose a tag to compare

@github-actions github-actions released this 04 Nov 11:25

Summary: Modbus TCP search in a network, Victron GX and GoodWe XS templates, Modbus over UDP for GoodWe Wi-Fi modules.

  • Modbus TCP search in a network (System › Modbus TCP search, /api/modbus/scan): connects to the
    chosen ports of every address of a range (up to /22), asks each open one a few unit ids, recognises
    Victron GX (with its VE.Bus unit) and GoodWe by their serial numbers and adds a recognised device with
    one click; GoodWe Wi-Fi dongles answering only on UDP 8899 are listed too. Runs beside the polling.
  • Modbus templates of a Victron GX: victron_gx_system (unit 100) and victron_vebus (MultiPlus /
    Quattro), from Victron's register list 3.81, checked on a MultiPlus-II GX.
  • Modbus over UDP for GoodWe Wi-Fi modules (connection "GoodWe UDP", transport: "udp", port 8899):
    Modbus RTU frames out, AA 55 answers back, also split into several datagrams. The network search
    lists such a module with the unit that answered and adds a DT family inverter (unit 127) in one click.
    Template goodwe_xs (XS, MS, D-NS) from the goodwe library's DT map, checked on a GW3000-XS.
  • Tests: TC49, UI33; the Modbus simulator plays text registers as serial numbers (no spaces).
  • Tests: TC50, UI34 and a unit test of the AA 55 framing; the simulator plays a GoodWe module (--udp).
  • tools/modbus/udp_relay.py: a UDP relay on a computer that lets the gateway reach a device in a network
    only that computer reaches (e.g. over a VPN), for testing.
  • Tests: Modbus TCP simulator of a Huawei SUN2000 hybrid PV inverter with battery and meter (simulated
    day, power limit, start/stop) and its template to import (tests/modbus_tcp/).
  • 3D printable case for the board (OpenSCAD, two shells, flexible BOOT/RST/PWR buttons, bay for the
    XIAO radio; hardware/enclosure/).

Commits since v1.11

  • a8c9c68 Changelog: v1.12; mask the inverter's serial number and MAC
  • 4986647 GoodWe XS template without total input power, UDP relay for testing
  • baf9fe4 Modbus over UDP for GoodWe Wi-Fi modules, GoodWe XS template
  • f291f4e Modbus TCP search in a network, Victron GX templates
  • c8f3996 3D printable case for the board (OpenSCAD)
  • 78e6d61 Tests: Modbus TCP simulator of a Huawei SUN2000 inverter with its template
  • c191a70 Changelog: v1.11 needs flash layout v4; TODO: v1.11 released and installed

v1.11

Choose a tag to compare

@github-actions github-actions released this 03 Nov 13:27

Needs flash layout v4: the image is larger than 3 MB, so the online update offers v1.11 only to gateways on layout v4. A gateway on layout v3 migrates once over USB with scripts/migrate_layout_v4.sh <port> (settings, networks, users and recordings stay).

Summary: I2C sensors on connector CN3 (24 chip families, recognised by the gateway) and Modbus devices on RS485 and Modbus TCP with JSON templates (Eastron SDM, ORNO, Hiking, Chint, Peacefair built in), each shown in Home Assistant through the integration or MQTT.

  • Modbus, System › RS485: devices on the board's RS485 port (J4, UART3) and over Modbus TCP, described
    by JSON templates (read and write: number, switch, select, button). Built-in templates after research
    and counter-research: Eastron SDM120, SDM230, SDM630 V2, SDM72D-M V1/V2, ORNO OR-WE-504, 514/515,
    516/517, Hiking DDS238-2 ZN/S, Chint DTSU666, DDSU666, Peacefair PZEM-016/014, PZEM-017/003. Own
    templates in the web UI (editor with checks, import/export), address search over addresses and baud
    rates, manual requests with register decoding. Each device is its own device in Home Assistant via the
    gateway, through the integration or MQTT (group modbus, command topics). API /api/modbus*,
    Telegram /modbus, permission system/rs485 (docs/modbus.md).
  • MQTT: commands below the base topic for components; discovery entries may describe their own device;
    the discovery group mask is stored under a new key (eight groups).
  • I2C sensors on connector CN3 (or JP1), System › Hardware: 24 chip families (Bosch BME/BMP, Sensirion
    SHT3x/SHT4x/SCD4x/SGP30, AHT2x, Si7021/HTU21D, HDC1080, ENS160, PMSA003I, BH1750, VEML7700, TSL25x1,
    LTR390, OPT3001, MAX44009, TMP117, MCP9808). A scan at every start and on request identifies chips by
    their ID registers and adds those recognised without doubt; for shared addresses the user picks the
    chip. Name, expose and enable per sensor, read interval. API /api/sensors, /api/sensors/scan,
    Telegram /sensors, page permission system/hw (docs/sensors.md).
  • Home Assistant: integration 1.6.0 adds a sensor entity per exposed I2C sensor and quantity; MQTT
    discovery group sensors (a stored "all groups" of older firmware includes it).
  • MQTT: discovery and the state are published only by the publish task, never from the client's event
    handler; this removes a deadlock between the MQTT client and components that publish while holding
    their own lock (sound events, sensors) after a reconnect.
  • The I2C bus is shared through gw_core (gw_i2c); docs/hardware.md describes the bus, CN3, RS485
    and the other interfaces from the full schematics.
  • API reference: the response of /api/thread/topology (router, child and vendor fields, time limits)
    and the meaning of the Telegram levels (0 off, 1 critical, 2 warnings and critical, 3 all; quiet hours
    critical only) checked against the code.
  • Documentation: Zigbee router screenshots of v1.10.

Commits since v1.10.1

  • 8eac5f2 Settings import: a backup with only the old MQTT groups key restores them
  • 762b4d5 Release v1.11
  • 236978c System › RS485 web UI, API reference, docs and tests for Modbus
  • 54623e7 HA integration: Modbus devices as own devices via the gateway
  • d712732 Modbus: TC48 against the TCP simulator; template PUT answers the stored template
  • f0c6c3c Modbus runtime: RS485 and TCP, polling, writes, search, API, MQTT
  • 249a260 Modbus: protocol layer, device template model, Eastron SDM templates
  • 7b584de I2C sensors on CN3: scan, recognition, System › Hardware, MQTT
  • 259d6c1 HA integration 1.6.0: sensor entities of the gateway's I2C sensors
  • 5368968 API reference: Thread topology response and Telegram levels from the code
  • c8acdeb Zigbee router of radio A back in its network; router screenshots, TC26 log text
  • 58445d4 TODO: v1.10.1 released and installed

v1.10.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 07:25

Summary: fix of the C6 update offered again after its install; documentation with v1.10 screenshots.

  • Fix: after the C6 package was installed (the radio is flashed at the next start) the update state
    kept the previous package as installed until another restart, so the web UI and Home Assistant
    offered the same C6 update again. The installed package is now read with every state. TC36 checks it.
  • Documentation (GitHub Pages): screenshots of v1.10, new chapters Data flows, System › Wi-Fi,
    System › API, the setup wizard, the new overview and Radios › Roles.

Commits since v1.10

  • 73868f3 Release v1.10.1
  • fcb47e7 Docs: screenshots of v1.10, chapters for Data flows, Wi-Fi, API and the wizard
  • 808bec1 Fix: C6 package installed id read with every update state

v1.10

Choose a tag to compare

@github-actions github-actions released this 03 Nov 06:07

Summary: Data flows page, setup wizard, HTTP API reference (System › API, /api/help, docs/api.md),
MQTT discovery per group (no duplicates next to the P4 Gateway integration), Radios › Roles as a table,
traffic in the header tooltips, Wi-Fi uplink (and ESPHome on the C5) as radio slots (switching offline),
ESPHome proxy with 5 connections and diagnostics, Home Assistant integration 1.5.0 (C5 update entity),
64 kB more internal RAM, flash layout v4 (optional USB migration, the release also runs on v3).

  • Flash layout v4: the esphome slot (unused since v1.8) goes to the gateway slots, 3 -> 4 MB each
    (28 % free with the current image instead of 4.5 %). Migration over USB once with
    scripts/migrate_layout_v4.sh <port> (settings, Thread network, users, Zigbee snapshots, model and
    sounds stay; --rollback <stamp> goes back). update.layout reports 4; releases for layout 3 are
    still offered on v4, a manifest names only layout 4 when p4gw.bin is larger than 3 MB.
  • Sound: the mel filter bank keeps only the used weights (66 kB -> 2.4 kB of internal RAM, same
    output bit for bit).
  • mbedTLS allocates from PSRAM: a TLS session (update check, OTA, Telegram, MQTT over TLS) no longer
    takes about 40 kB of internal RAM; the lowest free internal RAM since start went from 85 to 145 kB.
  • MQTT: Home Assistant discovery per group (roles, system, update, sound, sound events, sound event
    device triggers), discovery_groups of /api/mqtt; the web UI offers the preset "Only what the
    integration lacks" (only the device triggers of the sound events), so the P4 Gateway integration and MQTT no longer show entities twice. A group left
    out is removed from Home Assistant, the state topics stay. Test TC46, UI24.
  • Home Assistant integration 1.5.0: update entity C5 radio firmware for an ESP32-C5 as radio B (the
    C5 package with its firmwares, the ESPHome Bluetooth proxy included; install, progress, rollback to
    a listed release), next to the C6 one.
  • ESPHome Bluetooth proxy 1.1.0 (radio role): five active connection slots (default was three) and
    diagnostic entities in Home Assistant: Wi-Fi signal, uptime, chip temperature, free heap and largest
    free block, ESPHome version, IP address, Wi-Fi network, restart button. Image 1.47 MB (C6), 1.52 MB
    (C5), RAM 41 % on the C6.
  • Radio slots: the Wi-Fi uplink gets slot ota_4 on both radios (C6 and C5) and the ESPHome proxy slot
    ota_5 on the C5 (8 MB, firmware/c6/slots_c5.csv): switching to and from them selects the slot
    (23–28 s) without the package, so a gateway without LAN or internet can still switch a radio to the
    Wi-Fi uplink. Earlier slots and the Zigbee data keep their offsets; the new layout installs once on
    the next start with the new package (95 s on the C6, 150 s on the C5). ESPHome on the C6 (4 MB)
    stays a whole-flash bundle. The C5 ESPHome image is built for 8 MB flash.
  • Web UI: the overview diagram nodes (LAN, main board, radio A and B, their networks) show a details
    box on hover (chip, firmware, slot and flash layout, temperatures, RAM, radio chip data and
    telemetry, network state); the header tags add the traffic since start and the current rate of
    their service (LAN, Thread routed by the border router, Zigbee2MQTT, OTBR REST, web UI and
    integration, MQTT, HTTPS/DNS/NTP, Wi-Fi uplink), sampled every 10 s from /api/net/traffic.
  • Web UI: Radios › Roles as a table (roles × radios, default), a list (one line per role) or the
    tiles, the choice is remembered in the browser; on a phone the switch buttons show only the icon.
    Tests UI27, UI26 updated.
  • Web UI: new page Data flows: sources (Thread, Zigbee and Bluetooth devices, microphone), the
    gateway's services (border router, Zigbee coordinator or router, ESPHome proxy, sound recognition,
    state and control, Wi-Fi uplink) and the consumers (Home Assistant, Zigbee2MQTT, MQTT broker,
    Telegram, web UI and API) with drawn links coloured by state, a details box per node with every
    flow through it and its traffic, and a table of all flows with a link to their settings. Test UI28.
  • Web UI: setup wizard, a panel at the bottom right that walks through every setting step by step
    (account, LAN, radios and roles, Wi-Fi uplink, Thread, Zigbee, ESPHome, Home Assistant, MQTT,
    notifications, sound, updates) on the real pages, with a check of each step's state; it opens by
    itself while the gateway has no user account, later from System › Information, and continues after
    the restart of a role switch. Test UI29.
  • HTTP API reference: firmware/gateway/web/api.json describes all 103 endpoints (permission, query,
    body, response, errors, effects; English and Czech). The gateway serves it at GET /api/help
    (public, 32 kB gzip); the web UI shows it under System › API with a getting-started (token, address,
    first call) and curl, Python and Home Assistant rest_command examples built for that gateway (its
    address, a token typed in, its radios and current roles), GET requests can be tried at once.
    docs/api.md and the GitHub Pages documentation are generated from it; tests/unit/api_spec_test.py
    (in scripts/ci_checks.sh) fails when an endpoint is missing, extra or its permission differs from
    gw_auth.c. Test UI30.
  • UI tests UI06 and UI07 use the language and theme switches of the side bar again.
  • Fix: right after the manifest URL was changed or cleared, the offer of the old URL could still be
    installed until the update task checked again (TC27 installed the GitHub release). The install
    is refused until the current URL was checked.
  • Wi-Fi uplink through a radio (docs/wifi-uplink.md): new radio role wifi_uplink. The radio runs
    the ESP-Hosted co-processor (package bundle wifi_uplink, C6 and C5), the gateway gets an
    ordinary Wi-Fi interface over the radio UART (own address, IPv6, mDNS), about 0.7 Mbit/s.
    Ethernet keeps the default route while its link is up; without it the traffic goes over Wi-Fi at
    once, and the Thread border router moves its backbone to Wi-Fi (restart after 60 s without LAN,
    back to Ethernet after 5 min with LAN). System › Wi-Fi: network (with a scan), password, DHCP or
    static address, state and traffic per service like the LAN page; without a network of its own the
    ESPHome Wi-Fi is used. After a start without LAN and without Wi-Fi an open setup access point named
    like the gateway opens for a few minutes; a phone joining it lands on the web UI. Radios › Roles
    can swap the roles of radio A and B to move the Wi-Fi. API: /api/net/wifi, /api/net/wifi/scan,
    /api/net/wifi/traffic, POST /api/role {"swap": true}, POST /api/net/lan/outage (failover test).
    Home Assistant integration and Telegram /role know the role. Tests TC41–TC45.
  • The gateway checks its own web server every minute; three misses in a row restart it with a
    core dump.
  • Fix: after the manifest URL was changed, the offer of the old URL stayed installable when the
    check of the new one failed. A changed URL now drops the old offer first; a failed check of the
    same URL still keeps it (server down).
  • Online update: the C5 package of radio B is listed like the C6 one (installed and offered
    package, firmwares in it) and can be installed ({"target": "c5"}); a release row has a C5
    button when releases.json names the package of the release (from the next release on).
  • Web UI: the (i) tooltips use the box of the header tags (title, text, table); the PSRAM tooltip
    lists the use by part (radio package buffer, sound model, audio buffers, log, other), from the
    new heap.psram_heap and heap.psram_parts of /api/status.
  • Web UI: the overview starts with a diagram LAN, main board ESP32-P4, radio A (internal C6) and
    radio B (external, JP1) with the network each radio serves; the cards follow the hardware (main
    board, LAN, radio A, radio B), each radio card says what it runs. Without radio B the card says
    what it would add.
  • UI tests: --token (or P4GW_TOKEN) signs in with an API token, for users with 2FA.

Commits since v1.9

  • a268388 Release v1.10
  • 7d966ef TODO: batch add_.md done up to the release
  • fcf744d Regression 2026-11-03; fixes of TC09, TC30, TC39, UI22
  • 4bd904e HTTP API reference: api.json, /api/help, System > API, docs
  • 69e7b45 Docs: AirTags through the ESPHome proxy (research)
  • 3ed4ec9 TODO: audio ring stays at 10 s (no consumer needs more)
  • efeb9db Web UI: setup wizard
  • 6e24156 Web UI: Data flows page; UI06/UI07 follow the side bar switches
  • 516e5d0 Web UI: overview and header details with traffic, roles as table or list
  • c71e182 Radio slots for the Wi-Fi uplink (C6, C5) and the ESPHome proxy (C5)
  • af769f6 TODO: ESPHome proxy 1.1.0 verified on radio B and in Home Assistant
  • 0b885d2 MQTT: device triggers of the sound events as their own group
  • 360cff5 ESPHome proxy 1.1.0: five connection slots, diagnostic entities
  • a2d83a2 HA integration 1.5.0: update entity for the C5 package of radio B
  • 7558e17 MQTT discovery per group, preset for the P4 Gateway integration
  • d2008ad mbedTLS allocates from PSRAM
  • bc2a317 Sound: mel filter bank keeps only the used weights
  • 7252f97 TC27 puts the manifest URL back instead of switching updates off
  • 1913989 Flash layout v4: gateway slots of 4 MB
  • 1d581e3 TODO: feature batch from add_.md (phases F0-F8)
  • 707a67a Web server self-check, slower station retries while the setup access point is open
  • 87cf311 Documentation published as GitHub Pages
  • 6162298 Wi-Fi uplink: radio watchdog, DNS of the interface carrying the traffic
  • bd9beda Radio package download at the start: three tries
  • 1396976 Wi-Fi uplink: DNS of the default interface, radio B first for its staged package
  • d15bbe3 Wi-Fi uplink W3b/W4/W5: setup portal, failover, swap, tests
  • 5972ffa Wi-Fi uplink W2/W3: role wifi_uplink with the ESP-Hosted host on the P4
  • dd319c4 Wi-Fi uplink W1: ESP-Hosted co-processor for both radios in the packages
  • bbe9d18 Wi-Fi uplink through a radio: analysis, spike, plan and...
Read more

v1.9

Choose a tag to compare

@github-actions github-actions released this 02 Nov 12:24

Menu of the web UI arranged by task (menu_redesign/), radio B with the
same details and maintenance as radio A, full scan on either radio with 5 GHz Wi-Fi from radio B.
New radio packages (scanner 1.1.0): the online update offers them. Home Assistant integration
unchanged (1.4.0).

  • Fix: an upload of the gateway firmware in the web UI could end in a task watchdog restart into the
    old firmware (two radios busy): the slot was erased at once, stalling both cores for seconds. The
    slot is now erased while writing, with a 10 ms rest per block like the online update.

  • Web UI: the menu is arranged by task (menu_redesign/): Radios (roles, status and maintenance,
    radio surroundings), ESPHome as its own section, System › Settings split to the pages it belongs
    to; Zigbee backups show their radio and download the right one.

  • Web UI: the overview and Radios › Status and maintenance show the same details for radio B as for
    radio A (firmware version, MAC, chip revision, flash size, flash count, temperature min/max,
    memory, uptime, last reset); /api/radios carries the chip data of each radio as chip_info,
    /api/status that of radio B and its bundle under role.b. Radio B also gets its firmware list,
    tooltips, Reflash radio B now (POST /api/c6/reflash?radio=b) and a flash backup while it has no
    role (GET /api/c6/backup?radio=b); the role switch points to that backup for both radios.

  • Radio surroundings: the full scan runs on radio A or B; radio B (ESP32-C5) also sees 5 GHz
    Wi-Fi. The Wi-Fi table shows band, channel width up to 160 MHz and the standards as b/g/n/ax.

  • Radio surroundings: the Wi-Fi table groups the networks of one access point; the 2.4 GHz
    spectrum shows Wi-Fi, the Wi-Fi channels, MHz and 802.15.4 in lanes on one axis with the Thread
    and Zigbee networks found; the channel table is split by Wi-Fi 1/6/11 and the gaps between; a
    5 GHz spectrum (U-NII bands, DFS) after a radio B scan.

  • Fix: the full scan showed WPA3 networks as open: the scanner firmware was built without WPA3
    SAE, so the Wi-Fi library did not recognise their key management (scanner 1.1.0, new radio
    packages). A network reported open with a cipher is shown as protected.

  • Fix: a full scan that first had to install a new slots layout on the radio (over a minute) ran
    out of time before the scanner started.

  • Fix: a C6 backup requested while the C6 was being flashed kept the upload lock, so later uploads
    and backups answered busy until a restart.

  • Fix: the gateway could hang (web UI and API stop answering, the radios keep running) when an
    update check ended while MQTT was connecting, typically right after a role switch of radio B that
    fetches the C5 package: the update notification was published with the update lock held, while
    the MQTT task waited for that lock. Notifications are now sent after the lock is released.

Commits since v1.8.1

  • d22f7b3 Release 1.9: menu by task, radio B maintenance, scan on both radios
  • 5400d74 Radio surroundings: access points grouped, spectrum in lanes, 5 GHz spectrum
  • 9ac3d20 Radio surroundings: full scan on radio A or B, WPA3 no longer shown as open
  • 7afa6c0 Radios: reflash, flash backup and firmware list for radio B
  • 9fe4fc2 Web UI: full details of radio B on the overview
  • 78d129b Web UI: full details of radio B on Radios › Status and maintenance
  • 469038b Gateway upload: erase the slot while writing, rest 10 ms per block
  • ef31b01 menu_redesign: analysis, rationale and before/after screenshots of the menu rework
  • 3478d64 Web UI: menu by task (Radios, ESPHome sections), System split up
  • 0b13d95 Update check: notify after releasing the update lock
  • 8e77fff TODO: v1.8.1 released

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 31 Oct 14:21

First release of v1.8 (the v1.8 tag was not released: the ESPHome build failed in CI).
Home Assistant integration 1.4.0 (role select of radio B).

  • Fix (build): the ESPHome Bluetooth proxy is built with ESPHome's own ESP-IDF, not the one of the
    CI container.
    Two radios (docs/dual-radio.md): a XIAO ESP32-C5 on JP1 (powered over its own
    USB-C) is radio B next to the C6 of the board, so Thread and Zigbee run at the same time. The
    ESPHome image on the P4 is gone
    : ESPHome is now a role of a radio; a gateway with the old ESPHome
    role selected starts radio A as the ESPHome proxy.

  • Roles per radio (Role page, /api/role {"radio"}, HA Radio B role select, Telegram /role b):
    at most one Thread network, one Zigbee network and one ESPHome proxy; a failure of radio B does
    not stop the gateway. Each radio keeps its own networks: Thread settings per radio in the P4 NVS,
    Zigbee snapshots per radio (radio B in the c6fw partition); Forget Thread network per radio.

  • No radio firmware in the P4 flash: the packages (c6fw.bin, new c5fw.bin in the release and the
    manifest) are downloaded or uploaded into a 4 MB PSRAM buffer and dropped after flashing; a local
    image per radio in NVS keeps role switches offline.

  • Radio B: wiring test at start and on request (names the line to check), reset line open-drain,
    /api/radios, System › Radios page, header tag and overview card; the C5 builds use its 8 MB PSRAM
    (Zigbee coordinator tables for 400 devices).

  • ESPHome Bluetooth proxy on a radio (C6 or C5, ESPHome 2026.10.1, built in CI): Wi-Fi set by the
    gateway over Improv (Home Assistant › ESPHome), API key set by Home Assistant on adoption, no
    secret and no access point in the image.

  • The Thread and Zigbee menus and pages follow the radio that runs them.

  • Fix: task watchdog while the online update writes the gateway image (10 ms rest per step).

  • Web UI: releases for this gateway as expandable rows (version, date, C6 package, install buttons)
    with the release notes formatted (lists, bold, code); the list carries the whole notes, notes cut at
    1000 characters end with "…".

  • Web UI, System › Firmware has subpages: Online update (gateway and C6 package in one aligned
    table: installed, offered, state, install; firmwares of the C6 package expandable; releases for
    this gateway in their own tile, Reflash writes the installed release again), Manual update
    (uploads of the gateway and the radio packages in one tile) and Settings (manifest URL).

  • Web UI, Home Assistant › Guide: the HACS and Add integration buttons look like the My Home
    Assistant badges.

Commits since v1.8

  • ed5dbc0 Release 1.8.1: ESPHome radio proxy built with ESPHome's own ESP-IDF

v1.7

Choose a tag to compare

@github-actions github-actions released this 30 Oct 11:54

Home Assistant integration 1.3.0 (install a given version).

  • Online update: older releases can be installed (rollback), the gateway firmware and the C6 package
    separately. Each release carries releases.json; the gateway offers only the releases whose manifest
    names its flash layout (layouts, from v1.6), so on layout v3 nothing older than v1.6. Web UI
    (Releases for this gateway), Home Assistant (update.install with version, attribute
    available_versions), Telegram (/releases, /install v1.6, /install c6 v1.6).
  • Fix: the online update checked every 125 s instead of every 6 h (tick overflow).

Commits since v1.6

  • 16f41e4 Release 1.7: install older releases that run on the board (rollback)
  • 3bc0180 Online update: install older releases that run on the board's flash layout