nemi EdgeBase¶

Description¶
nemi EdgeBase is a 4G gateway with a 64-bit Linux operating system and edge computing capabilities. It forms the bridge between the sensor nodes in the nemi Link 2400 wireless network and worldwide networks: as a receiver it collects the data of up to eight wireless sensor nodes on one radio channel, stores all data on an internal SSD and forwards it via a secure (VPN-tunneled) 4G/LTE cellular connection or a wired Ethernet network.
In addition to its role as receiver, nemi EdgeBase carries its own integrated 9-DoF MEMS IMU (3-axis accelerometer, gyroscope and magnetometer), an internal temperature sensor and a multi-constellation GNSS/GPS module (GPS / GLONASS / BeiDou / Galileo). It can therefore act as a passive data relay and as a measurement point in its own right.
The EdgeBase runs a Debian-based Linux on a 4-core ARM CPU (1.2 GHz, 1 GB RAM). Python-based edge analytics can reduce, filter or pre-process data directly on the device ("smart data") before it is transmitted — reducing cellular bandwidth, storage volume and server load. Raw time data is stored as compressed binary files and is accessible via FTP (locally or via VPN); pre-evaluated data can be published as MQTT streams.
The robust, weatherproof IP 65 housing with passive cooling is suitable for outdoor and industrial installations. With a power consumption of ≤ 4.5 W, nemi EdgeBase can also be operated stand-alone with 24 V AGM batteries and optional solar power. Security updates are provided for 5 years after delivery.
The network can be extended by a nemi Connect USB receiver on a second radio channel, so that up to 16 wireless sensor nodes can be received, synchronized and stored by one nemi EdgeBase.
Typical Applications¶
nemi EdgeBase is designed for long-term, unattended monitoring where wireless sensor nodes report to a central gateway that stores data locally and forwards it remotely — typically to implement predictive maintenance.
- Wind turbine load monitoring — permanent data acquisition on rotor blades, pitch bearings, main shafts and gearboxes. GNSS time synchronization enables comparison across geographically distributed turbines.
- Condition monitoring of rolling bearings, conveyors and drive trains — continuous or event-triggered recording (threshold trigger or digital input of a nemi DAQ) captures transient events without continuous high-rate logging.
- Structural health monitoring (SHM) — bridges, towers and buildings under traffic, wind or seismic excitation. Sensor nodes such as nemi G+ or nemi Struct measure continuously; the EdgeBase stores raw data and streams aggregated indicators to a dashboard.
- Amusement ride performance monitoring — permanent monitoring of roller coaster ride performance with high-rate acquisition (up to 4 kHz with nemi G+), local SSD storage and data upload via LTE.
- Mobile and transport monitoring — installation on vehicles, trains or ships. Data is buffered on the SSD during transit and uploaded via LTE when available or downloaded after return.
Technical Specifications¶
General¶
| Parameter | Value | Unit |
|---|---|---|
| Dimensions (without antenna and connectors) | 164 × 125 × 51 | mm |
| Weight | approx. 800 | g |
| Operating temperature | −20 to 60 | °C |
| Housing protection class | IP 65 (passive cooling) | — |
| CPU | ARM, 4 cores, 1.2 | GHz |
| RAM | 1,024 | MB |
| Edge computing | Python based (64-bit Linux) | — |
| SSD hard disk | 250 / 500 | GB |
| Security updates | 5 years after delivery | — |

(All dimensions in mm)
Power Supply¶
| Parameter | Value | Unit |
|---|---|---|
| External power supply | 24 V DC / 230 V AC via external power supply | V |
| Power consumption (average) | ≤ 4.5 | W |
| Power requirement (peak) | approx. 24 | W |
| Stand-alone operation | Possible with 24 V AGM batteries; solar power options available on request | — |
Data Connectivity¶
| Parameter | Value |
|---|---|
| Data transmission | FTP server via VPN, MQTT data streams (MQTTS supported) |
| Cellular connection | 4G modem with SIM slot (Micro-SIM), LTE Cat. 4 for worldwide networks |
| LTE downstream (max.) | 150 Mbit/s |
| LTE upstream (max.) | 50 Mbit/s |
| Wired Ethernet | M8 socket, D-coded; CAT5, 100 Mbit/s |
| USB | USB Type-C socket for external USB devices (network adapters, nemi Connect, others on request) |
| VPN | OpenVPN, pre-configured by i4M |
Wireless Sensor Network (nemi Link 2400)¶
| Parameter | Value |
|---|---|
| Radio technology | nemi Link 2400, 2.4 GHz frequency band, star topology |
| RF antenna connector | RP-SMA (front panel) |
| Max. sensor nodes on the built-in receiver | 8 per radio channel (3 at the highest sampling rates) |
| Max. sensor nodes with an additional nemi Connect | 16 (2 radio channels × 8 nodes) |
| Compatible sensor nodes | nemi G+, nemi G+ nano, nemi G+ ultra, nemi G+ ultra nano, nemi DAQ, nemi DAQ nano, nemi Struct, nemi Motion |
Integrated 9-DoF IMU (ACC / GYR / MAG)¶
| Parameter | Value | Unit |
|---|---|---|
| Sensor type | 9-DoF MEMS IMU: 3-axis accelerometer, 3-axis gyroscope, 3-axis magnetometer | — |
| Sampling rates | 416 / 208 / 104 / 52 | Hz |
| Signal resolution | 16 | bit |
| Accelerometer ranges | ± 16 / 8 / 4 / 2 | g |
| Gyroscope ranges | ± 4,000 / 2,000 / 1,000 / 500 / 250 / 125 | °/s |
| Magnetometer ranges | ± 16 / 12 / 8 / 4 | Gauss |
Internal Temperature Sensor¶
| Parameter | Value | Unit |
|---|---|---|
| Sampling rate | 1/12 of the IMU sampling rate (e.g. ≈ 35 Hz at 416 Hz) | Hz |
| Measuring range | −20 to 60 | °C |
| Resolution | 0.1 | °C |
Satellite Navigation (GNSS)¶
| Parameter | Value | Unit |
|---|---|---|
| GNSS module | GPS / GLONASS / BeiDou / Galileo (multi-constellation) | — |
| Sampling rate | max. 10 | Hz |
| Position accuracy | 2 | m CEP |
| Antenna connector | SMA socket (front panel), active or passive GNSS antenna | — |
First Commissioning¶
Required Hardware and Software¶
| Item | Purpose |
|---|---|
| nemi EdgeBase | Gateway / receiver |
| 24 V DC power supply (or 230 V AC external power supply) | Power input |
| RF antenna (RP-SMA, 2.4 GHz) | nemi Link 2400 radio network |
| 2 × LTE antenna (LTE1 main, LTE2 diversity) | Cellular connection — always connect both |
| GNSS antenna (SMA) | Required for GNSS positioning and GNSS time synchronization |
| M8 (D-coded) to RJ45 cable, CAT5 | Permanent wired Ethernet connection |
| USB-C Ethernet adapter + standard Ethernet cable | Direct local connection for initial setup |
| WinSCP | FTP client for configuration and data access (FileZilla and other tools have not proven reliable and are not supported) |
| Notepad++ (or another text editor that preserves indentation) | Editing the YAML configuration files |
| OpenVPN client | Remote access via the i4M VPN |
| nemi Sensor Config v2.1 or later | Radio configuration of the sensor nodes via USB |
| nemi Studio or nemi Studio Web App | Live data check during commissioning (logging_mode: 6) |
| i4M Python decoder | Decoding the .bin.bz2 files into pandas DataFrames (export to CSV, Parquet etc.) |
The i4M software (nemi Sensor Config, nemi Studio, Python decoders) is not publicly available; customers receive download links from i4M. The FTP passwords for nemibase_config and nemibase_data are provided separately by i4M.
Step 1 — Connect the Antennas¶
Before applying power:
- Screw the RF antenna firmly onto the RF RP-SMA socket on the front panel.
- Connect both LTE antennas to LTE1 and LTE2 on the back panel. Using only one LTE antenna significantly reduces throughput and connection reliability.
- If GNSS positioning or GNSS time synchronization is required, connect the GNSS antenna to the GPS SMA socket and ensure an unobstructed view of the sky.
Step 2 — Apply Power and Observe the LED Sequence¶
Connect the 24 V DC supply to the back panel. The PWR LED flashes green as long as 24 V is present. The SYS LED then shows the boot progress:
| Time after power-on | SYS LED | Meaning |
|---|---|---|
| approx. 10 – 30 s | Red, continuously | System is booting / starting up |
| approx. 30 – 50 s | Blue, continuously | System has booted successfully |
| from approx. 50 s | Flashing blue / violet alternately | System is receiving measurement data and logging it |
Step 3 — Establish a Direct Connection for Initial Configuration¶
When the LAN IP address or the configuration of the EdgeBase is unknown, use the direct USB-Ethernet link (connection option 4 in Network Connections). Via this path the EdgeBase always uses the same IP configuration and is reachable at 192.168.101.2.
- Wait until the SYS LED is continuously blue or flashing blue / violet.
- Insert a USB-C Ethernet adapter into the USB-C port on the front panel.
- Connect the adapter with a standard Ethernet cable to a second USB-Ethernet adapter on your PC (alternatively the built-in network card of the PC, if it is not in use for another purpose).
-
Configure the PC-side network adapter with a static IP address. In Windows: Control Panel → Network and Internet → Network and Sharing Center → click the adapter of the direct connection (shown as "Unidentified network" / "No Internet access") → Properties → Internet Protocol Version 4 (TCP/IPv4) → Properties:
On this link the EdgeBase always uses:
-
Verify the connection: open a command prompt (Windows key →
cmd) and runping 192.168.101.2. An "unidentified network" warning in Windows is normal for this direct link. If the ping fails, the wrong PC adapter was probably configured — repeat the steps (temporarily disable other adapters if needed).
Only one wired network interface at a time
Remove the USB-Ethernet adapter from the EdgeBase before switching to the permanent M8 Ethernet connection. While the USB adapter is plugged in, the M8 Ethernet interface does not initialize.
Step 4 — Access the Configuration Files via FTP¶
Open WinSCP and connect with:
File protocol: FTP
Encryption: No encryption
Host name: 192.168.101.2 (or the current LAN / VPN IP)
Port: 21
User name: nemibase_config
Password: (supplied by i4M)
The configuration files system_config.yml (EdgeBase itself) and sensor_config.yml (wireless sensor nodes and internal GNSS / IMU sensors), and mqtt_config.yml for MQTT deployments, are located in the root directory. Use a proper text editor such as Notepad++ — YAML indentation is significant. If Notepad++ is installed, WinSCP opens the files directly in it and uploads changes automatically after saving.
Step 5 — Configure Network and SIM (system_config.yml)¶
Set host name, LAN IP, gateway, subnet mask, NTP servers and the LTE parameters (PIN, APN, check IP) for the deployment — see system_config.yml for the full reference. Network parameters take effect after a reboot.
Step 6 — Configure the Radio Channel and the Sensors (sensor_config.yml)¶
Configure all wireless sensor nodes with nemi Sensor Config via USB to the same radio channel, radio mode and node count as the EdgeBase (see the respective sensor page). Then set the matching values on the EdgeBase, for example:
nemi_link_2400_base:
rf_channel: 0 # default channel — must match the sensors
rf_speed: 2 # 1 Mbit/s — must match the sensors
rf_max_sensor_count: 3 # must match the sensors
logging_mode: 1 # compressed .bin.bz2 files
file_comment_line: "First test"
file_write_start_mode: 1
sensor_1:
file_identifier: "RF_S1"
sensor_type: vibration # nemi G+
sensor_mode: 1
vib_odr: 0 # 4,000 Hz
vib_range: 1 # ±4 g (M08) / ±20 g (M40)
imu_acc_range: 1
imu_gyr_range: 1
imu_mag_range: 1
sleep_time: 0
sample_time: 600
Each sensor node is entered as sensor_N (N = node number) below nemi_link_2400_base; the full parameter reference is given under Detailed Configuration.
For a minimal first test with the EdgeBase's internal IMU only:
internal_sensors_base:
imu_odr: 3 # 208 Hz
imu_acc_range: 1 # ±2 g
imu_gyr_range: 1 # ±250 °/s
imu_mag_range: 1 # ±4 Gauss
sleep_time: 0
sample_time: 600
file_identifier: "INTERNAL"
file_comment_line: "First test"
Sensor and radio settings are applied automatically after saving (within about one minute); no reboot is required. The RF LED flashes green as soon as measurement data is transmitted.
Step 7 — Verify Live Data¶
For a live check during commissioning, set logging_mode: 6. The EdgeBase then forwards the data stream of its receiver over the network, and you can connect with:
- nemi Studio (Windows): click Connect EdgeBase, enter the IP address of the EdgeBase (default
192.168.101.2), keep port9413and click Connect to nemi EdgeBase. Then set up the radio network and the nodes and click Start Receiver. - nemi Studio Web App (any current browser, including Safari on iPad): the app is served by the EdgeBase itself. Open
http://<address of the EdgeBase>:8080/and press Connect — the connection type nemi EdgeBase (network) and port 9413 are preset.
nemi Studio Web App on older EdgeBase units
nemi EdgeBase units produced before November 2026 need a software update to serve the nemi Studio Web App on port 8080. The update can be installed remotely on request — contact i4M.
Check live data, signal strength and missing samples before the final installation.
Note
logging_mode: 6 does not write any files. Switch back to a file-writing mode (recommended: 1 or 4) before leaving the installation unattended.
Step 8 — Verify Data Recording¶
- SYS LED flashes blue / violet → measurement data is received and logged.
- RF LED flashes green → data is transmitted on the radio channel.
- Connect via WinSCP with the user
nemibase_dataand check the recorded files in the date-organized folders (e.g./2025-10-07/). Download a short test recording and decode it (see Data Decoding and File Formats).
Step 9 — Insert the SIM Card (LTE Deployments)¶
Update the PIN before changing the SIM
Update lte_pin in system_config.yml to match the new SIM before inserting it. If the stored PIN does not match, the modem makes repeated failed login attempts and may lock the SIM (PUK recovery via a mobile phone required).
- Disconnect the power supply.
- Remove the two black plastic covers on the back panel (labeled LTE1 / LTE2) and loosen the two panel screws underneath. If a cable gland is fitted on the 24 V cable, unscrew it so that the panel can slide past the cable.
- Pull the panel out slightly to expose the internal board.
- Insert the Micro-SIM into the push-pull slot on the underside of the PCB, blank side facing up (towards the PCB), and check that it snaps into place.
- Reassemble in reverse order (panel, cable gland, panel screws, plastic covers) and check
lte_pin,lte_apnandlte_check_ipinsystem_config.yml.
M2M SIM cards often use the APN internet.m2mportal.de. Some M2M SIMs have no PIN; in this case, leaving the previously stored PIN in place has proven more reliable than leaving the field empty.
First Data Transmission — Checklist¶
- 24 V supply present, PWR LED flashing green, SYS LED blue / flashing blue-violet after approx. 50 s.
- RF antenna, both LTE antennas and (if used) the GNSS antenna connected.
rf_channel,rf_speedandrf_max_sensor_countidentical on EdgeBase and all sensor nodes; each sensor has a unique node number.- Live data, signal strength and latency verified in nemi Studio or nemi Studio Web App (
logging_mode: 6). - File-writing
logging_modeset before the installation is left unattended. - Test at the intended installation location — do not hold the sensors in your hand during range tests; the human body strongly absorbs 2.4 GHz radio transmissions.
Mounting & Connections¶
Front Panel¶

| Connection / LED | Description |
|---|---|
| ETH, M8 socket | Ethernet connection, M8, D-coded |
| USB Type-C socket | Connection of external USB devices (network adapters, nemi Connect, others on request) |
| GPS antenna | SMA socket for active or passive GNSS antennas |
| RF antenna | RP-SMA socket for an antenna for the 2.4 GHz frequency band (nemi Link 2400) |
| ETH LED | Lights up light blue when Ethernet is connected; flashes during data transmission |
| SYS LED | Status of the internal Linux system (see LED table below) |
| RF LED | Status of the radio data transmission (see LED table below) |
Back Panel¶

| Connection / LED | Description |
|---|---|
| 24V | 24 V DC power supply; power requirement max. approx. 24 W, average approx. 4.5 W |
| LTE1 | 4G/LTE main antenna |
| LTE2 | 4G/LTE second antenna (diversity antenna) |
| PWR LED | Flashes green: 24 V supply voltage is on |
LED Status Codes¶
| LED | Pattern | Meaning |
|---|---|---|
| PWR | Flashing green | 24 V supply voltage is on |
| SYS | Red, continuously (approx. 10 – 30 s after power-on) | System is booting / starting up |
| SYS | Blue, continuously (approx. 30 – 50 s after power-on) | System has booted successfully |
| SYS | Flashing blue / violet alternately (from approx. 50 s) | System is receiving and logging measurement data |
| RF | Flashing red | Radio data transmission waiting for connection from the Linux system |
| RF | Flashing blue / green alternately | Radio data transmission waiting for settings from the Linux system |
| RF | Flashing green | Data transmission active |
| ETH | Light blue / flashing | Ethernet connected / data transmission |
Ethernet Cable¶
Suitable cable for connecting nemi EdgeBase via Ethernet:
- Connector at nemi EdgeBase: M8, D-coded
- Connector at switch / PC: RJ45
- Network cable CAT5, 100 Mbit/s
- Examples: Phoenix Contact NBC-M8MSD-10-93C/R4AC (1423711), Murrelektronik 7000-86101-7960030, Digi-Key 277-1423711-ND
Power Supply¶
nemi EdgeBase requires 24 V DC; it cannot be operated from 12 V. Suitable sources:
- 24 V DC from an industrial or DIN-rail power supply
- 230 V AC via the external AC/DC power supply (e.g. for lab use)
- 24 V AGM batteries for stand-alone operation, optionally with a solar system (solar options on request)
- A DC/DC converter from a lower-voltage supply
Dimension the supply for an average consumption of ≤ 4.5 W and peaks of up to approx. 24 W (e.g. during LTE transmission and boot).
Installation¶
- Mount the EdgeBase on a rigid surface using the mounting flanges of the base plate (hole spacing see dimension drawing).
- Keep the IP 65 rating intact: close unused connectors and route cables so that water cannot enter through connectors or cable glands.
- Allow free air flow around the heat-sink fins (passive cooling).
- Place the RF antenna with the best possible line of sight to the sensor nodes; avoid metal enclosures around the antenna. For installations inside metal structures, use an external antenna with an RP-SMA extension cable.
Expansion of the Wireless Network¶

The built-in receiver handles one nemi Link 2400 radio channel with up to eight sensor nodes. The network can be extended by a further radio channel: a nemi Connect USB receiver connected to the USB-C port of the EdgeBase transmits on its own radio channel and receives data from up to eight further sensor nodes. The data is stored and forwarded by the EdgeBase. Only one external nemi Connect can be connected. In total, data from up to 16 wireless sensors and sensor nodes can be received simultaneously and synchronized with one nemi EdgeBase; all data is provided through the same FTP and MQTT interfaces.
Network Connections¶

| No. | Connection | Description |
|---|---|---|
| 1 | Cellular network (4G/LTE) + VPN | The IP address of the EdgeBase in the cellular network can change, and cellular networks are usually not reachable from outside. Access is therefore via VPN. Every EdgeBase is pre-configured with an OpenVPN connection to an i4M server (can be changed on customer request). The VPN IP address of the EdgeBase never changes; the customer receives a VPN login and the VPN IP addresses of their EdgeBases from i4M. All connections are SSL-encrypted with certificates issued by i4M. |
| 2 | Ethernet / LAN + VPN | The EdgeBase is connected to a local network with a static IP address (automatic IP assignment on request). If firewall and port rules permit, the VPN connection is also established via the LAN; the EdgeBase is then reachable both via VPN and via the LAN. |
| 3 | Ethernet / LAN | As 2, but without VPN. The EdgeBase is reachable at its pre-configured static IP address. |
| 4 | Direct connection via USB-Ethernet adapter | Direct link between EdgeBase and PC with USB-Ethernet adapters and an Ethernet cable. The EdgeBase always uses the same IP configuration on this link, so it can be configured even if its network configuration is unknown — see Step 3. |
Detailed Configuration¶
nemi EdgeBase is configured via YAML files accessed over FTP (user nemibase_config). No local display is provided. Changes to sensor and radio parameters take effect automatically after saving (within about one minute); network parameters require a reboot. Live configuration of the sensor nodes is also possible from nemi Studio / nemi Studio Web App while logging_mode: 6 is active.
Configuration Files¶
| File | Purpose |
|---|---|
system_config.yml |
Network, host name, SIM / LTE, NTP |
sensor_config.yml |
Internal IMU / GNSS settings, radio channel and wireless sensor node settings |
mqtt_config.yml |
MQTT broker connection (required for logging_mode 3 and 4) |
system_config.yml¶
| Key | Example | Description |
|---|---|---|
host_name |
NEMIBASE00020 |
Host name in the Ethernet / LAN network |
ip |
192.168.188.160 |
Static LAN IP address (M8 Ethernet interface) |
gateway_ip |
192.168.188.1 |
LAN gateway |
subnetmask |
255.255.255.0 |
LAN subnet mask |
ntp_servers |
0.de.pool.ntp.org |
NTP server(s), space-separated |
lte_pin |
1234 |
SIM PIN (4 digits; do not use 0000) |
lte_apn |
internet |
APN of the mobile network operator |
lte_check_ip |
8.8.8.8 |
IP pinged approx. every 30 s; if the ping fails, the EdgeBase (re-)establishes the cellular connection. 0.0.0.0 disables LTE completely — do not use it when LTE is the only remote access path. |
All keys are placed below the root key nemi_edge_base::
nemi_edge_base:
host_name: NEMIBASE00020
ip: 192.168.188.160
gateway_ip: 192.168.188.1
subnetmask: 255.255.255.0
ntp_servers: 0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org
lte_pin: 1234
lte_apn: internet
lte_check_ip: 8.8.8.8
sensor_config.yml — Internal Sensors¶
Section internal_sensors_base configures the built-in IMU and temperature sensor of the EdgeBase:
| Key | Values | Description |
|---|---|---|
imu_odr |
0 = off, 1 = 52 Hz, 2 = 104 Hz, 3 = 208 Hz, 4 = 416 Hz |
IMU sampling rate |
imu_acc_range |
0 = off, 1 = ±2 g, 2 = ±4 g, 3 = ±8 g, 4 = ±16 g |
Accelerometer range |
imu_gyr_range |
0 = off, 1 = ±250 °/s, 2 = ±500 °/s, 3 = ±2,000 °/s, 4 = ±125 °/s, 5 = ±1,000 °/s, 6 = ±4,000 °/s |
Gyroscope range |
imu_mag_range |
0 = off, 1 = ±4 Gauss, 2 = ±8 Gauss, 3 = ±12 Gauss, 4 = ±16 Gauss |
Magnetometer range |
sleep_time |
seconds | Sleep time between measurement periods; 0 = continuous |
sample_time |
seconds | Duration of one measurement period and of one data file |
file_identifier |
string | Written into each file name together with the timestamp |
file_comment_line |
string | Comment written at the start of each data file |
The temperature sensor is sampled at 1/12 of the IMU sampling rate. Lower IMU sampling rates than 52 Hz (e.g. 12.5 or 26 Hz for slow-rotation applications with lower gyroscope noise) require a software adaptation by i4M.
When the EdgeBase is connected to nemi Studio in logging_mode: 6, its internal IMU can be displayed as EdgeBase IMU; it then uses fixed settings (416 Hz, ±4 g, ±500 °/s, ±8 Gauss).
sensor_config.yml — nemi Link 2400 Radio Channel¶
Section nemi_link_2400_base configures the built-in radio receiver:
| Key | Values | Description |
|---|---|---|
rf_channel |
0 … 79 |
Radio channel of the nemi Link 2400 network (default 0). Must match all sensors on this channel. |
rf_speed |
1 = 2 Mbit/s, 2 = 1 Mbit/s, 3 = 500 kbit/s, 4 = 125 kbit/s |
Radio mode — must match the sensors |
rf_max_sensor_count |
1, 3 or 8 |
Number of time slots per channel: 1 = minimum latency and highest sampling rate for a single sensor, 3 = highest sampling rates with several sensors, 8 = medium sampling rates. Must match the sensors. |
logging_mode |
0 … 6 |
Output format (see below) |
file_identifier |
string | Label of the radio network written into file names (e.g. "nl2400") |
file_comment_line |
string | Comment written into the data files of all sensors on this channel |
file_write_start_mode |
1 = time-controlled, 2 = DIN-triggered |
Recording start |
file_write_start_trigger_sensor |
1 … 8 |
Node number of the nemi DAQ providing the DIN trigger |
file_write_start_trigger_din_channel |
1 … 6 |
DIN channel on the trigger sensor |
file_write_start_trigger_mode |
1 = High→Low starts, Low→High stops; 2 = Low→High starts, High→Low stops |
Edge polarity |
gnss_sync |
0 = off, 1 = on |
GNSS-based timestamps; requires a GNSS antenna with sky view |
Radio mode and range (typical values, see nemi Link 2400):
rf_speed |
Radio mode | Typical range (in buildings – in urban environment) |
|---|---|---|
1 |
2 Mbit/s | 20 – 50 m |
2 |
1 Mbit/s | 50 – 125 m |
3 |
500 kbit/s | 90 – 225 m |
4 |
125 kbit/s | 140 – 350 m |
Range is strongly affected by antenna placement, metal structures and obstructions and must always be validated on site. Use the nemi Link 2400 Radio Channel Calculator to verify that the planned sampling rates fit into the channel bandwidth.
Channel exclusivity
Only one receiver (the EdgeBase's built-in receiver or a nemi Connect) may operate on a given radio channel. Two receivers on the same channel interfere with each other and neither receives data correctly. When testing, move an unused receiver to a distant channel. Use channels at least 10 apart for independent networks (e.g. 0 / 25 / 50 / 75). Channel 0 is the default and a good choice; channel 10, for example, works as well but is slightly more exposed to potential WLAN interference.
Logging Modes¶
logging_mode |
Output | Notes |
|---|---|---|
0 |
Uncompressed .bin files |
Larger files; useful for custom decoder development |
1 |
Compressed .bin.bz2 files |
Recommended for most deployments |
2 |
CSV files (decoded live on the EdgeBase) | Convenient for small setups; risk of sample loss at high sampling rates |
3 |
MQTT only (no local files) | Time-aggregated values; requires mqtt_config.yml. Data is lost if MQTT / LTE drops. |
4 |
.bin.bz2 files + MQTT |
Recommended for remote monitoring — local raw-data archive plus live dashboard |
5 |
Triggered CSV | Pre-/post-trigger windows around a configurable event; sample loss possible at high rates |
6 |
Live data forwarding via TCP/IP port 9413 | For nemi Studio and nemi Studio Web App; no files are written |
Use logging_mode: 4 rather than 3 for unattended deployments — mode 4 keeps a local .bin.bz2 fallback when MQTT transmission fails.
- Modes 0, 1, 2 and 4: recording is either time-controlled (
sleep_time/sample_timeof the sensors) or started and stopped by a digital input (file_write_start_mode: 2). With DIN triggering, a digital channel of a nemi DAQ or nemi DAQ nano in the radio network is the trigger; recording starts on one edge of the signal and stops on the opposite edge. - Modes 3 and 4: time-aggregated data (min / max / mean) is published continuously via MQTT in the interval
mqtt_send_interval(see MQTT Integration). - Mode 5: any channel can be the trigger channel. The trigger controls the recording of all data streams — all connected sensor nodes and the IMU integrated in the EdgeBase. Pre- and post-trigger times define the recording window; all sensor nodes run in continuous mode.
- Mode 6: the data of all sensors (wireless sensor nodes and integrated sensors) is provided on TCP/IP port 9413 for live display (see Live Data).
The data of each sensor is stored in day folders; the start time of each measurement is part of the file name. If a sensor restarts (e.g. after a voltage drop in its power supply), the EdgeBase creates a new file.
Triggered Recording (logging_mode 5)¶
| Key | Values | Description |
|---|---|---|
trigger_sid |
0 … 8 |
Sensor ID (0 = internal IMU, 1 … 8 = wireless node) |
trigger_stream |
0 = primary MEMS / analog, 1 = IMU, 2 = DIN |
Data stream of the trigger sensor |
trigger_channel |
index | Channel within the stream (see below) |
trigger_threshold |
float | Threshold in the channel's unit (g, °/s, mV/V, …) |
trigger_edge |
'rising' or 'falling' |
Direction of the threshold crossing |
trigger_pre_time |
seconds | Pre-trigger window |
trigger_post_time |
seconds | Post-trigger window |
Channel indices:
| Sensor type | Stream 0 | Stream 1 | Stream 2 |
|---|---|---|---|
| nemi G+ / G+ nano | VIB_X = 0, VIB_Y = 1, VIB_Z = 2 | ACC_X = 0 … GYR_Z = 5, MAG_X = 6 … MAG_Z = 8 | — |
| nemi G+ ultra / G+ ultra nano | same as nemi G+ | same as nemi G+ | — |
| nemi DAQ / DAQ nano | CH1 = 0, CH2 = 1, CH3 = 2, CH4 = 3 | ACC_X = 0 … GYR_Z = 5, MAG_X = 6 … MAG_Z = 8 | DIN1 = 0 … DIN6 = 5 |
For long-term deployments, set the threshold with 25–50 % margin and prefer the primary MEMS (trigger_stream: 0) as trigger source — it has a lower temperature drift than the IMU accelerometer.
sensor_config.yml — Wireless Sensor Nodes¶
Each sensor node is listed as sensor_N (N = node number 1–8) under nemi_link_2400_base. The following keys are common to all node types:
| Key | Values | Description |
|---|---|---|
file_identifier |
string | Label written next to the date into the names of the files of this sensor (e.g. "RF_S1") |
sensor_type |
telemetry, vibration, ultra_vibration |
Type of the sensor node (see below) |
sensor_mode |
0 = sleep, 1 = continuous, 2 = intermittent |
Operating mode; in intermittent mode the node measures for sample_time and then sleeps for sleep_time |
sleep_time |
seconds | Sleep time between two measurement periods; during this time the EdgeBase puts the sensor into energy-saving sleep mode. With 0, a new file is started immediately after a measurement period ends. |
sample_time |
seconds | Length of one measurement period = recording duration of one file |

Disable channels that are not needed (range 0 = off). This reduces radio load, file volume, MQTT traffic and analysis effort.
Telemetry nodes (nemi DAQ, nemi DAQ nano) — sensor_type: telemetry:
| Key | Values | Description |
|---|---|---|
ad_odr |
see nemi DAQ page | Sampling rate of the analog front end |
ad_ch_1_gain … ad_ch_3_4_gain |
0 = off, 1 = ×1, 2 = ×4, 3 = ×8, 4 = ×16, 5 = ×32, 6 = ×64, 7 = ×128 |
Analog channel gain. nemi DAQ has up to 3 analog channels; channel 4 only exists on customer-specific four-channel modules and always uses the gain of channel 3 (ad_ch_3_4_gain). |
imu_odr |
0 = off, 1 = 52 Hz … 7 = 3,330 Hz |
IMU sampling rate of the node |
imu_acc_range, imu_gyr_range, imu_mag_range |
as for the internal sensors | IMU ranges of the node |
din_1_high_level … din_6_high_level |
0 = off, 1 = 3.3–5 V, 2 = 12 V, 3 = 24 V |
Nominal voltage level of each digital input (3.3 V and 5 V signals share the same threshold) |
Vibration sensors (nemi G+, nemi G+ nano; M08, M40 and M256) — sensor_type: vibration:
| Key | Values | Description |
|---|---|---|
vib_odr |
0 = 4,000 Hz, 1 = 2,000 Hz, 2 = 1,000 Hz, 3 = 500 Hz, 4 = 250 Hz, 5 = 125 Hz |
Primary MEMS sampling rate |
vib_range |
see table below | Primary MEMS measuring range |
imu_acc_range |
0 = off, 1 = ±2 g, 2 = ±4 g, 3 = ±8 g, 4 = ±16 g |
IMU accelerometer range |
imu_gyr_range |
0 = off, 1 = ±250 °/s, 2 = ±500 °/s, 3 = ±2,000 °/s, 4 = ±125 °/s, 5 = ±1,000 °/s, 6 = ±4,000 °/s |
IMU gyroscope range (codes are historically not in ascending order) |
imu_mag_range |
0 = off, 1 = ±4 Gauss, 2 = ±8 Gauss, 3 = ±12 Gauss, 4 = ±16 Gauss |
IMU magnetometer range |
vib_range codes of the primary MEMS:
vib_range |
nemi G+ M08 | nemi G+ M40 | nemi G+ M256 |
|---|---|---|---|
0 |
±2 g | ±10 g | ±2 g (low-g element) |
1 |
±4 g | ±20 g | ±4 g (low-g element) |
2 |
±8 g | ±40 g | ±8 g (low-g element) |
3 |
— | — | ±16 g (low-g element) |
4 |
— | — | ±32 g (high-g element) |
5 |
— | — | ±64 g (high-g element) |
6 |
— | — | ±128 g (high-g element) |
7 |
— | — | ±256 g (high-g element) |
Extended ranges only for nemi G+ M256
Codes 3 … 7 may only be used for a nemi G+ M256; a nemi G+ M08 or M40 does not understand them. The data messages contain no range information — the raw values are converted with the range code configured for the node, so the vib_range in sensor_config.yml must always match the node. The integrated IMU of the M256 supports IMU accelerometer ranges up to ±16 g (codes 1–4).
Vibration sensors nemi G+ ultra / nemi G+ ultra nano — sensor_type: ultra_vibration:
| Key | Values | Description |
|---|---|---|
vib_odr |
0 = 26.667 kHz, 1 = 13.333 kHz, 2 = 6.666 kHz, 3 = 3.333 kHz |
Primary MEMS sampling rate |
vib_range |
0 = ±2 g, 1 = ±4 g, 2 = ±8 g, 3 = ±16 g |
Primary MEMS measuring range |
x_active, y_active, z_active |
1 = on, 0 = off |
Activates / deactivates the individual axes of the primary MEMS |
imu_acc_range, imu_gyr_range, imu_mag_range |
as for nemi G+ | IMU ranges; the IMU sampling rate is fixed at 104 Hz |
Example:
sensor_3:
# nemi G+ ultra (CDM/VIB, cdm_config 1) -- sensor_type 2
# vib_range = MEMS range code 0-3 (0 = +/-2 g, 1 = +/-4 g, 2 = +/-8 g, 3 = +/-16 g)
# vib_odr = MEMS ODR code 0-3 (0 = 26.667 kHz, 1 = 13.333 kHz, 2 = 6.666 kHz, 3 = 3.333 kHz)
# x/y/z_active = activate (1) / deactivate (0) individual axes. IMU rate fixed at 104 Hz.
file_identifier: "nemi_G_ultra_3"
sensor_type: ultra_vibration
sensor_mode: 1
vib_odr: 2
vib_range: 1
x_active: 1
y_active: 1
z_active: 1
imu_acc_range: 1
imu_gyr_range: 1
imu_mag_range: 1
sleep_time: 0
sample_time: 300
Observe the limits for the highest sampling rates described on the nemi G+ ultra page (radio mode, node count and number of active axes).
nemi Struct: a nemi Struct is configured like the sensor node built into it — nemi Struct G+ like a nemi G+ (sensor_type: vibration), nemi Struct DAQ like a nemi DAQ (sensor_type: telemetry).
mqtt_config.yml¶
Required for logging_mode 3 and 4:
| Key | Description |
|---|---|
mqtt_broker_client_id |
Client ID on the broker (must be unique per process) |
mqtt_broker_user / mqtt_broker_password |
Credentials |
mqtt_broker_address |
Host name or IP address of the broker |
mqtt_broker_port |
1883 (unencrypted) or 8883 (TLS) |
mqtt_root_topic |
Base topic for all channel topics |
mqtt_send_interval |
Send (averaging) interval in seconds (e.g. 1.0 = 1 Hz, 0.5 = 2 Hz) |
mqtt_use_mqtts |
0 = plain MQTT, 1 = TLS / MQTTS |
MQTT can be used unencrypted (client ID, user name and password only) or with TLS encryption and client-certificate authentication. For MQTTS (mqtt_use_mqtts: 1), the broker must support TLS, and the certificates must be placed in the mqtts_certs/ subdirectory of the nemibase_config FTP root:
| File name | Description |
|---|---|
ca.crt |
CA certificate |
client.crt |
Client certificate |
client.key |
Client private key |
Integration¶

Integration Architecture¶
nemi sensor nodes (nemi G+, nemi DAQ, nemi Struct, …)
│ nemi Link 2400 (2.4 GHz wireless)
▼
nemi EdgeBase (+ optional nemi Connect on USB-C for a second radio channel)
├── local SSD (.bin.bz2 files) ── FTP (LAN / OpenVPN) → Python decoder → pandas / CSV / Parquet
├── MQTT(S) client ─────────────── aggregated values → broker → database → dashboard
└── logging_mode 6 ─────────────── TCP/IP port 9413 → nemi Studio / nemi Studio Web App (live)
| Path | Format | Availability | Best for |
|---|---|---|---|
| FTP download | .bin.bz2 (raw data) |
On demand (pull) | Full-resolution analysis, archiving |
| MQTT(S) push | JSON, one message per sensor stream with aggregated values (min / max / mean) | Continuous (push) | Dashboards, alarms, trend monitoring |
Live forwarding (logging_mode: 6) |
Raw data stream, TCP/IP port 9413 | While connected | Commissioning, on-site inspection, live checks |
MQTT carries time-aggregated values only. Full-resolution data is available via FTP download of the .bin.bz2 files.
Live Data with nemi Studio and nemi Studio Web App (logging_mode 6)¶
With logging_mode: 6 the EdgeBase passes the data stream of its built-in receiver to the software over the network and accepts settings from it. All functions of nemi Studio, including live analysis and recording on the PC, are available.
| nemi Studio | nemi Studio Web App | |
|---|---|---|
| Platform | Windows 10 or higher | Any current browser (incl. Safari / iPad) |
| How to connect | Connect EdgeBase → IP address (default 192.168.101.2), port 9413 |
Open http://<EdgeBase address>:8080/ → Connect (port 9413 preset) |
| Network | VPN, local Ethernet or direct connection | VPN, local Ethernet or direct connection |
Notes:
- Only in
logging_mode: 6does the EdgeBase accept connections from the software. After saving the setting it is applied within about one minute; no restart is required. - No files are written on the EdgeBase in this mode. Recording is done on the PC / in the browser.
- Only one Web App client can be connected at a time; a new connection takes over the existing one. Appending
?autoconnect=1to the address connects automatically on opening. - Over Wi-Fi or VPN the network transit time varies more than over USB; the time of day in PC-side recordings is correspondingly less precise. The synchronization of the sensors among each other is not affected.
logging_mode: 6serves only the built-in radio receiver; a nemi Connect attached to the EdgeBase is not forwarded.
The legacy software wirelessSensorPlot (v7.3 or later) also supports this mode but is no longer maintained.
Time Synchronization¶
Stage 1 — within the wireless sensor network: all wireless sensor nodes synchronize their internal clocks to the EdgeBase receiver via nemi Link 2400. With a stable radio connection, the synchronization accuracy across all nodes of a radio channel is ±10 µs. With a poor radio connection, some synchronization events have to be discarded because their transit time is too long; synchronization then relies on fewer events.
Stage 2 — EdgeBase to absolute time: the EdgeBase synchronizes its own clock to an external reference:
- GNSS (
gnss_sync: 1): an additional timestamp synchronized to GNSS time is generated in all measurement data. This enables sub-millisecond alignment of multiple EdgeBases at different locations and is advantageous when the network connection to an NTP server is slow or unstable. Requires a connected GNSS antenna with sky view; without an antenna, implausible values are generated. - NTP (
ntp_serversinsystem_config.yml): synchronization to network time servers via LTE or Ethernet. Good accuracy, but small occasional corrections can occur.
Stage 2 is mainly relevant when multiple EdgeBases must be aligned. Within one EdgeBase and its sensor nodes, Stage 1 is already highly accurate. For comparisons across EdgeBases, always use GNSS timestamps.
VPN Access¶
nemi EdgeBase is shipped pre-configured with an OpenVPN connection to the i4M VPN server — the primary remote-access path for LTE deployments.
| Property | Details |
|---|---|
| Protocol | OpenVPN, SSL/TLS with X.509 certificates |
| IP assignment | Fixed VPN IP per unit, assigned by i4M |
| Administration | VPN server managed by i4M |
Via VPN the EdgeBase is reachable at its VPN IP for FTP configuration, data download and live data (logging_mode: 6). In LAN deployments it is reachable at its static IP (ip in system_config.yml), provided the firewall allows FTP on port 21.
FTP Access and Data Download¶
| Account | Access |
|---|---|
nemibase_config |
Configuration files (read / write) |
nemibase_data |
Measurement data files |
Retrieving data works like the configuration access (WinSCP, FTP, port 21), but with the user nemibase_data. Data is stored in day-organized folders; each file name contains the start time of the measurement and the file_identifier (e.g. INTERNAL for the internal IMU, gps for the GNSS data, debug for diagnostic data, RF_S1 … for the wireless sensor nodes):

Use WinSCP (FileZilla is not supported). Data is not deleted automatically — plan a regular download-and-delete routine so that the SSD does not fill up. For automated downloads, verify file integrity (compare file sizes) before deleting files on the EdgeBase. A completed triggered CSV file can be identified when its size has not changed for at least 10 seconds.
MQTT Integration¶
nemi EdgeBase acts as an MQTT client and publishes time-aggregated sensor data (logging_mode 3 or 4) to any MQTT broker, e.g. for dashboards or databases. A proven stack is Mosquitto → Node-RED → InfluxDB → Grafana; any MQTT-capable platform can be used.
Connection properties:
| Property | Value |
|---|---|
| Transport | MQTT, optionally over TLS (client-certificate authentication) |
| TLS | Enabled or disabled per deployment (mqtt_use_mqtts) |
| Port | Configurable (commonly 8883 for TLS, 1883 for plain MQTT) |
| QoS (publisher) | 2 (exactly once); the subscriber QoS can be chosen freely |
| Encoding | UTF-8 JSON |
Topic Structure¶
Each message carries all channels of one sensor stream, aggregated over one send interval (mqtt_send_interval):
<root_topic>— the configuredmqtt_root_topic(e.g.MyCompany/Site1)<sensor>— thefile_identifierof the sensor fromsensor_config.yml(e.g.nemi_EdgeBase,nemi_G_1,nemi_DAQ_1); the same identifier also names the logged files of this sensor<stream>—STREAM_0,STREAM_1orSTREAM_2
| Subscription pattern | Matches |
|---|---|
<root_topic>/# |
Everything |
<root_topic>/+/STREAM_0 |
Stream 0 of all sensors |
<root_topic>/nemi_G_1/# |
All streams of one sensor |
<root_topic>/nemi_DAQ_1/STREAM_0 |
One specific stream |
Streams by Sensor Type¶
The stream index is not self-describing — its meaning depends on the sensor type. The channel names inside the payload identify the data unambiguously.
| Sensor | Stream | Content | Channels |
|---|---|---|---|
| nemi EdgeBase | STREAM_0 |
Internal IMU | TIMECOUNTER, ACC_X/Y/Z, GYR_X/Y/Z, MAG_X/Y/Z, TEMP |
| nemi EdgeBase | STREAM_1 |
GNSS / position | TIMECOUNTER, LATITUDE, LONGITUDE, ALTITUDE_MSL, SPEED, HEADING, UNIX_EPOCH, YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, SATS, PDOP, FIX |
| nemi EdgeBase | STREAM_2 |
GPIO / voltage | TIMECOUNTER, TEMP, VOLTAGE_1 … VOLTAGE_4 |
| nemi G+ / G+ nano | STREAM_0 |
Primary MEMS (vibration) | TIMECOUNTER, VIB_X, VIB_Y, VIB_Z |
| nemi G+ / G+ nano | STREAM_1 |
IMU | TIMECOUNTER, ACC_X/Y/Z, GYR_X/Y/Z, MAG_X/Y/Z, TEMP, VOLT, RSSI |
| nemi G+ ultra / G+ ultra nano | STREAM_0, STREAM_1 |
Same streams and channels as nemi G+ | as nemi G+ |
| nemi DAQ / DAQ nano | STREAM_0 |
Analog channels | TIMECOUNTER, CH_1 … CH_4, VOLT, RSSI |
| nemi DAQ / DAQ nano | STREAM_1 |
IMU | TIMECOUNTER, ACC_X/Y/Z, GYR_X/Y/Z, MAG_X/Y/Z, TEMP, VOLT, RSSI |
| nemi DAQ / DAQ nano | STREAM_2 |
Digital inputs | TIMECOUNTER, DIN_1 … DIN_6 |
| Channel | Meaning |
|---|---|
TIMECOUNTER |
Internal time counter of the sensor (s); present in every stream, useful for detecting gaps and ordering |
ACC_X/Y/Z, GYR_X/Y/Z, MAG_X/Y/Z |
IMU accelerometer, gyroscope and magnetometer axes |
VIB_X/Y/Z |
Primary MEMS (vibration) axes |
CH_1 … CH_4 |
Analog measuring channels (nemi DAQ: up to CH_3; CH_4 only with customer-specific four-channel modules) |
DIN_1 … DIN_6 |
Digital inputs (nemi DAQ) |
VOLTAGE_1 … VOLTAGE_4 |
Analog input voltages of the EdgeBase GPIO; unused channels report 0.0 |
TEMP |
Temperature |
VOLT |
Battery voltage of the node |
RSSI |
Radio signal strength of the node |
Payload Format¶
{
"timestamp": "2026-06-24T19:43:52.077665+00:00",
"values": {
"VIB_X": {"min_value": -0.012, "max_value": 0.015, "mean_value": 0.001},
"VIB_Y": {"min_value": -0.010, "max_value": 0.011, "mean_value": 0.000},
"VIB_Z": {"min_value": 0.982, "max_value": 1.016, "mean_value": 0.999}
}
}
| Field | Description |
|---|---|
timestamp |
ISO 8601, UTC (+00:00). One timestamp per message for the whole batch; marks when the averaging interval was emitted |
values |
Object whose keys are the channel names; each value holds one or more statistics |
| Statistics key | Meaning |
|---|---|
min_value / max_value / mean_value |
Minimum / maximum / arithmetic mean over the interval — used by all streams except GNSS |
start_value / end_value |
First / last value of the interval (GNSS position and heading) |
value |
Single scalar for the interval (GNSS YEAR, MONTH, DAY, FIX) |
All numbers are bare JSON numbers. Iterate the keys that are present for each channel instead of assuming a fixed schema — different sensor types and streams expose different channels and statistics.
GNSS Stream (EdgeBase STREAM_1)¶
Uniform min / max / mean is not meaningful for every GNSS field, so each field carries only the statistics that make sense:
| Field | Keys | Meaning |
|---|---|---|
TIMECOUNTER, UNIX_EPOCH |
min_value, max_value, mean_value |
Internal counter / UNIX epoch seconds over the interval |
LATITUDE, LONGITUDE, ALTITUDE_MSL, HEADING |
start_value, end_value, mean_value |
Position, altitude above mean sea level (m), heading (°) |
SPEED |
min_value, max_value, mean_value |
Ground speed |
YEAR, MONTH, DAY |
value |
Date |
HOUR, MINUTE, SECOND, MILLISECOND |
min_value, max_value, mean_value |
Time of day |
SATS, PDOP |
min_value, max_value, mean_value |
Number of satellites used, positional dilution of precision |
FIX |
value |
Fix status: 0 = no fix, 1 or higher = valid fix |
Always check FIX before using GNSS position or time
With FIX = 0, the position fields (LATITUDE, LONGITUDE, ALTITUDE_MSL) are not zeroed but may still contain the last known values, and fields such as HEADING may be out of range. SATS is then typically 0 and PDOP a sentinel value (e.g. 9999). A consumer that ignores FIX records stale coordinates as current.
Consumer Example (Python)¶
The parser handles every stream, including GNSS, because it iterates the keys that are present:
import json
import paho.mqtt.client as mqtt
ROOT_TOPIC = "<root_topic>" # configured root topic
BROKER_ADDRESS = "<broker-address>" # broker host / IP
BROKER_PORT = 8883 # e.g. 8883 (TLS) or 1883 (plain)
USE_TLS = True # must match the EdgeBase configuration
def on_message(client, userdata, msg):
parts = msg.topic.split("/") # [<root_topic>, "<sensor>", "STREAM_n"]
sensor, stream = parts[-2], parts[-1]
try:
payload = json.loads(msg.payload.decode("utf-8"))
except (json.JSONDecodeError, UnicodeDecodeError):
return # skip malformed message
timestamp = payload.get("timestamp")
values = payload.get("values", {})
fix = values.get("FIX", {}).get("value")
gps_valid = fix is not None and fix >= 1
for channel, stats in values.items():
if channel in ("LATITUDE", "LONGITUDE", "ALTITUDE_MSL", "HEADING", "SPEED") and not gps_valid:
continue # GNSS without fix: skip position fields
record = {"sensor": sensor, "stream": stream, "channel": channel, "timestamp": timestamp}
record.update(stats) # min/max/mean, start/end/mean or value
# process record / write to database
client = mqtt.Client()
client.on_message = on_message
if USE_TLS:
client.tls_set(ca_certs="ca.crt", certfile="client.crt", keyfile="client.key")
client.connect(BROKER_ADDRESS, BROKER_PORT)
client.subscribe(ROOT_TOPIC + "/#", qos=2)
client.loop_forever()
For a flat database table, use sensor/stream/channel as the unique series key and store whichever statistics are present.
Notes for Integrators¶
- Rate: each stream publishes once per send interval; rates can differ between streams and sensors — do not assume a uniform rate across topics. Up to ~10 Hz is realistic; LTE links are better suited to 1 Hz or slower. For raw high-rate data, always log
.bin.bz2files and download them. - Missing sensors: if a sensor loses power or radio connection, its topics simply stop arriving; other sensors are not affected.
- Timestamp scope: the timestamp of a message applies to all channels in it; they are computed from the same interval.
- MQTTS commissioning: first test with plain MQTT (port 1883), then add the certificates and switch to port 8883.
- Client IDs: if several MQTT processes on the same EdgeBase (e.g. built-in receiver and attached nemi Connect) share one
mqtt_broker_client_id, brokers enforcing unique IDs disconnect one of them — assign distinct client IDs.
Data Decoding and File Formats¶
The .bin / .bin.bz2 files contain the binary data messages of the sensor nodes and of the EdgeBase itself (internal IMU, GNSS) in the same COBS-encoded format as the USB stream of a nemi Connect, separated by 0 bytes and interleaved with timing messages. The timing messages link the time counter of the radio network to the GNSS or NTP time; the decoder uses them to assign absolute timestamps to all samples.
| Column | Source | Use |
|---|---|---|
Timecounter |
Radio network counter | Lowest jitter; use within one EdgeBase / session |
GNSS_timestamp |
GNSS receiver | Best absolute accuracy; use across multiple EdgeBases |
NTP_timestamp |
NTP server | Good accuracy; fallback without GNSS |
Do not use the Timecounter across different EdgeBases — each radio network has an independent counter.
Decoding with the i4M Python decoder: i4M provides Python decoders, uniformly for the .bin.bz2 files of the nemi EdgeBase and the .bin files of the nemi Log. The decoder reads the files (including bz2 decompression) into pandas DataFrames — one per sensor and data stream, with timestamps and values in physical units. The DataFrames can be processed directly in a Python environment or saved as CSV, Parquet etc. The decoder can also read files that were not cleanly closed (e.g. after an unexpected reboot). The former Windows decoding tool (.exe) is no longer maintained.
For a quick look at exported CSV files, the free FlowCSV Viewer (Microsoft Store) is recommended:

Users can also write their own decoding software. The complete protocol documentation is provided to customers on request; i4M discloses the protocol to its customers. MATLAB decoding scripts are available from i4M on request; custom integration support is available on a consulting basis.
CSV vs. binary: CSV files are approximately 23 × larger than .bin.bz2 files (6 sensors at 125 Hz, 30 min: ≈ 5.7 MB .bin.bz2 vs. ≈ 130 MB CSV). At high aggregate sampling rates, live CSV decoding on the EdgeBase can fall behind and lose samples — use .bin.bz2 for production deployments.
To combine several sensors on a common time axis, resample onto a regular time vector (e.g. MAKIMA interpolation for frequency-domain analysis). For analysis, use Python / pandas or MATLAB (scripts on request).
Edge Computing and Custom Python Scripts¶
The Linux platform supports custom Python scripts, for example for:
- Time-of-day recording schedules (not available in the standard YAML configuration)
- Watchdog restart of the logging process if it stops producing output
- Automatic data deletion after confirmed download
- Custom aggregation — RMS, peak detection, frequency-domain features — published via MQTT or written to files
- Resampling pipelines combining several sensor streams
Edge computing is supported by i4M in bilateral projects. SSH access is available to technical users; modifications to the real-time logging scripts should be coordinated with i4M. For questions about own Python scripts on the EdgeBase or custom decoding solutions, contact i4M at info@nemi.one or +49 (0) 241 56 00 22 00.
Network Architecture Summary¶
| Scenario | Recommended setup |
|---|---|
| Remote long-term monitoring | LTE + OpenVPN + logging_mode: 4 |
| Local network installation | LAN static IP, direct FTP access |
| Real-time dashboard | LTE / LAN + MQTT(S) → broker → database → dashboard |
| On-site commissioning / live check | LAN or VPN + nemi Studio / nemi Studio Web App (logging_mode: 6) |
| Fieldbus output required | nemi Connect → Gantner Q.Station (no EdgeBase required) |
| Custom IoT platform | MQTT / MQTTS → broker → platform |
Troubleshooting¶
Quick Checks¶
- 24 V supply present and PWR LED flashing green.
- SYS LED continuously blue or flashing blue / violet within approx. 50 s.
- RF, LTE (both) and, if used, GNSS antennas connected.
rf_channel,rf_speedandrf_max_sensor_countidentical on EdgeBase and sensor nodes.- The selected
logging_modewrites files (modes 3 and 6 do not). - Correct FTP user:
nemibase_configfor configuration,nemibase_datafor data. - If
gnss_sync: 1: GNSS antenna connected with sky view.
Network and Connectivity¶
| Symptom | Likely cause | Resolution |
|---|---|---|
| PWR LED does not flash green | No 24 V supply or wiring problem | Check the 24 V DC supply and the connector wiring |
| SYS LED stays red long after power-on | Boot or system problem | Power-cycle the unit; if it persists, contact i4M |
| Unit runs in the lab but not in the field | Supply undersized | The EdgeBase needs up to approx. 24 W peak; check supply capacity and cabling |
| FTP login fails | Wrong user or IP address | nemibase_config for configuration, nemibase_data for data; check the IP address of the connection path used |
| Configuration changes have no effect | YAML syntax / indentation error, or network parameter changed | Check indentation (spaces, no tabs) and spelling of keys; network parameters require a reboot |
| EdgeBase not reachable on the LAN IP although the M8 Ethernet cable is connected | USB-Ethernet adapter still plugged into the USB-C port — the M8 interface does not initialize | Unplug the USB adapter, power-cycle the EdgeBase, wait approx. 50 s |
ping 192.168.101.2 fails on the direct link |
PC adapter not configured correctly | Set the PC adapter to 192.168.101.1 / 255.255.255.252; disable other adapters temporarily |
| LTE does not connect or drops | Only one LTE antenna connected | Connect both LTE1 and LTE2 |
SIM PIN 0000 configured |
Use a valid 4-digit PIN other than 0000 |
|
| Wrong APN | Check with the SIM provider; M2M SIMs often use internet.m2mportal.de |
|
lte_check_ip: 0.0.0.0 |
Set a reachable check IP — 0.0.0.0 disables LTE |
|
| SIM not fully seated / locked after wrong PIN | Re-seat the Micro-SIM (blank side towards the PCB); unlock with PUK in a mobile phone, correct lte_pin |
|
| MQTT stops after reboot and recovers only after minutes | DNS resolution delayed after boot | Wait 2–3 min (automatic retry) or use the broker IP address instead of the host name |
| Broker connection fails on a customer broker | DNS, firewall, TLS certificates, credentials or duplicate client ID | Test with IP and plain MQTT (1883) first; then add TLS; use unique client IDs |
| Previously working VPN address no longer reaches the EdgeBase | VPN IP assignment changed | Contact i4M to verify the VPN IP |
| nemi Studio / Web App cannot connect | logging_mode is not 6, wrong IP / port, or another Web App client is connected |
Set logging_mode: 6 and wait ~1 min; check IP and port 9413 (Web App: :8080); close other clients |
Sensor Nodes¶
| Symptom | Likely cause | Resolution |
|---|---|---|
| No data from a wireless sensor node | rf_channel, rf_speed or rf_max_sensor_count mismatch |
Match the values on EdgeBase and sensor (nemi Sensor Config) |
| Two receivers on the same channel | Remove one receiver or move it to a distant channel | |
Node configured with a vib_range / sensor_type that does not match the hardware (e.g. M256 range code on an M08 / M40, vibration instead of ultra_vibration) |
Correct sensor_N in sensor_config.yml |
|
| Sensor wakes up or changes settings unexpectedly | Another receiver (e.g. a nemi Connect with nemi Studio) is active on the same channel | Stop the other receiver or move it to another channel |
| Sensor too far away / RF antenna loose | Bring the sensor close for the first test; tighten the RP-SMA antenna | |
| Early EdgeBase radio firmware supports only 2 Mbit/s | See Product Changes | |
| Sensor was working, then stopped | Battery too low | Recharge / replace; monitor the VOLT channel via MQTT |
| Sensor in sleep mode | Wake the node via nemi Studio / Web App or by restarting the EdgeBase receiver | |
| Loose power cable (vibration) | Inspect connectors | |
| Poor wireless range | Radio mode too fast for the distance; metal obstacles | Use a slower radio mode (rf_speed 2–4, reconfigure sensors), improve line of sight and antenna placement |
| nemi G+ data clips at ±8 g | M08 variant used for a high-dynamic application | Use the M40 (±40 g) or M256 (±256 g) variant |
Data Files¶
| Symptom | Likely cause | Resolution |
|---|---|---|
| No files are written | logging_mode: 3 or 6 |
Use 1 or 4 for stored data |
| Empty (0 KB) files | Voltage drops at the sensor (each reconnect opens a new file) | Check battery and wiring |
| Triggered mode without trigger events | Check trigger_threshold, trigger_channel, trigger_edge |
|
| Sensor in sleep mode | Small sync-only files are expected | |
| Data stops while the EdgeBase is still running (frozen dashboard values until restart) | Rare stop of the logging process | Ask i4M for the watchdog script (restarts logging if no data is written for 5 min) |
| Timestamps show 1970-01-01 | Time synchronization not yet completed after boot | Resolves within 1–2 min; exclude these files |
| Timestamps jump in live CSV files | NTP/GNSS corrections applied abruptly in live CSV | Use .bin.bz2 files; the decoder applies a smooth drift correction |
| Constant offset between NTP and GNSS timestamps | Expected — independent time sources | Use one time source consistently; GNSS for multi-unit analysis |
| GNSS timestamps implausible | GNSS antenna missing or poor reception | Connect / reposition the antenna or disable gnss_sync |
| Trigger stops firing after weeks | Temperature-driven baseline drift, threshold without margin | Threshold with 25–50 % margin; use trigger_stream: 0 (primary MEMS) |
| Dashboard shows gaps although the raw files are complete | MQTT / broker / dashboard pipeline | Treat the .bin.bz2 files as reference and debug the MQTT path separately |
| GNSS position values in MQTT look plausible but are outdated | No GNSS fix (FIX = 0); last known position is repeated |
Evaluate FIX; check the GNSS antenna and sky view |
nemi DAQ Data Recorded on the EdgeBase¶
| Symptom | Likely cause | Resolution |
|---|---|---|
| Isolated spikes (1–3 samples) in analog data | Pulsed bridge supply at analog ODR ≤ 100 Hz with long / capacitive cables; ground noise | Use analog ODR ≥ 100 Hz (continuous bridge supply); shorten cables; median filter; connect GND to earth |
| 1 Hz setting with one channel delivers a message only every ~66 s | Samples are packed into fixed-size messages | Enable all analog channels or use intermittent mode (sensor_mode: 2, short sample_time, ODR ≥ 100 Hz) |
| Analog channel permanently failed | ESD or overvoltage | Contact i4M (channel can be deactivated in firmware; repair at i4M) |
Further details: nemi DAQ, nemi DAQ nano.
Product Changes¶
Hardware Variants¶
| Variant | SSD capacity |
|---|---|
| nemi EdgeBase with 250 GB SSD | 250 GB |
| nemi EdgeBase with 500 GB SSD | 500 GB |
Low-power and solar-powered options are available on request.
Live Data Forwarding (logging_mode 6)¶
logging_mode: 6 forwards live data via TCP/IP port 9413. It was introduced for wirelessSensorPlot 7.3 (legacy, no longer maintained) and is now used by nemi Studio and the nemi Studio Web App, which is served by the EdgeBase itself on port 8080. Units produced before November 2026 need a software update for the Web App; it can be installed remotely on request.
Python Decoders¶
The .bin.bz2 files are decoded with the i4M Python decoders into pandas DataFrames (export to CSV, Parquet etc.). The former Windows decoding tool (.exe) is no longer maintained.
GNSS Time Synchronization and Triggered Recording (2024)¶
- GNSS-based timestamps (
gnss_sync: 1): the GNSS module inserts UTC-referenced timing messages into the data stream. - Pre-/post-trigger recording (
logging_mode: 5): any sensor channel can trigger a recording. An earlier bug creating trigger files without file extension was fixed. - A new Python decoder version exposes the GNSS timestamp columns; analysis scripts assuming a fixed CSV column order must be updated before enabling
gnss_sync: 1.
MQTTS Support¶
TLS-encrypted MQTT (mqtt_use_mqtts: 1) with certificate-based TLS and username / password authentication.
MQTT Payload Format (2026)¶
The MQTT output was reworked in 2026: instead of one topic per channel (<root_topic>/<file_identifier>/<channel>), each message now carries all channels of one sensor stream (<root_topic>/<sensor>/STREAM_n) in one JSON object with a values field. The EdgeBase additionally publishes its GNSS / position and GPIO / voltage streams. Dashboards and databases built on the earlier format must be adapted — see MQTT Integration.
Additional Sensor Types¶
sensor_config.yml supports the extended measuring ranges of the nemi G+ M256 (vib_range 3–7) and the nemi G+ ultra / G+ ultra nano (sensor_type: ultra_vibration with individually switchable axes) — see Wireless Sensor Nodes.
Radio Firmware — Multi-Speed Support¶
Early-production EdgeBase units shipped with radio firmware supporting only 2 Mbit/s (rf_speed: 1). This firmware cannot be updated remotely; the unit must be returned to i4M. Until then, configure EdgeBase and sensors to rf_speed: 1. Symptom: sensor nodes configured for 1 Mbit/s or slower are not received at all.
Software Tools Version Reference¶
| Tool | Version reference |
|---|---|
| nemi Sensor Config | 2.1 (as of March 2024) |
| nemi Studio | 1.1 (as of November 2026) |
| nemi Studio Web App | 2026.11.04.3 (as of November 2026) |
| wirelessSensorPlot (legacy, no longer maintained) | 7.3 or later required for logging_mode: 6 |
FAQ¶
Applications¶
What is nemi EdgeBase best suited for? Long-term autonomous monitoring of structures or machines with wireless sensor nodes, where data must be stored locally, transmitted remotely via LTE or Ethernet and optionally streamed as aggregated values to a dashboard — e.g. wind turbine load monitoring, bearing condition monitoring, bridge and building monitoring, amusement rides and transport monitoring.
Can nemi EdgeBase be used in mobile applications (vehicle, train, ship)? Yes. Data is stored on the SSD during transit and uploaded via LTE when available, or downloaded via FTP after return. GNSS synchronization works well when the antenna has sky view.
Can nemi EdgeBase record only during certain hours of the day? Not with the standard YAML configuration. Time-of-day scheduling requires a Python script on the EdgeBase; i4M can provide one for a project.
Can nemi EdgeBase run custom algorithms? Yes. The Linux platform supports Python scripts for edge analytics, custom aggregation, feature extraction and custom export formats. Per-sample processing at high rates should be prototyped and benchmarked before production use.
Connectable Sensors¶
How many wireless sensors can one nemi EdgeBase receive? Up to 8 sensor nodes on the built-in radio channel (3 at the highest sampling rates). With an additional nemi Connect on the USB-C port, up to 16 sensor nodes on two radio channels.
Which sensor nodes are compatible? All nemi Link 2400 sensor nodes: nemi G+, nemi G+ nano, nemi G+ ultra, nemi G+ ultra nano, nemi DAQ, nemi DAQ nano, nemi Struct and nemi Motion.
Is nemi G+ suitable for building dynamics measurements? For excitation frequencies above ≈ 1–2 Hz and accelerations above a few mg (typical for traffic- or wind-excited structures), yes. For sub-Hz signals in the µg range, geophones with a lower noise floor are preferable.
Which nemi G+ variant should I use for high-vibration or impact events? The M08 variant saturates at ±8 g. For higher dynamics use M40 (±40 g) or M256 (±256 g). The variant is a hardware choice and cannot be changed in software.
How do I configure a nemi G+ M256, a nemi G+ ultra or a nemi Struct?
nemi G+ M256: sensor_type: vibration with vib_range codes 3–7 for the extended ranges (16–256 g). nemi G+ ultra / G+ ultra nano: sensor_type: ultra_vibration with vib_odr, vib_range and x_active / y_active / z_active. nemi Struct: like the built-in node (nemi G+ or nemi DAQ). See Wireless Sensor Nodes.
Power Supply¶
Can nemi EdgeBase run on 12 V DC? No. It requires 24 V DC. Use a 24 V source, a DC/DC converter or the external 230 V AC power supply.
Can nemi EdgeBase run stand-alone or on solar power? Yes — with 24 V AGM batteries; solar power options are available on request. Dimension panel and battery for an average consumption of ≤ 4.5 W and contact i4M for guidance.
Connectivity and Range¶
What is the effective wireless range? Typically 20–50 m at 2 Mbit/s, 50–125 m at 1 Mbit/s, 90–225 m at 500 kbit/s and 140–350 m at 125 kbit/s (in buildings – urban environment). The reliable range must always be validated on site; see nemi Link 2400.
Can nemi EdgeBase use satellite internet? Not directly — the built-in modem is cellular (LTE). If satellite internet is available as Ethernet, the EdgeBase can use it via the M8 Ethernet port.
Is CAN bus output available? No. For fieldbus output, use a nemi Connect with a Gantner Instruments Q.Station.
Can I view live data from the EdgeBase on a tablet?
Yes. With logging_mode: 6, open the nemi Studio Web App served by the EdgeBase (http://<EdgeBase address>:8080/) in any current browser, including Safari on iPad.
Data and Storage¶
How long does the SSD last before it is full?
With 6 sensors at 125 Hz in .bin.bz2 format, approx. 1.6 GB of data is generated per day — about 5 months on the 250 GB SSD and about 10 months on the 500 GB SSD. Data is not deleted automatically.
Should I download .bin.bz2 or CSV?
.bin.bz2 for reliable, full-resolution data. CSV is approx. 23 × larger and can lose samples when written live at high sampling rates.
Can I read .bin.bz2 files in MATLAB?
Convert them with the Python decoder to CSV (or Parquet) and import them into MATLAB. MATLAB scripts are available from i4M on request.
Integration¶
Should I use MQTT or FTP?
MQTT for dashboards and low-rate trend monitoring; FTP raw files for engineering analysis, full-resolution data and archiving. For unattended installations, use logging_mode: 4 to get both.
How are the MQTT topics structured?
<root_topic>/<sensor>/STREAM_n; each message contains all channels of one sensor stream with min / max / mean values (GNSS fields partly start / end / single values). Iterate the keys present in the payload instead of assuming a fixed schema. See MQTT Integration.
Does the EdgeBase also publish its GNSS position via MQTT?
Yes, as STREAM_1 of the EdgeBase. Always check the FIX field — without a fix, the last known position is repeated.
Can nemi EdgeBase stream all raw data live to the cloud?
No. MQTT carries aggregated values only. logging_mode: 6 forwards the raw data live to nemi Studio / nemi Studio Web App in the local network or via VPN, but writes no files and is not intended for cloud streaming.
Time Synchronization¶
How accurately are the sensor nodes synchronized? With a stable radio connection, the clocks of all sensor nodes on a radio channel are synchronized to the EdgeBase receiver within ±10 µs. With a poor radio connection, some synchronization events are discarded because their transit time is too long.
Which timestamp should I use for analysis? Within one EdgeBase: the Timecounter (lowest jitter) or GNSS/NTP timestamps. Across multiple EdgeBases: GNSS timestamps exclusively.
Is GNSS better than NTP? For multi-unit synchronization, yes — GNSS is more accurate and independent of network quality. NTP is sufficient for single-unit installations.
Why does my decoded file have 1970 timestamps? Time synchronization had not yet completed when the file was recorded (first 1–2 minutes after boot). Exclude these files; the issue resolves automatically.