chreece / facerec_esphome Goto Github PK
View Code? Open in Web Editor NEWLocal, Fast, Reliable Face Recognition running on ESPHome
License: MIT License
Local, Fast, Reliable Face Recognition running on ESPHome
License: MIT License
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
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.