Это видео недоступно.
Сожалеем об этом.
The Cheapest and Most Sensitive Presence Sensor for Home Assistant | LD2410
HTML-код
- Опубликовано: 17 авг 2024
- LD2410B Affiliate link (Amazon) - amzn.to/43AwPb9
LD2410B Affiliate link (AliExpress) - s.click.aliexp...
LD2410C Affiliate link (Amazon) - amzn.to/42cDcAe
LD2410C Affiliate link (AliExpress) - s.click.aliexp...
The LD2410B or LD2410C are Home Assistant compatible tiny, cheap, and useful sensors that are using FMCW / mmWave tech to detect even the slightest human movements. It can even display the distance to the moving object. I will show how I wire the sensor and everything that is needed in simple in understandable way.
Get ready to take your smart home to the next level for cheap!
► MY ARTICLE ABOUT THAT TOPIC - peyanski.com/s...
► MY HOME ASSISTANT INSTALLATION METHODS FREE WEBINAR - automatelike.p...
► DOWNLOAD MY FREE SMART HOME GLOSSARY - automatelike.p...
► AFFILIATE LINKS FROM THE VIDEO
LD2410B (Amazon) - amzn.to/43AwPb9
LD2410B (AliExpress) - s.click.aliexp...
LD2410C (Amazon) - amzn.to/42cDcAe
LD2410C (AliExpress) - s.click.aliexp...
Micro USB Cable (AliExpress) - s.click.aliexp...
Micro USB cable (Amazon) - amzn.to/32tdxdF
(Optional) USB adapter EU US UK (AliExpress) - s.click.aliexp...
(Optional) USB adapter (Amazon) - amzn.to/3u2Tdvj amzn.to/3qXkJYS
(Optional) Compatible Bluetooth Dongle (Long Range) - amzn.to/3PdOZYw
(Optional) Compatible ASUS USB-BT500 Bluetooth Dongle - amzn.to/3SKbes7
(Optional) Raspberry Pi 4 - amzn.to/3YwyI5W
(Optional) Soldering Iron (Amazon) - amzn.to/3l8IGfn
(Optional) Soldering Iron (AliExpress) - s.click.aliexp...
► OTHER AFFILIATE LINKS
Shelly Store - bit.ly/3BwMMn2
SwitchBot Flash Deals - switchbot.vip/...
Reolink Flash Deals - tidd.ly/3K2Nug0
Aqara Amazon Store - amzn.to/3EpeCSb
Tech that I’m using right now - www.amazon.com...
Get $100 in credit over 60 days for DigitalOcean - m.do.co/c/6dd2...
Register for Kajabi from here app.kajabi.com... and I will share half of my commission with you (15%)
► SUPPORT MY WORK
Paypal - www.paypal.me/...
Patreon - / kpeyanski
Bitcoin - 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva
Revolut - revolut.me/kir...
► TIME TABLE
00:00 Intro
00:15 What is a Presence Sensor?
00:36 What is different in the LD2410 sensors?
00:58 Be careful which LD2410 version you choose
01:27 How to power the LD2410 sensors?
02:08 Free Home Assistant Webinar
02:27 How to get LD2410 Distance Sensor working in Home Assistant?
02:48 What if you have LD2410 connectivity issues?
03:24 How to upgrade LD2410 firmware?
05:22 What are the advantages of LD2410 over traditional PIR sensors?
05:59 Are there any false positive alarms triggered by LD2410?
06:43 LD2410B vs LD2410C
07:00 Free Smart Home Glossary
► 3D PRINTED CASES FOR THE LD2410B & C
www.thingivers...
www.thingivers...
www.thingivers...
cults3d.com/en...
✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!
► DISCLAIMER
Some of the links above are affiliate links. If you click on these links and purchase an item I will earn a small commission with no additional cost for you. Of course, you don’t have to do so in case you don’t want to support my work!
I Interfaced my LD2410B to the ESP32 NodeMcu Development Board WROOM 32 30 pinsDual Core WLAN WiFi Bluetooth module. This has a micro USB socket. Also has 5v and Ground pins on board enabling connection to power the LD2410B. This increases the range of the LD2410B considerably using the boards WiFi and BLE in combination with the HA ESPhome integration.
Great, thanks for sharing :) Which PIN did you use for communication?
I've also had connectivity issues with both sensors. It may be useful for other people to maybe include in the article how to use them through the esp Bluetooth proxy. I found that this makes them 100% reliable. I'd be happy to help with some troubleshooting of the esp method if needed
Great tip forgot to mention that in the video :)
I second this, both sensors were frozen when operating on their own. I used ESP32 as well as Rasp Pi 4B. I've now gone and have them attached to ESP32 and has been working flawlessly!
I have tried this through numerous esp32 BLE proxy’s and numerous distances from the sensor and I can not get it to stay connected. I’ve given up with it, do you have any advice, I don’t know what else to try
How does this work? I'm new to DIY sensors
Thank you for creating this video, and I wish more youtubers would create videos such as these where we can buy cheap sensors for Home Assistant. Please keep making more videos like these.
Glad it was helpful! Check my other videos as well. I have a whole playlist of DIY smart & cheap sensors for Home Assistant
@@KPeyanski Thank you. As new devices keep coming in the market it would be nice to see more of these videos. Thanks 👍
I found that when using a bluetooth proxy device the LD2410 any FW and any version of the sensor LD2410A, B has intermittent connectivity. My HA server is to far away without bluetooth proxy to work. This is a known problem, but no fix as of this date. Instead i use a ESP32 and ESPHome to connect this sensor. Here is the code i used
uart:
tx_pin: 17
rx_pin: 16
baud_rate: 256000
parity: NONE
stop_bits: 1
ld2410:
timeout: 5s
max_move_distance: 3m
max_still_distance: 3m
g0_move_threshold: 40 # 0m / 0'
g0_still_threshold: 10 # 0m / 0'
g1_move_threshold: 40 # 0 - 0.75m / 0 - 2.46'
g1_still_threshold: 10 # 0 - 0.75m / 0 - 2.46'
g2_move_threshold: 40 # 0.75 - 1.5m / 2.46' - 4.92'
g2_still_threshold: 10 # 0.75 - 1.5m / 2.46' - 4.92'
g3_move_threshold: 40 # 1.5 - 2.25m / 4.92' - 7.38'
g3_still_threshold: 10 # 1.5 - 2.25m / 4.92' - 7.38'
g4_move_threshold: 40 # 2.25 - 3m' / 7.38' - 9.84'
g4_still_threshold: 40 # 2.25 - 3m' / 7.38' - 9.84'
g5_move_threshold: 40 # 3 - 3.75 / 9.84' - 12.30'
g5_still_threshold: 40 # 3 - 3.75 / 9.84' - 12.30'
g6_move_threshold: 30 # 3.75 - 4.5m / 12.30' - 14.76'
g6_still_threshold: 15 # 3.75 - 4.5m / 12.30' - 14.76'
g7_move_threshold: 30 # 4.5 - 5.25m / 14.76' - 17.22'
g7_still_threshold: 15 # 4.5 - 5.25m / 14.76' - 17.22'
g8_move_threshold: 30 # 5.25 - 6m / 17.22' - 19.68'
g8_still_threshold: 15 # 5.25 - 6m / 17.22' - 19.68'
sensor:
- platform: ld2410
moving_distance:
name: Moving Distance
still_distance:
name: Still Distance
moving_energy:
name: Move Energy
still_energy:
name: Still Energy
detection_distance:
name: Detection Distance
binary_sensor:
- platform: ld2410
has_target:
name: Presence
has_moving_target:
name: Moving Target
has_still_target:
name: Still Target
Hope this helps
It appears that the LD2410B doesn't play well with fans, even if the fan is outside the documented 60˚ cone of detection.
I have an LD2410B on the ceiling, with fan blades as close as 0.8m away and at the same height. The sensor shows a moving target peaking at about 4m away (that would be the same distance as a bounce back off the tile floor, though I have no idea if this is related), and a strong static target across the full range of 1.5m to 6m.
This makes it impossible to filter out the fan. I guess then I won't be using any of these, since we have ceiling fans in every room of the house (we're in the tropics). I imagine the fans would light up any curtains too, or what about wind on curtains?
Did you ever compare the LD2410 to RCWL-0516 micro wave radar sensors? Of course the RCWL-0516 uses a GPIO pin on the microcontroller which could be changed by putting a MCP23016 between the sensor(s) and the microcontroller. I do not have enough experience with both to determine which one is better. I only saw that the price for the LD2410 is 3EUR and the RCWL below1 EUR per piece.
Thanks Kiril.
You are welcome Ron!
I've installed two of the C versions a few weeks ago and I love them. I've 10 more on it's way. I can't find the radar tool on my playstore. How can I download it?
you can also conect it to a esp32 with wifi trough esphome and ad it that way to home asistent
Great video. do you have an arduino tutorial for this sensor?
No, sorry
Please do a video on how to upgrade the firmware for non-bluetooth versions. thanks!
This process works BUT a big problem that this sensor has with HA is that it gets disconnected with bluetooth. It is very unstable and requires a full reboot of HA before it connect again.
To fix this, you can connect the pins from the LD2410 to the esp32 board. Then you are not counting on the unstable bluetooth of the LD2410 but the bluetooth of the esp32 board. The rest of the process with HA is pretty much as describe in this video. Another plus of connecting the two board together is that you will be using the USB power of the esp32 board to power both boards
You get what you pay for. $5 comes with disconnects and full reboots.
Just had sloom at the LD2420 module might be interesting, what do you think?
👍👍Thank you so much for your sharing.
You are so welcome! Are you going to try it?
I think you should make a video on the LD1125H sensor, works amazing well
What are the main differences in few words?
@@KPeyanski For a month now, I have been using the LD1125H sensor combined with a ESP32 & its been working flawlessly when integrated with HA, never faced disconnection issues, response time is excellent and you can tweak the sensor according to your needs (like distance, sensitivity, clearance time).
havent tried the LD2410 sensor & hence cant comment on the differences.
Can you make a wideo on how to use the non bluetooth version with esp32 and how to upgrade the board then?
I will think about it
Is there someway to get presence detecting speed faster in home assistant? My setup is ld2410c attached on esp32 so it’s working ovet Wi-Fi .
Hello, I connected two of these smaller sensors simply through Binary sensor in EspHome.
What I noticed is they are very HOT, I can hardly hold the sensor with bare fingers and I am afraid something will burn...
Has anyone else noticed high operating temperature of the sensors?
Thanks for your videos.
Can this sensor count persons? I need a sensor to know how many persons there are in a car any idea>?
What type of power supply do you used? My sensor with esp32 work only with 5v 3a supply, I try 3 different supplys. Only the 3a is working.
I have 4 of these sensors. When they work, they work fine.
All of them are very close to either my HA system or a bluetooth proxy. However, all of them may randomly get stuck in either Detected or Not Detected states, and only a reload of the sensor and sometimes a full HA restart solves the problem.
Having them so close to a bluetooth proxy (30-40 cm), I don't think connectivity is the problem.
Did you tried FW upgrade?
@@KPeyanski Yep. Some of them have updated FW, some have the original one. it does not seem to make a difference.
@@MihaiKrieger I think when the device gets disconnected, HA retains the last known value (detected/clear), rather than being set to unavailable. This is a problem, if true. We need a way to tell if the value is valid.
If my HLK is already transmitting to HA just fine. Can the app find it? Or do I need to do something to make it available to the app?
Hey buddy, thanks a bunch for sharing this knowledge. Have you use the configuration tool from hijink to configure the non Bluetooth version?
No, I don't have non BT version yet. Maybe I should order one to play with it a bit
@@KPeyanski I will share my results when am done with this one.
ommunity please help, i have momentary rocker switches, with every push they pass thru 24v to an relay. (push on push off). I can't find any solution to make this work with zigbee. crucial I remain the original switches and the control via HomeAssistant. help thanks!
do you have you're home assistant on a raspberrypi?
Do you know a presence sensor that also detects sitting, standing lying (like the aqara radar)?
Yes, it does. It will detect occupancy even if you are sitting, lying and so on...
@@KPeyanski Sorry for the misunderstanding. I need a sensor that detects different types of presence (like sitting, standing, walking, lying).
Hi Kirill, Have you used also the generic (non-Bluetooth) LD2410 connecting it to an ESP chip? If so, would you be interested in posting a video on that?
Maybe I will make a video about that as well, but it is not a 100% promise
@@KPeyanski 2nd this. I have one up and running but I'm having issues getting multiple set up in a large garage in an array. Also, an ESP01 would be perfect for this, but I can't get it to boot with the sensor connected.
Hi Kirill, thank you! I have considerable space here. What do you think about using Esp8266 instead of the bluetooth connection or is it better to create an Esp with Bluetooth proxy?
Both options are OK and they will work great in my humble opinion...
Seems the app is not available on play store. And it isn't discovered in home assistant too.
Hey Kiril.
My english is Not so good- so I just want to say: Good Job! I can‘t find theese wires between USB cable and this module. Do you have a link here to Ali?
Thanks a lot!
n'importe quel cable usb que tu coupe toi même !
The wires are a regular USB cable that you have to cut in the middle and then to use only the red & black wire that the regular USB cable have
The same sensor in ZigBee and its perfect, i dont like the Bluetooth the range is too low.
What is the zigbee version called?
Will it detect my pets as well? ... I need for security and I don't want animals to set it off.
if it adjust the angles properly, then no, otherwise - yes
what about LD2420? it is also supported in HA recently.
Not sure about them. Maybe someone can join and enlighten us
@@KPeyanski I am using LD2410 with USB board, my only issue is range, which sometimes doesn't reach 5m on its own.
Athom made a one that looks good
which exact mode are you referring to?
Do both form factors perform the same ?
Yes, they are ;)
Surprising the aliexpress listing for LD2410C does not mention Bluetooth or BLE anywhere at all...
Can't find android app.
Check the link to the Android app in my written article. LD2410C have BT for sure I ordered my sensor from the same seller and it is working fine so it should be safe to buy!
@@KPeyanski yes, thankyou. It worked later. The app wanted location access and have 2 options, accurate and approximate. I selected approximate and it was not working. Later, i tried precise and it started working.
I also tried with a esp32 esphome proxy Bluetooth and it's working well.
Hi, is it on the play store that you download the apk? I had the application and I deleted it to update it and I can no longer find it on the playstore. Do you have a link maybe? THANKS
Yes, the link is available in my website written article about this topic. And Link to that article can be found in the video description :)
@@KPeyanski Thank you, too bad the android version is only in Chinese
I cannot find a link to the android ver of hlkradartool.
Can you share a link?
Yes, it is shared in my article. Link to article is in the video description!
no android version
Oh there is, but I guess it is removed from Google Play store for some reason 🤷🏻 I will share the link on my written article
I did the version upgrade (successfully) and now HA doesn’t recognize my device 😥
I hope it will wake up somehow…
hmmm, try a HA restart and if you change the BT pass return it back to the default one
@@KPeyanski it worked, thanks!
I wouldnt use this in your home
why, what is your main reason against it?
@@KPeyanski its high GHZ freqs pulsing towards the body ... I wouldn't even recommend using 2.4ghz wifi based on the research... if you do turn it off at night when you are sleeping .. most common cancer in children is blood cancer... how does a microwave cook food at 2.4ghz? it effects the water molecules in the food... the research shows blood cancers can be caused by this lower freq. cant imagine what 24ghz does.
"It is high time that exposure to power frequency EMFs is recognized as a potential risk factor for childhood leukemia and is properly included in the protocols of cluster studies and in epidemiologic studies of other risk factors as a potential confounder."
www.ncbi.nlm.nih.gov/pmc/articles/PMC1940086/
SMH. Educate yourself a little more please before posting nonsense on the internet. Hint: Look into power level. Radiation is not dangerous in and of itself. It’s the level or power of the radiation that determines how bad it is.
Just like everything, sugar is good in small doses but a large dose will kill you. Should we stop using sugar?
Do you go in the sun at all? That has much more radiation power than the 2.4ghz that you are worried about. Do you want to turn off the sun or wrap yourself in tinfoil?