mesh

Calculates Meshtastic node power consumption and battery runtime using device-specific power profiles and firmware role-based duty cycling. Models sleep, RX, and TX current draw for Heltec V3, RAK WisBlock, T-Beam, T-Beam Supreme, and Station G2 with GPS, BLE, and display peripheral toggles. Role selection (client, router, repeater, client_muted) controls the duty cycle model: routers stay in RX mode continuously while clients sleep between events. Returns average current, runtime in hours/days, daily Wh consumption, and time distribution across TX/RX/sleep states. Feed daily_wh to solar_sizing for off-grid planning.

post/api/meshtastic_power

Request

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

Request body

device'heltec_v3' | 'rak_wisblock' | 'tbeam' | 'tbeam_supreme' | 'station_g2' | 'custom'

Meshtastic hardware device. Selects power consumption profile for sleep, RX, TX, GPS, and BLE.

channel_preset'long_fast' | 'long_moderate' | 'long_slow' | 'very_long_slow' | 'medium_fast' | 'medium_slow' | 'short_fast' | 'short_slow'

Meshtastic channel preset. Affects TX airtime per message and thus power consumption.

battery_mahnumber

Battery capacity in milliamp-hours. Common: 1100 (18650 min), 3000 (typical), 6000 (large).

battery_voltagenumber

Nominal battery voltage. 3.7V for single-cell LiPo/Li-ion, 7.4V for 2S packs.

messages_per_hournumber

Expected messages sent and received per hour. Includes both TX and RX message events.

gps_enabledboolean

Whether GPS is enabled. Significantly increases power draw on devices with built-in GPS.

bluetooth_enabledboolean

Whether Bluetooth is enabled for phone connection.

role'client' | 'router' | 'repeater' | 'client_muted'

Meshtastic node role. client: sleeps between events. router: always listening. repeater: always listening, no display/BLE. client_muted: aggressive sleep.

Response

Computed result for meshtastic_power

toolstring required
versionstring required
computed_atstring date-time required

Changes

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