Files
web/repeater-setup.html
noah 679da0b30c
Deploy Pages / deploy (push) Successful in 14s
Hide external-link arrows on Discourse buttons
2026-10-06 21:51:15 -04:00

779 lines
38 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>MeshCore Repeater Setup | CT Mesh</title>
<meta name="description" content="CT Mesh guide for building, flashing, and programming a MeshCore repeater node.">
<link rel="shortcut icon" type="image/x-icon" href="favicon.png?3">
<link rel="icon" type="image/png" href="favicon.png?3">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<style>
html {
margin: 0;
padding: 0;
width: 100%;
min-height: 100%;
background-color: #272727;
}
body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100%;
font-family: "Roboto", sans-serif;
background-color: transparent;
color: #2C2D3C;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 2em 0;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('background.svg') no-repeat center center;
background-size: cover;
filter: invert(1) brightness(0.85);
z-index: 0;
}
a,
a:visited {
color: #000000;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(80, 80, 80, 0.35);
pointer-events: none;
z-index: 0;
}
.content-box {
background-color: #EBEBEB;
border-radius: 30px;
padding: 2.5em 3em;
margin: 2.5em;
max-width: 820px;
width: 90%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
position: relative;
z-index: 1;
}
h1 {
margin-top: 0;
font-size: 28px;
}
h2 {
margin-top: 1.5em;
margin-bottom: 0.5em;
font-size: 20px;
}
h3 {
margin-top: 1.25em;
margin-bottom: 0.4em;
font-size: 17px;
}
p {
margin: 0.5em 0;
line-height: 1.45;
}
ol,
ul {
margin: 0.5em 0 0.5em 1.25em;
padding: 0;
line-height: 1.55;
}
li {
margin-bottom: 0.4em;
}
.toc {
list-style: none;
margin-left: 0;
padding-left: 0;
}
.toc-sub {
padding-left: 1.25em;
font-size: 0.96em;
}
.note {
background: #F5F5F5;
border-left: 4px solid #2B3A4E;
border-radius: 8px;
padding: 0.75em 1em;
margin: 0.75em 0 0.5em;
font-size: 0.95em;
}
.notes-list {
margin-top: 0.75em;
}
.code-block {
background: #F5F5F5;
border: 1px solid #D0D0D0;
border-radius: 12px;
margin: 0.75em 0;
padding: 1em;
position: relative;
}
.code-block pre {
margin: 0;
padding-right: 4.5em;
white-space: pre-wrap;
font-family: monospace;
font-size: 0.95em;
line-height: 1.5;
}
.copy-btn {
position: absolute;
top: 0.75em;
right: 0.75em;
background-color: #2B3A4E;
color: #ffffff;
border: none;
border-radius: 10px;
padding: 0.4em 0.75em;
font-size: 0.75em;
font-weight: bold;
cursor: pointer;
}
.advanced-shortcut {
margin: 1em 0 1.5em;
font-weight: 600;
}
.advanced-shortcut a,
.advanced-shortcut a:visited {
color: #2B3A4E;
text-underline-offset: 3px;
}
.seasoned-section {
scroll-margin-top: 1.5em;
transition: background-color 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
}
.seasoned-section:target {
background: #E5F1F9;
border: 1px solid #BDD8E8;
border-radius: 16px;
margin: 1.5em 0;
padding: 1.25em;
}
.seasoned-section:target > h2:first-child {
margin-top: 0;
}
.inline-shot,
.inline-shot:visited {
margin-left: 0.35em;
white-space: nowrap;
}
.image-modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.72);
display: none;
align-items: center;
justify-content: center;
padding: 1.5em;
z-index: 10;
}
.image-modal.is-open {
display: flex;
}
.image-modal-content {
position: relative;
max-width: min(96vw, 920px);
max-height: 92vh;
}
.image-modal-content img {
display: block;
max-width: 100%;
max-height: 92vh;
border-radius: 18px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.image-modal-close {
position: absolute;
top: 0.75em;
right: 0.75em;
border: none;
border-radius: 999px;
background: rgba(39, 39, 39, 0.88);
color: #ffffff;
width: 36px;
height: 36px;
font-size: 22px;
cursor: pointer;
}
.button-row {
display: flex;
flex-wrap: wrap;
gap: 0.75em;
margin-top: 1em;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background-color: #2B3A4E;
color: #ffffff;
border: none;
padding: 0.75em 1.5em;
border-radius: 999px;
cursor: pointer;
font-weight: bold;
font-size: 15px;
text-decoration: none;
}
.button-icon {
width: 19px;
height: 19px;
flex-shrink: 0;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
img.button-icon {
object-fit: contain;
}
.discord-icon {
filter: brightness(0) invert(1);
}
.btn-discord,
.btn-discord:visited {
background-color: #5865F2;
color: #ffffff;
}
.btn,
.btn:visited {
color: #ffffff;
}
.btn-accent,
.btn-accent:visited {
background-color: #67EA94;
color: #000000;
}
.page-header-bg {
background-color: #272727;
border-radius: 20px 20px 0 0;
margin: -2.5em -3em 1.5em -3em;
padding: 2em 3em;
display: flex;
justify-content: center;
}
.page-header {
display: flex;
align-items: center;
gap: 0.5em;
text-decoration: none;
}
.page-header img {
width: 300px;
height: auto;
}
.back-link,
.back-link:visited {
margin-top: 1.5em;
color: #ffffff;
display: inline-flex;
align-items: center;
gap: 6px;
}
.back-link::before {
content: "";
width: 16px;
height: 16px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5L3.5 6L8 9.5'/%3E%3C/svg%3E") no-repeat center;
background-size: contain;
flex-shrink: 0;
opacity: 0.4;
filter: invert(1);
}
a[target="_blank"]::after {
content: "";
display: inline-block;
width: 12px;
height: 12px;
vertical-align: middle;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5L8.5 3.5M5 3.5h3.5V7'/%3E%3C/svg%3E") no-repeat center;
background-size: contain;
opacity: 0.4;
text-decoration: underline;
}
.button-row a.btn::after {
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-left: 4px;
background-size: contain;
flex-shrink: 0;
opacity: 0.4;
filter: invert(1);
}
.button-row a.btn[target="_blank"]::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5L8.5 3.5M5 3.5h3.5V7'/%3E%3C/svg%3E");
}
.button-row a.btn:not([target="_blank"])::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2.5L8.5 6L4 9.5'/%3E%3C/svg%3E");
}
.button-row a.btn.btn-discord[target="_blank"]::after {
display: none;
}
.site-footer a::after {
display: none;
}
.site-footer {
margin-top: 2em;
padding-top: 2em;
text-align: center;
font-size: 0.875rem;
color: #2C2D3C;
border-top: 1px solid #ccc;
}
.site-footer a,
.site-footer a:visited {
color: #2B3A4E;
font-weight: bold;
text-decoration: underline;
}
.site-footer a:hover {
text-decoration: underline;
}
.site-footer .email-link { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.45em 0.8em; border-radius: 999px; background-color: #6EBEE1; color: #000000 !important; font-size: 0.8rem; text-decoration: none; }
.site-footer a.email-link:hover { text-decoration: none; }
.site-footer .email-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.site-footer .footer-email-action { margin: 1.25em 0 2.75em; }
@media (max-width: 800px) {
body {
padding-top: calc(env(safe-area-inset-top, 1em));
}
.content-box {
padding: 2em;
}
.page-header-bg {
margin: -2em -2em 1.5em -2em;
padding: 2em;
}
}
@media (max-width: 480px) {
.content-box {
padding: 1.5em;
}
.page-header-bg {
margin: -1.5em -1.5em 1.5em -1.5em;
padding: 1.5em;
}
h1 {
font-size: 22px;
}
h2 {
font-size: 18px;
}
.btn {
box-sizing: border-box;
width: 100%;
}
.back-link {
width: auto;
}
}
.btn-discourse,
.btn-discourse:visited {
background-color: #7B5FE2;
color: #ffffff;
justify-content: center;
}
.btn-discourse img {
filter: brightness(0) invert(1);
}
.button-row a.btn.btn-discourse::after {
display: none;
}
</style>
</head>
<body>
<div class="overlay"></div>
<div class="content-box">
<div class="page-header-bg">
<a href="index.html" class="page-header">
<img src="logo_sm.png" alt="CT Mesh" />
</a>
</div>
<h1>MeshCore Repeater Setup</h1>
<p>This guide walks through the full repeater workflow: choose or build a MeshCore-compatible repeater node, flash and configure it over USB, then finish programming it from your phone using a separate companion node.</p>
<p>A repeater is the fixed radio that stays installed to relay traffic for the mesh. A companion is a second node you use to reach and manage that repeater from the MeshCore mobile app. The flow here is: build if needed, flash and configure over USB, test companion-based setup, then deploy the node.</p>
<div class="button-row">
<a class="btn" href="https://flasher.meshcore.io/" target="_blank">
<svg class="button-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 15V4M8 8l4-4 4 4"></path>
<path d="M5 13v6h14v-6"></path>
</svg>
MeshCore Flasher
</a>
<a class="btn" href="https://www.amazon.com/hz/wishlist/ls/2CMP31ZQIM9JD?ref_=wl_share" target="_blank">
<svg class="button-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M9 6h10M9 12h10M9 18h10"></path>
<circle cx="5" cy="6" r="1"></circle>
<circle cx="5" cy="12" r="1"></circle>
<circle cx="5" cy="18" r="1"></circle>
</svg>
Repeater Parts List
</a>
</div>
<p class="advanced-shortcut">Already familiar with MeshCore? <a href="#cli-setup">Skip to the command-line setup &rarr;</a></p>
<h2>Table of Contents</h2>
<ul class="toc">
<li><a href="#before-you-start">Before You Start</a></li>
<li class="toc-sub"><a href="#guide-organization">Guide Organization</a></li>
<li class="toc-sub"><a href="#overall-needs">What You Will Need Overall</a></li>
<li><a href="#build-path">Build the Repeater Node</a></li>
<li class="toc-sub"><a href="#build-needs">Build Requirements</a></li>
<li class="toc-sub"><a href="#prepare-enclosure">Prepare the Enclosure</a></li>
<li class="toc-sub"><a href="#mount-solar">Mount the Solar Hardware</a></li>
<li class="toc-sub"><a href="#install-radio">Install the Radio Hardware</a></li>
<li class="toc-sub"><a href="#finish-assembly">Finish the Physical Assembly</a></li>
<li><a href="#flash-path">Flash the Repeater Node</a></li>
<li class="toc-sub"><a href="#flash-needs">Flash Requirements</a></li>
<li class="toc-sub"><a href="#flash-web">Option 1: MeshCore Web Flasher</a></li>
<li class="toc-sub"><a href="#flash-esptool">Option 2: Flash ESP32 Devices with esptool.py</a></li>
<li class="toc-sub"><a href="#flash-rak">Option 3: Flash RAK Devices with UF2</a></li>
<li class="toc-sub"><a href="#usb-config">Configure the Node Over USB</a></li>
<li><a href="#program-path">Programming with a Companion</a></li>
<li class="toc-sub"><a href="#program-needs">Programming Requirements</a></li>
<li class="toc-sub"><a href="#program-repeater">Program the Repeater</a></li>
<li class="toc-sub"><a href="#program-mesh-settings">Set Core Mesh Settings</a></li>
<li><a href="#cli-setup">For Seasoned MeshCore Users: Command-Line Setup</a></li>
<li><a href="#deploy-path">Deploy the Node</a></li>
<li class="toc-sub"><a href="#choose-site">Choose a Good Site</a></li>
<li class="toc-sub"><a href="#tree-mounting">Tree Mounting</a></li>
<li class="toc-sub"><a href="#structure-mounting">Structure or Pole Mounting</a></li>
<li class="toc-sub"><a href="#other-mounting">Other Mounting Options</a></li>
<li><a href="#power-addendum">Power Saving Addendum</a></li>
</ul>
<h2 id="before-you-start">Before You Start</h2>
<h3 id="guide-organization">How This Guide Is Organized</h3>
<p>Start with the build section if you are assembling a repeater from parts. If you already have a finished repeater or an off-the-shelf device, begin at the flash section instead.</p>
<h3 id="overall-needs">What You Will Need Overall</h3>
<ul>
<li>A MeshCore-compatible repeater device. Common choices include a <strong>Heltec LoRa 32 V4</strong>, <strong>RAK4631-based build</strong>, or another off-the-shelf or already-built MeshCore-capable node.</li>
<li>A <strong>second companion node</strong> for programming and day-to-day access to the repeater. Common companion nodes include a <strong>LILYGO T-Echo</strong>, <strong>Heltec LoRa 32 V4</strong>, or <strong>RAK4631 portable build</strong>.</li>
<li>Your phone with the MeshCore mobile app installed:
<a href="https://play.google.com/store/apps/details?id=com.liamcottle.meshcore.android" target="_blank">Android</a> /
<a href="https://apps.apple.com/us/app/meshcore/id6742354151" target="_blank">iPhone</a>
</li>
<li>A laptop or desktop computer for the flashing and USB configuration steps</li>
<li>A USB programming cable for your node, with <strong>USB-C</strong> being a common connector on many devices</li>
<li>A drill with a step bit, a bit sized for the solar wire, wire strippers, and outdoor waterproof sealant</li>
</ul>
<div class="note"><strong>Note:</strong> Look for the MeshCore app by <strong>Liam Cottle</strong> to make sure you have the correct app. The phone apps do not require internet to use once installed. You just need the app on the phone and a working companion node to reach the repeater.</div>
<h2 id="build-path">Build the Repeater Node</h2>
<p>If you already have a repeater build or a ready-made device, skip this section and go straight to <a href="#flash-path">Flash the Repeater Node</a>.</p>
<h3 id="build-needs">What You Will Need</h3>
<ul>
<li>A MeshCore-compatible repeater device or a parts build based on the linked repeater parts list</li>
<li>A drill with a step bit, a bit sized for the solar wire, wire strippers, zip ties, and outdoor waterproof sealant</li>
<li>Your enclosure, antenna, battery, solar panel, JST pigtail, and mounting hardware</li>
</ul>
<h3 id="prepare-enclosure">Prepare the Enclosure</h3>
<ol>
<li>Drill the top of the enclosure for the N-type bulkhead connector. Test-fit as you go so the hole stays snug.</li>
<li>Drill the bottom for the solar panel cable input. This opening can also act as a pressure vent.</li>
</ol>
<h3 id="mount-solar">Mount the Solar Hardware</h3>
<ol start="3">
<li>Mount the solar panel where it gets reliable sun. If you are mounting it to the case, leave enough wire slack for the door to open without pulling on the cable.</li>
<li>Splice the panel lead to the included JST pigtail from the Heltec box.</li>
</ol>
<h3 id="install-radio">Install the Radio Hardware</h3>
<ol start="5">
<li>Install the N-type bulkhead, attach the antenna to the bulkhead, and connect the radio to the IPEX lead.</li>
<li>If you are using a screenless V4, attach the included Bluetooth/Wi-Fi antenna.</li>
</ol>
<h3 id="finish-assembly">Finish the Physical Assembly</h3>
<ol start="7">
<li>After programming is complete, connect the battery and solar lead, then secure the board and battery with zip ties.</li>
<li>Seal the bulkhead opening and any other penetrations with outdoor waterproof sealant before deployment.</li>
</ol>
<h2 id="flash-path">Flash the Repeater Node</h2>
<p>This is the point where everyone should start if the repeater hardware already exists.</p>
<h3 id="flash-needs">What You Will Need</h3>
<ul>
<li>A laptop or desktop computer</li>
<li>A USB data cable for the repeater device</li>
<li>A Chromium-based browser with WebSerial support such as <strong>Google Chrome</strong>, if using the web flasher</li>
<li>Or a local Python environment with <code>esptool.py</code>, if flashing manually</li>
</ul>
<p>An optional power-saving mode is covered in the addendum at the bottom of this guide.</p>
<h3 id="flash-web">Option 1: MeshCore Web Flasher</h3>
<ol>
<li>Connect the radio to your computer and open <a href="https://flasher.meshcore.io/" target="_blank">flasher.meshcore.io</a>.</li>
<li>Use a Chromium-based browser such as Chrome so the site can access the radio over USB.</li>
<li>Load the correct firmware for your hardware and complete the flash.</li>
</ol>
<h3 id="flash-esptool">Option 2: Flash ESP32 Devices with <code>esptool.py</code></h3>
<ol>
<li>Download the correct firmware file for your repeater hardware from <a href="https://github.com/meshcore-dev/MeshCore/releases" target="_blank">the MeshCore GitHub releases page</a>.</li>
<li>Install <code>esptool.py</code> if needed.</li>
<li>Put the repeater device into bootloader mode if your hardware requires it.</li>
<li>Identify the serial port for the device, then flash the firmware with a command like:</li>
</ol>
<div class="note"><strong>Example:</strong> <code>esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x0 firmware.bin</code></div>
<ol start="5">
<li>Adjust the serial port, chip target, and firmware filename to match your hardware.</li>
</ol>
<h3 id="flash-rak">Option 3: Flash RAK Devices with <code>.uf2</code></h3>
<ol>
<li>Download the correct <code>.uf2</code> firmware file for your RAK device from <a href="https://github.com/meshcore-dev/MeshCore/releases" target="_blank">the MeshCore GitHub releases page</a>.</li>
<li>Put the device into the appropriate USB programming mode. Depending on the model, this may mean holding reset while plugging in USB, or holding the boot button while connecting the USB cable.</li>
<li>If a USB flash drive appears, copy the <code>.uf2</code> firmware file onto that drive and allow the device to reboot when the copy finishes.</li>
<li>On some devices you may need to temporarily disconnect the battery during programming.</li>
<li>Check the instructions for your exact device and make sure you selected the correct firmware image for that model.</li>
</ol>
<h3 id="usb-config">Configure the Node Over USB</h3>
<div class="note"><strong>Post-flash note:</strong> After flashing by any supported method, the node screen may show <strong>Please Wait...</strong> for up to about a minute during initial setup. If it stays there for more than <strong>5 minutes</strong>, retry the flash.</div>
<p>After flashing by any supported method, finish the initial repeater configuration over USB before trying to complete setup through the companion.</p>
<ol>
<li>Go to <a href="https://meshcore.io/" target="_blank">meshcore.io</a> and click <strong>Repeater Setup</strong> using the gear icon next to it. This opens the <strong>Repeater / Room server USB setup</strong> page at <code>config.meshcore.io</code>.</li>
<li>In the upper-right corner of that page, click <strong>Connect</strong>.</li>
<li>When the browser asks which serial device to use, select your repeater. This is often the top device in the list.</li>
<li>Set the repeater name.</li>
<li>Set <strong>Owner info</strong> only if you want public contact details attached to the repeater. An email address, ham radio callsign, and/or Discord username are good options. This field is publicly shared and has a <strong>119 byte</strong> limit.</li>
<li>Set the repeater location by clicking the map button, or by copying and pasting latitude and longitude from your web browser for the intended repeater site. Location is optional; you can leave it blank or use a point in the general area, such as roughly <strong>2 km</strong> away from the actual site, for privacy if desired.</li>
<li>Under <strong>Access</strong>, set a new admin password. This is recommended because it lets you further configure the repeater later from the mobile app for more advanced settings.</li>
<li>Leave <strong>Guest password</strong> empty unless you have a specific reason to enable it.</li>
<li>Under <strong>Radio settings</strong>, set the preset to <strong>USA/Canada (Recommended)</strong>.</li>
<li>That preset defaults to:
<strong>Frequency 910.525</strong>,
<strong>Bandwidth 62.5</strong>,
<strong>Spreading Factor (SF) 7</strong>,
and <strong>Coding Rate (CR) 5</strong>.
</li>
<li>If you want additional error correction, you can increase <strong>CR</strong> as high as <strong>8</strong>. This increases radio airtime substantially, nearly doubling it, and can reduce battery life.</li>
<li>Your device instructions will often specify the correct <strong>TX Power</strong> setting. Never set TX power above <strong>30 dBm</strong>, which is the FCC limit in the United States.</li>
<li>Under <strong>Advertising</strong>, adjust the values as needed. The UI shows fields for <strong>Advert interval (minutes)</strong>, <strong>Flood advert interval (hours)</strong>, and <strong>Flood max</strong>.</li>
<li><strong>Set Core Mesh Settings:</strong> While still connected over USB, use a serial command prompt to run the commands in <a href="#program-mesh-settings">Set Core Mesh Settings</a> below. This configures path hashes, public-mesh advertising, the 12-hop unscoped limit, and CT regions before the device reboots.</li>
<li>Click <strong>Save settings</strong> at the bottom, then reboot the device.</li>
</ol>
<div class="note notes-list">
<strong>Notes:</strong>
<ul>
<li>You can leave location blank, or use coordinates in the general area (for example, roughly 2 km from the actual site) for privacy if desired.</li>
<li>If you change the frequency, bandwidth, or spreading factor, the repeater will no longer communicate with nodes on the public mesh, which is usually not what you want.</li>
<li>For the public mesh, set <strong>Flood advert interval (hours)</strong> to <strong>47</strong>. The UI may default lower, such as <strong>12</strong>, so change it before saving.</li>
<li>For every public repeater, set the unscoped flood hop limit to <strong>12</strong>. In the command line, run <code>set flood.max.unscoped 12</code>. This limits traffic using the unscoped <code>*</code> region while retaining normal public-mesh forwarding.</li>
</ul>
</div>
<h2 id="program-path">Programming with a Companion</h2>
<h3 id="program-needs">What You Will Need</h3>
<ul>
<li>The flashed repeater node</li>
<li>A separate companion node that can hear and manage the repeater</li>
<li>Your phone with the MeshCore Android or iPhone app installed</li>
</ul>
<h3 id="program-repeater">Program the Repeater</h3>
<ol>
<li>Power on both devices: the repeater and your separate companion node. Make sure the repeater is within range.</li>
<li>Open the MeshCore app on your phone. In the upper right, tap the Bluetooth icon where it shows <strong>Connect</strong>.</li>
<li>Choose your companion node from the devices shown and provide the Bluetooth code if needed.</li>
<li>Once connected in the app, open the three-dot menu, tap <strong>Tools</strong>, then tap <strong>Discover Nearby Nodes</strong>, and then <strong>Discover repeaters</strong>.</li>
<li>The repeater should be discovered quickly if it is powered on and in range. Add it as a contact. You can also favorite it if you want.</li>
<li>Open the repeater contact, tap <strong>Manage</strong>, and enter the admin password.</li>
<li>This opens the repeater admin status page. Tap <strong>Request status</strong> if you want to refresh and view the repeater status.</li>
<li>At the bottom of that screen, open <strong>Command Line</strong>. <a href="repeater-hash-mode-entry-iphone.png" class="inline-shot" data-modal-image="repeater-hash-mode-entry-iphone.png">View screenshot</a> <a href="repeater-hash-mode-confirm-iphone.png" class="inline-shot" data-modal-image="repeater-hash-mode-confirm-iphone.png">View result</a></li>
<li>Tap the <strong>Settings</strong> icon in the bottom right next to <strong>Command Line</strong> to change other node settings such as advert intervals, owner info, position, syncing the device clock, and other access control or telemetry settings.</li>
<li><strong>Set Core Mesh Settings:</strong> From the command line, run the commands in <a href="#program-mesh-settings">Set Core Mesh Settings</a> below. This configures path hashes, public-mesh advertising, the 12-hop unscoped limit, and CT regions.</li>
</ol>
<div class="note"><strong>Notes:</strong>
<ul>
<li>If the app has trouble reconnecting to the companion over Bluetooth, you may need to go into your phone's Bluetooth settings and forget the device before trying again.</li>
<li>Syncing the clock on the device is recommended.</li>
<li><strong>1 byte mode</strong> is not recommended because it can cause hash collisions.</li>
<li>You can use <code>set path.hash.mode 2</code> for <strong>3 byte mode</strong>, but that reduces the hop limit from <strong>32</strong> hops in 2 byte mode to <strong>21</strong> hops in 3 byte mode.</li>
</ul>
</div>
<h3 id="program-mesh-settings">Set Core Mesh Settings</h3>
<p>Run these required public-mesh settings from the repeater command line. CT repeaters should use <code>ct</code>, <code>northeast</code>, and <code>east</code>. Add <code>ct-rv</code> only when the <a href="https://newenglandme.sh/regions" target="_blank">New England Mesh region map</a> shows that your site is in that area.</p>
<div class="code-block">
<button class="copy-btn" type="button" data-copy-target="repeater-mesh-settings">Copy all</button>
<pre id="repeater-mesh-settings">set path.hash.mode 1
set flood.advert.interval 47
set flood.max.unscoped 12
region put ct
region allowf ct
region put northeast
region allowf northeast
region put east
region allowf east
# Add these two lines only when your site is in the ct-rv area:
# region put ct-rv
# region allowf ct-rv
region allowf *
region save</pre>
</div>
<div class="note"><strong>Note:</strong> <code>set path.hash.mode 1</code> selects 2-byte path hashes; <code>set flood.max.unscoped 12</code> limits unscoped <code>*</code> traffic to 12 hops. Keep wildcard forwarding enabled with <code>region allowf *</code>. Use the New England Mesh map if you have questions about the regions expected at your repeater location.</div>
<section class="seasoned-section" id="cli-setup">
<h2>For Seasoned MeshCore Users: Command-Line Setup</h2>
<p>This is a command-line alternative to the USB setup and companion-programming steps above. Replace every value in angle brackets with your own deployment information. For public owner info, an email address, ham radio callsign, and/or Discord username are useful contact options. Location is optional; omit it or use coordinates roughly 2 km from the actual site for privacy if desired. Confirm the correct TX power for your hardware before setting it.</p>
<div class="code-block">
<button class="copy-btn" type="button" data-copy-target="repeater-cli-setup">Copy all</button>
<pre id="repeater-cli-setup">set name &lt;repeater-name&gt;
# Optional public contact: email, callsign, or Discord
set owner.info &lt;optional-public-contact-info&gt;
# Optional location: omit, or offset about 2 km for privacy if desired
set lat &lt;latitude&gt;
set lon &lt;longitude&gt;
password &lt;new-admin-password&gt;
set radio 910.525,62.5,7,5
set tx &lt;device-specific-tx-power-dbm&gt;
set path.hash.mode 1
set flood.advert.interval 47
set advert.interval &lt;optional-60-to-240-minute-interval&gt;
set flood.max.unscoped 12
region put ct
region allowf ct
region put northeast
region allowf northeast
region put east
region allowf east
# Add these two lines only when your site is in the ct-rv area:
# region put ct-rv
# region allowf ct-rv
region allowf *
region save
reboot</pre>
</div>
<div class="note"><strong>Region note:</strong> CT repeaters should use <code>ct</code>, <code>northeast</code>, and <code>east</code>. Add <code>ct-rv</code> only for locations in that area. Refer to the <a href="https://newenglandme.sh/regions" target="_blank">New England Mesh region map</a> to identify the expected regions for your repeater site or to ask regional coordination questions. The New England Mesh guide also recommends retaining wildcard forwarding with <code>region allowf *</code>.</div>
<p>The public-mesh values in this block match the beginner guide: 2-byte path hashes, a 47-hour flood advert interval, and a 12-hop limit for unscoped <code>*</code> traffic. If you leave location blank for privacy, omit the <code>set lat</code> and <code>set lon</code> lines. See the <a href="https://docs.meshcore.io/cli_commands/" target="_blank">official MeshCore CLI reference</a> for the complete command set.</p>
</section>
<h2 id="deploy-path">Deploy the Node</h2>
<h3 id="choose-site">Choose a Good Site</h3>
<ul>
<li>Choose a stable location with useful height, clear exposure, and enough sun to keep the battery healthy.</li>
<li>If your radio site and panel site differ, remote panel placement is fine if it improves sun exposure.</li>
</ul>
<h3 id="tree-mounting">Tree Mounting</h3>
<p>For tree installs, a common approach is to use a slingshot to place a lightweight mason line over a suitable branch, then use that line to pull up a stronger rope for hoisting and securing the node. Choose a healthy branch, avoid power lines, and make sure the enclosure and antenna can hang clear without rubbing through on bark or hardware.</p>
<h3 id="structure-mounting">Structure or Pole Mounting</h3>
<p>Nodes can also be attached to the side of a structure, a mast, a fence post, or a utility-style pole using appropriate brackets, hose clamps, or other weather-resistant mounting hardware. Keep the enclosure secure, keep cable runs tidy, and position the antenna with as much clear exposure as practical.</p>
<h3 id="other-mounting">Other Mounting Options</h3>
<p>Other logical mounting options include sheds, garages, balcony rails, old TV antenna mounts, rooftop masts, and similar elevated locations with stable support and useful line-of-sight.</p>
<div class="note"><strong>Spacing Note:</strong> If you have more than one LoRa device at a site, keep the LoRa antennas at least <strong>3 feet apart</strong> for optimal performance.</div>
<h2>Need More Context?</h2>
<p>If you want help validating a parts list, firmware choice, or deployment location, ask in Discord or on the Discourse forum before you seal everything up and mount it.</p>
<div class="button-row">
<a class="btn" href="meshcore-resources.html">
<svg class="button-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 5.5c2.5-.8 5-.4 8 1.5v12c-3-1.9-5.5-2.3-8-1.5v-12Z"></path>
<path d="M20 5.5c-2.5-.8-5-.4-8 1.5v12c3-1.9 5.5-2.3 8-1.5v-12Z"></path>
</svg>
More MeshCore Guides
</a>
<a class="btn" href="observer-setup.html">
<svg class="button-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="10.5" cy="10.5" r="5.5"></circle>
<path d="m15 15 4.5 4.5"></path>
<path d="M8.5 10.5h4M10.5 8.5v4"></path>
</svg>
Observer Setup Guide
</a>
<a class="btn btn-discord" href="https://ctmesh.org/discord" target="_blank">
<img class="button-icon discord-icon" src="discord.svg" alt="">
Join CT Mesh Discord
</a>
<a class="btn btn-discourse" href="https://discourse.ctmesh.org/" target="_blank" rel="noopener"><img class="button-icon" src="forum.svg" alt="">Join CT Mesh Discourse</a>
</div>
<h2 id="power-addendum">Power Saving Addendum</h2>
<p>If you are running a solar-powered repeater or otherwise want to reduce current draw, power saving is available as an optional post-setup change.</p>
<p>After logging into the repeater, open the command line and run <code>powersaving on</code>.</p>
<p>This can be useful for deployments where power budget matters, especially small solar installations.</p>
<p>If you want a lower-power firmware variant, you can also use the flasher's custom firmware option with releases from <a href="https://github.com/IoTThinks/EasySkyMesh/releases" target="_blank">EasySkyMesh</a>.</p>
<a class="btn back-link" href="index.html">Back to CT Mesh</a>
<footer class="site-footer">
<p><a href="https://ctmesh.org/">CT Mesh</a> is a volunteer-run user group for mesh technology enthusiasts in Connecticut, and participates in the <a href="https://newenglandme.sh/" target="_blank">New England Mesh coordination group</a> for <a href="https://meshcore.io/" target="_blank">MeshCore</a> and <a href="https://meshtastic.org" target="_blank">Meshtastic</a>.</p>
<p class="footer-email-action"><a href="contact-us.html" class="email-link"><svg class="email-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><rect x="3" y="5" width="18" height="14" rx="2"></rect><path d="m4 7 8 6 8-6"></path></svg><span>Contact CT Mesh Admins</span></a></p>
<p>Site edits can be submitted via git at <a href="https://git.ctmesh.org/ctmesh/web" target="_blank" rel="noopener">git.ctmesh.org/ctmesh/web</a>.</p>
<p><a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener">Content licensed CC BY-SA 4.0</a></p>
</footer>
</div>
<div class="image-modal" id="image-modal" aria-hidden="true">
<div class="image-modal-content">
<button class="image-modal-close" id="image-modal-close" type="button" aria-label="Close image">&times;</button>
<img id="image-modal-img" src="" alt="Guide screenshot">
</div>
</div>
<script>
const imageModal = document.getElementById("image-modal");
const imageModalImg = document.getElementById("image-modal-img");
const imageModalClose = document.getElementById("image-modal-close");
const imageLinks = document.querySelectorAll("[data-modal-image]");
const closeImageModal = () => {
imageModal.classList.remove("is-open");
imageModal.setAttribute("aria-hidden", "true");
imageModalImg.setAttribute("src", "");
};
imageLinks.forEach((link) => {
link.addEventListener("click", (event) => {
event.preventDefault();
const imageSrc = link.getAttribute("data-modal-image");
imageModalImg.setAttribute("src", imageSrc);
imageModal.classList.add("is-open");
imageModal.setAttribute("aria-hidden", "false");
});
});
imageModalClose.addEventListener("click", closeImageModal);
imageModal.addEventListener("click", (event) => {
if (event.target === imageModal) {
closeImageModal();
}
});
const copyButtons = document.querySelectorAll("[data-copy-target]");
copyButtons.forEach((button) => {
button.addEventListener("click", async () => {
const target = document.getElementById(button.getAttribute("data-copy-target"));
if (!target) return;
try {
await navigator.clipboard.writeText(target.textContent);
button.textContent = "Copied";
} catch (err) {
button.textContent = "Copy failed";
}
setTimeout(() => { button.textContent = "Copy all"; }, 1500);
});
});
document.addEventListener("keydown", (event) => {
if (event.key === "Escape" && imageModal.classList.contains("is-open")) {
closeImageModal();
}
});
</script>
</body>
</html>