# Anura Base Hub **Part Number:** 10070 · Full docs: [docs.revibeenergy.com/base-hub/base-hub](https://docs.revibeenergy.com/base-hub/base-hub.html) ```{note} The Base Hub's software platform has been rebuilt. This page describes the current platform, which is configured from a web page on the gateway itself. Older material that mentions configuring the Base Hub through an internet API with `data_destinations` describes the previous generation. ``` ## What it is, in practical terms A DIN-rail industrial PC in a wall/pole-mounted enclosure that manages the **TR1** transceivers and **VS1** sensors of a site, and delivers their data to the customer's systems. Everything is set up from a **web interface on the gateway** — no software to install, no API to call. Key positioning points: - **A third delivery option, not a replacement for SB1.** VS1 sensors are permanently installed either way, but SB1 delivers data locally over Modbus TCP to a customer's own PLC/SCADA, while Base Hub publishes it to IT/cloud systems over **MQTT using Sparkplug B**. Ask: *"does the customer want this data inside their own automation system, or delivered to a remote/cloud system?"* — that answers SB1 vs. Base Hub. - **One gateway manages the whole sensor network.** Transceivers and sensors are discovered and adopted from the same web interface, and one Base Hub serves several transceivers. - **It can record locally as well.** A built-in *data logger* writes Vibreshark session files to the gateway, independent of any MQTT export, so the data can be downloaded and opened in [Vibreshark](vibreshark). ## What's inside The enclosure houses a DIN-rail industrial PC (FitPC Fitlet3), a DIN-rail PoE network switch (Teltonika TSW101) that powers connected TR1 transceivers, and a 12 VDC power supply. Typical power draw is ~7 W with no transceivers connected, rising to ~12 W with 4 connected, a useful rule of thumb when sizing a site's power budget. ## The web interface The gateway serves its own web interface. Log in with the account you were given and **change the factory default password** on a new installation. The menu is a flat list: :::{list-table} :header-rows: 1 * - Page - What you do there * - **Overview** - A triage board: it lists only what needs attention (a service down, a transceiver disconnected, a device waiting to be adopted) and links to where it's fixed. An empty board means all is well. * - **Sensors** - Scan for VS1 sensors in range, adopt them, rename or remove them, and edit their settings. * - **Transceivers** - Adopt discovered TR1 transceivers and see which sensors each one carries. * - **Data export** - Create and manage Sparkplug B exporters (see below). * - **Data log** - Configure the local recording and download or delete the recorded files. * - **Network** - Configure the gateway's network interfaces. * - **System** - Firmware updates, reboot, the system log and metrics. ::: Status is shown the same way everywhere: a dot and a label for *running / online*, *stopped / offline* or *failed*. ### Adopting transceivers and sensors Nothing is used until it is **adopted**. TR1 transceivers on the sensor network are discovered automatically and show up in **Transceivers** with an **Adopt** action; sensors are found by a scan in **Sensors**, ranked by signal strength per transceiver. Devices waiting for adoption show as a count in the menu and on the Overview. Transceivers are identified by their **MAC address**, not by a hostname, so check the MAC against the label when adopting. ## Delivering data: exporters Data leaves the Base Hub through **exporters**. Each is created, enabled and monitored from **Data export**. ### Sparkplug B exporter Publishes sensor data over MQTT to a broker the customer provides. **Each exporter instance is one Sparkplug Edge Node publishing to one destination**, so to deliver to two brokers you create two exporters. The settings to know: - **Broker host and port** — the default port is 8883 with TLS, or 1883 without. - **TLS** — on by default, with hostname verification. Use TLS for anything crossing the internet; plain MQTT belongs only on a well-secured local network. - **MQTT version** — 5 by default, or 3.1.1 for brokers whose version 5 support is incomplete. - **Username and password** — optional. The password can be set but is never shown again; leaving the field blank on a later save keeps the stored one. - **Group ID and Edge Node ID** — how the receiving system sees this gateway. The *name* of the exporter is only a handle on the gateway and can stay the same while the Edge Node ID changes. - **Minimum interval** — by default each metric is forwarded at most once per 60 seconds, to spare backends that don't want every report. Setting 0 forwards everything. - **Metrics** — which metrics to publish. Leave empty to publish all. An exporter is created *disabled*; you enable it when its settings are right. The exporter's page shows whether it is actually running. ### Sensor data uploader The **sensor data uploader** is the Base Hub's other way of delivering data to a customer's MQTT broker. It is the successor to the *SensorDataUploader* of the previous Base Hub generation, and it keeps that product's defining feature: a **persistent queue**. If the broker is unreachable, data waits on the gateway's disk and is sent when the connection returns, including after a restart. This is the answer to remote sites with unreliable connectivity where gaps in the data are not acceptable. ```{important} **Availability.** The uploader ships as a software component of the gateway, but it can **not yet be set up from the web interface**: today it is configured by ReVibe or a trained integrator through a configuration file. Do not promise a customer self-service setup of it. Ask ReVibe support for the current status first. ``` How it differs from the Sparkplug B exporter: :::{list-table} :header-rows: 1 * - - Sparkplug B exporter - Sensor data uploader * - **Best for** - SCADA/IIoT platforms that speak Sparkplug B - Customers who want their own cloud or data platform to receive ReVibe's own data formats * - **If the broker is unreachable** - No queue is documented: assume data is not replayed - Held in a persistent queue and sent when the broker is back * - **Message format** - Sparkplug B metrics - ReVibe wire formats (below) * - **Set up in the web interface** - Yes - Not yet ::: Key facts: - **One uploader instance serves one destination.** Two brokers means two instances, each with its own queue. - **You choose which data formats to send**, so bandwidth can be matched to the link: :::{list-table} :header-rows: 1 * - Data - Formats offered * - Aggregates: low-bandwidth summary values such as RMS, peak and dominant frequency - protobuf or JSON * - Scheduled raw waveform data - protobuf, compact protobuf or CSV * - Sensor health: battery, signal and time-sync quality - protobuf ::: - **Topics are predictable.** Each message goes to `{prefix}gateways/{gateway-id}/sensors/{sensor-name}/data/{format}` with QoS 1. The *gateway ID* is chosen by the customer's setup and identifies the Base Hub to the receiving system. The optional prefix lets several gateways share one broker. - **Sensors are identified by the name given at adoption**, for example `screen-1-feed-left`, not by the BLE address. That is why replacing a sensor with *Replace an existing sensor* does not change what the receiving system sees. - **Keep the instance name when the destination changes.** The instance name names the queue. Changing a destination (a new broker hostname, say) under the same name keeps the data already waiting. This is the old `destination_name` rule in its new form. - **TLS and credentials.** Use TLS for anything crossing the internet. Credentials are delivered securely to each instance and are never stored in its configuration file. If the broker uses a client identifier, keep it unique per instance: two instances sharing one will evict each other in a reconnect loop. ### Data log The data logger records Vibreshark session (`.vibe`) files on the gateway. You choose how often a new file starts, an optional maximum file size, a total storage limit (4 GB by default) and what happens when that limit is reached: **delete the oldest recordings**, or **stop recording and keep everything**. Completed files can be downloaded from the Data log page. ```{important} Choose the full-storage behavior on purpose. With *delete the oldest*, old data is eventually lost; with *stop*, new data is not recorded once the limit is reached. ``` ## Network The gateway has separate interfaces for the **upstream network** (towards the customer's IT or the internet), an **industrial network**, and the **Anura sensor network** where the TR1 transceivers sit. The Anura sensor network interface is managed by the gateway and read-only; the others can be set to DHCP or a static address from **Network**. ## System and firmware updates Firmware is updated from **System** in deliberate steps: **upload** the update file, **install** it to the standby slot, **reboot**, then **confirm**. The new version runs *unconfirmed* at first, and if nobody confirms within 15 minutes the gateway restarts back into the previous version. The same page can revert a bad update by hand. This is what makes an update on a remote site safe to try. The **System** page also shows the **system log** (filterable by service) and **metrics**, the first places to look when something is wrong. ## Common field issues and what's a reseller vs. a support problem - **A transceiver or sensor doesn't appear** — it isn't adopted yet or isn't in range. Check the Overview and the Transceivers and Sensors pages first. - **Data isn't arriving at the customer's system** — open **Data export** and check that the exporter is *enabled* and *running*, then the broker's host, port, TLS setting, username and password. A wrong MQTT version or a TLS mismatch is a common cause. The system log (filter: the relevant service) shows connection errors. - **A customer needs data to survive connection loss** — the Sparkplug B exporter does not queue; the sensor data uploader does. Offer the uploader, and be clear that it is set up by ReVibe or a trained integrator for now. - **Recorded files are missing** — check the data logger's storage policy; *delete the oldest* removes old files by design. - **After a firmware update the gateway restarts by itself** — the update wasn't confirmed within 15 minutes. Install it again, and confirm once it is running. - **Certificate or broker-side configuration** — that belongs to the customer's IT team, not to ReVibe. ## What's coming Planned but **not yet available**, so don't promise these to a customer: setting up the sensor data uploader from the web interface, a sealed credentials store (including mutual-TLS client certificates), a Modbus TCP server on the gateway, and management from a ReVibe cloud service. Ask ReVibe support for the current status before quoting any of them. ## What's out of scope The Sparkplug B and internal MQTT data schemas (see the [anura-data-model](https://github.com/ReVibe-Energy/anura-data-model) repository), building the image or packages, and command-line administration — escalate to ReVibe support (anurasupport@revibeenergy.com).