156 lines
4.0 KiB
Markdown
156 lines
4.0 KiB
Markdown
Known Good Settings:
|
|
|
|
bosswatt@DTU:~$ cat rak4630_config.json
|
|
# start of Meshtastic configure yaml
|
|
|
|
config:
|
|
bluetooth:
|
|
enabled: true
|
|
fixedPin: 175648
|
|
mode: FIXED_PIN
|
|
device:
|
|
disableTripleClick: true
|
|
nodeInfoBroadcastSecs: 10800
|
|
tzdef: PST8PDT,M3.2.0,M11.1.0
|
|
display:
|
|
screenOnSecs: 600
|
|
wakeOnTapOrMotion: true
|
|
lora:
|
|
bandwidth: 250
|
|
codingRate: 5
|
|
configOkToMqtt: true
|
|
hopLimit: 3
|
|
overrideDutyCycle: true
|
|
region: US
|
|
spreadFactor: 11
|
|
sx126xRxBoostedGain: true
|
|
txEnabled: true
|
|
txPower: 30
|
|
usePreset: true
|
|
network:
|
|
ntpServer: meshtastic.pool.ntp.org
|
|
position:
|
|
broadcastSmartMinimumDistance: 100
|
|
broadcastSmartMinimumIntervalSecs: 30
|
|
gpsMode: ENABLED
|
|
gpsUpdateInterval: 120
|
|
positionBroadcastSecs: 900
|
|
positionBroadcastSmartEnabled: true
|
|
positionFlags: 811
|
|
power:
|
|
lsSecs: 300
|
|
minWakeSecs: 60
|
|
onBatteryShutdownAfterSecs: 2147483647
|
|
sdsSecs: 4294967295
|
|
waitBluetoothSecs: 60
|
|
security:
|
|
privateKey: base64:yC6dx3UAf35GIIU9O/fZVAdTkXPDsRV+LpZbCj3Qxnw=
|
|
publicKey: base64:zFCn7RvmnWbQDgKMbq0l54esZmMMXaf9sVzP5k2xdwU=
|
|
serialEnabled: true
|
|
location:
|
|
alt: 59
|
|
lat: 32.9433571
|
|
lon: -117.2295665
|
|
module_config:
|
|
ambientLighting:
|
|
blue: 71
|
|
current: 10
|
|
green: 112
|
|
red: 3
|
|
cannedMessage:
|
|
enabled: true
|
|
detectionSensor:
|
|
detectionTriggerType: LOGIC_HIGH
|
|
minimumBroadcastSecs: 45
|
|
externalNotification:
|
|
active: true
|
|
alertMessage: true
|
|
enabled: true
|
|
nagTimeout: 60
|
|
output: 36
|
|
outputMs: 1000
|
|
mqtt:
|
|
address: mqtt.meshtastic.org
|
|
enabled: true
|
|
encryptionEnabled: false
|
|
mapReportSettings:
|
|
positionPrecision: 12
|
|
publishIntervalSecs: 3600
|
|
shouldReportLocation: true
|
|
mapReportingEnabled: true
|
|
password: large4cats
|
|
root: msh/US
|
|
username: meshdev
|
|
neighborInfo:
|
|
enabled: true
|
|
updateInterval: 14400
|
|
serial:
|
|
enabled: true
|
|
mode: PROTO
|
|
storeForward:
|
|
enabled: true
|
|
telemetry:
|
|
deviceTelemetryEnabled: true
|
|
deviceUpdateInterval: 1800
|
|
powerUpdateInterval: 1800
|
|
owner: Michael Torrez
|
|
owner_short: CUN7
|
|
ringtone: 24:d=32,o=5,b=565:f6,p,f6,4p,p,f6,p,f6,2p,p,b6,p,b6,p,b6,p,b6,p,b,p,b,p,b,p,b,p,b,p,b,p,b,p,b,1p.,2p.,p
|
|
|
|
|
|
Firmware Update
|
|
|
|
adafruit-nrfutil --verbose dfu serial --package firmware-rak4631-2.7.15.567b8ea-ota.zip --port /dev/ttyACM0 -b 115200 --singlebank --touch 1200
|
|
|
|
Software Update
|
|
|
|
TMPDIR=/overlay/tmp/pip-tmp pip3 install meshtastic
|
|
python3 -m meshtastic --port /dev/ttyACM0 --info
|
|
|
|
Test
|
|
python3 /usr/bin/uplink.py
|
|
|
|
Config
|
|
```bash
|
|
meshtastic --port /dev/ttyACM0 \
|
|
--set neighbor_info.transmit_over_lora false \
|
|
--set device.role CLIENT \
|
|
--set device.rebroadcast_mode ALL \
|
|
--set device.node_info_broadcast_secs 10800 \
|
|
--set-owner "Michael Torrez" \
|
|
--set-owner-short "CUN7" \
|
|
--set lora.region US \
|
|
--set lora.modem_preset LONG_FAST \
|
|
--set lora.config_ok_to_mqtt true \
|
|
--set mqtt.enabled true \
|
|
--set mqtt.address "mqtt.meshtastic.org" \
|
|
--set mqtt.username "meshdev" \
|
|
--set mqtt.password "large4cats" \
|
|
--set mqtt.map_reporting_enabled true \
|
|
--set mqtt.proxy_to_client_enabled false \
|
|
--set mqtt.encryption_enabled false \
|
|
--set mqtt.map_report_settings.should_report_location true \
|
|
--set mqtt.mapReportSettings.publishIntervalSecs 300 \
|
|
--set mqtt.mapReportSettings.positionPrecision 32 \
|
|
--set telemetry.send_node_status true \
|
|
--set telemetry.device_update_interval 360 \
|
|
--set neighbor_info.enabled true \
|
|
--set neighbor_info.update_interval 14400 \
|
|
--set external_notification.enabled false \
|
|
--set store_forward.enabled true \
|
|
--set position.gps_mode ENABLED \
|
|
--set position.gps_update_interval 900 \
|
|
--set position.position_broadcast_secs 900 \
|
|
--set position.position_broadcast_smart_enabled true \
|
|
--set position.fixed_position false \
|
|
--set serial.enabled true \
|
|
--set serial.mode PROTO \
|
|
--pos-fields ALTITUDE ALTITUDE_MSL DOP SATINVIEW HEADING SPEED \
|
|
--ch-set module_settings.position_precision 13 --ch-index 0 \
|
|
--ch-set uplink_enabled true --ch-index 0
|
|
|
|
|
|
|
|
|
|
|