diff --git a/docs/_js/power-calculator.js b/docs/_js/power-calculator.js index 49893cf30..d0502527a 100644 --- a/docs/_js/power-calculator.js +++ b/docs/_js/power-calculator.js @@ -363,8 +363,8 @@ if (!c) return null; var link = this.srcLink(c.source); if (link.tagName === 'A') { link.textContent = this.t('details'); link.title = this.n(c); } - return el('div', { 'class': small ? 'pc-warn pc-small' : 'pc-warn', role: 'note' }, - ['⚠ ' + (c['short_' + this.lang] || this.n(c)) + ' · ', link]); + return el('div', { 'class': 'pc-hint', role: 'note' }, + [(c['short_' + this.lang] || this.n(c)) + ' · ', link]); }; P.settingRow = function (k, small) { @@ -415,8 +415,14 @@ cb.checked = !!s.sensors[x.id]; return el('label', { 'class': 'pc-chip', title: x.how }, [cb, x.name]); })); - form.appendChild(el('div', { 'class': 'pc-field' }, [el('span', { 'class': 'pc-label', text: this.t('sensors') }), chips, - el('div', { 'class': 'pc-hint' }, [this.t('sensors_hint') + ' ', this.badge(false)])])); + // collapsed: a dozen chips would take half the page; the summary says how many are picked + var nSel = d.sensors.list.filter(function (x) { return s.sensors[x.id]; }).length; + var sens = el('details', { 'class': 'pc-adv pc-sens', 'data-open': 'sens' }); + if (this.open.sens) sens.open = true; + sens.appendChild(el('summary', { text: this.t('sensors') + (nSel ? ' (' + nSel + ')' : '') })); + sens.appendChild(chips); + sens.appendChild(el('div', { 'class': 'pc-hint' }, [this.t('sensors_hint') + ' ', this.badge(false)])); + form.appendChild(sens); // advanced var adv = el('details', { 'class': 'pc-adv', 'data-open': 'adv' }); diff --git a/docs/power-calculator.md b/docs/power-calculator.md index 4d809c5b0..18c0cb184 100644 --- a/docs/power-calculator.md +++ b/docs/power-calculator.md @@ -38,8 +38,9 @@ power.md. from mid-November with consumption unchanged ([details](power.md#a-mast-that-runs-flat-bootlock-and-cutoff)). -**rxps is not free:** it saves about 2 mA but loses 13-28 % of weak packets -([details](power.md#rx-duty-cycle-rxps)). Never on a mast. +**rxps:** saves about 2 mA and hears fewer weak packets (13-28 % below 0 dB +SNR, [details](power.md#rx-duty-cycle-rxps)). With other repeaters around that +cover the same area it hardly matters; it does where the node is the only path. ## Data diff --git a/docs/power-data.json b/docs/power-data.json index 256b1577d..fc06c7630 100644 --- a/docs/power-data.json +++ b/docs/power-data.json @@ -234,16 +234,16 @@ { "kind": "reception", "option": "rxps", "to": "balanced", - "short_en": "loses 13-28 % of weak packets; not for a mast", - "short_cs": "ztratí 13-28 % slabých paketů; ne na stožár", + "short_en": "hears fewer weak packets (13-28 % below 0 dB SNR); matters only where this node is the one path", + "short_cs": "slabé pakety zachytí hůř (13-28 % pod 0 dB SNR); vadí jen tam, kde je uzel jediná cesta", "en": "loses 13-28 % of weak packets (SNR -2..-8) against 0 % without rxps; strong signal 0 lost. Not for a mast.", "cs": "ztratí 13-28 % slabých paketů (SNR -2..-8) proti 0 % bez rxps; silný signál 0 ztrát. Ne na stožár.", "date": "2026-12-04", "source": "power-rxps", "measured": true }, { "kind": "reception", "option": "rxps", "to": "max", - "short_en": "loses 13-28 % of weak packets or more; not for a mast", - "short_cs": "ztratí 13-28 % slabých paketů i víc; ne na stožár", + "short_en": "hears fewer weak packets (13-28 % below 0 dB SNR, max a bit more); matters only where this node is the one path", + "short_cs": "slabé pakety zachytí hůř (13-28 % pod 0 dB SNR, max o něco víc); vadí jen tam, kde je uzel jediná cesta", "en": "as balanced or worse: 13-28 % of weak packets lost; on a live mast -16 % received. Not for a mast.", "cs": "jako balanced nebo hůř: ztráta 13-28 % slabých paketů; na ostrém stožáru -16 % přijatých. Ne na stožár.", "date": "2026-12-04", "source": "power-rxps", "measured": true