Created
January 21, 2025 20:31
-
-
Save mariotti/7668cdffe8e33c971678c635fefe0510 to your computer and use it in GitHub Desktop.
Set minimal device meshtastic defaults - example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash -x | |
# | |
# Defaults | |
# | |
role="CLIENT" | |
#role="CLIENT_MUTE" | |
timezone="CET-1CEST,M3.5.0,M10.5.0/3" | |
region="EU_868" # "EU_433" / "EU_868" / <YOUR REGION> | |
gpsmode="disabled" | |
#gpsmode="enabled" | |
powersave="false" | |
meshtastic --set device.role "${role}" \ | |
--set device.tzdef "${timezone}" \ | |
--set position.position_broadcast_smart_enabled true \ | |
--set position.position.gps_mode ${gpsmode} \ | |
--set power.is_power_saving ${powersave} \ | |
--set lora.region "${region}" \ | |
--set lora.override_duty_cycle false \ | |
--reboot | |
# | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment