diff --git a/src/lib/compatibility-meta.json b/src/lib/compatibility-meta.json index 6b0c7279..bd60269f 100644 --- a/src/lib/compatibility-meta.json +++ b/src/lib/compatibility-meta.json @@ -1,3 +1,3 @@ { - "last_updated": "June 13, 2026" + "last_updated": "June 21, 2026" } \ No newline at end of file diff --git a/src/lib/utils/harnesses.js b/src/lib/utils/harnesses.js index ab8091a3..d367c649 100644 --- a/src/lib/utils/harnesses.js +++ b/src/lib/utils/harnesses.js @@ -44,6 +44,7 @@ async function initializeHarnesses() { backordered: harness?.backordered, // these overrides are only shown if the harness is out of stock in Shopify setupNotes: model.setup_notes, setupVideo: model.setup_video, + requiresCommaPower: model.requires_comma_power === true, }; }).filter(Boolean); }); diff --git a/src/lib/vehicles.json b/src/lib/vehicles.json index 383a7646..842e54c6 100644 --- a/src/lib/vehicles.json +++ b/src/lib/vehicles.json @@ -3336,7 +3336,9 @@ "footnotes": [ ], "setup_notes": [ - ] + "Mazda vehicles \u003cb\u003erequire\u003c/b\u003e comma power installation." + ], + "requires_comma_power": true }, { "name": "Mazda CX-9 2021-23", @@ -3351,7 +3353,9 @@ "footnotes": [ ], "setup_notes": [ - ] + "Mazda vehicles \u003cb\u003erequire\u003c/b\u003e comma power installation." + ], + "requires_comma_power": true } ], "Nissan": [ diff --git a/src/routes/setup/+page.svelte b/src/routes/setup/+page.svelte index 65084b91..ed95970c 100644 --- a/src/routes/setup/+page.svelte +++ b/src/routes/setup/+page.svelte @@ -38,6 +38,8 @@ const handleHarnessSelection = (value) => { selectedVehicle = value; } + $: requiresCommaPower = selectedVehicle?.requiresCommaPower === true; + $: totalSteps = requiresCommaPower ? 6 : 5; function getVideoEmbedSrc(videoLink) { const url = new URL(videoLink); @@ -71,7 +73,7 @@
{@html RecordingsIcon} - 5 steps + {totalSteps} steps
@@ -173,7 +175,7 @@
- Step 1 of 5 + Step 1 of {totalSteps}

Remove the rearview mirror cover trim

@@ -192,7 +194,7 @@

- Step 2 of 5 + Step 2 of {totalSteps}

Connect car harness into the camera

@@ -213,7 +215,7 @@

- Step 3 of 5 + Step 3 of {totalSteps}

Place mount high and centered on the windshield

@@ -235,7 +237,7 @@

- Step 4 of 5 + Step 4 of {totalSteps}

Plug in OBD-C and mount the device

@@ -252,7 +254,7 @@

- Step 5 of 5 + Step 5 of {totalSteps}

Reinstall the rearview mirror cover trim

@@ -269,44 +271,54 @@

-
- OPTIONAL STEP -

Pair your device with comma connect

+
+ + {#if requiresCommaPower} + Step 6 of {totalSteps} + {:else} + OPTIONAL STEP + {/if} + +

Add the comma power

- comma connect application logo + comma power

- Pair your comma four with connect.comma.ai on your phone to see your recorded drives. + {#if requiresCommaPower} + Installing comma power is required for this vehicle. + {:else} + Installing the comma power is entirely optional and can be done at any time. + {/if} + Simply connect one end to your car's OBD-II port and the other to the harness box.

-
- comma Connect +

+ With a comma power: +

+
    +
  • The start and end of every drive are recorded.
  • +
  • Your comma four remains powered and online while the car is off.
  • +
  • Your comma four downloads updates while the car is off.
  • +

-
+
OPTIONAL STEP -

Add the comma power

+

Pair your device with comma connect

- comma power + comma connect application logo

- Installing the comma power is entirely optional and can be done at any time. - Simply connect one end to your car's OBD-II port and the other to the harness box. -

-

- With a comma power: + Pair your comma four with connect.comma.ai on your phone to see your recorded drives.

-
    -
  • The start and end of every drive are recorded.
  • -
  • Your comma four remains powered and online while the car is off.
  • -
  • Your comma four downloads updates while the car is off.
  • -
+
+ comma Connect
diff --git a/templates/vehicles_template.json b/templates/vehicles_template.json index a2b385b5..e015eee9 100644 --- a/templates/vehicles_template.json +++ b/templates/vehicles_template.json @@ -22,7 +22,8 @@ {% for footnote in car.footnotes if footnote.value.setup_note %} {{ footnote.value.text | tojson }}{{ "" if loop.last else "," }} {% endfor %} - ] + ]{% if car.requires_comma_power %}, + "requires_comma_power": true{% endif +%} }{{ "" if loop.last else "," }} {% endfor %} ]{{ "" if loop.last else "," }}