Comments (2)
- Custom regions work with already processed coordinates, so first you need to adjust the rotation and inversion if necessary. In this post, I wrote the action algorithm and added widgets for visualizing the coordinates.
- When you have made a visualization and the found person is moving in the correct coordinates, you need to add presence zones to the firmware
...
number:
- platform: ld2450
presence_regions:
- x0: -20
y0: 90
x1: 80
y1: 190
id: presence_region_0
- x0: 80
y0: 90
x1: 180
y1: 240
id: presence_region_1
...
- After adding presence zones, add binary sensors, they will be exported and HomeAssistant will know in which zone a person is.
...
binary_sensor:
- platform: ld2450
presence_regions:
- name: "Region 0 Presence"
region_id: presence_region_0
- name: "Region 1 Presence"
region_id: presence_region_1
- name: "Region 2 Presence"
region_id: presence_region_2
- name: "Region 3 Presence"
region_id: presence_region_3
- name: "Region 4 Presence"
region_id: presence_region_4
...
from esphome-ld2450.
Thanks a bunch!
from esphome-ld2450.
Related Issues (9)
- Multi-Conf HOT 1
- Turn off/on the radar? HOT 1
- Zones - Select region doesnt work HOT 8
- Cannot compile HOT 5
- Multiple LD2450s on one ESP? HOT 1
- Target angel and distance HOT 2
- How to use zone 1,2,3 ? HOT 1
- Unable to detect more than one person HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome-ld2450.