Skip to Content
Profiles

Profiles

Profiles let you keep multiple independent LoRaWAN network configurations in the same application. Each profile has its own devices, gateways, gateway bridge settings, and simulation history.

The active profile is shown in the application header, next to the theme control. Hardware, Simulation, and Logs use the profile that is currently selected there.

🗂️

A profile is a complete network workspace. Switching profiles changes the visible network; it does not merge devices, gateways, or simulation history.

Select a profile

Open the selector

Open the profile selector in the application header.

Choose a profile

Select the profile you want to work with.

Continue working

Open Hardware, Simulation, or Logs. Each page now uses the selected profile.

The selected profile remains active when you reload the page. Switching profiles does not copy or remove data: it changes which independent network configuration is displayed.

Create a profile

Open profile actions

Open the profile selector and choose New profile.

Name the network

Enter a name and choose Create profile.

Configure the new profile

The new profile becomes active immediately and starts with an empty network configuration.

The name must be between 1 and 100 characters and must be different from the name of another profile.

Rename a profile

  1. Select the profile you want to rename.
  2. Open the profile selector and choose Rename.
  3. Enter the new name and confirm.

Renaming changes only the label used to identify the profile. Devices, gateways, bridge settings, and simulation history remain unchanged.

Delete a profile

  1. Select the profile you want to remove.
  2. Open the profile selector and choose Delete.
  3. Review the confirmation message and choose Delete profile.

Deleting a profile removes its devices, gateways, gateway bridge settings, and simulation history. The application does not allow the last remaining profile to be deleted.

Export a profile

Export creates one file containing the selected network configuration:

  • profile name and profile settings;
  • device configurations;
  • gateway configurations;
  • gateway bridge settings;
  • simulation runs and their recorded events.

To export a profile:

Select the source profile

Select the profile to export.

Start the export

Open the profile selector and choose Export.

Save the file

Save the downloaded .lwn-profile.json file. The loading state ends when the download has started.

The export operation may take longer for profiles with large simulation histories. A loading indicator remains visible until the download starts.

Import a profile

Choose Import

Open the profile selector and choose Import.

Select an archive

Select an .lwn-profile.json file from your computer.

Confirm completion

Wait for the import confirmation. The new profile becomes active only after a successful import.

Import always creates a new profile. It never replaces the currently selected profile or overwrites an existing profile. If the imported name is already in use, the application assigns the imported profile a distinct name.

After a successful import, the new profile becomes active. Its devices, gateways, bridge settings, and available simulation history are then visible in the corresponding sections.

Profile and simulation rules

⏱️

Only one simulation can be active on a simulator server at a time, even when multiple profiles exist. A profile can still be selected while another profile contains the active run, but a new run cannot start until the current one has stopped or failed.

When multiple profiles exist, the dashboard identifies the profile that owns the active run.

When the same profile is open in multiple browser tabs or connected clients, changes to its hardware, bridge configuration, and simulation state are reflected in the other views automatically. Each profile remains isolated from the others.

Create profiles with scripts or AI

FieldContents
format, versionformat must be lwn-simulator-profile and version must be the number 1.
profileprofile contains id and name. Use a valid UUID v4 and a name of 1 to 100 characters. The backend assigns a new profile UUID on import.
devices, gatewaysdevices and gateways contain complete objects, each with a UUID v4 id and a boolean active. Device and gateway IDs are preserved.
gatewayBridgegatewayBridge is optional. If included, supply enabled (boolean), address (bridge destination) and port (UDP port). Omit it for a new internal-only network.
logslogs is an array of objects with run and events. Use [] for a new network. If you copy exported history, preserve the hardware IDs referenced by its events. Imported runs are marked as stopped.

Keep JSON keys and values case-sensitive. Give each device and gateway a distinct UUID. Use 16 hexadecimal digits for DevEUI and Gateway EUI, with unique values within each group. For ABP devices use distinct eight-digit hexadecimal DevAddr values and 32-digit keys. For OTAA use activation: "oota" with OOTAConfig, a 16-digit joinEUI and a 32-digit appKey, and remove ABPConfig.

A virtual gateway requires a positive keepAlive in seconds. A real gateway requires gatewayIPv4 and gatewayPort and is defined without keepAlive. Latitude and longitude use decimal degrees, altitude and range use meters, frequencies use Hz, and RX delays and durations use milliseconds. Use compatible regions, frequencies and data rates. For the first test, place at least one active device within its antenna range of a gateway.

Device fields · Gateway fields · Import through the API

Python example

Save the script as generate_profile.py and run python3 generate_profile.py. It creates three ABP devices and a virtual gateway near Catania with sample keys for internal simulation.

from copy import deepcopy from pathlib import Path from uuid import uuid4 import json DEVICE_TEMPLATE = { "name": "External sensor", "devEUI": "70B3D57ED0001001", "class": "class-a", "activation": "abp", "radioProtocol": "lorawan", "radioReceiveMode": "lorawan", "ABPConfig": { "devAddr": "26011BDA", "nwkSKey": "00112233445566778899AABBCCDDEEFF", "appSKey": "FFEEDDCCBBAA99887766554433221100" }, "locationConfig": { "latitude": 37.5, "longitude": 15.1, "altitude": 100, "region": "EU868" }, "RX1Config": { "delay": 1000, "duration": 1000, "dataRateOffset": 0 }, "RX2Config": { "delay": 2000, "duration": 1000, "channelFrequency": 869525000, "dataRate": 0, "ACKTimeout": 2000 }, "frameConfig": { "fPort": 10, "retransmission": 2, "FCntUp": 0, "FCntDown": 0, "disableFrameCounterValidation": False }, "payloadConfig": { "uplinkInterval": 10, "oversizedPayloadBehavior": "truncate", "MType": "unconfirmed-data-up", "payload": "temperature=23.5", "base64Encoded": False }, "advancedConfig": { "antennaRange": 1500, "ADREnabled": True, "uplinkDataRate": 5 } } GATEWAY = { "name": "External test gateway", "type": "virtual", "gatewayEUI": "A840410001001001", "keepAlive": 30, "latitude": 37.5, "longitude": 15.1, "altitude": 100 } devices = [] for i in range(1, 4): device = deepcopy(DEVICE_TEMPLATE) device.update( id=str(uuid4()), active=True, name=f"Sensor {i}", devEUI=f"70B3D57ED001{i:04X}", ) device["ABPConfig"]["devAddr"] = f"260110{i:02X}" device["locationConfig"]["latitude"] = 37.5 + i * 0.001 device["payloadConfig"]["payload"] = f"temperature={23 + i / 10:.1f}" devices.append(device) archive = { "format": "lwn-simulator-profile", "version": 1, "profile": {"id": str(uuid4()), "name": "Catania test network"}, "devices": devices, "gateways": [dict(GATEWAY, id=str(uuid4()), active=True)], "logs": [], } Path("catania-profile.json").write_text( json.dumps(archive, ensure_ascii=False, indent=2) + "\n", encoding="utf-8", )

Generate the file with AI

Give the AI this format and example or an exported test profile. Use sample keys in anything you share. Start with this prompt.

Generate a single LWN Simulator Profile v1 JSON file from the attached example. Create three EU868 ABP sensors and one nearby virtual gateway around 37.5, 15.1. Preserve the JSON keys and configuration blocks from the example. Assign unique UUID v4 values, EUIs and ABP addresses. Use test credentials, leave logs empty and omit gatewayBridge. Return only the JSON.

Check that the file is valid JSON, then use Import in the profile menu or send the document in the archive field through the API. If import fails, fix the field named in the error. After import, open the new profile, check the node locations and run a brief simulation to verify uplinks in the logs.

Last updated on