Repository navigation
docs(hardware): add the visual guide "How the Omi pendant works" - #21058
Git-on-my-level wants to merge 3 commits into
Conversation
Picture-first on-ramp for contributors: an animated scene of where audio goes (live, saved, lost), the real exploded view and KiCad-rendered mainboard, nine behaviour cards tied to where each lives on the board, a playable day, and the questions to ask before a pendant decision. Mintlify does not serve raw HTML, so the page mounts as a JSX snippet; the board renders are static SVGs produced by omi/hardware/consumer/explainer/build_explainer.py from the KiCad sources. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
9 issues found across 14 files
Confidence score: 3/5
docs/snippets/pendant-guide.jsxexposes an internal invariant ID, an incident, and unshipped roadmap items on a public page. Remove or replace that material before publishing.- In
pendant-guide.src.html, reduced-motion users only see the initial live route, so they cannot follow the other scenarios. Render a static representation for each selected mode. - In
pendant-guide.src.html, switching scenarios can leave packets from the previous route visible and make audio appear to arrive when it should be saved or lost. Clear or invalidate those packets insetMode. - The explainer build reads KiCad inputs from committed
HEAD, so uncommitted edits are silently omitted from regenerated outputs. Clarify this limitation or make the build use the working tree.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="omi/firmware/AGENTS.md">
<violation number="1" location="omi/firmware/AGENTS.md:5">
P3: The rebuild step has no command, and 'AAD' has no matching card in the guide. Name the rebuild command and point AAD changes at the 'Napping' card, since the guide never uses the term AAD.</violation>
</file>
<file name="omi/hardware/consumer/explainer/pendant-guide.src.html">
<violation number="1" location="omi/hardware/consumer/explainer/pendant-guide.src.html:564">
P2: Changing scenarios leaves in-flight packets from the previous route visible, so the away/deaf views can briefly show audio arriving when it should be saved or lost. Remove or invalidate existing packets when `setMode` changes the route.</violation>
<violation number="2" location="omi/hardware/consumer/explainer/pendant-guide.src.html:614">
P2: Reduced-motion users cannot follow the non-live scenarios because the static branch renders only the initial live route and disables the simulation loop. Render a static representation for each selected mode while preserving the reduced-motion preference.</violation>
</file>
<file name="omi/hardware/consumer/explainer/build_explainer.py">
<violation number="1" location="omi/hardware/consumer/explainer/build_explainer.py:28">
P2: `kicad()` swallows `kicad-cli` stderr. On failure, the `CalledProcessError` hides the reason. Print the captured stderr before exiting.</violation>
<violation number="2" location="omi/hardware/consumer/explainer/build_explainer.py:61">
P3: `edge_origin` ignores the computed radius and returns `cx - half, cy - half` from a hardcoded width. Use the fitted circle's radius so the origin follows the Edge.Cuts geometry if the board outline changes.</violation>
</file>
<file name="omi/hardware/consumer/explainer/README.md">
<violation number="1" location="omi/hardware/consumer/explainer/README.md:11">
P3: The source template has unscoped `body` and `:root` rules for standalone hosting, so 'all scoped under `.pg`' is not accurate. Qualify the statement to note the standalone-only exceptions, which the build removes for Mintlify.</violation>
<violation number="2" location="omi/hardware/consumer/explainer/README.md:30">
P2: The build reads the mainboard KiCad zip and exploded photo from the committed `HEAD` (`--ref`), not the working tree. Edits to the KiCad files that are not yet committed will be ignored, and the outputs will be regenerated from the old board. Say to commit KiCad changes first, and mention `--ref`.</violation>
</file>
<file name="docs/snippets/pendant-guide.jsx">
<violation number="1" location="docs/snippets/pendant-guide.jsx:1">
P3: The battery bar does not match its label. On the stated 36-hour scale, 44% is about 16 hours, but the label says ~17–20 h. Set the width to about 47–56% so the bar matches the label, or change the label.</violation>
<violation number="2" location="docs/snippets/pendant-guide.jsx:1">
P2: This public page exposes internal material: the invariant ID `INV-CAP-1`, an incident ("how a real meeting was lost"), and unshipped roadmap items. docs/AGENTS.md says invariants, incidents, and roadmap-style notes do not belong on docs.omi.me. Remove the invariant ID and reword the incident and roadmap lines as general, user-facing behavior. Make the same change in the generator template so the rebuild keeps it.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
| $$('.mode[data-m]').forEach(b=>b.onclick=()=>setMode(b.dataset.m)); | ||
| $('#fix').onchange=drawStatic; | ||
| lines=4; drawStatic(); | ||
| if(reduce){ // static rendering of the route |
There was a problem hiding this comment.
P2: Reduced-motion users cannot follow the non-live scenarios because the static branch renders only the initial live route and disables the simulation loop. Render a static representation for each selected mode while preserving the reduced-motion preference.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At omi/hardware/consumer/explainer/pendant-guide.src.html, line 614:
<comment>Reduced-motion users cannot follow the non-live scenarios because the static branch renders only the initial live route and disables the simulation loop. Render a static representation for each selected mode while preserving the reduced-motion preference.</comment>
<file context>
@@ -0,0 +1,701 @@
+$$('.mode[data-m]').forEach(b=>b.onclick=()=>setMode(b.dataset.m));
+$('#fix').onchange=drawStatic;
+lines=4; drawStatic();
+if(reduce){ // static rendering of the route
+ const r={live:R.live}; [0.2,0.45,0.7].forEach(f=>{const a=R.live[0],b=R.live[1];const el=document.createElementNS(NS,'rect');el.setAttribute('x',a[0]+(b[0]-a[0])*f-8);el.setAttribute('y',a[1]-8);el.setAttribute('width',16);el.setAttribute('height',16);el.setAttribute('rx',3);el.setAttribute('fill','var(--live)');$('#s-pk').appendChild(el)});
+} else requestAnimationFrame(tick);
</file context>
| }; | ||
| let mode='live', mem=0, lines=0, packets=[], lastSpawn=0; | ||
| function effMode(){return mode==='deaf'&&$('#fix').checked?'deafFix':mode} | ||
| function setMode(m){mode=m;$$('.mode[data-m]').forEach(b=>b.setAttribute('aria-pressed',b.dataset.m===m));if(m==='live'||m==='back')lines=Math.min(lines,2);drawStatic()} |
There was a problem hiding this comment.
P2: Changing scenarios leaves in-flight packets from the previous route visible, so the away/deaf views can briefly show audio arriving when it should be saved or lost. Remove or invalidate existing packets when setMode changes the route.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At omi/hardware/consumer/explainer/pendant-guide.src.html, line 564:
<comment>Changing scenarios leaves in-flight packets from the previous route visible, so the away/deaf views can briefly show audio arriving when it should be saved or lost. Remove or invalidate existing packets when `setMode` changes the route.</comment>
<file context>
@@ -0,0 +1,701 @@
+};
+let mode='live', mem=0, lines=0, packets=[], lastSpawn=0;
+function effMode(){return mode==='deaf'&&$('#fix').checked?'deafFix':mode}
+function setMode(m){mode=m;$$('.mode[data-m]').forEach(b=>b.setAttribute('aria-pressed',b.dataset.m===m));if(m==='live'||m==='back')lines=Math.min(lines,2);drawStatic()}
+function drawStatic(){
+ const M=MODES[effMode()];
</file context>
|
|
||
|
|
||
| def kicad(*args): | ||
| subprocess.run(["kicad-cli", *args], check=True, capture_output=True) |
There was a problem hiding this comment.
P2: kicad() swallows kicad-cli stderr. On failure, the CalledProcessError hides the reason. Print the captured stderr before exiting.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At omi/hardware/consumer/explainer/build_explainer.py, line 28:
<comment>`kicad()` swallows `kicad-cli` stderr. On failure, the `CalledProcessError` hides the reason. Print the captured stderr before exiting.</comment>
<file context>
@@ -0,0 +1,174 @@
+
+
+def kicad(*args):
+ subprocess.run(["kicad-cli", *args], check=True, capture_output=True)
+
+
</file context>
| subprocess.run(["kicad-cli", *args], check=True, capture_output=True) | |
| r = subprocess.run(["kicad-cli", *args], capture_output=True, text=True) | |
| if r.returncode: | |
| sys.exit(f"kicad-cli {' '.join(args)} failed:\n{r.stderr}") |
| Rebuild when the template changes, or when the mainboard KiCad files change, because part | ||
| positions and board art come from `HEAD`. |
There was a problem hiding this comment.
P2: The build reads the mainboard KiCad zip and exploded photo from the committed HEAD (--ref), not the working tree. Edits to the KiCad files that are not yet committed will be ignored, and the outputs will be regenerated from the old board. Say to commit KiCad changes first, and mention --ref.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At omi/hardware/consumer/explainer/README.md, line 30:
<comment>The build reads the mainboard KiCad zip and exploded photo from the committed `HEAD` (`--ref`), not the working tree. Edits to the KiCad files that are not yet committed will be ignored, and the outputs will be regenerated from the old board. Say to commit KiCad changes first, and mention `--ref`.</comment>
<file context>
@@ -0,0 +1,46 @@
+python3 omi/hardware/consumer/explainer/build_explainer.py --mintlify-docs docs
+```
+
+Rebuild when the template changes, or when the mainboard KiCad files change, because part
+positions and board art come from `HEAD`.
+
</file context>
| Rebuild when the template changes, or when the mainboard KiCad files change, because part | |
| positions and board art come from `HEAD`. | |
| Rebuild when the template changes, or when the mainboard KiCad files change. The build reads KiCad and image inputs from the committed `HEAD` (or `--ref`), not the working tree, so commit KiCad edits before rebuilding. |
| @@ -0,0 +1,164 @@ | |||
| // Generated by omi/hardware/consumer/explainer/build_explainer.py (--mintlify-docs docs). Edit the template and rebuild; do not edit by hand. | |||
There was a problem hiding this comment.
P2: This public page exposes internal material: the invariant ID INV-CAP-1, an incident ("how a real meeting was lost"), and unshipped roadmap items. docs/AGENTS.md says invariants, incidents, and roadmap-style notes do not belong on docs.omi.me. Remove the invariant ID and reword the incident and roadmap lines as general, user-facing behavior. Make the same change in the generator template so the rebuild keeps it.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/snippets/pendant-guide.jsx, line 1:
<comment>This public page exposes internal material: the invariant ID `INV-CAP-1`, an incident ("how a real meeting was lost"), and unshipped roadmap items. docs/AGENTS.md says invariants, incidents, and roadmap-style notes do not belong on docs.omi.me. Remove the invariant ID and reword the incident and roadmap lines as general, user-facing behavior. Make the same change in the generator template so the rebuild keeps it.</comment>
<file context>
@@ -0,0 +1,164 @@
+// Generated by omi/hardware/consumer/explainer/build_explainer.py (--mintlify-docs docs). Edit the template and rebuild; do not edit by hand.
+export const PendantGuide = () => {
+ const html = "\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito+Sans:opsz,[email protected],400;6..12,600;6..12,700&display=swap\">\n<style>\n/* Layout: a visual guide. An animated \"watch it work\" scene up top, the real exploded view and\n board, then numbered behaviour cards that each tie back to the board. All rules are scoped\n under .pg so the guide can be embedded in the docs site without leaking styles.\n Colours always mean the same thing: green = live, teal = saved, red = lost, blue = the Bluetooth light. */\n.pg{\n --bg:#f4f6f8; --panel:#ffffff; --ink:#1b2430; --muted:#5b6675; --line:#d5dbe2; --sunk:#e9edf1;\n --yellow:#f2b705; --yellow-soft:#fdf3d0;\n --live:#2e9e5b; --live-soft:#dcf1e4; --saved:#1b8fa0; --saved-soft:#d7eff2; --lost:#d94338; --lost-soft:#fbe0dd;\n --blue:#2f6fde; --case:#c9ced6; --case-dark:#8d96a3; --screen:#eef2f6; --doze:#8b95a3;\n --f-display:\"Fredoka\",\"Arial Rounded MT Bold\",\"Trebuchet MS\",system-ui,sans-serif;\n --f-body:\"Nunito Sans\",-apple-system,\"Segoe UI\",system-ui,sans-serif;\n --r:14px;\n}\n\nhtml[data-theme=\"dark\"] .pg{\n --bg:#11161c; --panel:#18202a; --ink:#e7ecf2; --muted:#9aa6b4; --line:#2b3644; --sunk:#202a36;\n --yellow:#f5c431; --yellow-soft:#3a3115;\n --live:#5cc787; --live-soft:#173323; --saved:#4fc0cf; --saved-soft:#143139; --lost:#f07a70; --lost-soft:#3b1c1a;\n --blue:#6b9bf0; --case:#6c7684; --case-dark:#4a5360; --screen:#25303d; --doze:#7f8a98;\n color-scheme:dark}\nhtml.dark .pg{\n --bg:#11161c; --panel:#18202a; --ink:#e7ecf2; --muted:#9aa6b4; --line:#2b3644; --sunk:#202a36;\n --yellow:#f5c431; --yellow-soft:#3a3115;\n --live:#5cc787; --live-soft:#173323; --saved:#4fc0cf; --saved-soft:#143139; --lost:#f07a70; --lost-soft:#3b1c1a;\n --blue:#6b9bf0; --case:#6c7684; --case-dark:#4a5360; --screen:#25303d; --doze:#7f8a98;\n color-scheme:dark}\n.pg, .pg *{box-sizing:border-box}\n.pg{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:1.05rem;line-height:1.55;margin:0}\n.pg .wrap{max-width:1000px;margin:0 auto;padding-inline:clamp(16px,4vw,36px);padding-block:0 5rem}\n.pg h1, .pg h2, .pg h3{font-family:var(--f-display);font-weight:600;line-height:1.1;text-wrap:balance;margin:0}\n.pg h1{font-size:clamp(2.3rem,6vw,3.6rem);font-weight:700}\n.pg h2{font-size:clamp(1.6rem,3.6vw,2.2rem);margin-bottom:.4rem}\n.pg h3{font-size:1.35rem}\n.pg p{margin:0 0 .8rem}\n.pg a{color:var(--blue)}\n.pg button:focus-visible, .pg input:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}\n.pg .muted{color:var(--muted)}\n.pg .small{font-size:.88rem}\n.pg header{padding-block:2.6rem 1rem;display:grid;gap:.8rem}\n.pg .kicker{font-family:var(--f-display);font-weight:600;font-size:.95rem;color:var(--ink);background:var(--yellow);display:inline-block;padding:.15rem .7rem;border-radius:999px;justify-self:start}\n.pg .lede{font-size:1.2rem;color:var(--muted);max-width:56ch}\n.pg .chapter{padding-block:2.4rem .4rem}\n.pg .chapter>p{max-width:60ch;color:var(--muted)}\n\n/* scene */\n.pg .scene{background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);overflow:hidden}\n.pg .scene svg{display:block;width:100%;height:auto}\n.pg .modes{display:flex;flex-wrap:wrap;gap:.45rem;padding:.8rem;border-top:2px solid var(--ink);background:var(--sunk)}\n.pg .mode{all:unset;cursor:pointer;font-family:var(--f-display);font-weight:600;font-size:.95rem;padding:.42rem .85rem;border-radius:999px;background:var(--panel);border:2px solid var(--line);color:var(--ink)}\n.pg .mode[aria-pressed=\"true\"]{border-color:var(--ink);background:var(--yellow);color:#1b2430}\n.pg .fixtg{display:inline-flex;align-items:center;gap:.5rem;font-size:.92rem;margin-left:auto;cursor:pointer;padding:.3rem .2rem}\n.pg .fixtg input{appearance:none;width:40px;height:22px;border-radius:999px;background:var(--line);position:relative;cursor:pointer;transition:background .15s;flex:none}\n.pg .fixtg input::after{content:\"\";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--panel);transition:left .15s}\n.pg .fixtg input:checked{background:var(--saved)} .pg .fixtg input:checked::after{left:21px}\n.pg .caption{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.8rem;align-items:center;padding:.9rem 1rem;border-top:2px solid var(--ink)}\n.pg .caption .badge{font-family:var(--f-display);font-weight:600;padding:.3rem .8rem;border-radius:8px;white-space:nowrap}\n.pg .b-live{background:var(--live-soft);color:var(--live)} .pg .b-saved{background:var(--saved-soft);color:var(--saved)} .pg .b-lost{background:var(--lost-soft);color:var(--lost)} .pg .b-doze{background:var(--sunk);color:var(--doze)}\n.pg .caption p{margin:0}\n@media (max-width:560px){.pg .caption{grid-template-columns:minmax(0,1fr)}.pg .fixtg{margin-left:0}}\n\n/* step panels */\n.pg .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem;margin-top:1.2rem}\n.pg .step{background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);padding:1rem 1rem 1.1rem;display:grid;grid-template-rows:auto auto 1fr;gap:.6rem;position:relative;min-width:0}\n.pg .step.wide{grid-column:1/-1}\n.pg .step .num{font-family:var(--f-display);font-weight:700;font-size:2.6rem;line-height:1;color:var(--ink)}\n.pg .step .head{display:flex;align-items:flex-start;gap:.7rem}\n.pg .step .head h3{padding-top:.35rem}\n.pg .step svg{width:100%;height:auto;display:block;background:var(--sunk);border-radius:10px}\n.pg .step p{margin:0;font-size:.98rem}\n.pg .step.warn .head{padding-right:6rem}\n.pg .step.warn{border-color:var(--lost);box-shadow:6px 6px 0 var(--lost-soft)}\n.pg .callout{position:absolute;top:.8rem;right:.8rem;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:2px solid var(--ink);border-radius:6px;padding:.1rem .45rem;background:var(--yellow);color:#1b2430}\n.pg .callout.red{background:var(--lost);color:#fff;border-color:var(--lost)}\n\n/* parts tray */\n.pg .tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}\n@media (max-width:620px){.pg .tray{grid-template-columns:repeat(2,minmax(0,1fr))}}\n.pg .part{background:var(--sunk);border-radius:10px;padding:.6rem .4rem .7rem;text-align:center;min-width:0}\n.pg .part svg{width:64px;height:64px;background:none;margin:0 auto .3rem}\n.pg .part b{font-family:var(--f-display);font-weight:600;font-size:1rem;display:block}\n.pg .part span{font-size:.82rem;color:var(--muted);display:block;line-height:1.3}\n.pg .part .qty{display:inline-block;font-family:var(--f-display);font-weight:700;font-size:.8rem;background:var(--panel);border:1.5px solid var(--ink);border-radius:5px;padding:0 .35rem;margin-bottom:.2rem}\n\n/* lights */\n.pg .lights{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem}\n.pg .light{display:flex;gap:.65rem;align-items:flex-start;background:var(--sunk);border-radius:10px;padding:.65rem .7rem}\n.pg .light i{flex:none;width:26px;height:26px;border-radius:50%;box-shadow:0 0 0 4px var(--panel),0 0 14px 2px currentColor}\n.pg .light b{font-family:var(--f-display);font-weight:600;display:block}\n.pg .light span{font-size:.88rem;color:var(--muted)}\n@keyframes blink{50%{opacity:.15}} .pg .blink{animation:blink 1s steps(1) infinite}\n@keyframes alt{0%,49%{background:#2e9e5b;color:#2e9e5b}50%,100%{background:#2f6fde;color:#2f6fde}} .pg .alt{animation:alt 2s steps(1) infinite}\n\n/* gauges */\n.pg .gauges{display:grid;gap:.9rem}\n.pg .g{display:grid;grid-template-columns:7.5rem minmax(0,1fr);gap:.7rem;align-items:center}\n.pg .g b{font-family:var(--f-display);font-weight:600}\n.pg .track{height:28px;background:var(--sunk);border-radius:8px;position:relative;overflow:hidden;border:2px solid var(--ink)}\n.pg .fill{position:absolute;inset:0 auto 0 0;border-radius:5px;display:flex;align-items:center;padding-left:.5rem;font-weight:700;font-size:.82rem;color:#fff;white-space:nowrap}\n.pg .tick{position:absolute;top:-2px;bottom:-2px;width:2px;background:var(--ink)}\n.pg .ticklbl{position:absolute;top:30px;font-size:.72rem;color:var(--muted);transform:translateX(-50%)}\n\n/* day sim */\n.pg .sim{background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);padding:1rem;margin-top:1rem}\n.pg .simtop{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between;margin-bottom:.8rem}\n.pg .tl{display:flex;height:58px;border-radius:10px;overflow:hidden;border:2px solid var(--ink)}\n.pg .blk{all:unset;cursor:pointer;display:flex;align-items:flex-end;padding:.3rem .35rem;font-weight:700;font-size:.7rem;min-width:0;overflow:hidden;border-right:2px solid var(--panel)}\n.pg .blk:last-child{border-right:0}\n.pg .blk.live{background:var(--live-soft);color:var(--live)} .pg .blk.saved{background:var(--saved-soft);color:var(--saved)} .pg .blk.lost{background:var(--lost-soft);color:var(--lost)}\n.pg .blk.doze{background:repeating-linear-gradient(135deg,var(--sunk) 0 6px,var(--panel) 6px 11px);color:var(--doze)} .pg .blk.off{background:var(--line);color:var(--muted)}\n.pg .blk[aria-pressed=\"true\"]{outline:3px solid var(--ink);outline-offset:-3px}\n.pg .daycard{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1rem;margin-top:.9rem}\n@media (max-width:640px){.pg .daycard{grid-template-columns:minmax(0,1fr)}.pg .blk{font-size:0}}\n.pg .daycard h3{font-size:1.25rem;margin:.1rem 0 .3rem}\n.pg .mini{background:var(--sunk);border-radius:10px;padding:.55rem .75rem;font-size:.92rem;margin-bottom:.45rem}\n.pg .mini b{display:block;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}\n.pg .dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:.35rem;vertical-align:-1px}\n.pg .tot{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-top:.9rem}\n.pg .tot div{border-radius:10px;padding:.45rem .6rem;background:var(--sunk)}\n.pg .tot b{font-family:var(--f-display);font-size:1.4rem;display:block;font-variant-numeric:tabular-nums}\n.pg .tot span{font-size:.75rem;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}\n@media (max-width:520px){.pg .tot{grid-template-columns:repeat(2,1fr)}}\n\n/* trouble cards */\n.pg .trouble{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem;margin-top:1rem}\n.pg .t{background:var(--panel);border:2px solid var(--line);border-radius:var(--r);padding:.9rem 1rem;min-width:0}\n.pg .t .say{font-family:var(--f-display);font-weight:600;font-size:1.12rem;line-height:1.25;margin-bottom:.4rem}\n.pg .t .say::before{content:\"\u201c\";color:var(--muted)} .pg .t .say::after{content:\"\u201d\";color:var(--muted)}\n.pg .t p{font-size:.93rem;margin:0 0 .45rem}\n.pg .chips{display:flex;flex-wrap:wrap;gap:.3rem}\n.pg .chip{font-size:.74rem;font-weight:700;border-radius:999px;padding:.08rem .55rem;border:1.5px solid currentColor}\n.pg .c-no{color:var(--lost)} .pg .c-yes{color:var(--live)} .pg .c-some{color:#b07d00} .pg .c-fix{color:var(--muted)}\nhtml[data-theme=\"dark\"] .pg .c-some{color:var(--yellow)}\n\n\n/* rules */\n.pg .rules{display:grid;gap:.6rem;margin-top:1rem;counter-reset:q}\n.pg .rule{display:grid;grid-template-columns:2.4rem minmax(0,1fr);gap:.7rem;align-items:start;background:var(--panel);border:2px solid var(--line);border-radius:var(--r);padding:.8rem .9rem}\n.pg .rule::before{counter-increment:q;content:counter(q);font-family:var(--f-display);font-weight:700;font-size:1.3rem;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--yellow);color:#1b2430;display:grid;place-items:center}\n.pg .rule b{font-family:var(--f-display);font-weight:600;font-size:1.1rem;display:block}\n.pg .rule span{font-size:.95rem;color:var(--muted)}\n.pg .big-rule{background:var(--yellow-soft);border:2px solid var(--yellow);border-radius:var(--r);padding:1rem 1.1rem;margin-top:1rem;display:grid;grid-template-columns:auto minmax(0,1fr);gap:1rem;align-items:center}\n.pg .big-rule svg{width:84px;height:84px}\n.pg .big-rule p{margin:0}\n.pg .big-rule b{font-family:var(--f-display);font-size:1.25rem;font-weight:600;display:block;margin-bottom:.2rem}\n@media (max-width:520px){.pg .big-rule{grid-template-columns:minmax(0,1fr)}}\n\n/* inside: exploded view + board */\n.pg .inside{display:grid;gap:1rem;margin-top:1rem}\n.pg .exploded{position:relative;background:#ececec;border:2px solid var(--ink);border-radius:var(--r);overflow:hidden}\n.pg .exploded img{display:block;width:100%;height:auto}\n.pg .pin{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;background:var(--yellow);border:2px solid #1b2430;color:#1b2430;font-family:var(--f-display);font-weight:700;display:grid;place-items:center;font-size:.95rem;box-shadow:0 2px 0 #1b2430}\n.pg .keys{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.4rem .9rem;margin:.7rem 0 0;padding:0;list-style:none}\n.pg .keys li{display:flex;gap:.55rem;align-items:flex-start;font-size:.95rem}\n.pg .keys li b.k{flex:none;width:24px;height:24px;border-radius:50%;background:var(--yellow);border:2px solid var(--ink);display:grid;place-items:center;font-family:var(--f-display);font-size:.8rem;color:#1b2430}\n.pg .boardbox{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);padding:1rem}\n@media (min-width:760px){.pg .boardbox{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}\n.pg .boardstage{background:#1d3a2f;border-radius:12px;padding:.8rem;display:grid;gap:.6rem;justify-items:center}\n.pg .boardstage svg{width:100%;max-width:420px;height:auto}\n.pg .flip{display:inline-flex;border-radius:999px;overflow:hidden;border:2px solid #e8efe9}\n.pg .flip button{all:unset;cursor:pointer;font-family:var(--f-display);font-weight:600;font-size:.9rem;padding:.3rem .9rem;color:#e8efe9}\n.pg .flip button[aria-pressed=\"true\"]{background:#e8efe9;color:#1d3a2f}\n.pg .ly.mask{color:#16302a}.pg .ly.cu{color:#c88a4a;opacity:.38}.pg .ly.inner{display:none}.pg .ly.silk{color:#f4f1e4}.pg .ly.edge{color:#f4f1e4;opacity:.7}\n.pg{--pcb-hole:#1d3a2f}\n.pg .hs{cursor:pointer}\n.pg .hs circle{fill:rgba(242,183,5,.2);stroke:#f2b705;stroke-width:.22}\n.pg .hs text{font-family:var(--f-display);font-weight:700;font-size:.95px;fill:#1b2430}\n.pg .hs .tagbg{fill:#f2b705}\n.pg .hs.on circle{fill:rgba(242,183,5,.45);stroke-width:.3}\n.pg .hs:focus{outline:none}.pg .hs:focus circle{stroke:#fff}\n.pg .partcard h3{font-size:1.5rem;margin:.2rem 0 .4rem}\n.pg .partcard .eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}\n.pg .partlist{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.8rem}\n.pg .partlist button{all:unset;cursor:pointer;font-size:.84rem;font-weight:700;border:2px solid var(--line);border-radius:999px;padding:.15rem .6rem}\n.pg .partlist button[aria-pressed=\"true\"]{border-color:var(--ink);background:var(--yellow);color:#1b2430}\n.pg .where{display:flex;gap:.75rem;align-items:center;border-top:2px dashed var(--line);padding-top:.7rem;margin-top:.2rem}\n.pg .where svg.mini-board{flex:none;width:96px;height:96px;background:none!important;border-radius:50%}\n.pg .where span{font-size:.88rem;color:var(--muted);line-height:1.4}\n.pg .where b{display:block;color:var(--ink);font-size:.74rem;letter-spacing:.06em;text-transform:uppercase}\n.pg .mini-board .hl{fill:rgba(242,183,5,.55);stroke:#fff;stroke-width:.6}\n.pg footer{margin-top:3rem;padding-top:1rem;border-top:2px solid var(--line);font-size:.85rem;color:var(--muted)}\n\n/* small SVG animations */\n@keyframes wave{0%{opacity:0;transform:scale(.6)}40%{opacity:1}100%{opacity:0;transform:scale(1.25)}}\n.pg .wv{transform-box:fill-box;transform-origin:left center;animation:wave 1.6s ease-out infinite}\n.pg .wv.d1{animation-delay:.4s}.pg .wv.d2{animation-delay:.8s}\n@keyframes slide{0%{transform:translateX(0);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateX(var(--dx));opacity:0}}\n.pg .mv{animation:slide 2.2s linear infinite}\n@keyframes drop{0%{transform:translateY(0);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateY(var(--dy));opacity:0}}\n.pg .dr{animation:drop 1.8s ease-in infinite}\n@keyframes zz{0%{opacity:0;transform:translate(0,0)}30%{opacity:1}100%{opacity:0;transform:translate(14px,-22px)}}\n.pg .zz{animation:zz 2.4s ease-out infinite}.pg .zz.d1{animation-delay:.8s}.pg .zz.d2{animation-delay:1.6s}\n@keyframes grow{0%,10%{transform:scaleY(.2)}60%,100%{transform:scaleY(1)}}\n.pg .gr{transform-box:fill-box;transform-origin:bottom;animation:grow 3s ease-in-out infinite alternate}\n@keyframes shrink{0%,10%{transform:scaleY(1)}60%,100%{transform:scaleY(.15)}}\n.pg .sh{transform-box:fill-box;transform-origin:bottom;animation:shrink 3s ease-in-out infinite alternate}\n@keyframes pulse{50%{opacity:.35}} .pg .pl{animation:pulse 1.4s ease-in-out infinite}\n@media (prefers-reduced-motion:reduce){.pg, .pg *{animation:none!important;transition:none!important}}\n\n/* defend against host prose styles (Mintlify) */\n.pg .boardstage{align-content:start}\n.pg .boardbox{align-items:start}\n.pg .flip{align-self:start;height:auto;line-height:1.2}\n.pg .flip button{line-height:1.2;height:auto;margin:0}\n.pg ul.keys{padding-left:0;margin-left:0}\n.pg .keys li{padding-left:0;margin:0}\n.pg .keys li::before{display:none;content:none}\n.pg img{margin:0;border-radius:0}\n.pg button{min-height:0}\n\n</style>\n\n<!-- shared drawings -->\n<svg width=\"0\" height=\"0\" style=\"position:absolute\" aria-hidden=\"true\">\n <defs>\n <symbol id=\"pendant\" viewBox=\"-40 -40 80 80\">\n <circle r=\"36\" fill=\"var(--case)\" stroke=\"var(--ink)\" stroke-width=\"3\"/>\n <circle r=\"27\" fill=\"none\" stroke=\"var(--case-dark)\" stroke-width=\"2\"/>\n <circle cx=\"-11\" r=\"4.5\" fill=\"currentColor\"/><circle cx=\"11\" r=\"4.5\" fill=\"currentColor\"/>\n <circle r=\"6\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"2\"/>\n </symbol>\n <symbol id=\"phone\" viewBox=\"0 0 50 90\">\n <rect x=\"2\" y=\"2\" width=\"46\" height=\"86\" rx=\"9\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\"/>\n <rect x=\"7\" y=\"11\" width=\"36\" height=\"64\" rx=\"3\" fill=\"var(--screen)\"/>\n <rect x=\"19\" y=\"80\" width=\"12\" height=\"3\" rx=\"1.5\" fill=\"var(--ink)\"/>\n </symbol>\n <symbol id=\"box\" viewBox=\"0 0 90 70\">\n <path d=\"M5 18 L45 4 L85 18 L85 64 L5 64 Z\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linejoin=\"round\"/>\n <path d=\"M5 18 L45 30 L85 18 M45 30 L45 64\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"2\"/>\n </symbol>\n <symbol id=\"bin\" viewBox=\"0 0 60 70\">\n <path d=\"M8 16 H52 L47 66 H13 Z\" fill=\"var(--lost-soft)\" stroke=\"var(--lost)\" stroke-width=\"3\" stroke-linejoin=\"round\"/>\n <rect x=\"4\" y=\"8\" width=\"52\" height=\"8\" rx=\"3\" fill=\"var(--lost)\"/>\n <path d=\"M22 26 V58 M30 26 V58 M38 26 V58\" stroke=\"var(--lost)\" stroke-width=\"2.5\"/>\n </symbol>\n <symbol id=\"cloud\" viewBox=\"0 0 90 56\">\n <path d=\"M22 50 H70 A16 16 0 0 0 68 18 A22 22 0 0 0 26 16 A17 17 0 0 0 22 50 Z\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\"/>\n </symbol>\n <symbol id=\"chip\" viewBox=\"0 0 64 64\">\n <g stroke=\"var(--ink)\" stroke-width=\"3\"><path d=\"M20 8v8M32 8v8M44 8v8M20 48v8M32 48v8M44 48v8M8 20h8M8 32h8M8 44h8M48 20h8M48 32h8M48 44h8\"/></g>\n <rect x=\"15\" y=\"15\" width=\"34\" height=\"34\" rx=\"5\" fill=\"var(--ink)\"/>\n <circle cx=\"23\" cy=\"23\" r=\"3\" fill=\"var(--yellow)\"/>\n </symbol>\n <symbol id=\"board-top\" viewBox=\"-0.3 -0.3 21.6 21.6\"><image href=\"/images/hardware/pendant-guide/board-front.svg\" x=\"-0.3\" y=\"-0.3\" width=\"21.6\" height=\"21.6\"/></symbol>\n <symbol id=\"board-bot\" viewBox=\"-0.3 -0.3 21.6 21.6\"><image href=\"/images/hardware/pendant-guide/board-back.svg\" x=\"-0.3\" y=\"-0.3\" width=\"21.6\" height=\"21.6\"/></symbol>\n </defs>\n</svg>\n\n<div class=\"pg\"><div class=\"wrap\">\n\n\n<section class=\"chapter\" aria-labelledby=\"watch\">\n <h2 id=\"watch\">Watch it work</h2>\n <p>Each little block is a slice of sound, 1/50th of a second. Pick a situation and follow the blocks.</p>\n <div class=\"scene\">\n <svg id=\"scene\" viewBox=\"0 0 820 330\" role=\"img\" aria-label=\"Animated scene: audio blocks travel from the pendant to the phone, into its memory, or into the bin\">\n <text x=\"410\" y=\"28\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"15\" fill=\"var(--muted)\" id=\"s-radio-lbl\">Bluetooth</text>\n <line id=\"s-radio\" x1=\"185\" y1=\"140\" x2=\"650\" y2=\"140\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 10\" stroke-linecap=\"round\"/>\n <g id=\"s-waves\">\n <path class=\"wv\" d=\"M70 120 q-12 20 0 40\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <path class=\"wv d1\" d=\"M55 108 q-18 32 0 64\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <path class=\"wv d2\" d=\"M40 96 q-24 44 0 88\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n </g>\n <g id=\"s-zz\" font-family=\"var(--f-display)\" font-weight=\"700\" fill=\"var(--doze)\" style=\"display:none\">\n <text class=\"zz\" x=\"160\" y=\"90\" font-size=\"22\">z</text><text class=\"zz d1\" x=\"172\" y=\"78\" font-size=\"18\">z</text><text class=\"zz d2\" x=\"182\" y=\"66\" font-size=\"14\">z</text>\n </g>\n <use href=\"#pendant\" id=\"s-pendant\" x=\"80\" y=\"90\" width=\"100\" height=\"100\" style=\"color:var(--blue)\"/>\n <text x=\"130\" y=\"210\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"15\" fill=\"var(--ink)\">Pendant</text>\n <!-- memory -->\n <use href=\"#box\" x=\"85\" y=\"240\" width=\"90\" height=\"70\"/>\n <clipPath id=\"boxclip\"><rect x=\"91\" y=\"272\" width=\"78\" height=\"35\"/></clipPath>\n <rect id=\"s-mem\" x=\"91\" y=\"307\" width=\"78\" height=\"0\" fill=\"var(--saved)\" opacity=\".85\" clip-path=\"url(#boxclip)\"/>\n <text x=\"190\" y=\"290\" font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--muted)\">memory</text>\n <!-- bin -->\n <use href=\"#bin\" id=\"s-bin\" x=\"385\" y=\"245\" width=\"52\" height=\"62\"/>\n <text x=\"446\" y=\"292\" font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--lost)\" id=\"s-binlbl\">thrown away</text>\n <!-- phone -->\n <g id=\"s-phonegrp\">\n <circle id=\"s-range\" cx=\"690\" cy=\"140\" r=\"0\" fill=\"none\" stroke=\"var(--muted)\" stroke-dasharray=\"4 6\"/>\n <use href=\"#phone\" id=\"s-phone\" x=\"655\" y=\"80\" width=\"70\" height=\"126\"/>\n <g id=\"s-lines\"></g>\n <text id=\"s-phonelbl\" x=\"690\" y=\"228\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"15\" fill=\"var(--ink)\">Phone</text>\n </g>\n <text id=\"s-phonenote\" x=\"690\" y=\"250\" text-anchor=\"middle\" font-family=\"var(--f-body)\" font-size=\"12.5\" fill=\"var(--muted)\"></text>\n <g id=\"s-pk\"></g>\n </svg>\n <div class=\"modes\" role=\"group\" aria-label=\"Situation\">\n <button type=\"button\" class=\"mode\" data-m=\"live\" aria-pressed=\"true\">Talking, phone nearby</button>\n <button type=\"button\" class=\"mode\" data-m=\"away\" aria-pressed=\"false\">Phone left behind</button>\n <button type=\"button\" class=\"mode\" data-m=\"back\" aria-pressed=\"false\">Phone comes back</button>\n <button type=\"button\" class=\"mode\" data-m=\"quiet\" aria-pressed=\"false\">Quiet room</button>\n <button type=\"button\" class=\"mode\" data-m=\"deaf\" aria-pressed=\"false\">Phone stops listening</button>\n <label class=\"fixtg\"><input type=\"checkbox\" id=\"fix\"> With the planned fix</label>\n </div>\n <div class=\"caption\"><span class=\"badge\" id=\"s-badge\"></span><p id=\"s-cap\"></p></div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"inside\">\n <h2 id=\"inside\">What's inside</h2>\n <p>Take it apart and you get a stack of layers about the size of a large coin. The parts that matter for behaviour are the circuit board and the battery.</p>\n <div class=\"inside\">\n <figure style=\"margin:0\">\n <div class=\"exploded\">\n <img src=\"/images/hardware/pendant-guide/exploded.jpg\" alt=\"Exploded 3D view of the pendant's parts laid out in a line: covers, shell, frame, circuit boards, buzzer, battery and lanyard.\">\n <span class=\"pin\" style=\"left:34.4%;top:38%\">1</span>\n <span class=\"pin\" style=\"left:13%;top:31%\">2</span>\n <span class=\"pin\" style=\"left:69.5%;top:47%\">3</span>\n <span class=\"pin\" style=\"left:63.5%;top:34%\">4</span>\n <span class=\"pin\" style=\"left:37.5%;top:50%\">5</span>\n <span class=\"pin\" style=\"left:22.5%;top:79%\">6</span>\n </div>\n <ul class=\"keys\">\n <li><b class=\"k\">1</b><span><b>Main circuit board.</b> The brain, microphones, memory and radio, all on a 21 mm disc. Explore it below.</span></li>\n <li><b class=\"k\">2</b><span><b>Small boards.</b> A flex strip and the charging contacts.</span></li>\n <li><b class=\"k\">3</b><span><b>Battery.</b> 150 mAh, soldered in, about a day of use.</span></li>\n <li><b class=\"k\">4</b><span><b>Buzzer.</b> A tiny vibration motor for taps and replies.</span></li>\n <li><b class=\"k\">5</b><span><b>Metal covers.</b> Machined aluminium. They also act as the radio antenna.</span></li>\n <li><b class=\"k\">6</b><span><b>Shell.</b> The moulded outer ring. Glued and screwed shut, with no ports.</span></li>\n </ul>\n <p class=\"muted small\" style=\"margin-top:.5rem\">Image from the open-source hardware files. The small red labels name how each part is manufactured.</p>\n </figure>\n\n <div class=\"boardbox\">\n <div class=\"boardstage\">\n <span class=\"flip\" role=\"group\" aria-label=\"Board side\"><button type=\"button\" id=\"bt\" aria-pressed=\"true\">Front</button><button type=\"button\" id=\"bb\" aria-pressed=\"false\">Back</button></span>\n <svg id=\"board\" viewBox=\"-0.3 -0.3 21.6 21.6\" role=\"img\" aria-label=\"The real circuit board, rendered from the design files\"><use id=\"boarduse\" href=\"#board-top\"/><g id=\"hs\"></g></svg>\n </div>\n <div class=\"partcard\" aria-live=\"polite\">\n <div class=\"eyebrow\" id=\"pc-side\">Front of the board</div>\n <h3 id=\"pc-name\"></h3>\n <p id=\"pc-text\"></p>\n <div class=\"partlist\" id=\"partlist\"></div>\n <p class=\"muted small\" style=\"margin-top:.8rem\">This is the actual board, drawn from its design files. Copper is shown in orange and printed labels in white. Tap a highlighted part.</p>\n </div>\n </div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"build\">\n <h2 id=\"build\">How it works, one picture at a time</h2>\n <p>Each card shows one behaviour, plus where it happens on the real board.</p>\n <div class=\"steps\">\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">1</span><h3>Sound becomes blocks</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <path class=\"wv\" d=\"M40 55 q-10 15 0 30\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <path class=\"wv d1\" d=\"M28 45 q-16 25 0 50\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <use href=\"#pendant\" x=\"60\" y=\"35\" width=\"70\" height=\"70\" style=\"color:var(--blue)\"/>\n <g class=\"mv\" style=\"--dx:130px\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:.55s\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:1.1s\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:1.65s\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <text x=\"215\" y=\"118\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--muted)\">50 blocks every second</text>\n </svg>\n <p>While awake, the microphones capture sound and the brain chops it into tiny compressed blocks, about the size of a text message each.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"MIC1 MIC2 U1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The two microphones sit on opposite edges. The brain chip does the chopping.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">2</span><h3>Blocks fly to the phone</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"16\" y=\"40\" width=\"64\" height=\"64\" style=\"color:var(--blue)\"/>\n <line x1=\"84\" y1=\"72\" x2=\"226\" y2=\"72\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 9\" stroke-linecap=\"round\"/>\n <g class=\"mv\" style=\"--dx:130px\"><rect x=\"88\" y=\"64\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:.7s\"><rect x=\"88\" y=\"64\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:1.4s\"><rect x=\"88\" y=\"64\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <use href=\"#phone\" x=\"232\" y=\"28\" width=\"46\" height=\"84\"/>\n <rect x=\"241\" y=\"48\" width=\"26\" height=\"4\" rx=\"2\" fill=\"var(--live)\"/><rect x=\"241\" y=\"57\" width=\"20\" height=\"4\" rx=\"2\" fill=\"var(--live)\"/><rect x=\"241\" y=\"66\" width=\"24\" height=\"4\" rx=\"2\" fill=\"var(--live)\"/>\n </svg>\n <p>Over Bluetooth, the blocks go to the Omi app. The app sends them to the cloud, which turns them into words. <b>All the smart stuff happens there, not on the pendant.</b></p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"U1 PP1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The radio is built into the brain chip. A spring contact passes the signal to the metal case, which works as the antenna.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">3</span><h3>No phone? Save it for later</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"40\" y=\"10\" width=\"64\" height=\"64\" style=\"color:#d94338\"/>\n <g class=\"dr\" style=\"--dy:40px\"><rect x=\"64\" y=\"76\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"dr\" style=\"--dy:40px;animation-delay:.6s\"><rect x=\"64\" y=\"76\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"dr\" style=\"--dy:40px;animation-delay:1.2s\"><rect x=\"64\" y=\"76\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <use href=\"#box\" x=\"35\" y=\"88\" width=\"74\" height=\"50\"/>\n <rect class=\"gr\" x=\"42\" y=\"112\" width=\"60\" height=\"22\" fill=\"var(--saved)\" opacity=\".8\"/>\n <use href=\"#phone\" x=\"220\" y=\"30\" width=\"44\" height=\"80\" opacity=\".3\"/>\n <path d=\"M200 40 L284 110 M284 40 L200 110\" stroke=\"var(--muted)\" stroke-width=\"3\" stroke-linecap=\"round\" opacity=\".6\"/>\n <text x=\"242\" y=\"130\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"13\" fill=\"var(--muted)\">out of range</text>\n </svg>\n <p>When the phone is out of range, the pendant stores the blocks in its own memory instead, as long as its clock is set. The light turns <b style=\"color:var(--lost)\">red</b>, but that's normal, nothing is wrong.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"b\" data-refs=\"U7\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The memory chip is on the underside of the board.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">4</span><h3>Phone's back: catch up</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#box\" x=\"20\" y=\"70\" width=\"74\" height=\"50\"/>\n <rect class=\"sh\" x=\"27\" y=\"94\" width=\"60\" height=\"22\" fill=\"var(--saved)\" opacity=\".8\"/>\n <path d=\"M94 92 C140 92 150 72 220 72\" fill=\"none\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 9\" stroke-linecap=\"round\"/>\n <g class=\"mv\" style=\"--dx:120px\"><rect x=\"98\" y=\"70\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"mv\" style=\"--dx:120px;animation-delay:.7s\"><rect x=\"98\" y=\"70\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"mv\" style=\"--dx:120px;animation-delay:1.4s\"><rect x=\"98\" y=\"70\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <use href=\"#phone\" x=\"226\" y=\"30\" width=\"46\" height=\"84\"/>\n <use href=\"#pendant\" x=\"26\" y=\"6\" width=\"56\" height=\"56\" style=\"color:var(--blue)\"/>\n </svg>\n <p>When the phone reconnects, the app quietly downloads what was saved. Those conversations show up <b>later</b>, sometimes hours later. That's expected.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"b\" data-refs=\"U7\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The same memory chip, read back over Bluetooth.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">5</span><h3>Quiet room? Take a nap</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"100\" y=\"40\" width=\"74\" height=\"74\" style=\"color:var(--blue)\"/>\n <g font-family=\"var(--f-display)\" font-weight=\"700\" fill=\"var(--doze)\"><text class=\"zz\" x=\"176\" y=\"50\" font-size=\"24\">z</text><text class=\"zz d1\" x=\"190\" y=\"38\" font-size=\"19\">z</text><text class=\"zz d2\" x=\"202\" y=\"26\" font-size=\"15\">z</text></g>\n <text x=\"137\" y=\"132\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"13\" fill=\"var(--muted)\">after ~10 s of quiet</text>\n </svg>\n <p>After about 10 seconds of silence, recording pauses to save battery, and the microphone's own low-power detector keeps listening. A loud enough sound restarts recording. Quiet sounds, and the first moment of speech, can be missed.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"MIC1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The left microphone has a \"wake up\" wire back to the brain. It listens for sound on its own.</span></div>\n </div>\n\n <div class=\"step warn\">\n <div class=\"head\"><span class=\"num\">6</span><h3>Connected but not listening</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"12\" y=\"22\" width=\"64\" height=\"64\" style=\"color:var(--blue)\"/>\n <line x1=\"80\" y1=\"54\" x2=\"226\" y2=\"54\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 9\" stroke-linecap=\"round\"/>\n <use href=\"#phone\" x=\"232\" y=\"12\" width=\"46\" height=\"84\"/>\n <text x=\"255\" y=\"58\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"10\" fill=\"var(--muted)\">zzz</text>\n <g class=\"dr\" style=\"--dy:52px\"><rect x=\"94\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--lost)\"/></g>\n <g class=\"dr\" style=\"--dy:52px;animation-delay:.6s\"><rect x=\"94\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--lost)\"/></g>\n <g class=\"dr\" style=\"--dy:52px;animation-delay:1.2s\"><rect x=\"94\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--lost)\"/></g>\n <use href=\"#bin\" x=\"80\" y=\"94\" width=\"44\" height=\"46\"/>\n <text x=\"140\" y=\"126\" font-family=\"var(--f-display)\" font-size=\"13\" fill=\"var(--lost)\">light still blue</text>\n </svg>\n <p>Sometimes the phone stays connected but stops asking for audio. iPhones do this to apps in the background. The pendant <b>throws the blocks away</b> and the light stays <b style=\"color:var(--blue)\">blue</b>, so nobody notices. This is how a real meeting was lost. A fix is in progress.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"U1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>This happens in the brain chip's software, so the fix is a firmware update.</span></div>\n </div>\n\n <div class=\"step wide\">\n <div class=\"head\"><span class=\"num\">7</span><h3>Read the light</h3></div>\n <div class=\"lights\">\n <div class=\"light\"><i style=\"background:#2f6fde;color:#2f6fde\"></i><div><b>Solid blue</b><span>Connected. <u>Not</u> proof that audio is reaching the phone.</span></div></div>\n <div class=\"light\"><i style=\"background:#d94338;color:#d94338\"></i><div><b>Solid red</b><span>No phone. Saving to memory, which is fine.</span></div></div>\n <div class=\"light\"><i class=\"blink\" style=\"background:#d94338;color:#d94338\"></i><div><b>Blinking red</b><span>Its clock isn't set, usually because it has never connected to the app. It can't save anything offline yet.</span></div></div>\n <div class=\"light\"><i class=\"alt\"></i><div><b>Green + blue/red</b><span>Charging. The other colour shows connection.</span></div></div>\n <div class=\"light\"><i style=\"background:#2e9e5b;color:#2e9e5b\"></i><div><b>Solid green</b><span>Charged.</span></div></div>\n </div>\n <p class=\"muted small\">Users read blue as \"working\" and red as \"broken\". Both can be wrong. Making the light honest is on the list for the next firmware release.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"D2 D7 K2\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>Two colour lights sit either side of the button, in the middle of the board.</span></div>\n </div>\n\n <div class=\"step wide\">\n <div class=\"head\"><span class=\"num\">8</span><h3>Know the limits</h3></div>\n <div class=\"gauges\">\n <div class=\"g\"><b>Battery</b><div class=\"track\"><div class=\"fill\" style=\"width:44%;background:var(--live)\">~17\u201320 h if it never naps</div><div class=\"tick\" style=\"left:66.6%\"></div><span class=\"ticklbl\" style=\"left:66.6%\">1 day</span></div></div>\n <div class=\"g\"><b>Memory</b><div class=\"track\"><div class=\"fill\" style=\"width:100%;background:var(--saved)\">~1.5 days of audio</div><div class=\"tick\" style=\"left:66.6%\"></div></div></div>\n <div class=\"g\" style=\"margin-top:.6rem\"><b>Field logs</b><div class=\"track\"><div class=\"fill\" style=\"width:0\"></div><span style=\"position:absolute;left:.6rem;top:3px;font-weight:700;font-size:.85rem\">none: the pendant doesn't report problems</span></div></div>\n </div>\n <p class=\"muted small\" style=\"margin-top:.9rem\">Bars share one scale of 36 hours, and the tick marks one day. <b>Battery runs out before memory does.</b> These are estimates from the design and past measurements, not field data.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"U15\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The battery isn't on the board. It is soldered to two pads, and this small chip charges it from the dock.</span></div>\n </div>\n\n <div class=\"step wide\">\n <div class=\"head\"><span class=\"num\">9</span><h3>Getting a fix onto the pendant</h3></div>\n <svg viewBox=\"0 0 860 150\" aria-hidden=\"true\">\n <g font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--ink)\" text-anchor=\"middle\">\n <rect x=\"30\" y=\"40\" width=\"110\" height=\"64\" rx=\"10\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\"/><text x=\"85\" y=\"78\">new firmware</text>\n <use href=\"#cloud\" x=\"215\" y=\"38\" width=\"110\" height=\"68\"/><text x=\"270\" y=\"130\">release</text>\n <use href=\"#phone\" x=\"420\" y=\"30\" width=\"50\" height=\"90\"/><text x=\"445\" y=\"140\">user taps \"Product Update\"</text>\n <use href=\"#pendant\" x=\"600\" y=\"38\" width=\"76\" height=\"76\" style=\"color:var(--blue)\"/><text x=\"638\" y=\"140\">installed</text>\n <text x=\"780\" y=\"70\" fill=\"var(--muted)\">\u2026if the user</text><text x=\"780\" y=\"90\" fill=\"var(--muted)\">ever does</text>\n </g>\n <g stroke=\"var(--muted)\" stroke-width=\"3\" fill=\"none\" stroke-linecap=\"round\"><path d=\"M148 72h56M338 72h70M482 72h104\"/></g>\n <g class=\"mv\" style=\"--dx:440px\"><rect x=\"150\" y=\"62\" width=\"22\" height=\"20\" rx=\"4\" fill=\"var(--yellow)\" stroke=\"var(--ink)\" stroke-width=\"2\"/></g>\n </svg>\n <p>The case is sealed, so normal updates arrive only through the app, and only when someone accepts them. Engineers can also reflash by wire, but that means opening the case. Many never do. <b>Every old version stays out in the world</b>, and the app has to keep working with all of them. App and cloud fixes reach everyone within days. Firmware fixes trickle out.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"b\" data-refs=\"U12\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>New firmware first downloads into this small separate chip. On restart, the pendant swaps it in.</span></div>\n </div>\n </div>\n\n <div class=\"big-rule\">\n <svg viewBox=\"0 0 84 84\" aria-hidden=\"true\"><circle cx=\"42\" cy=\"42\" r=\"38\" fill=\"var(--yellow)\" stroke=\"var(--ink)\" stroke-width=\"3\"/><path d=\"M26 44l11 11 22-26\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n <p><b>The one rule: audio is never silently lost.</b>Every block must reach the phone or be saved for later, unless the user turned the pendant off or muted it on purpose. Saving phone battery can change <i>when</i> blocks are sent, never <i>whether</i> they survive. (Internally this is called INV-CAP-1.)</p>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"day\">\n <h2 id=\"day\">Play through a day</h2>\n <p>Tap a stretch of the day. Then flip on the planned fix and see what changes.</p>\n <div class=\"sim\">\n <div class=\"simtop\">\n <span class=\"modes\" style=\"padding:0;border:0;background:none\" role=\"group\" aria-label=\"Scenario\">\n <button type=\"button\" class=\"mode\" id=\"sc-typ\" aria-pressed=\"true\">Typical day</button>\n <button type=\"button\" class=\"mode\" id=\"sc-new\" aria-pressed=\"false\">Brand-new pendant</button>\n </span>\n <label class=\"fixtg\"><input type=\"checkbox\" id=\"dfix\"> With the planned fix</label>\n </div>\n <div class=\"tl\" id=\"tl\" role=\"group\" aria-label=\"Timeline of the day\"></div>\n <div class=\"daycard\" id=\"dcard\" aria-live=\"polite\"></div>\n <div class=\"tot\" id=\"dtot\"></div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"trouble\">\n <h2 id=\"trouble\">When a user says\u2026</h2>\n <div class=\"trouble\">\n <div class=\"t\"><div class=\"say\">Half my meeting is missing.</div><p>The phone stopped listening while still connected (step 6). The blocks went in the bin.</p><div class=\"chips\"><span class=\"chip c-no\">Nobody is told</span><span class=\"chip c-fix\">Fix: pendant firmware</span></div></div>\n <div class=\"t\"><div class=\"say\">It didn't record anything on day one.</div><p>It was worn before it was set up in the app. It won't save without a valid clock, and the app is what sets it.</p><div class=\"chips\"><span class=\"chip c-some\">Light blinks red</span><span class=\"chip c-fix\">Fix: onboarding or firmware</span></div></div>\n <div class=\"t\"><div class=\"say\">My conversations showed up hours late.</div><p>The phone was away, so audio was saved and synced later (steps 3\u20134). It's working as designed.</p><div class=\"chips\"><span class=\"chip c-yes\">App shows syncing</span><span class=\"chip c-fix\">Fix: clearer messaging</span></div></div>\n <div class=\"t\"><div class=\"say\">It died before dinner.</div><p>Battery. Talkative days drain it faster, and it switches itself off when low.</p><div class=\"chips\"><span class=\"chip c-some\">We see battery %, not why</span><span class=\"chip c-fix\">Fix: firmware power work</span></div></div>\n <div class=\"t\"><div class=\"say\">It wouldn't charge or pair out of the box.</div><p>Often physical: the dock or cable isn't seated. How often this happens isn't known yet.</p><div class=\"chips\"><span class=\"chip c-some\">Support tickets only</span><span class=\"chip c-fix\">Fix: packaging and setup</span></div></div>\n <div class=\"t\"><div class=\"say\">It cut off my first word.</div><p>Recording was paused in a quiet room and restarted only once the sound was loud enough (step 5).</p><div class=\"chips\"><span class=\"chip c-no\">Nobody is told</span><span class=\"chip c-fix\">Fix: firmware (draft exists)</span></div></div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"ask\">\n <h2 id=\"ask\">Before you decide anything about the pendant</h2>\n <div class=\"rules\">\n <div class=\"rule\"><div><b>Does it change when the phone stops listening?</b><span>Then it must not open a gap where blocks go in the bin.</span></div></div>\n <div class=\"rule\"><div><b>Does it need new firmware?</b><span>Expect a slow, partial rollout. If the app or cloud can solve it, start there.</span></div></div>\n <div class=\"rule\"><div><b>How will we know it worked?</b><span>The pendant reports nothing by itself. Decide what to measure before you ship.</span></div></div>\n <div class=\"rule\"><div><b>What does the user see when it fails?</b><span>An honest \"this part is missing\" beats a clean timeline with hidden holes.</span></div></div>\n <div class=\"rule\"><div><b>What does it cost in battery?</b><span>A full day of battery is the hardest limit the device has.</span></div></div>\n </div>\n</section>\n\n<footer>\n Want the engineering detail? See <a href=\"/doc/hardware/consumer/electronics\">the open-source electronics</a>, <a href=\"/doc/developer/firmware/Compile_firmware\">compiling the firmware</a>, and the firmware source in <code>omi/firmware/omi/</code>. The board pictures are rendered from the KiCad files in <code>omi/hardware/consumer/</code>. Battery and memory figures are estimates from the design, not field measurements.\n</footer>\n</div></div>\n\n\n";
</file context>
|
|
||
| Component guide for `omi/firmware/`. General engineering rules: root `AGENTS.md`. | ||
|
|
||
| Human on-ramp: the visual guide at `docs/doc/hardware/how-the-pendant-works.mdx`, with source in `omi/hardware/consumer/explainer/`. If you change capture routing, LED states, AAD, or storage behavior, update the matching card in `pendant-guide.src.html` and rebuild. |
There was a problem hiding this comment.
P3: The rebuild step has no command, and 'AAD' has no matching card in the guide. Name the rebuild command and point AAD changes at the 'Napping' card, since the guide never uses the term AAD.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At omi/firmware/AGENTS.md, line 5:
<comment>The rebuild step has no command, and 'AAD' has no matching card in the guide. Name the rebuild command and point AAD changes at the 'Napping' card, since the guide never uses the term AAD.</comment>
<file context>
@@ -2,6 +2,8 @@
Component guide for `omi/firmware/`. General engineering rules: root `AGENTS.md`.
+Human on-ramp: the visual guide at `docs/doc/hardware/how-the-pendant-works.mdx`, with source in `omi/hardware/consumer/explainer/`. If you change capture routing, LED states, AAD, or storage behavior, update the matching card in `pendant-guide.src.html` and rebuild.
+
## Release Workflow
</file context>
| if best is None or r > best[2]: | ||
| best = (ux, uy, r) | ||
| cx, cy, r = best | ||
| half = 20.9804 / 2 # SVG viewBox width reported by kicad-cli for this board |
There was a problem hiding this comment.
P3: edge_origin ignores the computed radius and returns cx - half, cy - half from a hardcoded width. Use the fitted circle's radius so the origin follows the Edge.Cuts geometry if the board outline changes.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At omi/hardware/consumer/explainer/build_explainer.py, line 61:
<comment>`edge_origin` ignores the computed radius and returns `cx - half, cy - half` from a hardcoded width. Use the fitted circle's radius so the origin follows the Edge.Cuts geometry if the board outline changes.</comment>
<file context>
@@ -0,0 +1,174 @@
+ if best is None or r > best[2]:
+ best = (ux, uy, r)
+ cx, cy, r = best
+ half = 20.9804 / 2 # SVG viewBox width reported by kicad-cli for this board
+ return cx - half, cy - half
+
</file context>
|
|
||
| | File | What it is | | ||
| | --- | --- | | ||
| | `pendant-guide.src.html` | The page: markup, styles (all scoped under `.pg`) and script | |
There was a problem hiding this comment.
P3: The source template has unscoped body and :root rules for standalone hosting, so 'all scoped under .pg' is not accurate. Qualify the statement to note the standalone-only exceptions, which the build removes for Mintlify.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At omi/hardware/consumer/explainer/README.md, line 11:
<comment>The source template has unscoped `body` and `:root` rules for standalone hosting, so 'all scoped under `.pg`' is not accurate. Qualify the statement to note the standalone-only exceptions, which the build removes for Mintlify.</comment>
<file context>
@@ -0,0 +1,46 @@
+
+| File | What it is |
+| --- | --- |
+| `pendant-guide.src.html` | The page: markup, styles (all scoped under `.pg`) and script |
+| `build_explainer.py` | Renders the mainboard from the KiCad sources and writes the outputs |
+
</file context>
| | `pendant-guide.src.html` | The page: markup, styles (all scoped under `.pg`) and script | | |
| | `pendant-guide.src.html` | The page: markup, styles (scoped under `.pg`, except standalone-only page-ground rules that the build strips) and script | |
| @@ -0,0 +1,164 @@ | |||
| // Generated by omi/hardware/consumer/explainer/build_explainer.py (--mintlify-docs docs). Edit the template and rebuild; do not edit by hand. | |||
There was a problem hiding this comment.
P3: The battery bar does not match its label. On the stated 36-hour scale, 44% is about 16 hours, but the label says ~17–20 h. Set the width to about 47–56% so the bar matches the label, or change the label.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/snippets/pendant-guide.jsx, line 1:
<comment>The battery bar does not match its label. On the stated 36-hour scale, 44% is about 16 hours, but the label says ~17–20 h. Set the width to about 47–56% so the bar matches the label, or change the label.</comment>
<file context>
@@ -0,0 +1,164 @@
+// Generated by omi/hardware/consumer/explainer/build_explainer.py (--mintlify-docs docs). Edit the template and rebuild; do not edit by hand.
+export const PendantGuide = () => {
+ const html = "\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito+Sans:opsz,[email protected],400;6..12,600;6..12,700&display=swap\">\n<style>\n/* Layout: a visual guide. An animated \"watch it work\" scene up top, the real exploded view and\n board, then numbered behaviour cards that each tie back to the board. All rules are scoped\n under .pg so the guide can be embedded in the docs site without leaking styles.\n Colours always mean the same thing: green = live, teal = saved, red = lost, blue = the Bluetooth light. */\n.pg{\n --bg:#f4f6f8; --panel:#ffffff; --ink:#1b2430; --muted:#5b6675; --line:#d5dbe2; --sunk:#e9edf1;\n --yellow:#f2b705; --yellow-soft:#fdf3d0;\n --live:#2e9e5b; --live-soft:#dcf1e4; --saved:#1b8fa0; --saved-soft:#d7eff2; --lost:#d94338; --lost-soft:#fbe0dd;\n --blue:#2f6fde; --case:#c9ced6; --case-dark:#8d96a3; --screen:#eef2f6; --doze:#8b95a3;\n --f-display:\"Fredoka\",\"Arial Rounded MT Bold\",\"Trebuchet MS\",system-ui,sans-serif;\n --f-body:\"Nunito Sans\",-apple-system,\"Segoe UI\",system-ui,sans-serif;\n --r:14px;\n}\n\nhtml[data-theme=\"dark\"] .pg{\n --bg:#11161c; --panel:#18202a; --ink:#e7ecf2; --muted:#9aa6b4; --line:#2b3644; --sunk:#202a36;\n --yellow:#f5c431; --yellow-soft:#3a3115;\n --live:#5cc787; --live-soft:#173323; --saved:#4fc0cf; --saved-soft:#143139; --lost:#f07a70; --lost-soft:#3b1c1a;\n --blue:#6b9bf0; --case:#6c7684; --case-dark:#4a5360; --screen:#25303d; --doze:#7f8a98;\n color-scheme:dark}\nhtml.dark .pg{\n --bg:#11161c; --panel:#18202a; --ink:#e7ecf2; --muted:#9aa6b4; --line:#2b3644; --sunk:#202a36;\n --yellow:#f5c431; --yellow-soft:#3a3115;\n --live:#5cc787; --live-soft:#173323; --saved:#4fc0cf; --saved-soft:#143139; --lost:#f07a70; --lost-soft:#3b1c1a;\n --blue:#6b9bf0; --case:#6c7684; --case-dark:#4a5360; --screen:#25303d; --doze:#7f8a98;\n color-scheme:dark}\n.pg, .pg *{box-sizing:border-box}\n.pg{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:1.05rem;line-height:1.55;margin:0}\n.pg .wrap{max-width:1000px;margin:0 auto;padding-inline:clamp(16px,4vw,36px);padding-block:0 5rem}\n.pg h1, .pg h2, .pg h3{font-family:var(--f-display);font-weight:600;line-height:1.1;text-wrap:balance;margin:0}\n.pg h1{font-size:clamp(2.3rem,6vw,3.6rem);font-weight:700}\n.pg h2{font-size:clamp(1.6rem,3.6vw,2.2rem);margin-bottom:.4rem}\n.pg h3{font-size:1.35rem}\n.pg p{margin:0 0 .8rem}\n.pg a{color:var(--blue)}\n.pg button:focus-visible, .pg input:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}\n.pg .muted{color:var(--muted)}\n.pg .small{font-size:.88rem}\n.pg header{padding-block:2.6rem 1rem;display:grid;gap:.8rem}\n.pg .kicker{font-family:var(--f-display);font-weight:600;font-size:.95rem;color:var(--ink);background:var(--yellow);display:inline-block;padding:.15rem .7rem;border-radius:999px;justify-self:start}\n.pg .lede{font-size:1.2rem;color:var(--muted);max-width:56ch}\n.pg .chapter{padding-block:2.4rem .4rem}\n.pg .chapter>p{max-width:60ch;color:var(--muted)}\n\n/* scene */\n.pg .scene{background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);overflow:hidden}\n.pg .scene svg{display:block;width:100%;height:auto}\n.pg .modes{display:flex;flex-wrap:wrap;gap:.45rem;padding:.8rem;border-top:2px solid var(--ink);background:var(--sunk)}\n.pg .mode{all:unset;cursor:pointer;font-family:var(--f-display);font-weight:600;font-size:.95rem;padding:.42rem .85rem;border-radius:999px;background:var(--panel);border:2px solid var(--line);color:var(--ink)}\n.pg .mode[aria-pressed=\"true\"]{border-color:var(--ink);background:var(--yellow);color:#1b2430}\n.pg .fixtg{display:inline-flex;align-items:center;gap:.5rem;font-size:.92rem;margin-left:auto;cursor:pointer;padding:.3rem .2rem}\n.pg .fixtg input{appearance:none;width:40px;height:22px;border-radius:999px;background:var(--line);position:relative;cursor:pointer;transition:background .15s;flex:none}\n.pg .fixtg input::after{content:\"\";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--panel);transition:left .15s}\n.pg .fixtg input:checked{background:var(--saved)} .pg .fixtg input:checked::after{left:21px}\n.pg .caption{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.8rem;align-items:center;padding:.9rem 1rem;border-top:2px solid var(--ink)}\n.pg .caption .badge{font-family:var(--f-display);font-weight:600;padding:.3rem .8rem;border-radius:8px;white-space:nowrap}\n.pg .b-live{background:var(--live-soft);color:var(--live)} .pg .b-saved{background:var(--saved-soft);color:var(--saved)} .pg .b-lost{background:var(--lost-soft);color:var(--lost)} .pg .b-doze{background:var(--sunk);color:var(--doze)}\n.pg .caption p{margin:0}\n@media (max-width:560px){.pg .caption{grid-template-columns:minmax(0,1fr)}.pg .fixtg{margin-left:0}}\n\n/* step panels */\n.pg .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem;margin-top:1.2rem}\n.pg .step{background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);padding:1rem 1rem 1.1rem;display:grid;grid-template-rows:auto auto 1fr;gap:.6rem;position:relative;min-width:0}\n.pg .step.wide{grid-column:1/-1}\n.pg .step .num{font-family:var(--f-display);font-weight:700;font-size:2.6rem;line-height:1;color:var(--ink)}\n.pg .step .head{display:flex;align-items:flex-start;gap:.7rem}\n.pg .step .head h3{padding-top:.35rem}\n.pg .step svg{width:100%;height:auto;display:block;background:var(--sunk);border-radius:10px}\n.pg .step p{margin:0;font-size:.98rem}\n.pg .step.warn .head{padding-right:6rem}\n.pg .step.warn{border-color:var(--lost);box-shadow:6px 6px 0 var(--lost-soft)}\n.pg .callout{position:absolute;top:.8rem;right:.8rem;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:2px solid var(--ink);border-radius:6px;padding:.1rem .45rem;background:var(--yellow);color:#1b2430}\n.pg .callout.red{background:var(--lost);color:#fff;border-color:var(--lost)}\n\n/* parts tray */\n.pg .tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}\n@media (max-width:620px){.pg .tray{grid-template-columns:repeat(2,minmax(0,1fr))}}\n.pg .part{background:var(--sunk);border-radius:10px;padding:.6rem .4rem .7rem;text-align:center;min-width:0}\n.pg .part svg{width:64px;height:64px;background:none;margin:0 auto .3rem}\n.pg .part b{font-family:var(--f-display);font-weight:600;font-size:1rem;display:block}\n.pg .part span{font-size:.82rem;color:var(--muted);display:block;line-height:1.3}\n.pg .part .qty{display:inline-block;font-family:var(--f-display);font-weight:700;font-size:.8rem;background:var(--panel);border:1.5px solid var(--ink);border-radius:5px;padding:0 .35rem;margin-bottom:.2rem}\n\n/* lights */\n.pg .lights{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem}\n.pg .light{display:flex;gap:.65rem;align-items:flex-start;background:var(--sunk);border-radius:10px;padding:.65rem .7rem}\n.pg .light i{flex:none;width:26px;height:26px;border-radius:50%;box-shadow:0 0 0 4px var(--panel),0 0 14px 2px currentColor}\n.pg .light b{font-family:var(--f-display);font-weight:600;display:block}\n.pg .light span{font-size:.88rem;color:var(--muted)}\n@keyframes blink{50%{opacity:.15}} .pg .blink{animation:blink 1s steps(1) infinite}\n@keyframes alt{0%,49%{background:#2e9e5b;color:#2e9e5b}50%,100%{background:#2f6fde;color:#2f6fde}} .pg .alt{animation:alt 2s steps(1) infinite}\n\n/* gauges */\n.pg .gauges{display:grid;gap:.9rem}\n.pg .g{display:grid;grid-template-columns:7.5rem minmax(0,1fr);gap:.7rem;align-items:center}\n.pg .g b{font-family:var(--f-display);font-weight:600}\n.pg .track{height:28px;background:var(--sunk);border-radius:8px;position:relative;overflow:hidden;border:2px solid var(--ink)}\n.pg .fill{position:absolute;inset:0 auto 0 0;border-radius:5px;display:flex;align-items:center;padding-left:.5rem;font-weight:700;font-size:.82rem;color:#fff;white-space:nowrap}\n.pg .tick{position:absolute;top:-2px;bottom:-2px;width:2px;background:var(--ink)}\n.pg .ticklbl{position:absolute;top:30px;font-size:.72rem;color:var(--muted);transform:translateX(-50%)}\n\n/* day sim */\n.pg .sim{background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);padding:1rem;margin-top:1rem}\n.pg .simtop{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between;margin-bottom:.8rem}\n.pg .tl{display:flex;height:58px;border-radius:10px;overflow:hidden;border:2px solid var(--ink)}\n.pg .blk{all:unset;cursor:pointer;display:flex;align-items:flex-end;padding:.3rem .35rem;font-weight:700;font-size:.7rem;min-width:0;overflow:hidden;border-right:2px solid var(--panel)}\n.pg .blk:last-child{border-right:0}\n.pg .blk.live{background:var(--live-soft);color:var(--live)} .pg .blk.saved{background:var(--saved-soft);color:var(--saved)} .pg .blk.lost{background:var(--lost-soft);color:var(--lost)}\n.pg .blk.doze{background:repeating-linear-gradient(135deg,var(--sunk) 0 6px,var(--panel) 6px 11px);color:var(--doze)} .pg .blk.off{background:var(--line);color:var(--muted)}\n.pg .blk[aria-pressed=\"true\"]{outline:3px solid var(--ink);outline-offset:-3px}\n.pg .daycard{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1rem;margin-top:.9rem}\n@media (max-width:640px){.pg .daycard{grid-template-columns:minmax(0,1fr)}.pg .blk{font-size:0}}\n.pg .daycard h3{font-size:1.25rem;margin:.1rem 0 .3rem}\n.pg .mini{background:var(--sunk);border-radius:10px;padding:.55rem .75rem;font-size:.92rem;margin-bottom:.45rem}\n.pg .mini b{display:block;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}\n.pg .dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:.35rem;vertical-align:-1px}\n.pg .tot{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-top:.9rem}\n.pg .tot div{border-radius:10px;padding:.45rem .6rem;background:var(--sunk)}\n.pg .tot b{font-family:var(--f-display);font-size:1.4rem;display:block;font-variant-numeric:tabular-nums}\n.pg .tot span{font-size:.75rem;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}\n@media (max-width:520px){.pg .tot{grid-template-columns:repeat(2,1fr)}}\n\n/* trouble cards */\n.pg .trouble{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem;margin-top:1rem}\n.pg .t{background:var(--panel);border:2px solid var(--line);border-radius:var(--r);padding:.9rem 1rem;min-width:0}\n.pg .t .say{font-family:var(--f-display);font-weight:600;font-size:1.12rem;line-height:1.25;margin-bottom:.4rem}\n.pg .t .say::before{content:\"\u201c\";color:var(--muted)} .pg .t .say::after{content:\"\u201d\";color:var(--muted)}\n.pg .t p{font-size:.93rem;margin:0 0 .45rem}\n.pg .chips{display:flex;flex-wrap:wrap;gap:.3rem}\n.pg .chip{font-size:.74rem;font-weight:700;border-radius:999px;padding:.08rem .55rem;border:1.5px solid currentColor}\n.pg .c-no{color:var(--lost)} .pg .c-yes{color:var(--live)} .pg .c-some{color:#b07d00} .pg .c-fix{color:var(--muted)}\nhtml[data-theme=\"dark\"] .pg .c-some{color:var(--yellow)}\n\n\n/* rules */\n.pg .rules{display:grid;gap:.6rem;margin-top:1rem;counter-reset:q}\n.pg .rule{display:grid;grid-template-columns:2.4rem minmax(0,1fr);gap:.7rem;align-items:start;background:var(--panel);border:2px solid var(--line);border-radius:var(--r);padding:.8rem .9rem}\n.pg .rule::before{counter-increment:q;content:counter(q);font-family:var(--f-display);font-weight:700;font-size:1.3rem;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--yellow);color:#1b2430;display:grid;place-items:center}\n.pg .rule b{font-family:var(--f-display);font-weight:600;font-size:1.1rem;display:block}\n.pg .rule span{font-size:.95rem;color:var(--muted)}\n.pg .big-rule{background:var(--yellow-soft);border:2px solid var(--yellow);border-radius:var(--r);padding:1rem 1.1rem;margin-top:1rem;display:grid;grid-template-columns:auto minmax(0,1fr);gap:1rem;align-items:center}\n.pg .big-rule svg{width:84px;height:84px}\n.pg .big-rule p{margin:0}\n.pg .big-rule b{font-family:var(--f-display);font-size:1.25rem;font-weight:600;display:block;margin-bottom:.2rem}\n@media (max-width:520px){.pg .big-rule{grid-template-columns:minmax(0,1fr)}}\n\n/* inside: exploded view + board */\n.pg .inside{display:grid;gap:1rem;margin-top:1rem}\n.pg .exploded{position:relative;background:#ececec;border:2px solid var(--ink);border-radius:var(--r);overflow:hidden}\n.pg .exploded img{display:block;width:100%;height:auto}\n.pg .pin{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;background:var(--yellow);border:2px solid #1b2430;color:#1b2430;font-family:var(--f-display);font-weight:700;display:grid;place-items:center;font-size:.95rem;box-shadow:0 2px 0 #1b2430}\n.pg .keys{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.4rem .9rem;margin:.7rem 0 0;padding:0;list-style:none}\n.pg .keys li{display:flex;gap:.55rem;align-items:flex-start;font-size:.95rem}\n.pg .keys li b.k{flex:none;width:24px;height:24px;border-radius:50%;background:var(--yellow);border:2px solid var(--ink);display:grid;place-items:center;font-family:var(--f-display);font-size:.8rem;color:#1b2430}\n.pg .boardbox{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;background:var(--panel);border:2px solid var(--ink);border-radius:var(--r);padding:1rem}\n@media (min-width:760px){.pg .boardbox{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}\n.pg .boardstage{background:#1d3a2f;border-radius:12px;padding:.8rem;display:grid;gap:.6rem;justify-items:center}\n.pg .boardstage svg{width:100%;max-width:420px;height:auto}\n.pg .flip{display:inline-flex;border-radius:999px;overflow:hidden;border:2px solid #e8efe9}\n.pg .flip button{all:unset;cursor:pointer;font-family:var(--f-display);font-weight:600;font-size:.9rem;padding:.3rem .9rem;color:#e8efe9}\n.pg .flip button[aria-pressed=\"true\"]{background:#e8efe9;color:#1d3a2f}\n.pg .ly.mask{color:#16302a}.pg .ly.cu{color:#c88a4a;opacity:.38}.pg .ly.inner{display:none}.pg .ly.silk{color:#f4f1e4}.pg .ly.edge{color:#f4f1e4;opacity:.7}\n.pg{--pcb-hole:#1d3a2f}\n.pg .hs{cursor:pointer}\n.pg .hs circle{fill:rgba(242,183,5,.2);stroke:#f2b705;stroke-width:.22}\n.pg .hs text{font-family:var(--f-display);font-weight:700;font-size:.95px;fill:#1b2430}\n.pg .hs .tagbg{fill:#f2b705}\n.pg .hs.on circle{fill:rgba(242,183,5,.45);stroke-width:.3}\n.pg .hs:focus{outline:none}.pg .hs:focus circle{stroke:#fff}\n.pg .partcard h3{font-size:1.5rem;margin:.2rem 0 .4rem}\n.pg .partcard .eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}\n.pg .partlist{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.8rem}\n.pg .partlist button{all:unset;cursor:pointer;font-size:.84rem;font-weight:700;border:2px solid var(--line);border-radius:999px;padding:.15rem .6rem}\n.pg .partlist button[aria-pressed=\"true\"]{border-color:var(--ink);background:var(--yellow);color:#1b2430}\n.pg .where{display:flex;gap:.75rem;align-items:center;border-top:2px dashed var(--line);padding-top:.7rem;margin-top:.2rem}\n.pg .where svg.mini-board{flex:none;width:96px;height:96px;background:none!important;border-radius:50%}\n.pg .where span{font-size:.88rem;color:var(--muted);line-height:1.4}\n.pg .where b{display:block;color:var(--ink);font-size:.74rem;letter-spacing:.06em;text-transform:uppercase}\n.pg .mini-board .hl{fill:rgba(242,183,5,.55);stroke:#fff;stroke-width:.6}\n.pg footer{margin-top:3rem;padding-top:1rem;border-top:2px solid var(--line);font-size:.85rem;color:var(--muted)}\n\n/* small SVG animations */\n@keyframes wave{0%{opacity:0;transform:scale(.6)}40%{opacity:1}100%{opacity:0;transform:scale(1.25)}}\n.pg .wv{transform-box:fill-box;transform-origin:left center;animation:wave 1.6s ease-out infinite}\n.pg .wv.d1{animation-delay:.4s}.pg .wv.d2{animation-delay:.8s}\n@keyframes slide{0%{transform:translateX(0);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateX(var(--dx));opacity:0}}\n.pg .mv{animation:slide 2.2s linear infinite}\n@keyframes drop{0%{transform:translateY(0);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateY(var(--dy));opacity:0}}\n.pg .dr{animation:drop 1.8s ease-in infinite}\n@keyframes zz{0%{opacity:0;transform:translate(0,0)}30%{opacity:1}100%{opacity:0;transform:translate(14px,-22px)}}\n.pg .zz{animation:zz 2.4s ease-out infinite}.pg .zz.d1{animation-delay:.8s}.pg .zz.d2{animation-delay:1.6s}\n@keyframes grow{0%,10%{transform:scaleY(.2)}60%,100%{transform:scaleY(1)}}\n.pg .gr{transform-box:fill-box;transform-origin:bottom;animation:grow 3s ease-in-out infinite alternate}\n@keyframes shrink{0%,10%{transform:scaleY(1)}60%,100%{transform:scaleY(.15)}}\n.pg .sh{transform-box:fill-box;transform-origin:bottom;animation:shrink 3s ease-in-out infinite alternate}\n@keyframes pulse{50%{opacity:.35}} .pg .pl{animation:pulse 1.4s ease-in-out infinite}\n@media (prefers-reduced-motion:reduce){.pg, .pg *{animation:none!important;transition:none!important}}\n\n/* defend against host prose styles (Mintlify) */\n.pg .boardstage{align-content:start}\n.pg .boardbox{align-items:start}\n.pg .flip{align-self:start;height:auto;line-height:1.2}\n.pg .flip button{line-height:1.2;height:auto;margin:0}\n.pg ul.keys{padding-left:0;margin-left:0}\n.pg .keys li{padding-left:0;margin:0}\n.pg .keys li::before{display:none;content:none}\n.pg img{margin:0;border-radius:0}\n.pg button{min-height:0}\n\n</style>\n\n<!-- shared drawings -->\n<svg width=\"0\" height=\"0\" style=\"position:absolute\" aria-hidden=\"true\">\n <defs>\n <symbol id=\"pendant\" viewBox=\"-40 -40 80 80\">\n <circle r=\"36\" fill=\"var(--case)\" stroke=\"var(--ink)\" stroke-width=\"3\"/>\n <circle r=\"27\" fill=\"none\" stroke=\"var(--case-dark)\" stroke-width=\"2\"/>\n <circle cx=\"-11\" r=\"4.5\" fill=\"currentColor\"/><circle cx=\"11\" r=\"4.5\" fill=\"currentColor\"/>\n <circle r=\"6\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"2\"/>\n </symbol>\n <symbol id=\"phone\" viewBox=\"0 0 50 90\">\n <rect x=\"2\" y=\"2\" width=\"46\" height=\"86\" rx=\"9\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\"/>\n <rect x=\"7\" y=\"11\" width=\"36\" height=\"64\" rx=\"3\" fill=\"var(--screen)\"/>\n <rect x=\"19\" y=\"80\" width=\"12\" height=\"3\" rx=\"1.5\" fill=\"var(--ink)\"/>\n </symbol>\n <symbol id=\"box\" viewBox=\"0 0 90 70\">\n <path d=\"M5 18 L45 4 L85 18 L85 64 L5 64 Z\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linejoin=\"round\"/>\n <path d=\"M5 18 L45 30 L85 18 M45 30 L45 64\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"2\"/>\n </symbol>\n <symbol id=\"bin\" viewBox=\"0 0 60 70\">\n <path d=\"M8 16 H52 L47 66 H13 Z\" fill=\"var(--lost-soft)\" stroke=\"var(--lost)\" stroke-width=\"3\" stroke-linejoin=\"round\"/>\n <rect x=\"4\" y=\"8\" width=\"52\" height=\"8\" rx=\"3\" fill=\"var(--lost)\"/>\n <path d=\"M22 26 V58 M30 26 V58 M38 26 V58\" stroke=\"var(--lost)\" stroke-width=\"2.5\"/>\n </symbol>\n <symbol id=\"cloud\" viewBox=\"0 0 90 56\">\n <path d=\"M22 50 H70 A16 16 0 0 0 68 18 A22 22 0 0 0 26 16 A17 17 0 0 0 22 50 Z\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\"/>\n </symbol>\n <symbol id=\"chip\" viewBox=\"0 0 64 64\">\n <g stroke=\"var(--ink)\" stroke-width=\"3\"><path d=\"M20 8v8M32 8v8M44 8v8M20 48v8M32 48v8M44 48v8M8 20h8M8 32h8M8 44h8M48 20h8M48 32h8M48 44h8\"/></g>\n <rect x=\"15\" y=\"15\" width=\"34\" height=\"34\" rx=\"5\" fill=\"var(--ink)\"/>\n <circle cx=\"23\" cy=\"23\" r=\"3\" fill=\"var(--yellow)\"/>\n </symbol>\n <symbol id=\"board-top\" viewBox=\"-0.3 -0.3 21.6 21.6\"><image href=\"/images/hardware/pendant-guide/board-front.svg\" x=\"-0.3\" y=\"-0.3\" width=\"21.6\" height=\"21.6\"/></symbol>\n <symbol id=\"board-bot\" viewBox=\"-0.3 -0.3 21.6 21.6\"><image href=\"/images/hardware/pendant-guide/board-back.svg\" x=\"-0.3\" y=\"-0.3\" width=\"21.6\" height=\"21.6\"/></symbol>\n </defs>\n</svg>\n\n<div class=\"pg\"><div class=\"wrap\">\n\n\n<section class=\"chapter\" aria-labelledby=\"watch\">\n <h2 id=\"watch\">Watch it work</h2>\n <p>Each little block is a slice of sound, 1/50th of a second. Pick a situation and follow the blocks.</p>\n <div class=\"scene\">\n <svg id=\"scene\" viewBox=\"0 0 820 330\" role=\"img\" aria-label=\"Animated scene: audio blocks travel from the pendant to the phone, into its memory, or into the bin\">\n <text x=\"410\" y=\"28\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"15\" fill=\"var(--muted)\" id=\"s-radio-lbl\">Bluetooth</text>\n <line id=\"s-radio\" x1=\"185\" y1=\"140\" x2=\"650\" y2=\"140\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 10\" stroke-linecap=\"round\"/>\n <g id=\"s-waves\">\n <path class=\"wv\" d=\"M70 120 q-12 20 0 40\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <path class=\"wv d1\" d=\"M55 108 q-18 32 0 64\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <path class=\"wv d2\" d=\"M40 96 q-24 44 0 88\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n </g>\n <g id=\"s-zz\" font-family=\"var(--f-display)\" font-weight=\"700\" fill=\"var(--doze)\" style=\"display:none\">\n <text class=\"zz\" x=\"160\" y=\"90\" font-size=\"22\">z</text><text class=\"zz d1\" x=\"172\" y=\"78\" font-size=\"18\">z</text><text class=\"zz d2\" x=\"182\" y=\"66\" font-size=\"14\">z</text>\n </g>\n <use href=\"#pendant\" id=\"s-pendant\" x=\"80\" y=\"90\" width=\"100\" height=\"100\" style=\"color:var(--blue)\"/>\n <text x=\"130\" y=\"210\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"15\" fill=\"var(--ink)\">Pendant</text>\n <!-- memory -->\n <use href=\"#box\" x=\"85\" y=\"240\" width=\"90\" height=\"70\"/>\n <clipPath id=\"boxclip\"><rect x=\"91\" y=\"272\" width=\"78\" height=\"35\"/></clipPath>\n <rect id=\"s-mem\" x=\"91\" y=\"307\" width=\"78\" height=\"0\" fill=\"var(--saved)\" opacity=\".85\" clip-path=\"url(#boxclip)\"/>\n <text x=\"190\" y=\"290\" font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--muted)\">memory</text>\n <!-- bin -->\n <use href=\"#bin\" id=\"s-bin\" x=\"385\" y=\"245\" width=\"52\" height=\"62\"/>\n <text x=\"446\" y=\"292\" font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--lost)\" id=\"s-binlbl\">thrown away</text>\n <!-- phone -->\n <g id=\"s-phonegrp\">\n <circle id=\"s-range\" cx=\"690\" cy=\"140\" r=\"0\" fill=\"none\" stroke=\"var(--muted)\" stroke-dasharray=\"4 6\"/>\n <use href=\"#phone\" id=\"s-phone\" x=\"655\" y=\"80\" width=\"70\" height=\"126\"/>\n <g id=\"s-lines\"></g>\n <text id=\"s-phonelbl\" x=\"690\" y=\"228\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"15\" fill=\"var(--ink)\">Phone</text>\n </g>\n <text id=\"s-phonenote\" x=\"690\" y=\"250\" text-anchor=\"middle\" font-family=\"var(--f-body)\" font-size=\"12.5\" fill=\"var(--muted)\"></text>\n <g id=\"s-pk\"></g>\n </svg>\n <div class=\"modes\" role=\"group\" aria-label=\"Situation\">\n <button type=\"button\" class=\"mode\" data-m=\"live\" aria-pressed=\"true\">Talking, phone nearby</button>\n <button type=\"button\" class=\"mode\" data-m=\"away\" aria-pressed=\"false\">Phone left behind</button>\n <button type=\"button\" class=\"mode\" data-m=\"back\" aria-pressed=\"false\">Phone comes back</button>\n <button type=\"button\" class=\"mode\" data-m=\"quiet\" aria-pressed=\"false\">Quiet room</button>\n <button type=\"button\" class=\"mode\" data-m=\"deaf\" aria-pressed=\"false\">Phone stops listening</button>\n <label class=\"fixtg\"><input type=\"checkbox\" id=\"fix\"> With the planned fix</label>\n </div>\n <div class=\"caption\"><span class=\"badge\" id=\"s-badge\"></span><p id=\"s-cap\"></p></div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"inside\">\n <h2 id=\"inside\">What's inside</h2>\n <p>Take it apart and you get a stack of layers about the size of a large coin. The parts that matter for behaviour are the circuit board and the battery.</p>\n <div class=\"inside\">\n <figure style=\"margin:0\">\n <div class=\"exploded\">\n <img src=\"/images/hardware/pendant-guide/exploded.jpg\" alt=\"Exploded 3D view of the pendant's parts laid out in a line: covers, shell, frame, circuit boards, buzzer, battery and lanyard.\">\n <span class=\"pin\" style=\"left:34.4%;top:38%\">1</span>\n <span class=\"pin\" style=\"left:13%;top:31%\">2</span>\n <span class=\"pin\" style=\"left:69.5%;top:47%\">3</span>\n <span class=\"pin\" style=\"left:63.5%;top:34%\">4</span>\n <span class=\"pin\" style=\"left:37.5%;top:50%\">5</span>\n <span class=\"pin\" style=\"left:22.5%;top:79%\">6</span>\n </div>\n <ul class=\"keys\">\n <li><b class=\"k\">1</b><span><b>Main circuit board.</b> The brain, microphones, memory and radio, all on a 21 mm disc. Explore it below.</span></li>\n <li><b class=\"k\">2</b><span><b>Small boards.</b> A flex strip and the charging contacts.</span></li>\n <li><b class=\"k\">3</b><span><b>Battery.</b> 150 mAh, soldered in, about a day of use.</span></li>\n <li><b class=\"k\">4</b><span><b>Buzzer.</b> A tiny vibration motor for taps and replies.</span></li>\n <li><b class=\"k\">5</b><span><b>Metal covers.</b> Machined aluminium. They also act as the radio antenna.</span></li>\n <li><b class=\"k\">6</b><span><b>Shell.</b> The moulded outer ring. Glued and screwed shut, with no ports.</span></li>\n </ul>\n <p class=\"muted small\" style=\"margin-top:.5rem\">Image from the open-source hardware files. The small red labels name how each part is manufactured.</p>\n </figure>\n\n <div class=\"boardbox\">\n <div class=\"boardstage\">\n <span class=\"flip\" role=\"group\" aria-label=\"Board side\"><button type=\"button\" id=\"bt\" aria-pressed=\"true\">Front</button><button type=\"button\" id=\"bb\" aria-pressed=\"false\">Back</button></span>\n <svg id=\"board\" viewBox=\"-0.3 -0.3 21.6 21.6\" role=\"img\" aria-label=\"The real circuit board, rendered from the design files\"><use id=\"boarduse\" href=\"#board-top\"/><g id=\"hs\"></g></svg>\n </div>\n <div class=\"partcard\" aria-live=\"polite\">\n <div class=\"eyebrow\" id=\"pc-side\">Front of the board</div>\n <h3 id=\"pc-name\"></h3>\n <p id=\"pc-text\"></p>\n <div class=\"partlist\" id=\"partlist\"></div>\n <p class=\"muted small\" style=\"margin-top:.8rem\">This is the actual board, drawn from its design files. Copper is shown in orange and printed labels in white. Tap a highlighted part.</p>\n </div>\n </div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"build\">\n <h2 id=\"build\">How it works, one picture at a time</h2>\n <p>Each card shows one behaviour, plus where it happens on the real board.</p>\n <div class=\"steps\">\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">1</span><h3>Sound becomes blocks</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <path class=\"wv\" d=\"M40 55 q-10 15 0 30\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <path class=\"wv d1\" d=\"M28 45 q-16 25 0 50\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"3\" stroke-linecap=\"round\"/>\n <use href=\"#pendant\" x=\"60\" y=\"35\" width=\"70\" height=\"70\" style=\"color:var(--blue)\"/>\n <g class=\"mv\" style=\"--dx:130px\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:.55s\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:1.1s\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:1.65s\"><rect x=\"140\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <text x=\"215\" y=\"118\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--muted)\">50 blocks every second</text>\n </svg>\n <p>While awake, the microphones capture sound and the brain chops it into tiny compressed blocks, about the size of a text message each.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"MIC1 MIC2 U1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The two microphones sit on opposite edges. The brain chip does the chopping.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">2</span><h3>Blocks fly to the phone</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"16\" y=\"40\" width=\"64\" height=\"64\" style=\"color:var(--blue)\"/>\n <line x1=\"84\" y1=\"72\" x2=\"226\" y2=\"72\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 9\" stroke-linecap=\"round\"/>\n <g class=\"mv\" style=\"--dx:130px\"><rect x=\"88\" y=\"64\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:.7s\"><rect x=\"88\" y=\"64\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <g class=\"mv\" style=\"--dx:130px;animation-delay:1.4s\"><rect x=\"88\" y=\"64\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--live)\"/></g>\n <use href=\"#phone\" x=\"232\" y=\"28\" width=\"46\" height=\"84\"/>\n <rect x=\"241\" y=\"48\" width=\"26\" height=\"4\" rx=\"2\" fill=\"var(--live)\"/><rect x=\"241\" y=\"57\" width=\"20\" height=\"4\" rx=\"2\" fill=\"var(--live)\"/><rect x=\"241\" y=\"66\" width=\"24\" height=\"4\" rx=\"2\" fill=\"var(--live)\"/>\n </svg>\n <p>Over Bluetooth, the blocks go to the Omi app. The app sends them to the cloud, which turns them into words. <b>All the smart stuff happens there, not on the pendant.</b></p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"U1 PP1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The radio is built into the brain chip. A spring contact passes the signal to the metal case, which works as the antenna.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">3</span><h3>No phone? Save it for later</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"40\" y=\"10\" width=\"64\" height=\"64\" style=\"color:#d94338\"/>\n <g class=\"dr\" style=\"--dy:40px\"><rect x=\"64\" y=\"76\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"dr\" style=\"--dy:40px;animation-delay:.6s\"><rect x=\"64\" y=\"76\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"dr\" style=\"--dy:40px;animation-delay:1.2s\"><rect x=\"64\" y=\"76\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <use href=\"#box\" x=\"35\" y=\"88\" width=\"74\" height=\"50\"/>\n <rect class=\"gr\" x=\"42\" y=\"112\" width=\"60\" height=\"22\" fill=\"var(--saved)\" opacity=\".8\"/>\n <use href=\"#phone\" x=\"220\" y=\"30\" width=\"44\" height=\"80\" opacity=\".3\"/>\n <path d=\"M200 40 L284 110 M284 40 L200 110\" stroke=\"var(--muted)\" stroke-width=\"3\" stroke-linecap=\"round\" opacity=\".6\"/>\n <text x=\"242\" y=\"130\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"13\" fill=\"var(--muted)\">out of range</text>\n </svg>\n <p>When the phone is out of range, the pendant stores the blocks in its own memory instead, as long as its clock is set. The light turns <b style=\"color:var(--lost)\">red</b>, but that's normal, nothing is wrong.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"b\" data-refs=\"U7\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The memory chip is on the underside of the board.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">4</span><h3>Phone's back: catch up</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#box\" x=\"20\" y=\"70\" width=\"74\" height=\"50\"/>\n <rect class=\"sh\" x=\"27\" y=\"94\" width=\"60\" height=\"22\" fill=\"var(--saved)\" opacity=\".8\"/>\n <path d=\"M94 92 C140 92 150 72 220 72\" fill=\"none\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 9\" stroke-linecap=\"round\"/>\n <g class=\"mv\" style=\"--dx:120px\"><rect x=\"98\" y=\"70\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"mv\" style=\"--dx:120px;animation-delay:.7s\"><rect x=\"98\" y=\"70\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <g class=\"mv\" style=\"--dx:120px;animation-delay:1.4s\"><rect x=\"98\" y=\"70\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--saved)\"/></g>\n <use href=\"#phone\" x=\"226\" y=\"30\" width=\"46\" height=\"84\"/>\n <use href=\"#pendant\" x=\"26\" y=\"6\" width=\"56\" height=\"56\" style=\"color:var(--blue)\"/>\n </svg>\n <p>When the phone reconnects, the app quietly downloads what was saved. Those conversations show up <b>later</b>, sometimes hours later. That's expected.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"b\" data-refs=\"U7\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The same memory chip, read back over Bluetooth.</span></div>\n </div>\n\n <div class=\"step\">\n <div class=\"head\"><span class=\"num\">5</span><h3>Quiet room? Take a nap</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"100\" y=\"40\" width=\"74\" height=\"74\" style=\"color:var(--blue)\"/>\n <g font-family=\"var(--f-display)\" font-weight=\"700\" fill=\"var(--doze)\"><text class=\"zz\" x=\"176\" y=\"50\" font-size=\"24\">z</text><text class=\"zz d1\" x=\"190\" y=\"38\" font-size=\"19\">z</text><text class=\"zz d2\" x=\"202\" y=\"26\" font-size=\"15\">z</text></g>\n <text x=\"137\" y=\"132\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"13\" fill=\"var(--muted)\">after ~10 s of quiet</text>\n </svg>\n <p>After about 10 seconds of silence, recording pauses to save battery, and the microphone's own low-power detector keeps listening. A loud enough sound restarts recording. Quiet sounds, and the first moment of speech, can be missed.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"MIC1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The left microphone has a \"wake up\" wire back to the brain. It listens for sound on its own.</span></div>\n </div>\n\n <div class=\"step warn\">\n <div class=\"head\"><span class=\"num\">6</span><h3>Connected but not listening</h3></div>\n <svg viewBox=\"0 0 300 140\" aria-hidden=\"true\">\n <use href=\"#pendant\" x=\"12\" y=\"22\" width=\"64\" height=\"64\" style=\"color:var(--blue)\"/>\n <line x1=\"80\" y1=\"54\" x2=\"226\" y2=\"54\" stroke=\"var(--blue)\" stroke-width=\"3\" stroke-dasharray=\"2 9\" stroke-linecap=\"round\"/>\n <use href=\"#phone\" x=\"232\" y=\"12\" width=\"46\" height=\"84\"/>\n <text x=\"255\" y=\"58\" text-anchor=\"middle\" font-family=\"var(--f-display)\" font-size=\"10\" fill=\"var(--muted)\">zzz</text>\n <g class=\"dr\" style=\"--dy:52px\"><rect x=\"94\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--lost)\"/></g>\n <g class=\"dr\" style=\"--dy:52px;animation-delay:.6s\"><rect x=\"94\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--lost)\"/></g>\n <g class=\"dr\" style=\"--dy:52px;animation-delay:1.2s\"><rect x=\"94\" y=\"62\" width=\"16\" height=\"16\" rx=\"3\" fill=\"var(--lost)\"/></g>\n <use href=\"#bin\" x=\"80\" y=\"94\" width=\"44\" height=\"46\"/>\n <text x=\"140\" y=\"126\" font-family=\"var(--f-display)\" font-size=\"13\" fill=\"var(--lost)\">light still blue</text>\n </svg>\n <p>Sometimes the phone stays connected but stops asking for audio. iPhones do this to apps in the background. The pendant <b>throws the blocks away</b> and the light stays <b style=\"color:var(--blue)\">blue</b>, so nobody notices. This is how a real meeting was lost. A fix is in progress.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"U1\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>This happens in the brain chip's software, so the fix is a firmware update.</span></div>\n </div>\n\n <div class=\"step wide\">\n <div class=\"head\"><span class=\"num\">7</span><h3>Read the light</h3></div>\n <div class=\"lights\">\n <div class=\"light\"><i style=\"background:#2f6fde;color:#2f6fde\"></i><div><b>Solid blue</b><span>Connected. <u>Not</u> proof that audio is reaching the phone.</span></div></div>\n <div class=\"light\"><i style=\"background:#d94338;color:#d94338\"></i><div><b>Solid red</b><span>No phone. Saving to memory, which is fine.</span></div></div>\n <div class=\"light\"><i class=\"blink\" style=\"background:#d94338;color:#d94338\"></i><div><b>Blinking red</b><span>Its clock isn't set, usually because it has never connected to the app. It can't save anything offline yet.</span></div></div>\n <div class=\"light\"><i class=\"alt\"></i><div><b>Green + blue/red</b><span>Charging. The other colour shows connection.</span></div></div>\n <div class=\"light\"><i style=\"background:#2e9e5b;color:#2e9e5b\"></i><div><b>Solid green</b><span>Charged.</span></div></div>\n </div>\n <p class=\"muted small\">Users read blue as \"working\" and red as \"broken\". Both can be wrong. Making the light honest is on the list for the next firmware release.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"D2 D7 K2\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>Two colour lights sit either side of the button, in the middle of the board.</span></div>\n </div>\n\n <div class=\"step wide\">\n <div class=\"head\"><span class=\"num\">8</span><h3>Know the limits</h3></div>\n <div class=\"gauges\">\n <div class=\"g\"><b>Battery</b><div class=\"track\"><div class=\"fill\" style=\"width:44%;background:var(--live)\">~17\u201320 h if it never naps</div><div class=\"tick\" style=\"left:66.6%\"></div><span class=\"ticklbl\" style=\"left:66.6%\">1 day</span></div></div>\n <div class=\"g\"><b>Memory</b><div class=\"track\"><div class=\"fill\" style=\"width:100%;background:var(--saved)\">~1.5 days of audio</div><div class=\"tick\" style=\"left:66.6%\"></div></div></div>\n <div class=\"g\" style=\"margin-top:.6rem\"><b>Field logs</b><div class=\"track\"><div class=\"fill\" style=\"width:0\"></div><span style=\"position:absolute;left:.6rem;top:3px;font-weight:700;font-size:.85rem\">none: the pendant doesn't report problems</span></div></div>\n </div>\n <p class=\"muted small\" style=\"margin-top:.9rem\">Bars share one scale of 36 hours, and the tick marks one day. <b>Battery runs out before memory does.</b> These are estimates from the design and past measurements, not field data.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"t\" data-refs=\"U15\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>The battery isn't on the board. It is soldered to two pads, and this small chip charges it from the dock.</span></div>\n </div>\n\n <div class=\"step wide\">\n <div class=\"head\"><span class=\"num\">9</span><h3>Getting a fix onto the pendant</h3></div>\n <svg viewBox=\"0 0 860 150\" aria-hidden=\"true\">\n <g font-family=\"var(--f-display)\" font-size=\"14\" fill=\"var(--ink)\" text-anchor=\"middle\">\n <rect x=\"30\" y=\"40\" width=\"110\" height=\"64\" rx=\"10\" fill=\"var(--panel)\" stroke=\"var(--ink)\" stroke-width=\"3\"/><text x=\"85\" y=\"78\">new firmware</text>\n <use href=\"#cloud\" x=\"215\" y=\"38\" width=\"110\" height=\"68\"/><text x=\"270\" y=\"130\">release</text>\n <use href=\"#phone\" x=\"420\" y=\"30\" width=\"50\" height=\"90\"/><text x=\"445\" y=\"140\">user taps \"Product Update\"</text>\n <use href=\"#pendant\" x=\"600\" y=\"38\" width=\"76\" height=\"76\" style=\"color:var(--blue)\"/><text x=\"638\" y=\"140\">installed</text>\n <text x=\"780\" y=\"70\" fill=\"var(--muted)\">\u2026if the user</text><text x=\"780\" y=\"90\" fill=\"var(--muted)\">ever does</text>\n </g>\n <g stroke=\"var(--muted)\" stroke-width=\"3\" fill=\"none\" stroke-linecap=\"round\"><path d=\"M148 72h56M338 72h70M482 72h104\"/></g>\n <g class=\"mv\" style=\"--dx:440px\"><rect x=\"150\" y=\"62\" width=\"22\" height=\"20\" rx=\"4\" fill=\"var(--yellow)\" stroke=\"var(--ink)\" stroke-width=\"2\"/></g>\n </svg>\n <p>The case is sealed, so normal updates arrive only through the app, and only when someone accepts them. Engineers can also reflash by wire, but that means opening the case. Many never do. <b>Every old version stays out in the world</b>, and the app has to keep working with all of them. App and cloud fixes reach everyone within days. Firmware fixes trickle out.</p>\n <div class=\"where\"><svg class=\"mini-board\" data-side=\"b\" data-refs=\"U12\" viewBox=\"-0.3 -0.3 21.6 21.6\" aria-hidden=\"true\"></svg><span><b>On the board</b>New firmware first downloads into this small separate chip. On restart, the pendant swaps it in.</span></div>\n </div>\n </div>\n\n <div class=\"big-rule\">\n <svg viewBox=\"0 0 84 84\" aria-hidden=\"true\"><circle cx=\"42\" cy=\"42\" r=\"38\" fill=\"var(--yellow)\" stroke=\"var(--ink)\" stroke-width=\"3\"/><path d=\"M26 44l11 11 22-26\" fill=\"none\" stroke=\"var(--ink)\" stroke-width=\"7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n <p><b>The one rule: audio is never silently lost.</b>Every block must reach the phone or be saved for later, unless the user turned the pendant off or muted it on purpose. Saving phone battery can change <i>when</i> blocks are sent, never <i>whether</i> they survive. (Internally this is called INV-CAP-1.)</p>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"day\">\n <h2 id=\"day\">Play through a day</h2>\n <p>Tap a stretch of the day. Then flip on the planned fix and see what changes.</p>\n <div class=\"sim\">\n <div class=\"simtop\">\n <span class=\"modes\" style=\"padding:0;border:0;background:none\" role=\"group\" aria-label=\"Scenario\">\n <button type=\"button\" class=\"mode\" id=\"sc-typ\" aria-pressed=\"true\">Typical day</button>\n <button type=\"button\" class=\"mode\" id=\"sc-new\" aria-pressed=\"false\">Brand-new pendant</button>\n </span>\n <label class=\"fixtg\"><input type=\"checkbox\" id=\"dfix\"> With the planned fix</label>\n </div>\n <div class=\"tl\" id=\"tl\" role=\"group\" aria-label=\"Timeline of the day\"></div>\n <div class=\"daycard\" id=\"dcard\" aria-live=\"polite\"></div>\n <div class=\"tot\" id=\"dtot\"></div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"trouble\">\n <h2 id=\"trouble\">When a user says\u2026</h2>\n <div class=\"trouble\">\n <div class=\"t\"><div class=\"say\">Half my meeting is missing.</div><p>The phone stopped listening while still connected (step 6). The blocks went in the bin.</p><div class=\"chips\"><span class=\"chip c-no\">Nobody is told</span><span class=\"chip c-fix\">Fix: pendant firmware</span></div></div>\n <div class=\"t\"><div class=\"say\">It didn't record anything on day one.</div><p>It was worn before it was set up in the app. It won't save without a valid clock, and the app is what sets it.</p><div class=\"chips\"><span class=\"chip c-some\">Light blinks red</span><span class=\"chip c-fix\">Fix: onboarding or firmware</span></div></div>\n <div class=\"t\"><div class=\"say\">My conversations showed up hours late.</div><p>The phone was away, so audio was saved and synced later (steps 3\u20134). It's working as designed.</p><div class=\"chips\"><span class=\"chip c-yes\">App shows syncing</span><span class=\"chip c-fix\">Fix: clearer messaging</span></div></div>\n <div class=\"t\"><div class=\"say\">It died before dinner.</div><p>Battery. Talkative days drain it faster, and it switches itself off when low.</p><div class=\"chips\"><span class=\"chip c-some\">We see battery %, not why</span><span class=\"chip c-fix\">Fix: firmware power work</span></div></div>\n <div class=\"t\"><div class=\"say\">It wouldn't charge or pair out of the box.</div><p>Often physical: the dock or cable isn't seated. How often this happens isn't known yet.</p><div class=\"chips\"><span class=\"chip c-some\">Support tickets only</span><span class=\"chip c-fix\">Fix: packaging and setup</span></div></div>\n <div class=\"t\"><div class=\"say\">It cut off my first word.</div><p>Recording was paused in a quiet room and restarted only once the sound was loud enough (step 5).</p><div class=\"chips\"><span class=\"chip c-no\">Nobody is told</span><span class=\"chip c-fix\">Fix: firmware (draft exists)</span></div></div>\n </div>\n</section>\n\n<section class=\"chapter\" aria-labelledby=\"ask\">\n <h2 id=\"ask\">Before you decide anything about the pendant</h2>\n <div class=\"rules\">\n <div class=\"rule\"><div><b>Does it change when the phone stops listening?</b><span>Then it must not open a gap where blocks go in the bin.</span></div></div>\n <div class=\"rule\"><div><b>Does it need new firmware?</b><span>Expect a slow, partial rollout. If the app or cloud can solve it, start there.</span></div></div>\n <div class=\"rule\"><div><b>How will we know it worked?</b><span>The pendant reports nothing by itself. Decide what to measure before you ship.</span></div></div>\n <div class=\"rule\"><div><b>What does the user see when it fails?</b><span>An honest \"this part is missing\" beats a clean timeline with hidden holes.</span></div></div>\n <div class=\"rule\"><div><b>What does it cost in battery?</b><span>A full day of battery is the hardest limit the device has.</span></div></div>\n </div>\n</section>\n\n<footer>\n Want the engineering detail? See <a href=\"/doc/hardware/consumer/electronics\">the open-source electronics</a>, <a href=\"/doc/developer/firmware/Compile_firmware\">compiling the firmware</a>, and the firmware source in <code>omi/firmware/omi/</code>. The board pictures are rendered from the KiCad files in <code>omi/hardware/consumer/</code>. Battery and memory figures are estimates from the design, not field measurements.\n</footer>\n</div></div>\n\n\n";
</file context>
|
Folding batch (2026-11-04): this branch's tip was merged into the survivor PR #24477 ( |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
What changed and why
This adds How the Omi pendant works, a visual on-ramp for contributors, to the Hardware tab at the top of the Devices group. It explains the pendant's behaviour without firmware detail:
Mintlify doesn't serve raw
.html:docs/doc/developer/backend/translation_benchmark.htmlreturns 404 on docs.omi.me. So the page is an MDX file that mounts a generated JSX snippet, with the board art served as static SVGs.docs/doc/hardware/how-the-pendant-works.mdx: the page.docs/docs.json: one nav entry.docs/snippets/pendant-guide.jsxanddocs/images/hardware/pendant-guide/*: generated outputs. Don't edit them by hand.omi/hardware/consumer/explainer/: the template, the build script (reads KiCad from git and renders withkicad-cli) and a README.omi/hardware/consumer/README.md,omi/firmware/omi/README.mdandomi/firmware/AGENTS.md.The facts follow the 2026-10-09 code audit behind #21054. Battery and memory figures are labelled estimates. The "planned fix" toggles are labelled as proposed and unshipped.
Product invariants affected
none. The page explains INV-CAP-1 in plain language but changes no code on its paths.
How it was verified
npx mint devon this branch and checked/doc/hardware/how-the-pendant-works:scrollWidthequals the viewport width)..pg, so none of it leaks into other docs pages. I added defensive rules after finding that Mintlify's prose styles (list markers, button height) were bleeding in.requestAnimationFrameloop stops on unmount, so SPA navigation doesn't leak it.Tests
No test change. This is a docs page plus a generator script, verified by rendering it as described above.
UI evidence
Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code