Skip to content

Camera Gallery Card v2.3.0

Choose a tag to compare

@TheScubaDiver TheScubaDiver released this 05 Apr 10:28

Camera Gallery Card Release v84

What's New

New Feature: State Export to Text Helper

Current Filename Tracking: The card can now write the filename of the currently selected image directly to a Home Assistant input_text helper. This allows you to easily use the current image filename anywhere in Home Assistant (such as in other cards, template sensors, or automations) by simply using {{ states('input_text.your_helper') }}.

Layout & UI Enhancements

Redesigned Live Controls: The live controls bar has received a layout refresh for a cleaner and more intuitive look.
English UI: All built-in user interface texts have been fully translated into English.
Improved "Pill" Discoverability: Added a fade-out timer for UI pills. Pills now remain visible for 10 seconds when you first open the card, ensuring users are aware of their functionality before they automatically hide.

Date/Time Detection Full Overview

Automatic (Zero Configuration)

The card runs through the following parsers in order. No manual configuration is required for these formats.

1. Folder Name = Date, Filename = Time (Auto-Detect)

Folder Name Format Example
YYYY-MM-DD / YYYY.MM.DD / YYYY_MM_DD 2024-03-15
DD-MM-YYYY / DD.MM.YYYY / DD_MM_YYYY 15-03-2024
YYYYMMDD 20240315
DDMM (4 digits, European first) 1503
MMDD (4 digits, fallback) 0315

The filename can optionally contain a time:

Filename Format Example
HH:MM:SS (with prefix/suffix) cam_14:30:00
HH-MM-SS (with prefix/suffix) cam_14-30-00
HH_MM_SS (with prefix/suffix) cam_14_30_00
HHMMSS (exact 6 digits only) 143000

2. All-in-One Filenames

Format Example
YYYY-MM-DD + separator + HH:MM:SS / HH-MM-SS / HH.MM.SS 2024-03-15_14-30-00.jpg
YYYYMMDD_HHMMSS or YYYYMMDD-HHMMSS 20240315_143000.jpg
/YYYYMMDD/HHMMSS. (path structure) .../20240315/143000.jpg
Unix timestamp (9-11 digits) 1710506400.jpg
Reolink media-source://reolink/...|YYYYMMDDHHMMSS Custom parser applied

Manual Configuration (For Custom Formats)

If your camera uses a format not listed above, you can define it using folder_datetime_format and/or filename_datetime_format in the card editor.

Supported Tokens:

Token Meaning
YYYY 4-digit year
YY 2-digit year (2000+)
MM Month
DD Day
HH Hour
mm Minute
ss Second

Note: Anything outside the tokens is matched literally. For example, the format cam_{YYYY}{MM}{DD} will perfectly match a file named cam_20240315.

Full Changelog: v2.2.0...v2.3.0