mesh

Recommends optimal LoRa spreading factor, bandwidth, and TX power based on target range, terrain, and optimization priority. Iterates through all SF (7-12) and BW (125/250/500 kHz) combinations, computing achievable range, airtime, data rate, and battery impact for each. Ranks candidates by priority: 'range' maximizes distance, 'speed' minimizes airtime, 'battery' minimizes power consumption, 'balanced' penalizes extremes. Respects regional TX power limits (FCC/ETSI/ACMA) and duty cycle constraints. Returns the recommended parameters with estimated range, airtime, duty-cycle message limit, battery life, and data rate. Essential for tuning Meshtastic and LoRa deployments to specific requirements.

post/api/lora_param_optimizer

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/lora_param_optimizer
  • Auth: none declared

Request body

target_range_kmnumber required

Desired communication range in kilometers.

terrain'open' | 'suburban' | 'urban' | 'dense_urban' | 'indoor'

Terrain type for path loss model. open: line-of-sight, suburban: light buildings, urban: moderate buildings, dense_urban: city center, indoor: inside buildings.

max_payload_bytesnumber

Maximum payload size in bytes for airtime calculation.

priority'range' | 'speed' | 'battery' | 'balanced'

Optimization priority. range: maximize distance (high SF, low BW). speed: minimize airtime (low SF, high BW). battery: minimize power draw. balanced: best trade-off across all factors.

region'US915' | 'EU868' | 'AU915' | 'AS923'

Regulatory region. Determines max TX power and duty cycle limit.

antenna_gain_dbinumber

Antenna gain in dBi. 2.15 = half-wave dipole reference.

Response

Computed result for lora_param_optimizer

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.