From 0358f174ca563730855d0e4e8b77014f5c6fff50 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 28 Jun 2026 16:42:56 -0400 Subject: [PATCH] Add Obelix red presets; rename Emery blue presets to Obelix blue; update documentation --- README.md | 10 +++++----- src/pkjs/config.js | 16 ++++++++++++---- src/pkjs/customClay.js | 33 +++++++++++++++++++++++++++++++-- 3 files changed, 48 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 17a0e22..1e720e3 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # Civic Segments -A highly configurable PT2 watchface clone of the beautiful 8th gen Honda Civic driver display assembly. The time font was carefully crafted to resemble the segmented display on the 8th gen Civic speedometer as closely as possible, using the full resolution of the PT2 to achieve maximum accuracy. The fuel gauge tracks your battery (including a low fuel indicator) and the temperature gauge gives you a relative idea of the temperature at your location. With a flick of your wrist, you can be reminded of the date. +A highly configurable clone of the beautiful 8th gen Honda Civic driver display assembly. The time font was carefully crafted to resemble the segmented display on the 8th gen Civic speedometer as closely as possible, using the full resolution of the PT2 to achieve maximum accuracy. The fuel gauge tracks your battery (including a low fuel indicator) and the temperature gauge gives you a relative idea of the temperature at your location. With a flick of your wrist, you can be reminded of the date. -The face features built-in color presets for standard and Si Civics (with the Si preset taking advantage of the PT2's RGB backlight for an authentic look). +The face features built-in color presets for standard and Si Civics, as well as presets to match the blue/red colors of some PT2 models/bands. The dark presets take advantage of the RGB backlight for a unique effect. -Want something more personal? Everything is individually configurable, including the color of *everything* you see, from the tiny accent lines on the side bars to the backlight LED. Beyond colors, the range of the temperature gauge is configurable as well as how many "bars" are considered worthy of a low fuel warning. +Want something more personal? Everything is individually configurable, including the color of *everything* you see, from the tiny accent lines on the side bars to the backlight LED. Beyond colors, the range of the temperature gauge is configurable as well as what battery percentage is worthy of a low fuel warning. -Some optional features include the display of unlit segments behind the time, shake to see the date (configurable timeout), and time color shift on BT disconnect. +Some optional features include the display of unlit segments behind the time, timeline peek support (minutes shrink to fit the timeline event info), shake to see the date (configurable timeout), and hour/month color shift on BT disconnect. Disabling optional features does actually improve efficiency (disabling peek support avoids loading the second font, setting date timeout to 0 unsubscribes from accelerometer events, etc.). Warning light legend: - Lit "E" and "F" icons: low fuel (battery) - Lit "C" and "H" icons: temperature fetch failure -- Lit time/date digits: BT connection lost (this feature is off by default) +- Lit hour/month digits: BT connection lost (this feature is off by default) # Future Work (TODO) diff --git a/src/pkjs/config.js b/src/pkjs/config.js index 7e9d248..1fb54b3 100644 --- a/src/pkjs/config.js +++ b/src/pkjs/config.js @@ -96,12 +96,20 @@ module.exports = [ "value": "civic_si" }, { - "label": "Emery Blue (dark)", - "value": "emery_blue_dark" + "label": "Obelix Blue (dark)", + "value": "obelix_blue_dark" }, { - "label": "Emery Blue (light)", - "value": "emery_blue_light" + "label": "Obelix Blue (light)", + "value": "obelix_blue_light" + }, + { + "label": "Obelix Red (dark)", + "value": "obelix_red_dark" + }, + { + "label": "Obelix Red (light)", + "value": "obelix_red_light" } ] }, diff --git a/src/pkjs/customClay.js b/src/pkjs/customClay.js index 81142ad..1ffb0b9 100644 --- a/src/pkjs/customClay.js +++ b/src/pkjs/customClay.js @@ -30,7 +30,7 @@ module.exports = function (minified) { clayConfig.getItemById('custom_color_minutes').set('ff0000'); clayConfig.getItemById('custom_color_warning').set('ffaa00'); break - case 'emery_blue_dark': + case 'obelix_blue_dark': clayConfig.getItemById('custom_led_toggle').set(true); clayConfig.getItemById('custom_color_led').set('00ffff'); @@ -45,7 +45,7 @@ module.exports = function (minified) { clayConfig.getItemById('custom_color_minutes').set('0055ff'); clayConfig.getItemById('custom_color_warning').set('ffaa00'); break - case 'emery_blue_light': + case 'obelix_blue_light': clayConfig.getItemById('custom_led_toggle').set(false); clayConfig.getItemById('custom_color_bg').set('0055ff'); @@ -59,6 +59,35 @@ module.exports = function (minified) { clayConfig.getItemById('custom_color_minutes').set('ffffff'); clayConfig.getItemById('custom_color_warning').set('ff0000'); break + case 'obelix_red_dark': + clayConfig.getItemById('custom_led_toggle').set(true); + clayConfig.getItemById('custom_color_led').set('ff5500'); + + clayConfig.getItemById('custom_color_bg').set('000000'); + clayConfig.getItemById('custom_color_mg_bars').set('555555'); + clayConfig.getItemById('custom_color_fill_bars').set('ffaaaa'); + clayConfig.getItemById('custom_color_cool_bars').set('0000aa'); + clayConfig.getItemById('custom_color_hot_bars').set('ff0000'); + clayConfig.getItemById('custom_color_mg_time').set('555555'); + clayConfig.getItemById('custom_color_letters').set('ff0000'); + clayConfig.getItemById('custom_color_hours').set('ffaaaa'); + clayConfig.getItemById('custom_color_minutes').set('ff0000'); + clayConfig.getItemById('custom_color_warning').set('ffaa00'); + break + case 'obelix_red_light': + clayConfig.getItemById('custom_led_toggle').set(false); + + clayConfig.getItemById('custom_color_bg').set('ff0000'); + clayConfig.getItemById('custom_color_mg_bars').set('555555'); + clayConfig.getItemById('custom_color_fill_bars').set('ffffff'); + clayConfig.getItemById('custom_color_cool_bars').set('0000aa'); + clayConfig.getItemById('custom_color_hot_bars').set('ff0000'); + clayConfig.getItemById('custom_color_mg_time').set('555555'); + clayConfig.getItemById('custom_color_letters').set('ffffff'); + clayConfig.getItemById('custom_color_hours').set('ffffff'); + clayConfig.getItemById('custom_color_minutes').set('ffffff'); + clayConfig.getItemById('custom_color_warning').set('ffaa55'); + break default: clayConfig.getItemById('custom_led_toggle').set(false); // use system LED color