Well. Bought the stuff in your links. Put together. Works with the apps from the write up. Home assistant see's and adds the sensors. Home Assistant doesn't see anything but the app sure does. Granted the esp32's linked in the amazon link are not the same as on the write up. Didn't notice until already ordered and putting together. Where the rx2 and tx2 is suppose to be are D16 & D17. Going to bet thats my issue....
Hi, yes RX2 is D16 and TX2 is D17, I'll pin this so if anyone else gets a board without the RX2, TX2 labels, know to look for D16 and D17 instead (GPIO16 and GPIO17).
Hi grate video my device is up and running. I was trying to use the blueprint that you supplied but i cant get it to work with the zones so its all or nothing. is there a way to use it with the 3 zones set up?
Ok, I updated the firmware to include a binary sensors for every zone, so you could easily use it with the blueprint, thank you for letting me know 😁🙌.
Hi, no, the PCB antenna is used to extend the bluetooth capabilities of the sensor (The bluetooth is only used to connect to the sensor using the HLK App). The wifi is managed using the ESP32 board alone.
Great video. Well explained. Everything works. However, many times the sensor reports presence even when the room is vacant. How can I fine tune the sensitivity and threshold of the sensor? I don't see any option on the HLK radar tool.
It's kinda strange, so make sure to triple-check that there are no plants, fans, or other sources of interference in the sensor's line of sight. There aren't any options for sensitivity or threshold, it's all managed by the firmware.
@@fixtse. I see I was not very "kind" in the way I phrased my question. Sorry about that. I should have added a " :-) " to that! Anyway, tried the new one, absolutely perfect!
@@MeneM2Mateo Haha, no worries! I’m glad someone created an improved version for the project. There have been similar comments about the unusual placement of the ESP32 board and how it points downward instead of upward. I guess the use case I had in mind wasn’t that common after all 😅
Yes, i'll give you some instructions as soon a I get some free time, some minor changes to the yaml file are required, mainly related to the mac address being added to the name of the device
I noticed this as well it lets me add to home assistant but not to esp home dashboard. How can you add this if we can't edit the yaml file with out having to pay for the yaml code ?
Hi, @@shannonbreaux8442, yes, he is a member of the channel, he has access to the yaml file that is needed for the device to appear on the esphome dashboard.
hello. I bought it too, I configured it, home assistant sees it, I also installed the radar configuration application but I have a problem. The presence sensor in a 3 meter by 2 meter room does not detect me correctly, if I stand two meters from the sensor it does not see me. I have to stand about 1 meter to see me and it still goes into occupancy and cleared when I am in the bathroom and the light remains off. what would be the solutions? thank you.
It seems like there might be a faulty sensor. I recreated the conditions to check, and my two test sensors in close proximity are working fine. I’m using firmware version 2.04.23101915 on the LD2450. ESPHome is used to gather information from the LD2450 sensor and share it with Home Assistant. The detection itself is managed by the LD2450 firmware. Regarding positioning, it might not matter much but try to ensure the LD2450 is flat on the case. I have one sensor glued and the other just held in place by the connection cables, and both work fine. However, it doesn’t hurt to check. If nothing else works, try reaching out to the seller. Be sure to check how much time you have left under buyer protection. If it’s about to expire, start by requesting a refund from Amazon or AliExpress.
Hi, after the Plotly Graph installation and pressing reload - Overview - Edit dashboard - I see only a small window with selecting areas. What did I do wrong?
Hi... nothing wrong on your end, something has change by default in Home Assistant since the video was released. Not sure what you are referring to with "small window with selecting areas", if you can, please post an image on the comments on my website. I'll try to help you from there.
@ I posted a link to screenshot there. When I go to edit dashboard I just see all my rooms with sensors. Actually, I don't understand why the Plotly Graph isn't visible in the integrations like the Tuya app or others.
@@andriysunford2249 Hey, did you catch my response? The Plotly Graph is not an integration, that's why you wont find it there, it's just a custom card meant to be used on your dashboard. Think of it this way, integrations are meant to get devices/services to work with home assistant. Cards are meant to show the information in devices/services on your dashbaord.
Thanks for this great video. Should the HLK chip be faced with the metal areas away from the wall hinge in order to detect the persons? is the ESP chip interfere with the detection? thanks.
Hi, The sensor works (needs some work to optimize it) but I don't see my espHome device in my ESPHome Device Compiler. I only se it in my espHome integration. But there I can't add code or do other things with it. Do you know why this is?
Hi, yes. erase the name_add_mac_suffix: True from the yaml file and give each device a different name, if you have more than one. Since the default adds the last 4 digits of the mac to the name, esphome is not able to find it, since it's looking for the device called "mmwave-sensor" not "mmwave-sensor-D0EA"
Hi ! Yaml problem : Message malformed: extra keys not allowed @ data['type'] type: custom:plotly-graph title: mmWave Radar Sensor refresh_interval: 1 hours_to_show: current_day I can't locate the error. Any help ? ( last version home assistant)
Thank you for the great Video. When I apply it to the LD2410 sensor, all entities are in 'Unknown' state. Only the green light can be turned on. Please help. Thanks a lot!
Hi, thank you 😁🙌, Unfortunately no, the LD2410 it's a whole different sensor, most of the features are built into the sensors firmware, like the zone feature, so it won't work like the LD2450 can.
does the firmware contain an aggresive "power_save_mode:" out of the box? because it looks like the board has weak connection while being in line of sight of the router at around 6 meters.
No, it doesn't, have you tried with a different board?, I had a similar problem in the past with an esp32 board, so far it only happened to me once, so I consider it an anomaly.
Not really, it depends what license the software has. In many cases Open Source code cannot be statically linked with Closed Source - but this is exactly what pre-compiled .elf file is.
Hi, yes, it's directional. Yes, that is actually the front (that's why I put the logo on it, I know that seems like a weird placement). There are three main reasons for this: - Since this is intended to be just a pressure-fit case, and PLA pieces tend to loosen over time, I prioritized having the base attached to the bigger part of the case to put less stress on the smaller parts. - I considered moving the ESP32 board inside the case to get around the first limitation, but it made the installation and handling of the sensors more complicated, so I scratched that idea. I also considered moving the base to the bottom of the case, but that messed up with the stability (I could rework the joint in the future to get around it) - One of the main limitations of mmWave sensors in general, is that they can't easily distinguish persons from pets, so a way to work around this is to mount the sensor at an elevated position, looking a little bit down. And in that case, the placement of the base attached "to the back" helps us to achieve that. I hope this provides more clarity regarding the thought process behind the design! 🤓
@@fixtse. I cant understand. If I fit the ld2450 as shown on the video, then that means that the sensor is pointing to the opposite direction than it should. So the detection is awfully wrong. when the sensor "squares" face to the room, it works well.
The plot graph flickers in and out i hit the edit button on my dash board it never stays stable. The sensor also works some times as it freezes up then I have to reset the sensor or factory reset any thing I can do to fix this or making it run smoother? And more stable?
Hi Shannon, that's weird, about the plot graph, I'm not able to reproduce this on my setup. Do you have a second esp32 device you can try? I had to use the factory reset trick to get mine working, but it only happened to me when I was in the middle of testing, so constantly changing the settings for the device, but after I set my stable setup, I haven't had problems with any of my sensors.
Great video, everything is clear and easy to understand - great work. I ordered the case from PCBWay made from resin and unfortunately some of the pieces do not fit properly, i.e. the ESP32 board is loose inside the case.
Oh no, so sorry to hear that, I reworked every piece and test it on my 3D printer so this do not happen 😔, they should all just fit. If you have a caliper, Could you measure the exact size of the pieces you've got, I could adjust based on the differences between the parts you received and the ones I printed, to try to fix the problem for the model on the pcbway project. I tested it on PLA and ABS (i don't think the material should affect the size of the final model, but I'll google it just in case).
Hey, I reached out to the PCBWay Team about your case, they told me that you can contact their after sales team to help you solve the problem with the pieces that doesn't fit, just go to the PCBWay delivery page and use the Open Dispute Link under your order. Hope they can help you with this issue.
How good is this exact setup at no motion presence detection? Such as sitting still in a room watching tv? I have seen some people make comments on other devices using the LD2450 not being that good at it, but was also suspected that perhaps it was the settings of the device that probably needed tweaking.
Hey thank you for all your videos, your projects are really awesome. For the firmware do you plan to release yaml? I want to use my other esp32 boards, the esp32 c3 super mini.
@@trenxnet Welcome aboard 😁, thanks for the heads up, I only mention it at the end of the videos, but I guess that's not the best place to put it if I want people to actually see it😅😅
"the radar app" is just a Graphical User Interface to represent the data from the sensor, so a different app wouldn't be the fix. As an alternative, check the data in home assistant, does it show anything? if not, it might be a faulty sensor. This would a little bit too long to write it here, but verify that at least the 5v and ground pins are well connected, that should make it appear in the app (if you are not using the external antenna, test it with the sensor near your phone. If it still doesn't shows up, use that evidence to ask for a new sensor.
Very nice video and presentation. I had my mmWave Sensor up and running in less than 20 minutes. Couple of questions. 1) HA plotly card: Is it supposed to show when a person is detected? (mine doesnt). 2) can you please do a tutorial to add a good Lux sensor and temp/humidity? I will have a perfect sensor to deploy all over my house :) Thanks in advance
Hi, yes, check if they appear on the HLK app on your phone, if they do, something is wrong with the code you are using on the card. If not, try using the factory reset of the sensor (this will wipe any zone you configured, so copy the values first). Also, check my last video, I did just that.
Looks like the Aliexpress link for the sensor doesn’t work. Found a different one with the kit option and order the one from Amazon but wanted to let you know.
Hiya Fixt - just a quikc question - how impt is having a case for this setup ? I mean as long as i have the antennas facing the right way it shou ld be fine? Thanks for your kind advice.
mmmm try restore the sensor to factory using the HLK-app (it has happen to me before and that fixed it, it will erase all your zones, so copy the values before). If that doesn't work, it might be something with your sensor.
You video's are pretty clear, not too slow and not too fast. And when it's a bit too fast than it's less annoying to scrol a fragment back. But hihi... it must be your Italian vibe and accent.... I can't resist the urge to imitate your .... ' and.., that's it'. Funny repeating soundbite, I mean this in positive sense :D. Unfortunately I fail in my imitation, lol. Maybe you need to create your own home assistant audio notifications. :D :D and that's it.
Hi another great video. A couple of questions on the HLK Radar app, the device is found and I connect but I and get an error “AA55 setting failed!” any idea what this is, I get no results on google? Slight difference I have the ESP32-WROOM-32D there is no TX2/RX2 so as pinned message im using D16 & D17. Am I missing something? Appreciate advice.
Hi, sorry haven't gotten that error myself. Yes RX is D16 and TX is D17. For the HLK App, the device uses only it own firmware, so if the error is displayed in the app, it's something regarding the LD-2450 you are using. Try reseting it to fabric and see if that makes the error go away.
No, sorry, but the HLK-LD2410 it's officially supported by ESPHome esphome.io/components/sensor/ld2410.html so you should have no problem making it work.
@@fixtse. The HLK Radar Tool, does it open up different for LD2410s? I have LD2410s and when I use the HLKradar too I don't see what you see. Your version of the tool is 1.1.69 the one I downloaded is 1.5.2, but your video is not that old
@@CancunManny the app doesn't work with the LD2410. It uses the Bluetooth module included in the LD2450 to connect to it, the LD2410 doesn't have Bluetooth. A side from that, the LD2410 doesn't have the same features as the LD2450, so even if it worked, the radar like features (zone detection) won't be available.
@@fixtse. Thanks for the reply, and I admire the time you take back to follow up on comments/questions like mine. The LD2410s do have bluetooth, but I think they are mostly transmitters. If you get an LD2410 and provide the 5v and Gnd they will emit a signal. I am able to use the HLK Radar Tool to get into the sensor and play around with the settings. What had me confused is that my "menu" when I log in to the sensor is WAY different than yours. After doing some reading I realized that is expected. The 2410 and 2450 do have different functions. If I had a 2450 I would see the same setup menu as you do, and if you have a 2410 you would see the same menu I see using the same HLK Radar tool. An for those that take time to read comments to learn more, this is what I found out. The LD2410's do a better job at locating "presence". They can only track one object and will focus on the one with higher energy. The sensor will tell you how "far" the object is, but not in which direction. The LD2450 is not as good at presence detection, but it can track more than one object at a time, give you the distance, and tell you in which side they are on. Asking which one is better is a mute point, it comes down to what you are actually trying to accomplish. If your main goal of your mmWave is for presence detection even when not moving, the LD2410 would be recommended. All that said, do you have a link to a video or write up on how to get my Android set up with Private BLE?
@@CancunManny Hi, thank you, i don't have a video on that specific topic, but I've manage to do it using a ESPresense device to get the IKR code (like I showed here ruclips.net/video/u7pn2_2l7OI/видео.htmlsi=bl5v7L_CwLkAtLD0&t=318 for an iPhone but with an Android Phone, then you can use MQTT explorer to get the ikr from the ESPresense Topic), and then just use that in the Private BLE integration
If you use Home Assistant, you can just expose your instance (safely) to the internet and use it to connect to your esphome devices from the outside. You could also setup a reverse proxy, but that would require some research to secure the connection.
Hey, great video and amazing explanation. Does it work with ESP32 C6 Board. I want zigbee connectivity instead of WIFI. Also, ESP32 C6 board doesn't have RX2 and TX2 pins, so what are the alternatives? Thanks in advance and keep up the good work!
As far as I know, almost any pin on the ESP32 could be configured as RX-TX (unlike on the esp8266), so that shouldn't be a problem. For the zigbee connectivity part, that needs more work on the ESPHome side (currently the firmware doesn't support to create custom zigbee sensors), not sure if adding support for creating zigbee devices is on their roadmap (zigbee devices are supposed to need a certification from the zigbee aliance, still I just transformed an Aqara Temperature Sensor from Bluetooth to Zigbee with some special firmware, so I'm not really sure anymore)
This might be a dumb question, but why does the sensor need an Antennae? The ESP has its own right? I noticed you didnt use it when you only used Dupont female cables.
So far I tried it only on the ESP32 Wroom 30 pin board, but it is still ESPHome firmware, there is no reason for it to not work on thoose boards (the suppor for the minis is still experimental, but it mostly works).
Good Day Fixtse, my order finally came and i got 2 sets of the HLK2450 + ESP32 Dev Board + the Case from PCBWay =) Managed to install everything and it works! Only issue though - its not very accrurate. (tried both with bluetooth proxy and without) I tried using it to set up zones and automations via the zones (detected or cleared) but there were alot of false detections or not clearing or not detecting accrurately (off by 1m). The scope of the radius also seems to work in a straight line, the radar does not capture my movement 2-3 metres away from its line of sight. Am I missing something? I got it to work just like how it was demostrated in the video. Is there an update to the firmware perhaps? Not sure what i'm doing wrong. Thanks for your advice.
Hi, mmm unless you are pointing it towards some kind of interfierence object (like glass or fans) I can't think of anything that could make it behave like you describe (and that woudln't explaing all the things you are mentioning). I tested 3 units for the video. So it probably has something to do with the sensor you received. Try restore it to factory, if that doesn't help consider asking for a new one or a refund. If you need to show evidence, use the HL App as source to show the behavior. Last firmware available is V2.04.23101915.
I can't seem to get past the "Preparing Installation" step. I've downloaded about every recommended firmware possible, tried every combination of boot and en button, and I cannot get it working. Edit: Disconnecting the sensor allowed me to install.
The video is clear and concise, but my experience isn't matching. I bought the 3 pack Amazon boards for this project. After getting the board into ESPhome, I show the device with only one entity. I access ESPHome and the device shows offline. It's taken me countless times starting from scratch to get to this point. I have the HLKRadar tool installed on my android device so I am sure it works, but I can't seem to get Home Assistant to recognize more than 1 entity, and that's the firmware. I'm sure the wiring is correct, but i am at wit's end.
I doesn't have bluetooth support, so it won't work with the HLK app, but, seems like a promising sensor, surely in the future it can be supported on ESPHome.
Is this built on esphome or is it a custom firmware? Because As I understand the base esphome does not support HLK2450 right now. The reason I ask is can we add additional sensors to this?
Yes, it's ESPHome, using a custom component to make the HLK2450 work. Yes I have a follow up for this video where I added a light sensor and a temperature/humidity/pressure sensor to the project
I've tried this project with two different D1 Mini ESP8266 NodeMCU ESP32 ESP-WROOM-32 I had here, but neither of them worked with the custom flashed firmware: all devices were "unknown". Is this for just the specific device you linked or will it work with any generic ESP32 device?
Hi, it should work with any ESP32 device, if for some weird reason ESPHome doesn't detect your specific board variant (some new esp32s variants need this) you need to add specify it on the yaml file.
The board has experimental support on ESPHome, so it could work (it won't break the board, you can safetly try), acording to the documentation (esphome.io/components/esp32.html#configuration-variables ), it might need an extra flag in the yaml file, to specify the exact variant, if for some reason ESPHome doesn't detect it automatically.
joven buenas tardes usted podría ayudarme en como crear un código con estos tres elementos esp32 Hi-Link LD1125H y un relay en donde me enciendan una bombilla entre tanto haya alguien en ese lugar. por su ayuda mil gracias
Do you - or does anybody here in the comments - have a modified STL file for a 36 PIN esp32? I printed the enclosure, then built the project - everything works. And then the ESP wouldn't fit. Here's the really embarrassing part: I even ordered a 30 PIN esp32. I received it, I put it... SOMEWHERE... and now that I finally have some time and was going to flash it, I cannot find the 30 PIN one. Anybody? I'm sure many tinkerers have the 36 PIN one, not the 30. Perhaps somebody here already remixed the STL?
😅😅 I know right? hardware manufacturers need to step up their naming game, like what github did when they changed their default branch configuration from master to main.
Well. Bought the stuff in your links. Put together. Works with the apps from the write up. Home assistant see's and adds the sensors. Home Assistant doesn't see anything but the app sure does. Granted the esp32's linked in the amazon link are not the same as on the write up. Didn't notice until already ordered and putting together. Where the rx2 and tx2 is suppose to be are D16 & D17. Going to bet thats my issue....
Hi, yes RX2 is D16 and TX2 is D17, I'll pin this so if anyone else gets a board without the RX2, TX2 labels, know to look for D16 and D17 instead (GPIO16 and GPIO17).
You are always do very clear and easy to follow videos. Keep it up.
Thank you very much! 😁 Glad to help
Grazie.
Thank you !
Your videos are so great. You do a great job explaining everything and your site is so awesome to have as a reference. Keep up the great work!!
Really glad to be a part of this GREAT work!! 😁
Thank you Daisy 😁🙌 hope to bring more cool projects to life in the future.
Hi grate video my device is up and running. I was trying to use the blueprint that you supplied but i cant get it to work with the zones so its all or nothing. is there a way to use it with the 3 zones set up?
Let me check
Ok, I updated the firmware to include a binary sensors for every zone, so you could easily use it with the blueprint, thank you for letting me know 😁🙌.
You deserve so much more subscribers & views!
Hi, I have a quick question why there is 2.4GHz PCB antenna connected to the mmWave sensor? Does mmWave connects to the wifi or something?
Hi, no, the PCB antenna is used to extend the bluetooth capabilities of the sensor (The bluetooth is only used to connect to the sensor using the HLK App). The wifi is managed using the ESP32 board alone.
Love your videos, you make it all so easy. Many thanks.
Brilliant, looking in detail tomorrow. Subscribed
Great video. Well explained. Everything works. However, many times the sensor reports presence even when the room is vacant. How can I fine tune the sensitivity and threshold of the sensor? I don't see any option on the HLK radar tool.
It's kinda strange, so make sure to triple-check that there are no plants, fans, or other sources of interference in the sensor's line of sight.
There aren't any options for sensitivity or threshold, it's all managed by the firmware.
Thanks@@fixtse.
The antennae is behind the ESP32. Limiting it's range significantly. Is there a better casing some where?
Yes, I included a link to another user’s design for this project on my website. fixtse.com/blog/ultimate-esphome-sensor#remixes
@@fixtse. I see I was not very "kind" in the way I phrased my question. Sorry about that. I should have added a " :-) " to that!
Anyway, tried the new one, absolutely perfect!
@@MeneM2Mateo Haha, no worries! I’m glad someone created an improved version for the project. There have been similar comments about the unusual placement of the ESP32 board and how it points downward instead of upward. I guess the use case I had in mind wasn’t that common after all 😅
Is it possible to get this to show up in the ESPHome addon in Home Assistant? I can see it from Devices but not in the ESPHome Addon.
Yes, i'll give you some instructions as soon a I get some free time, some minor changes to the yaml file are required, mainly related to the mac address being added to the name of the device
I noticed this as well it lets me add to home assistant but not to esp home dashboard. How can you add this if we can't edit the yaml file with out having to pay for the yaml code ?
Did you get a solution for this ?
Hi, @@shannonbreaux8442, yes, he is a member of the channel, he has access to the yaml file that is needed for the device to appear on the esphome dashboard.
Very good project, everything works very well. However, I want to ask if the ESP32 C3 can be used in this project due to its smaller size?
I would also like to know this 👍
Excellent, succinctly explained. Great tutorial.
hello. I bought it too, I configured it, home assistant sees it, I also installed the radar configuration application but I have a problem. The presence sensor in a 3 meter by 2 meter room does not detect me correctly, if I stand two meters from the sensor it does not see me. I have to stand about 1 meter to see me and it still goes into occupancy and cleared when I am in the bathroom and the light remains off. what would be the solutions? thank you.
It seems like there might be a faulty sensor. I recreated the conditions to check, and my two test sensors in close proximity are working fine. I’m using firmware version 2.04.23101915 on the LD2450.
ESPHome is used to gather information from the LD2450 sensor and share it with Home Assistant. The detection itself is managed by the LD2450 firmware.
Regarding positioning, it might not matter much but try to ensure the LD2450 is flat on the case. I have one sensor glued and the other just held in place by the connection cables, and both work fine. However, it doesn’t hurt to check.
If nothing else works, try reaching out to the seller. Be sure to check how much time you have left under buyer protection. If it’s about to expire, start by requesting a refund from Amazon or AliExpress.
Hi, after the Plotly Graph installation and pressing reload - Overview - Edit dashboard - I see only a small window with selecting areas. What did I do wrong?
Hi... nothing wrong on your end, something has change by default in Home Assistant since the video was released. Not sure what you are referring to with "small window with selecting areas", if you can, please post an image on the comments on my website. I'll try to help you from there.
@ I posted a link to screenshot there. When I go to edit dashboard I just see all my rooms with sensors. Actually, I don't understand why the Plotly Graph isn't visible in the integrations like the Tuya app or others.
@@andriysunford2249 Hey, did you catch my response? The Plotly Graph is not an integration, that's why you wont find it there, it's just a custom card meant to be used on your dashboard.
Think of it this way, integrations are meant to get devices/services to work with home assistant. Cards are meant to show the information in devices/services on your dashbaord.
Thanks for this great video.
Should the HLK chip be faced with the metal areas away from the wall hinge in order to detect the persons? is the ESP chip interfere with the detection?
thanks.
Hi, The sensor works (needs some work to optimize it) but I don't see my espHome device in my ESPHome Device Compiler. I only se it in my espHome integration. But there I can't add code or do other things with it. Do you know why this is?
Hi, yes. erase the name_add_mac_suffix: True from the yaml file and give each device a different name, if you have more than one.
Since the default adds the last 4 digits of the mac to the name, esphome is not able to find it, since it's looking for the device called "mmwave-sensor" not "mmwave-sensor-D0EA"
@@fixtse. Hi, Thanks for your reply. Where in which Yaml file do I erase the name_add_mac_suffix: True
I have searched but could not find it
My esp32 board is not supported can you share the esphome config?
Hi, the yaml for the firmware it's available for free for the patreons/members of the channel: ko-fi.com/s/2478914b94
its Not free then. Home assistant is so good because people share. just saying like🙁@@fixtse.
Are you able to add additional sensor like temp, humidity, lux and so forth to the same board and update the files right read all?
yes
What is the coverage of this sensor? How far away can it detect presence?
It can detect up to 3 persons within 8 meters (around 26 feet). I totally forgot about specs, i'll update my website later to add more info.
@@fixtse. Ty, great video!
Nice structured video
Hi !
Yaml problem : Message malformed: extra keys not allowed @ data['type']
type: custom:plotly-graph
title: mmWave Radar Sensor
refresh_interval: 1
hours_to_show: current_day
I can't locate the error. Any help ? ( last version home assistant)
Hi, sorry from what you shared, I can't find any problem, check the indentation in the code for the card
Is it possible to add a switch to enable bluetooth ? It is disabled forever after the first reset ... Thanks
Hi, there is a switch to activate bluetooth in esphome, its called bluetooth, turn it on.
@@fixtse. Thanks.
Thank you for the great Video. When I apply it to the LD2410 sensor, all entities are in 'Unknown' state. Only the green light can be turned on. Please help. Thanks a lot!
the title says LD2450, I don't understand where am I losing you...
Thanks for an inspirational video! Do you know if it's possible to use the HLK-LD2410B instead?
Hi, thank you 😁🙌, Unfortunately no, the LD2410 it's a whole different sensor, most of the features are built into the sensors firmware, like the zone feature, so it won't work like the LD2450 can.
does the firmware contain an aggresive "power_save_mode:" out of the box? because it looks like the board has weak connection while being in line of sight of the router at around 6 meters.
No, it doesn't, have you tried with a different board?, I had a similar problem in the past with an esp32 board, so far it only happened to me once, so I consider it an anomaly.
Any chanche to share the yaml file? I've an ESP32 C3 super mini and can't program it via your website 😞
really great - keep doing what you are doing. Some people are upset about "paywall" but that is not right. They can still use the precompiled images
Not really, it depends what license the software has.
In many cases Open Source code cannot be statically linked with Closed Source - but this is exactly what pre-compiled .elf file is.
Thanks for clarifying. Of course you are right. Didn’t think about it that way. Minefield.
Thank you Very Much. It works great!
Is the sensor placement directional? as it looks to be mounted at the back of the unit ? Is there any logic around this ?
Hi, yes, it's directional.
Yes, that is actually the front (that's why I put the logo on it, I know that seems like a weird placement). There are three main reasons for this:
- Since this is intended to be just a pressure-fit case, and PLA pieces tend to loosen over time, I prioritized having the base attached to the bigger part of the case to put less stress on the smaller parts.
- I considered moving the ESP32 board inside the case to get around the first limitation, but it made the installation and handling of the sensors more complicated, so I scratched that idea. I also considered moving the base to the bottom of the case, but that messed up with the stability (I could rework the joint in the future to get around it)
- One of the main limitations of mmWave sensors in general, is that they can't easily distinguish persons from pets, so a way to work around this is to mount the sensor at an elevated position, looking a little bit down. And in that case, the placement of the base attached "to the back" helps us to achieve that.
I hope this provides more clarity regarding the thought process behind the design! 🤓
@@fixtse. I cant understand. If I fit the ld2450 as shown on the video, then that means that the sensor is pointing to the opposite direction than it should. So the detection is awfully wrong. when the sensor "squares" face to the room, it works well.
The plot graph flickers in and out i hit the edit button on my dash board it never stays stable.
The sensor also works some times as it freezes up then I have to reset the sensor or factory reset any thing I can do to fix this or making it run smoother? And more stable?
Hi Shannon, that's weird, about the plot graph, I'm not able to reproduce this on my setup.
Do you have a second esp32 device you can try? I had to use the factory reset trick to get mine working, but it only happened to me when I was in the middle of testing, so constantly changing the settings for the device, but after I set my stable setup, I haven't had problems with any of my sensors.
Great video, everything is clear and easy to understand - great work. I ordered the case from PCBWay made from resin and unfortunately some of the pieces do not fit properly, i.e. the ESP32 board is loose inside the case.
Oh no, so sorry to hear that, I reworked every piece and test it on my 3D printer so this do not happen 😔, they should all just fit. If you have a caliper, Could you measure the exact size of the pieces you've got, I could adjust based on the differences between the parts you received and the ones I printed, to try to fix the problem for the model on the pcbway project. I tested it on PLA and ABS (i don't think the material should affect the size of the final model, but I'll google it just in case).
Hey, I reached out to the PCBWay Team about your case, they told me that you can contact their after sales team to help you solve the problem with the pieces that doesn't fit, just go to the PCBWay delivery page and use the Open Dispute Link under your order. Hope they can help you with this issue.
How good is this exact setup at no motion presence detection? Such as sitting still in a room watching tv? I have seen some people make comments on other devices using the LD2450 not being that good at it, but was also suspected that perhaps it was the settings of the device that probably needed tweaking.
check out the comparison I made between the LD2450 and the Aqara Fp2
Hi! I get an installation failure with both firmware. The error message is "Failed to fetch". Am I doing something wrong?
Hey thank you for all your videos, your projects are really awesome. For the firmware do you plan to release yaml? I want to use my other esp32 boards, the esp32 c3 super mini.
Hi, the yaml for the firmware it's available for free for the patreons/members of the channel: ko-fi.com/s/2478914b94
@@fixtse. great, I´m a member now thanks, I didn't knew you had one.
@@trenxnet Welcome aboard 😁, thanks for the heads up, I only mention it at the end of the videos, but I guess that's not the best place to put it if I want people to actually see it😅😅
Hi.
Can you add a luminance sensor to the project?
Thanks,
Best regards.
Yes, of course! I’ve planned to incorporate additional sensors down the line, including temperature, luminance, air quality, etc.
When do you plan to do that?
You will make another video explained how to add luminance and temperature sensors?
Best regards,
Marcos Cardoso
Is there another app i can use. The radar app is not finding my sensor at all. I have tried multiple times
"the radar app" is just a Graphical User Interface to represent the data from the sensor, so a different app wouldn't be the fix. As an alternative, check the data in home assistant, does it show anything? if not, it might be a faulty sensor.
This would a little bit too long to write it here, but verify that at least the 5v and ground pins are well connected, that should make it appear in the app (if you are not using the external antenna, test it with the sensor near your phone. If it still doesn't shows up, use that evidence to ask for a new sensor.
Very nice video and presentation. I had my mmWave Sensor up and running in less than 20 minutes. Couple of questions. 1) HA plotly card: Is it supposed to show when a person is detected? (mine doesnt). 2) can you please do a tutorial to add a good Lux sensor and temp/humidity? I will have a perfect sensor to deploy all over my house :) Thanks in advance
Hi, yes, check if they appear on the HLK app on your phone, if they do, something is wrong with the code you are using on the card. If not, try using the factory reset of the sensor (this will wipe any zone you configured, so copy the values first).
Also, check my last video, I did just that.
Looks like the Aliexpress link for the sensor doesn’t work. Found a different one with the kit option and order the one from Amazon but wanted to let you know.
Hi, thank you, let me take a look.
I fixed it, and also found a better link for amazon, that includes the kit for the same price. Thank you so much for the heads up 😁🙌
Hiya Fixt - just a quikc question - how impt is having a case for this setup ? I mean as long as i have the antennas facing the right way it shou ld be fine? Thanks for your kind advice.
Yes, the case is just for easier positioning and protecting the electronics from dust, etc. But it should work without it.
I did test App and it was ok ,but the " home assitance hacs page" did not opened in the link. URL please ..
Hi Fixt, everything installed fine, but, I don't get any info on Target 2 or 3, Target 1 has data, same on HLK app or in HA
mmmm try restore the sensor to factory using the HLK-app (it has happen to me before and that fixed it, it will erase all your zones, so copy the values before). If that doesn't work, it might be something with your sensor.
You video's are pretty clear, not too slow and not too fast. And when it's a bit too fast than it's less annoying to scrol a fragment back. But hihi... it must be your Italian vibe and accent.... I can't resist the urge to imitate your .... ' and.., that's it'. Funny repeating soundbite, I mean this in positive sense :D. Unfortunately I fail in my imitation, lol.
Maybe you need to create your own home assistant audio notifications. :D :D
and that's it.
jajaja you just made my day 😂😂
tried it with esp32 d1 mini, didn't work, sensors are unknown. Can i change the gpio pins somehow? Guessing thats the problem
Hi, Yes, you can get access to the yaml file to use the device with your own configuration becomming a member of the channel on Ko-Fi or Patreon.
What is the angle of the sensor?
Horizontal ± 60° / Tilt ± 35°
Thanks!@@fixtse.
is it possible to create your own graphical interface without ESPHome??
Yes, but you'll need to code it yourself.
Hello will this work for a LD2410C mmwave board?
no
Hi another great video. A couple of questions on the HLK Radar app, the device is found and I connect but I and get an error “AA55 setting failed!” any idea what this is, I get no results on google? Slight difference I have the ESP32-WROOM-32D there is no TX2/RX2 so as pinned message im using D16 & D17. Am I missing something? Appreciate advice.
Hi, sorry haven't gotten that error myself.
Yes RX is D16 and TX is D17.
For the HLK App, the device uses only it own firmware, so if the error is displayed in the app, it's something regarding the LD-2450 you are using. Try reseting it to fabric and see if that makes the error go away.
This is utterly amazing! This such cool tech! Would it be possible to add this type of radar/radar display to a raspberry pi as well? Thanks
Hello,
Very informative video.
does it work with HLK-LD2410 sensor?
thanks
No, sorry, but the HLK-LD2410 it's officially supported by ESPHome esphome.io/components/sensor/ld2410.html so you should have no problem making it work.
@@fixtse. The HLK Radar Tool, does it open up different for LD2410s? I have LD2410s and when I use the HLKradar too I don't see what you see. Your version of the tool is 1.1.69 the one I downloaded is 1.5.2, but your video is not that old
@@CancunManny the app doesn't work with the LD2410. It uses the Bluetooth module included in the LD2450 to connect to it, the LD2410 doesn't have Bluetooth. A side from that, the LD2410 doesn't have the same features as the LD2450, so even if it worked, the radar like features (zone detection) won't be available.
@@fixtse. Thanks for the reply, and I admire the time you take back to follow up on comments/questions like mine.
The LD2410s do have bluetooth, but I think they are mostly transmitters. If you get an LD2410 and provide the 5v and Gnd they will emit a signal.
I am able to use the HLK Radar Tool to get into the sensor and play around with the settings. What had me confused is that my "menu" when I log in to the sensor is WAY different than yours. After doing some reading I realized that is expected. The 2410 and 2450 do have different functions. If I had a 2450 I would see the same setup menu as you do, and if you have a 2410 you would see the same menu I see using the same HLK Radar tool.
An for those that take time to read comments to learn more, this is what I found out. The LD2410's do a better job at locating "presence". They can only track one object and will focus on the one with higher energy. The sensor will tell you how "far" the object is, but not in which direction.
The LD2450 is not as good at presence detection, but it can track more than one object at a time, give you the distance, and tell you in which side they are on.
Asking which one is better is a mute point, it comes down to what you are actually trying to accomplish. If your main goal of your mmWave is for presence detection even when not moving, the LD2410 would be recommended.
All that said, do you have a link to a video or write up on how to get my Android set up with Private BLE?
@@CancunManny Hi, thank you, i don't have a video on that specific topic, but I've manage to do it using a ESPresense device to get the IKR code (like I showed here ruclips.net/video/u7pn2_2l7OI/видео.htmlsi=bl5v7L_CwLkAtLD0&t=318 for an iPhone but with an Android Phone, then you can use MQTT explorer to get the ikr from the ESPresense Topic), and then just use that in the Private BLE integration
How to access esp home from anywhere?
If you use Home Assistant, you can just expose your instance (safely) to the internet and use it to connect to your esphome devices from the outside. You could also setup a reverse proxy, but that would require some research to secure the connection.
Hey, great video and amazing explanation.
Does it work with ESP32 C6 Board. I want zigbee connectivity instead of WIFI. Also, ESP32 C6 board doesn't have RX2 and TX2 pins, so what are the alternatives?
Thanks in advance and keep up the good work!
As far as I know, almost any pin on the ESP32 could be configured as RX-TX (unlike on the esp8266), so that shouldn't be a problem. For the zigbee connectivity part, that needs more work on the ESPHome side (currently the firmware doesn't support to create custom zigbee sensors), not sure if adding support for creating zigbee devices is on their roadmap (zigbee devices are supposed to need a certification from the zigbee aliance, still I just transformed an Aqara Temperature Sensor from Bluetooth to Zigbee with some special firmware, so I'm not really sure anymore)
This might be a dumb question, but why does the sensor need an Antennae? The ESP has its own right? I noticed you didnt use it when you only used Dupont female cables.
Yes, it's not mandatory, it extends the sensor's Bluetooth range, which is only used to connect to it using the Hilink App.
@fixtse. oh right Bluetooth. Thanks.
Which board are supported? Esp32c3 super mini? Esp32 mini wroom 32?
So far I tried it only on the ESP32 Wroom 30 pin board, but it is still ESPHome firmware, there is no reason for it to not work on thoose boards (the suppor for the minis is still experimental, but it mostly works).
Good Day Fixtse, my order finally came and i got 2 sets of the HLK2450 + ESP32 Dev Board + the Case from PCBWay =)
Managed to install everything and it works! Only issue though - its not very accrurate. (tried both with bluetooth proxy and without) I tried using it to set up zones and automations via the zones (detected or cleared) but there were alot of false detections or not clearing or not detecting accrurately (off by 1m). The scope of the radius also seems to work in a straight line, the radar does not capture my movement 2-3 metres away from its line of sight. Am I missing something? I got it to work just like how it was demostrated in the video. Is there an update to the firmware perhaps? Not sure what i'm doing wrong. Thanks for your advice.
Hi, mmm unless you are pointing it towards some kind of interfierence object (like glass or fans) I can't think of anything that could make it behave like you describe (and that woudln't explaing all the things you are mentioning). I tested 3 units for the video. So it probably has something to do with the sensor you received. Try restore it to factory, if that doesn't help consider asking for a new one or a refund. If you need to show evidence, use the HL App as source to show the behavior.
Last firmware available is V2.04.23101915.
I can't seem to get past the "Preparing Installation" step. I've downloaded about every recommended firmware possible, tried every combination of boot and en button, and I cannot get it working.
Edit: Disconnecting the sensor allowed me to install.
Compatible with LD2410 ?
Nop, I can built a firmware for the LD2410, but it won't have the same features as this one.
Please can you build and share for LD2410B and LD2410C?
The video is clear and concise, but my experience isn't matching. I bought the 3 pack Amazon boards for this project. After getting the board into ESPhome, I show the device with only one entity. I access ESPHome and the device shows offline. It's taken me countless times starting from scratch to get to this point. I have the HLKRadar tool installed on my android device so I am sure it works, but I can't seem to get Home Assistant to recognize more than 1 entity, and that's the firmware. I'm sure the wiring is correct, but i am at wit's end.
The issue was resolved by adding via HA on my Raspberry Pi 400 instead of HA on my Windows box. For whatever reason, that fixed everything.
Esp32 is for bluetooth ?
Hi. Can this work whit HLK-LD2461?
I doesn't have bluetooth support, so it won't work with the HLK app, but, seems like a promising sensor, surely in the future it can be supported on ESPHome.
Is this built on esphome or is it a custom firmware? Because As I understand the base esphome does not support HLK2450 right now.
The reason I ask is can we add additional sensors to this?
Yes, it's ESPHome, using a custom component to make the HLK2450 work. Yes I have a follow up for this video where I added a light sensor and a temperature/humidity/pressure sensor to the project
@@fixtse. you are awesome :)
I've tried this project with two different D1 Mini ESP8266 NodeMCU ESP32 ESP-WROOM-32 I had here, but neither of them worked with the custom flashed firmware: all devices were "unknown". Is this for just the specific device you linked or will it work with any generic ESP32 device?
Hi, it should work with any ESP32 device, if for some weird reason ESPHome doesn't detect your specific board variant (some new esp32s variants need this) you need to add specify it on the yaml file.
Try swapping the RX and TX pins
Can it also work with ESP32 S2 board?
The board has experimental support on ESPHome, so it could work (it won't break the board, you can safetly try), acording to the documentation (esphome.io/components/esp32.html#configuration-variables ), it might need an extra flag in the yaml file, to specify the exact variant, if for some reason ESPHome doesn't detect it automatically.
joven buenas tardes usted podría ayudarme en como crear un código con estos tres elementos
esp32 Hi-Link LD1125H y un relay en donde me enciendan una bombilla entre tanto haya alguien
en ese lugar.
por su ayuda mil gracias
is it possible to filter out pets?
No, you need to play around with the installation position for tha
Hmm did never start to install ..
Check the drivers for you esp32 board. I have had problems with that before.
Great!!!!!!!
Do you - or does anybody here in the comments - have a modified STL file for a 36 PIN esp32? I printed the enclosure, then built the project - everything works. And then the ESP wouldn't fit.
Here's the really embarrassing part: I even ordered a 30 PIN esp32. I received it, I put it... SOMEWHERE... and now that I finally have some time and was going to flash it, I cannot find the 30 PIN one.
Anybody? I'm sure many tinkerers have the 36 PIN one, not the 30. Perhaps somebody here already remixed the STL?
buzerant !
Thanks!
Do you have a forum? I can't comment here, my links a being deleted and i want to share what I've made.
Hi Keviin, not yet, but I will at some point. I got your email, I'll get back to you shortly
@@fixtse. Thanks mate 👍😊
Amazing videos as always.
👍👍👍
Este canal no era en español
Did you just assume the gender of those cables? Also blink faster
😅😅 I know right? hardware manufacturers need to step up their naming game, like what github did when they changed their default branch configuration from master to main.
Wtf is that thing.