Skip to main content

Position Configuration Settings

Position Configuration Settings

The Position configuration section (Config > Position) controls how your node acquires, reports, and manages GPS and location data. Getting position configuration right affects mesh map accuracy, battery life, and channel airtime - particularly important for mobile nodes and large networks.

Access these settings in the Meshtastic app under Settings > Radio Configuration > Position, or via the Python CLI with meshtastic --set position.*.


GPS Mode

Config key: position.gps_mode
Default: ENABLED (on devices with GPS hardware)

Controls the GPS receiver's operating state. This is a top-level switch that determines whether GPS hardware is used at all.

ENABLED

The GPS receiver is active and continuously seeks satellite fixes. The node uses live GPS data for position reporting. This is the default for devices with GPS hardware (e.g., T-Beam, WisBlock with RAK1910/RAK12500 GPS module).

DISABLED

GPS is disabled. The node will use a fixed position if one has been set (see Fixed Position below), or will report no position if no fixed position is configured. Disabling GPS when you don't need real-time position significantly reduces power consumption.

Use when: The node is permanently fixed and its position is set manually via Fixed Position. A rooftop ROUTER node, for example, has no reason to run its GPS continuously - set a fixed position once and disable GPS to save power.

NOT_PRESENT

Informs the firmware that no GPS hardware is present on this device. This prevents the firmware from attempting to initialize GPS hardware that doesn't exist, which can cause startup delays and error log noise. Set this on devices without any GPS module (e.g., a bare ESP32 LoRa board without GPS, or a RAK4631 with no GPS WisBlock attached).


Fixed Position

Config key: Set via app "Set Fixed Position" action or CLI meshtastic --setlat <lat> --setlon <lon> --setalt <alt>
Default: Not set

A manually entered GPS coordinate that the node broadcasts as its position instead of (or in addition to, depending on GPS Mode) GPS-derived coordinates. Fixed position is stored in non-volatile memory and persists across reboots.

Use cases:

  • Fixed infrastructure nodes (rooftop ROUTER, indoor gateway) - set their exact location once, disable GPS
  • Devices without GPS hardware - allow them to appear on the map at a known location
  • Privacy-conscious users who want to broadcast an approximate location rather than precise GPS coordinates

Setting a fixed position:

  • In the Meshtastic app: Settings > Radio Configuration > Position > "Set to current location" or enter coordinates manually
  • Via CLI: meshtastic --setlat 37.7749 --setlon -122.4194 --setalt 15
  • Via Python API: iface.localNode.setPosition(lat=37.7749, lon=-122.4194, alt=15)

To clear a fixed position: Use meshtastic --remove-position in the CLI.


Position Broadcast SMART Enabled

Config key: position.position_broadcast_smart_enabled
Default: true

Smart position broadcasting adapts broadcast frequency based on movement. When enabled, the node transmits position updates more frequently when moving and less frequently when stationary. This significantly reduces channel airtime for mobile nodes compared to fixed-interval broadcasting.

How smart beaconing works:

  1. If the node has moved more than the configured Minimum Distance since the last broadcast, it broadcasts immediately (regardless of elapsed time)
  2. If the node has not moved, it waits up to the configured Broadcast Interval before broadcasting
  3. Speed is factored in: faster movement triggers more frequent updates

Enable for: Any mobile node (vehicle tracker, handheld carried by a walking/driving user). Smart beaconing is almost always beneficial for mobile nodes.

Consider disabling for: Fixed infrastructure nodes with a set position - they should broadcast at a fixed, low-frequency interval (see Broadcast SECS below) rather than smart beaconing, which adds minor computational overhead.


Broadcast SECS (Position Broadcast Interval)

Config key: position.position_broadcast_secs
Default: 900 (15 minutes)

The maximum interval in seconds between position broadcasts. When Smart Beaconing is enabled, this is the upper bound - the node will not go longer than this interval without broadcasting, even if stationary. When Smart Beaconing is disabled, this is the fixed broadcast interval.

Guidance by use case:

Use CaseRecommended IntervalRationale
Vehicle tracker (active event)60–60 - 120 secondsFrequent updates needed for real-time tracking
Hiking/walking node120–120 - 300 secondsBalance between track fidelity and airtime
Fixed CLIENT node900–900 - 1800 secondsPosition doesn't change; reduce overhead
Fixed ROUTER/infrastructure3600–3600 - 10800 secondsMinimal overhead for stable fixed nodes

Channel utilization impact: Position packets are among the longer Meshtastic packets. On a busy network with many nodes, unnecessarily frequent position broadcasts are a significant source of channel congestion. Always use the longest interval consistent with your tracking needs.


Smart Minimum Distance

Config key: position.broadcast_smart_minimum_distance
Default: 100 meters

When Smart Position Broadcasting is enabled, this is the minimum distance (in meters) the node must travel from its last broadcast location before a new position broadcast is triggered by movement. If the node moves less than this distance, the movement does not by itself trigger a new broadcast.

Tuning guidance:

  • Walking/hiking: 50–50 - 100 meters - captures meaningful position changes at walking speed
  • Vehicle tracking: 100–100 - 500 meters - avoids rapid-fire updates at slow speeds (parking lots, traffic)
  • Emergency/rescue: 25–25 - 50 meters - fine-grained position updates for close-range coordination

GPS Update Interval

Config key: position.gps_update_interval
Default: 120 seconds (2 minutes)

How often (in seconds) the firmware polls the GPS module for a new position fix. This is distinct from the broadcast interval - the GPS may update frequently internally while position broadcasts happen less often.

A shorter GPS update interval means the firmware always has a more current fix available when it decides to broadcast. A longer interval reduces GPS power consumption (the GPS receiver is one of the most power-hungry components on nodes like the T-Beam).

  • Active mobile use: 30–30 - 60 seconds
  • Occasional position checks: 120–120 - 300 seconds
  • Mostly stationary: 600–600 - 1800 seconds (or disable GPS and use fixed position)

Position Flags

Config key: position.position_flags
Default: Altitude + Speed + Heading (varies by firmware version)

Position flags are a bitmask that controls which optional data fields are included in position packets. Each additional field adds bytes to the packet, increasing airtime. Choose only the flags relevant to your use case.

FlagData AddedPacket Size ImpactUse When
ALTITUDEElevation in meters MSL+4 bytesMountainous terrain, aviation, 3D positioning
ALTITUDE_MSLAltitude above mean sea level (vs ellipsoid)+4 bytesWhen sea-level altitude is specifically needed
GEOIDAL_SEPARATIONDifference between WGS84 ellipsoid and geoid+4 bytesPrecision surveying; not needed for most uses
DOPDilution of Precision (accuracy estimate)+2 bytesWhen position accuracy qualification is important
HVDOPHorizontal and Vertical DOP separately+4 bytesPrecision tracking applications
SATINVIEWNumber of GPS satellites in view+1 byteDiagnostics, signal quality assessment
SEQ_NOSequence number for packet ordering+2 bytesWhen multiple position sources must be ordered
TIMESTAMPUnix timestamp of GPS fix+4 bytesWhen time-of-fix (vs time-of-transmission) matters
HEADINGCourse over ground in degrees+2 bytesVehicle and vessel tracking, direction of travel
SPEEDSpeed over ground in m/s+2 bytesVehicle tracking, activity analysis

Minimal position packet (lat/lon only): Omit all optional flags. Suitable for fixed nodes or simple presence-only tracking.

Full vehicle tracking: Enable Altitude, DOP, Heading, Speed. Gives a complete picture without the rarely useful fields.

Airtime consciousness: On a 250 kbps data rate channel, each position packet with all flags enabled may be 40+ bytes longer than a minimal packet, translating to measurably more on-air time per broadcast.


GPS Attempt Time

Config key: position.gps_attempt_time
Default: 900 seconds (15 minutes)

The maximum time the firmware will attempt to acquire a GPS fix before giving up and going to sleep (in power-save GPS mode). If the GPS acquires a fix before this timeout, it sleeps early. If it cannot get a fix within this window, it stops trying until the next GPS update cycle.

In open sky environments: A fix is typically acquired within 30–30 - 60 seconds. A 900-second attempt time is very generous - most GPS activity will complete long before timeout.

In challenging environments (indoors, urban canyons, dense tree cover): GPS may struggle to get a fix. A longer attempt time gives more opportunity for a fix; a shorter time saves power by giving up sooner when conditions make a fix unlikely.


GPS Power Management (Power Saving)

Config key: position.gps_power_mode (or handled automatically based on GPS Mode and Update Interval)
Default: Automatic

On battery-powered nodes, GPS is one of the largest power consumers (typically 20–20 - 50 mA when active, vs 2–2 - 5 mA for the LoRa transceiver in sleep). Several strategies minimize GPS power draw:

Duty-Cycle GPS (Recommended for Mobile Nodes)

The GPS receiver powers on only when a new fix is needed (based on GPS Update Interval), acquires a fix, then powers down. Between updates, the GPS is completely off. This can reduce GPS-related power consumption by 90%+ compared to continuous operation.

Meshtastic handles this automatically when GPS Mode is ENABLED and GPS Update Interval is set to a value greater than the GPS Attempt Time.

Fixed Position + GPS Disabled (Best for Fixed Nodes)

The most power-efficient approach for fixed nodes: enter the position manually once, set GPS Mode to DISABLED. The GPS receiver is never powered, eliminating all GPS power consumption entirely.

GPS NOT_PRESENT (For Devices Without GPS)

On boards without GPS hardware, setting GPS Mode to NOT_PRESENT prevents any attempt to initialize GPS, eliminating initialization delay and preventing power being applied to a non-existent module.

Practical Power Impact

GPS ModeApproximate Current DrawUse When
Continuous (always on)30–30 - 50 mA continuousReal-time tracking where every second matters
Duty-cycle (120s interval)2–2 - 8 mA averageStandard mobile node
Duty-cycle (600s interval)0.5–5 - 2 mA averageLow-power mobile node
DISABLED (fixed position)0 mA for GPSFixed infrastructure nodes