Skip to content

Latest commit

 

History

History
105 lines (78 loc) · 5.32 KB

File metadata and controls

105 lines (78 loc) · 5.32 KB

Fingerprint Reader card (ita ver.)

Description

custom card for fingerprint management

hacs_badge buymeacoffee_badge

all

this card manages a fingerprint reader managed by esphome firmware. the firmware for the esp is in the esphome-fingerprints.yaml file. you can find the original version on indumus.it

hacs Card install

  1. add madmicio/lettore-impronte-digitali-ita as custom reposity

  2. Find and install lettore impronte digitali plugin

  3. Add a reference inside your resources config:

resources:
url: /hacsfiles/lettore-impronte-digitali-ita/fingerprint.js
type: module

Manual install

  1. Download and copy fingerprint.js from (https://github.com/madmicio/lettore-impronte-digitali-ita) into your custom components directory.

  2. Add a reference `` from (https://github.com/madmicio/lettore-impronte-digitali-ita) into your custom components directory. ` inside your resources config:

resources:
  - url: /local/"your_directory"/` from (https://github.com/madmicio/lettore-impronte-digitali-ita) into your custom components  directory.

    type: module

this card needs "saver" integration.

install SAVER integration

Saver is an extraordinary Piotr Machowski project, a simple but very powerful tool. fills a big gap in Home assistant.

lovelace essential configuration :

type: 'custom:fingerprint-reader'
state_fingerprint: sensor.stato_impronta_2
sensor_record: binary_sensor.acquisendo_impronta
saver: saver.saver
last_id: sensor.ultimo_id_impronta

Main Options

Name Type Default Supported options Description
type string Required type: 'custom:fingerprint-reader' Type of the card
esp_name string Option your esp name enter the name of the esp if different from: fingerprint_reader
state_fingerprint string Required sensor.yourstatesensor fingerprint sensor state
sensor_record string Required sensor.youreredordersensor fingerprint recorder state
saver string Required es: saver.saver saver component
last_id string Option sensor.yourlastidssensor last id sensor
name string Option fingerprint name if you have more than one sensor or want to give a name to the sensor you can assign it to the reader
show_name string Option "true" "true" or "false" show/hide reader name
name_align string Option left left - center - right name alignment
automation_list string list of automations to manage in the card

automations list options

Name Type Default Supported options Description
name string friendly name automation custom name
icon string default icon automation icon, if not indicated a default icon will be displayed and not the automation icon
label string none if not configured the field is empty

automations option

this card gives the possibility to enable/disable the automations indicated in the configuration. if the configuration list contains only one automation, a button will appear which will toggle the automation. if the list contains more than one automation then the same button will show the list of configured automations. in this case the button will appear active if one of the configured automations is active.

type: 'custom:fingerprint-reader'
state_fingerprint: sensor.stato_impronta_2
sensor_record: binary_sensor.acquisendo_impronta
saver: saver.saver
last_id: sensor.ultimo_id_impronta
automation_list:
  - automation: automation.1
    name: automation 1
    label: open
    icon: mdi:door-open
  - automation: automation.2
    name: automation 2

for each automation you can configure the name, label and icon.

  • name is an option, and if not specified in config, the button will have the friendly name of the automation
  • icon is an option, if not indicated the button will have a default icon not, if assigned, the automation icon
  • label is an option, if not indicated the field will remain empty