Skip to content

v2.3.4

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 04:58
d67ab0c

Requires Beacon Web 2.3.4 and BEACON Mobile 2.3.4. This server raises both minimum client versions to 2.3.4. Older web pages are told to reload and older apps are asked to update. Upgrade the web with the server, and make sure the 2.3.4 app is available to your users first.

Covers everything since v2.3.0.

New

Sensors

  • Telemetry from polled repeaters with extra sensors is decoded and served with node telemetry (sensors on each point, one entry per sensor channel): temperature, humidity, pressure, gas resistance or air quality index with its calibration accuracy, voltage, current, power, distance, moisture and light.
  • Power is voltage times current when a channel carries both, since the firmware's own figure is whole watts.
  • A position or altitude in a reading is never decoded or served, and no route returns the raw reading.
  • Atlas telemetryTiles accepts humidity, pressure, gas, power, current and sensorVoltage. /info reports features.sensors.

Alerts

  • A repeater counts as polled while it has a trusted reading under 36 hours old, so telemetry alerts work for repeaters read by a poller this server does not assign.
  • New alert kind telemetry_stopped: fires when a repeater's readings stop for 3, 6, 12, 24 or 48 hours, with mail and push text.
  • gone_quiet accepts 3 and 6 hours on every radio.

Polling

  • polling.foreign_claims: off|check (default off). With check, a claim is this server's own only when its signed poll_url names DOMAIN, or, for firmware that sends none, when a rebroadcaster says it arrived on one of polling.mqtt_hosts. Any other claim is foreign.
  • Foreign observers are never a poller or standby and take no requests. Their readings are stored, marked foreign, and trusted on the same advert evidence.
  • Local pollers: an observer that sends readings and no claim is tagged (isLocalPoller), and its Poller view lists the repeaters it sent readings for in the last day.
  • isPoller and the poller filter now count foreign claims; isForeignPoller says which kind.
  • Signed claims and readings are verified with the observer's key and dropped when wrong. An unsigned claim is refused while a signed one is live.
  • The reply signal strength of each reading is stored, and the Poller view reports the latest reading's RSSI and whether it was signed.
  • Claims carry max_slots and poll_interval. The slot limit follows the claim (default 8, ceiling 32) and the Poller view reports pollIntervalMinutes.
  • Requesting telemetry for a repeater a foreign observer already checks needs acknowledgeForeign.

Brokers

  • MQTT_BROKER_n_REBROADCAST=true marks a broker that forwards from other brokers. The connection then uses MQTT 5 and records packets, observations and observer brokers under the source broker's name.
  • Each packet keeps the set of brokers it arrived through (brokers on packet detail). GET /brokers/sources lists the names for the filter.
  • Observer broker lists and the broker filter cover the last 30 days.
  • MQTT_BROKER_n_NAME gives a broker connection a nickname, shown wherever mqtt1 and mqtt2 were.

Mail

  • mail.tls_skip_verify for mail servers with untrusted certificates.

Fixes

  • Telemetry with a humidity value was misread after that value, which lost the board temperature and anything else after it. Humidity is one byte on the wire.
  • Rebroadcast ingest over ws/wss works with brokers that reject MQTT packets split across websocket frames (mosquitto 2.1).
  • A telemetry request's status change sets its updated time.
  • Signed messages: lowercase keys only, no key repeated in another case, and a claim's state must be a plain word.
  • An older claim never undoes a newer one, and an observer that turns foreign loses its assignments at once.

Breaking

  • Minimum client versions are now 2.3.4 for both Beacon Web and BEACON Mobile (were 2.3.0).
  • accounts.public_url is removed. The public address comes from DOMAIN, and WEB_DOMAIN when the web is on another host. A leftover key only logs a warning. The Docker stacks already set DOMAIN. (Since 2.3.1.)

Upgrade notes

  • Migrations 090 to 097 run on start and take seconds.
  • Sensor channels are decoded from the upgrade onward; earlier readings are not backfilled.
  • Turning on polling.foreign_claims: check drops stored claims that were not placed under the server's current host and broker list; observers re-claim on their next cycle.
  • See Upgrading.