Repository navigation
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 (
sensorson 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
telemetryTilesacceptshumidity,pressure,gas,power,currentandsensorVoltage./inforeportsfeatures.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_quietaccepts 3 and 6 hours on every radio.
Polling
polling.foreign_claims: off|check(defaultoff). Withcheck, a claim is this server's own only when its signedpoll_urlnamesDOMAIN, or, for firmware that sends none, when a rebroadcaster says it arrived on one ofpolling.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. isPollerand the poller filter now count foreign claims;isForeignPollersays 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_slotsandpoll_interval. The slot limit follows the claim (default 8, ceiling 32) and the Poller view reportspollIntervalMinutes. - Requesting telemetry for a repeater a foreign observer already checks needs
acknowledgeForeign.
Brokers
MQTT_BROKER_n_REBROADCAST=truemarks 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 (
brokerson packet detail).GET /brokers/sourceslists the names for the filter. - Observer broker lists and the broker filter cover the last 30 days.
MQTT_BROKER_n_NAMEgives a broker connection a nickname, shown wherevermqtt1andmqtt2were.
mail.tls_skip_verifyfor 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_urlis removed. The public address comes fromDOMAIN, andWEB_DOMAINwhen the web is on another host. A leftover key only logs a warning. The Docker stacks already setDOMAIN. (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: checkdrops stored claims that were not placed under the server's current host and broker list; observers re-claim on their next cycle. - See Upgrading.