From: rush Date: Fri, 26 Jun 2026 20:29:38 +0000 (-0400) Subject: Add the totp face and some creds X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=4e37ebcb6727e81351338fcf42a4cf41b18d6c5f;p=sensor-watch.git Add the totp face and some creds Un-ignored the secrets file, since I have upstream disabled for push, and I want to be able to transfer the creds between machines via my server's repo. --- diff --git a/movement_config.h b/movement_config.h index 219ddb4..8e1dc96 100644 --- a/movement_config.h +++ b/movement_config.h @@ -34,6 +34,7 @@ const watch_face_t watch_faces[] = { alarm_face, temperature_display_face, voltage_face, + totp_face, settings_face, set_time_face, }; @@ -46,10 +47,10 @@ const watch_face_t watch_faces[] = { * Some folks also like to use this to hide the preferences and time set faces from the normal rotation. * If you don't want any faces to be excluded, set this to 0 and a long Mode press will have no effect. */ -#define MOVEMENT_SECONDARY_FACE_INDEX (MOVEMENT_NUM_FACES - 2) +#define MOVEMENT_SECONDARY_FACE_INDEX (MOVEMENT_NUM_FACES - 3) /* Custom hourly chime tune. Check movement_custom_signal_tunes.h for options. */ -#define SIGNAL_TUNE_DEFAULT +#define SIGNAL_TUNE_MGS_CODEC /* Determines the intensity of the led colors * Set a hex value 0-15 with 0x0 being off and 0xF being max intensity diff --git a/watch-faces/complication/.gitignore b/watch-faces/complication/.gitignore deleted file mode 100644 index c33c021..0000000 --- a/watch-faces/complication/.gitignore +++ /dev/null @@ -1 +0,0 @@ -totp_face.secrets.h diff --git a/watch-faces/complication/totp_face.secrets.h b/watch-faces/complication/totp_face.secrets.h new file mode 100644 index 0000000..4bac9fb --- /dev/null +++ b/watch-faces/complication/totp_face.secrets.h @@ -0,0 +1,4 @@ +static totp_t credentials[] = { + CREDENTIAL(365, "DXLHRHMVGXGTTWWH", SHA1, 30), + CREDENTIAL(NIN, "ZLQPMBFDPHIOEEY", SHA1, 30), +};