docs site preview: commands written one way (ef16d8b1)

This commit is contained in:
tth committed 2026-12-02 00:51:17 +01:00
1 parent 20828922f2
commit 31492ac499
7 files changed
+264 -128

No files matched your search

+15 -15
View File
@@ -574,7 +574,7 @@ figures are.</p>
<tr>
<td>RX duty cycle (<code>set radio.rxps</code>, from EasySkyMesh)</td>
<td><strong>~2.3 mA</strong> at <code>max</code> (XIAO, 12. 11. 2026)</td>
<td><strong>no</strong> on a live node: -16 % received and a TX stall on mast-three, see below</td>
<td><strong>no</strong> on a live node: -16 % received and a TX stall on tth-ltm, see below</td>
</tr>
<tr>
<td><code>radio.rxgain off</code></td>
@@ -610,9 +610,9 @@ day costs ~5 s of clock — far below what the mesh notices — and a reboot syn
at once anyway. Verified on hardware in both paths (with the old 30 min / 1 h
timers):</p>
<ul>
<li>with sky (<code>mast-three</code>): <code>duty, asleep, fix, 7 sats</code> — got a fix, set the clock,
<li>with sky (<code>tth-ltm</code>): <code>duty, asleep, fix, 7 sats</code> — got a fix, set the clock,
cut power to the receiver;</li>
<li>without (indoors, <code>bench-rpt</code>): <code>awake</code> for exactly 300 s
<li>without (indoors, <code>tth-s1-rpt</code>): <code>awake</code> for exactly 300 s
(<code>GPS_DUTY_MAX_AWAKE_SECS</code>), then <code>asleep</code> with an hourly retry, so a blocked
sky cannot turn duty mode back into "always on".</li>
</ul>
@@ -630,7 +630,7 @@ to 0, and <code>gps on</code> / <code>gps off</code> leave duty mode.</p>
telemetry while the receiver is powered, so a duty-cycled node reports position
in telemetry only during its sync windows (well under 1 % of the time). What a repeater
<em>advertises</em> is unaffected — that comes from prefs via <code>set advert.loc prefs</code> (formerly <code>gps advert prefs</code>) — and
<code>node_lat/lon</code> keep the last fix. Confirmed in the field: <code>mast-three</code>'s scrape now
<code>node_lat/lon</code> keep the last fix. Confirmed in the field: <code>tth-ltm</code>'s scrape now
carries <code>voltage/temperature/humidity</code> and no <code>gps</code> field.</p>
<h2 id="ble-two-defaults-that-were-quietly-expensive">BLE: two defaults that were quietly expensive</h2>
<ul>
@@ -741,7 +741,7 @@ public release <code>v1.18.0+tth.20261112</code> (<code>ver</code> v1.18.0-tthd4
off as well, and of the three at level 3 one was on x3, which had rxps off: the
bench shows no degradation at any level. Not measured: mixed SF/preamble senders, a busy
live mesh. On a mast, where 2 mA of ~24 is not the problem, leave it off.</p>
<p><strong>On the live mesh it failed (mast-three, 14. 11. 2026, <code>max</code>).</strong> Against ob1 as
<p><strong>On the live mesh it failed (tth-ltm, 14. 11. 2026, <code>max</code>).</strong> Against ob1 as
the reference for the hour-to-hour traffic, the node received ~16 % fewer
packets (2.08 vs 2.47 per ob1 packet) with ~30 % more <code>recv_errors</code>, and within
two hours of switching it on it stopped transmitting altogether: <code>sent</code> frozen,
@@ -797,7 +797,7 @@ check of the advert signature. The duty went from 0.05 % at rest to 0.13 %.
The awake time is a small part of a node's current; the radio's RX and the
SoftDevice dominate.</p>
<h2 id="a-mast-that-runs-flat-bootlock-and-cutoff">A mast that runs flat: bootlock and cutoff</h2>
<p>A panel that gets no direct sun in winter (remote-mast faces east, 11/2026:
<p>A panel that gets no direct sun in winter (Plešivec faces east, 11/2026:
-50 mV a day from mid-November with consumption unchanged) eventually drains
the cell. Without protection the node runs until the brown-out, and every bit
of light then restarts it on a cell that cannot hold it -- a boot loop at the
@@ -809,21 +809,21 @@ admin over the mesh:</p>
<table>
<thead>
<tr>
<th></th>
<th>command</th>
<th>default</th>
<th></th>
<th>what</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>set pwr.bootlock &lt;mV&gt;\|off</code></td>
<td><code>set pwr.bootlock &lt;mV&gt;</code></td>
<td>3300 mV (<code>variant.h</code>)</td>
<td>at boot, below it the node goes to SYSTEMOFF and the LPCOMP wakes it when the battery recovers</td>
<td>3000..4200 or <code>off</code>; at boot, below it the node goes to SYSTEMOFF and the LPCOMP wakes it when the battery recovers</td>
</tr>
<tr>
<td><code>set pwr.cutoff &lt;mV&gt;\|off</code></td>
<td><code>set pwr.cutoff &lt;mV&gt;</code></td>
<td>off</td>
<td>while running, three readings in a row (one a minute) below it switch the node off into the same SYSTEMOFF</td>
<td>3000..4200 or <code>off</code>; while running, three readings in a row (one a minute) below it switch the node off into the same SYSTEMOFF</td>
</tr>
<tr>
<td><code>get pwr</code></td>
@@ -1035,8 +1035,8 @@ loss, not a sensitivity loss.</p>
and set back to <code>HIGH</code> right after <code>getBattMilliVolts()</code>, instead of staying
<code>LOW</code>. <code>initiateShutdown()</code> still drives it <code>LOW</code> when it arms the LPCOMP
wake. It saves ~2.8 µA (4.2 V over 1.5 MOhm). With the old 10 ms settle the
reading came out 110-150 mV high (mast-three and second-mast after the OTA of
26.-27. 11. 2026, both at night, remote-mast without the change flat): the ADC
reading came out 110-150 mV high (tth-ltm and hřebečná after the OTA of
26.-27. 11. 2026, both at night, Plešivec without the change flat): the ADC
node starts high with the divider off. The settle is 100 ms now; still to be
checked against a meter, and whether the ADC pin sits near VDD + 0.3 V on a
full cell.</p>
@@ -1100,7 +1100,7 @@ the run log, outside the repository.</p>
0.71 → 0.53 → 0.22 → 0.05 A over about an hour here) or the numbers are
fiction. There is <strong>no INA226 on this board</strong> to cross-check with — the <code>i2c</code>
command reports nothing at all on the only bus the variant has — on three
separate P1-Pro units (<code>bench-rpt</code>, <code>mast-rpt-two</code>, <code>tth-mast-repeater-one</code>),
separate P1-Pro units (<code>tth-s1-rpt</code>, <code>tth-hrebecna</code>, <code>tth-plesivec-abertamy</code>),
against a sensor table that expects <code>38 76 70 44 5C 42 40 41 5A 29 77</code>. So it
is the board, not one dead part, and the cross-check for a power measurement
has to be a second <em>board</em>.</li>