Code Monkey home page Code Monkey logo

facerec_esphome's People

Contributors

chreece avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

facerec_esphome's Issues

Automations from text sensor

Hi ,

Thanks for this integration it's really useful.

What seems like a simple issue I just cant spot it and probably will slap myself:) . Since the text sensors don't update the latest value to HA if different to previous I'm trying to use using a 'event' to to do this to use in HA automations:

Here is the code:

      - id: presence_sensor
        name: "internal_presense_sensor_to_binary_template"
        internal: false
        on_value:
          - binary_sensor.template.publish:
             id: presence_template
             state: !lambda return x == "on";

          - homeassistant.event:
               event: esphome.face_recognition_scan_matched
               data:
                  title: Test Presense
               data_template:
                 user_id: User ID is {{ my_variableha1 }}
                 reply:   Reply is {{ my_variableha2 }}
                 presense: Presense is {{ my_variableha3 }}
                 presense2: Presense is {{ my_variableha4 }}

               variables:
                 my_variableha1: |-
                       !lambda 'return user_id_template;'
                 my_variableha2: |-
                       !lambda 'return reply_template;'
                 my_variableha3: |-
                       !lambda 'return x;'
                 my_variableha4: |-
                       "{{ states.presence_template.state }}"

The event is firing but the value passed in data template is the lambda command string and not value:)

event_type: esphome.face_recognition_scan_matched
data:
  device_id: d3dff94d2e3789efe17dbc18fbce28e9
  title: Test Presense
  user_id: User ID is !lambda 'return user_id_template;'
  reply: Reply is !lambda 'return reply_template;'
  presense: Presense is !lambda 'return x;'
  presense2: Presense is "{{ states.presence_template.state }}"
origin: LOCAL
time_fired: "2023-11-25T04:03:30.982517+00:00"
context:
  id: 01HG2AB6H6CWFZ1DJ9TXPXP1RW
  parent_id: null
  user_id: null

HLK-FR1002

Is there anyway to support this module?

https://www.aliexpress.com/item/1005005066346653.html

As its more compact and could easily fit inside a CCTV Dome by the door?

I cant find any English documentation for it Only this or I'd attempt it myself, but Ive tested it in windows using the Demo software and the hardware works.

Happy to supply the hardware if it would help?

Detection time

Hi, thanks for this really good project. It works perfectly.
My only complain, but it may be a hardware or firmware issue, is that the detection time is really short, is there a way to increase this time ?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.