Skip to content

4.0.0

Choose a tag to compare

@franzenhof franzenhof released this 28 Nov 14:58
· 8 commits to main since this release

Universal Weather Node 4.0.0 – for the Heltec WiFi LoRa 32 V4

Firmware 4.0.0 is for the Heltec WiFi LoRa 32 V4 only (V4.2 / V4.3, ESP32-S3R2: 16 MB flash, 2 MB PSRAM). The V4-R8 is not supported. The Heltec V3 is legacy: it stays on firmware 3.x (bug fixes only, no new functions) — for everything below, use a V4.

What's new

  • New platform: Arduino-ESP32 3.3.13 on ESP-IDF 5.5, a new web server (several browser tabs at once, one login, optional HTTPS with your own or a self-generated certificate, a brake on wrong passwords), a 16 MB layout with two 6 MB application slots.
  • Long history: up to 2 years in its own flash partition (24 h / 35 days / 2 years), saved every 30 minutes; up to 32 custom series; CSV export, a page per wireless sensor, sparklines on the tiles.
  • Logical sensors (★): your sensors get an internal ID that never changes and your own name everywhere (MQTT, Home Assistant, InfluxDB, Loxone, placeholders); after a battery change the node offers "new sensor replaces Garden?".
  • Own Wi-Fi access point for places without Wi-Fi (e.g. a model airfield): phones scan the QR code on the display and see the dashboard, without internet; the node takes the time from a phone when it has no other source.
  • Virtual sensors: the node transmits its own values as up to 8 Ecowitt / Fine Offset or TFA / LaCrosse IT+ (TX29 / TX35 style) sensors, so a weather station console can show them — only own values, within the 1 % duty cycle; also in the gaps of Davis reception.
  • New outputs and inputs: Prometheus GET /metrics, an InfluxDB / VictoriaMetrics push, network sensors (values from MQTT or a REST URL as sensors).
  • Home Assistant: one device per ★ sensor; wireless value groups (wind, rain, …) are announced only once a sensor delivers them.
  • Diagnostics: reset history and crash report with a core dump download, task watchdog over every network task, reception watchdog for ★ sensors, 64 KB device log and 256 KB radio trace in PSRAM.
  • More: GNSS module (time, position, altitude), time sources in a fixed order (GNSS, LoRaWAN network time, DCF77 sensor, NTP, phone), LDS01 distance sensor, live values and a screensaver on the display, status LED, reset in two steps (Reset settings / Erase everything), a clearer config portal, board support for the Weather Node V4 Full / V4 Light PCBs.
  • Reviewed: every line of the firmware was read once by a reviewer who did not write it; the fixes are in the changelog.

Full list: CHANGELOG.

Updating — please read

  • From 2.x or 3.x there is no update over Wi-Fi. The partition table changed. Make a settings backup (Settings → System → Backup and restore), install universal-weather-node-4.0.0-factory.bin once over USB with web.esphome.io, enter the Wi-Fi in the config portal and restore the backup. The chart history starts empty, the LoRaWAN session is not carried over, and the ★ sensor list starts empty (mark your sensors again). Step by step: Coming from 2.x or 3.x.
  • Uploading the plain .bin over the air: 3.0.0 refuses it; 2.0.x accepts it, then 4.0.0 shows a message and goes back to the 2.x firmware by itself after 10 s.
  • Files: universal-weather-node-4.0.0-factory.bin = first installation over USB at 0x0; universal-weather-node-4.0.0.bin = later updates over the web of a node that already runs 4.x.

Tested (Heltec V4.3 with the KCT8103L front end)

  • Start and board detection, PSRAM, IT+ reception, the web server with login, login brake, settings save (all tabs, checked in a backup), backup / restore, firmware upload, config portal, setup wizard.
  • Both reset steps; crash report and core dump after a test crash (watchdog and panic), decoded with esp-coredump.
  • Own access point with a phone: QR join, the dashboard in the sign-in sheet and for any address, stays connected without internet, time taken from the phone.
  • MQTT with a real Home Assistant (entities, units, device classes), InfluxDB 2.7 push, NTP.
  • A real 3.x → 4.x migration: backup with secrets, the -factory.bin over USB, Wi-Fi in the portal, backup restored.
  • Virtual sensors over the air with a second node as receiver: Fine Offset WH31 / WN32P and IT+ TX29 / TX35.

Not verified yet — reports welcome

  • A multi-day memory run.
  • A real Prometheus server (only the format was checked).
  • Virtual sensors with an Ecowitt gateway / console or a TFA / LaCrosse IT+ station (pairing, the 15 / 22 s interval of the IT+ types).
  • Virtual sensors together with Davis reception (needs a Davis transmitter).
  • Davis wireless reception in general (experimental).
  • Fine Offset (Ecowitt / Froggit) reception on our own V4 (confirmed by a user on a V4.2).
  • The Weather Node V4 Full / V4 Light boards (not built yet; detection only in the firmware).
  • Several phones at once on the own access point; iPhone and Android each.

The device log, the radio trace (Log page) and the crash report (Settings → System → Diagnostics) help most.