Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ function resolvePendingAdminResponses(adminMessage) {
state.pendingAdminResponses = remaining;
}

function waitForAdminResponse(matcher, timeoutMs = 5000) {
function waitForAdminResponse(matcher, timeoutMs = 20000) {
return new Promise((resolve, reject) => {
const timeoutId = setTimeout(() => {
state.pendingAdminResponses = state.pendingAdminResponses.filter((pending) => pending.timeoutId !== timeoutId);
Expand Down Expand Up @@ -1771,8 +1771,8 @@ async function uploadDesiredConfig() {
throw error;
}

log("Upload complete. Waiting 15 seconds for node reboot.");
await sleep(15000);
log("Upload complete. Waiting 20 seconds for node reboot.");
await sleep(20000);
log("Refreshing live config.");
await downloadLiveConfig({ scrollToTopOnCoreRender: true });
compareLiveAndDesired();
Expand Down
1 change: 1 addition & 0 deletions configs/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Options +Indexes
117 changes: 117 additions & 0 deletions configs/MEshtastic-PT-Router.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
canned_messages: Hi|Bye|Yes|No|Ok
config:
bluetooth:
enabled: true
fixedPin: 123456
device:
nodeInfoBroadcastSecs: 43200
rebroadcastMode: CORE_PORTNUMS_ONLY
role: ROUTER_LATE
tzdef: WET0WEST,M3.5.0/1:00:00,M10.4.0/2:00:00
display:
screenOnSecs: 600
lora:
bandwidth: 250
channelNum: 1
codingRate: 5
configOkToMqtt: true
hopLimit: 4
region: EU_868
spreadFactor: 11
sx126xRxBoostedGain: true
txEnabled: true
txPower: 27
usePreset: true
network:
enabledProtocols: 1
wifiEnabled: false
wifiPsk:
wifiSsid:
position:
broadcastSmartMinimumDistance: 150
broadcastSmartMinimumIntervalSecs: 300
gpsMode: NOT_PRESENT
gpsUpdateInterval: 120
positionBroadcastSecs: 14400
positionBroadcastSmartEnabled: false
positionFlags: 811
power:
lsSecs: 300
minWakeSecs: 10
sdsSecs: 4294967295
waitBluetoothSecs: 60
security:
adminKey:
- 'base64:'
- 'base64:'
- 'base64:'
privateKey:
publicKey:
serialEnabled: true
module_config:
ambientLighting:
blue: 180
current: 10
green: 104
red: 224
cannedMessage:
enabled: true
detectionSensor:
detectionTriggerType: LOGIC_HIGH
minimumBroadcastSecs: 45
mqtt:
address: mqtt.meshtastic.pt
enabled: true
encryptionEnabled: true
mapReportSettings:
positionPrecision: 14
publishIntervalSecs: 7200
shouldReportLocation: true
mapReportingEnabled: true
password: large4cats
proxyToClientEnabled: true
root: msh
username: meshdev
paxcounter:
paxcounterUpdateInterval: 900
telemetry:
deviceUpdateInterval: 2147483647
owner: "Change_Me-RL-8"
owner_short: RL-8
channels:
- settings:
psk: AQ==
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: PRIMARY
index: 0
- index: 1
settings:
psk: AQ==
name: SOS
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: SECONDARY
- index: 2
settings:
psk: AQ==
name: Iberia
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: SECONDARY
- index: 3
settings: {}
- index: 4
settings: {}
- index: 5
settings: {}
- index: 6
settings: {}
- index: 7
settings: {}
116 changes: 116 additions & 0 deletions configs/Meshtastic-PT-Client-Base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
config:
bluetooth:
enabled: true
fixedPin: 123456
device:
nodeInfoBroadcastSecs: 43200
rebroadcastMode: CORE_PORTNUMS_ONLY
role: CLIENT_BASE
tzdef: WET0WEST,M3.5.0/1:00:00,M10.4.0/2:00:00
display:
screenOnSecs: 600
lora:
bandwidth: 250
channelNum: 1
codingRate: 5
configOkToMqtt: true
hopLimit: 4
region: EU_868
spreadFactor: 11
sx126xRxBoostedGain: true
txEnabled: true
txPower: 27
usePreset: true
network:
enabledProtocols: 1
wifiEnabled: false
wifiPsk:
wifiSsid:
position:
broadcastSmartMinimumDistance: 150
broadcastSmartMinimumIntervalSecs: 300
gpsMode: NOT_PRESENT
gpsUpdateInterval: 120
positionBroadcastSecs: 14400
positionBroadcastSmartEnabled: false
positionFlags: 811
power:
lsSecs: 300
minWakeSecs: 10
sdsSecs: 4294967295
waitBluetoothSecs: 60
security:
adminKey:
- 'base64:'
- 'base64:'
- 'base64:'
privateKey:
publicKey:
serialEnabled: true
module_config:
ambientLighting:
blue: 180
current: 10
green: 104
red: 224
cannedMessage:
enabled: true
detectionSensor:
detectionTriggerType: LOGIC_HIGH
minimumBroadcastSecs: 45
mqtt:
address: mqtt.meshtastic.pt
enabled: true
encryptionEnabled: true
mapReportSettings:
positionPrecision: 14
publishIntervalSecs: 7200
shouldReportLocation: true
mapReportingEnabled: true
password: large4cats
proxyToClientEnabled: true
root: msh
username: meshdev
paxcounter:
paxcounterUpdateInterval: 900
telemetry:
deviceUpdateInterval: 2147483647
owner: "Change_Me-GT-8"
owner_short: GT8
channels:
- settings:
psk: AQ==
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: PRIMARY
index: 0
- index: 1
settings:
psk: AQ==
name: SOS
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: SECONDARY
- index: 2
settings:
psk: AQ==
name: Iberia
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: SECONDARY
- index: 3
settings: {}
- index: 4
settings: {}
- index: 5
settings: {}
- index: 6
settings: {}
- index: 7
settings: {}
118 changes: 118 additions & 0 deletions configs/Meshtastic-PT-Client-Mute.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# start of Meshtastic configure yaml
canned_messages: Hi|Bye|Yes|No|Ok
config:
bluetooth:
enabled: true
fixedPin: 123456
device:
nodeInfoBroadcastSecs: 10800
rebroadcastMode: CORE_PORTNUMS_ONLY
role: CLIENT_MUTE
tzdef: WET0WEST,M3.5.0/1:00:00,M10.4.0/2:00:00
display:
screenOnSecs: 600
lora:
bandwidth: 250
channelNum: 1
codingRate: 5
configOkToMqtt: true
hopLimit: 5
region: EU_868
spreadFactor: 11
sx126xRxBoostedGain: true
txEnabled: true
txPower: 27
usePreset: true
network:
enabledProtocols: 1
wifiEnabled: false
wifiPsk:
wifiSsid:
position:
broadcastSmartMinimumDistance: 150
broadcastSmartMinimumIntervalSecs: 300
gpsMode: NOT_PRESENT
gpsUpdateInterval: 120
positionBroadcastSecs: 7200
positionBroadcastSmartEnabled: true
positionFlags: 811
power:
lsSecs: 300
minWakeSecs: 10
sdsSecs: 4294967295
waitBluetoothSecs: 60
security:
adminKey:
- 'base64:'
- 'base64:'
- 'base64:'
privateKey:
publicKey:
serialEnabled: true
module_config:
ambientLighting:
blue: 180
current: 10
green: 104
red: 224
cannedMessage:
enabled: true
detectionSensor:
detectionTriggerType: LOGIC_HIGH
minimumBroadcastSecs: 45
mqtt:
address: mqtt.meshtastic.pt
enabled: true
encryptionEnabled: true
mapReportSettings:
positionPrecision: 14
publishIntervalSecs: 3600
shouldReportLocation: true
mapReportingEnabled: true
password: large4cats
proxyToClientEnabled: true
root: msh
username: meshdev
paxcounter:
paxcounterUpdateInterval: 900
telemetry:
deviceUpdateInterval: 2147483647
owner: "Change_Me-8"
owner_short: CM8
channels:
- settings:
psk: AQ==
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: PRIMARY
index: 0
- index: 1
settings:
psk: AQ==
name: SOS
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: SECONDARY
- index: 2
settings:
psk: AQ==
name: Iberia
uplinkEnabled: true
downlinkEnabled: true
moduleSettings:
positionPrecision: 15
role: SECONDARY
- index: 3
settings: {}
- index: 4
settings: {}
- index: 5
settings: {}
- index: 6
settings: {}
- index: 7
settings: {}
Loading