src.nth.io/

summaryrefslogtreecommitdiff
path: root/openhop/repeater/vars/rf
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-26 10:36:29 -0500
committerLuke Hoersten <[email protected]>2026-07-26 10:36:29 -0500
commit38323823b85b2ae8deef788a0f49e36c789c12f4 (patch)
tree94a3227a737ba0198dd06d3b7e001f219fe32bdc /openhop/repeater/vars/rf
parent1aaf4479d72edbd0c716d2e9122a7b613626bf12 (diff)
openhop/repeater: add MeshCore repeater role
Deploys the openHop MeshCore repeater on a Raspberry Pi with a RAK6421 WisMesh Pi HAT: installs the daemon into a venv from a versioned git tag, templates config.yaml and a systemd unit, and loads board pin maps and RF region presets by name from vars/. identity_file is configurable and defaults to null (daemon generates its own keypair).
Diffstat (limited to 'openhop/repeater/vars/rf')
-rw-r--r--openhop/repeater/vars/rf/eu.yaml12
-rw-r--r--openhop/repeater/vars/rf/us.yaml11
2 files changed, 23 insertions, 0 deletions
diff --git a/openhop/repeater/vars/rf/eu.yaml b/openhop/repeater/vars/rf/eu.yaml
new file mode 100644
index 0000000..11fca12
--- /dev/null
+++ b/openhop/repeater/vars/rf/eu.yaml
@@ -0,0 +1,12 @@
+---
+# MeshCore EU 863-870 MHz preset.
+# WARNING: every node on your mesh MUST share identical frequency / bandwidth /
+# spreading_factor / coding_rate. Confirm these against your local
+# MeshCore EU community settings, and respect the sub-band duty-cycle /
+# power limits before deploying.
+repeater_frequency_hz: 869525000 # 869.525 MHz
+repeater_bandwidth_hz: 250000
+repeater_spreading_factor: 11 # 7-12
+repeater_coding_rate: 5 # 5-8
+repeater_preamble_length: 32
+repeater_tx_power_dbm: 14 # keep within the chosen EU sub-band limit
diff --git a/openhop/repeater/vars/rf/us.yaml b/openhop/repeater/vars/rf/us.yaml
new file mode 100644
index 0000000..e20b1c6
--- /dev/null
+++ b/openhop/repeater/vars/rf/us.yaml
@@ -0,0 +1,11 @@
+---
+# MeshCore US 902-928 MHz preset.
+# WARNING: every node on your mesh MUST share identical frequency / bandwidth /
+# spreading_factor / coding_rate. Confirm these against your local
+# MeshCore US community settings before deploying.
+repeater_frequency_hz: 910525000 # 910.525 MHz
+repeater_bandwidth_hz: 250000
+repeater_spreading_factor: 11 # 7-12
+repeater_coding_rate: 5 # 5-8
+repeater_preamble_length: 32
+repeater_tx_power_dbm: 22 # SX1262 register max; SKY66122 boosts to ~1W