Thanks for the link @FeromonDE, I’d also got these compilation errors for esp8266, but hadn’t seen that particular issue thread. At the time I assumed it must have been an issue with my out-of-date esphome installation, so I didn’t put any thought into it.
I’ve uploaded the changes I made here, simply removing the unused ESP_LOGD_HEX functions that were causing the compliation errors:
Thinking about ordering a few of these, how did it go for you with these?
And is it possible to use ESPresense with these (get the presence, not only motion)
Settings (distance, sensitivity) are possible from the ESP web server. I can’t connect to it over BT, but that issue is probably on my end. Using the repo from amandel (LD2410C is the same as 2410B just in a different form).
hey guys so I have just come across this thread and I can see something beautiful going on here. May I just ask what is the best mmWave sensor I can buy and the best board to run it on? i.e. ESP8266 or ESP32? thanks.
If you have Bluetooth setup on your HA, 2022.3 has support for directly integrating a HLK-LD2410B over Bluetooth. I’ve tried it and it works great, no need for an esp32 or esp8266.
I have bluetooth setup however my bluetooth node is meters away (on the first floor) from where I would want to have my mmWave sensor (on the ground floor). Would it still work reliably?
Not the mmwave board directly. You’d need a microcontroller like a D1 mini to handle the PIR and to communicate it’s state. Depends if you care about the size.
I just got a couple of these in. I soldered a USB cable to the VCC and GND. HA is able to pick up the sensor and detects motion, however only for a few minutes then it goes unavailable. I’ve tried this with two different sensors and both have the same issue. Anyone else having this issue?
Had this issue, too. Then I switched to an old usb power supply. Seems the quick charge / fast charge power supplies kill the voltage when they did’t recognize an “intelligent” device. My old simple power supply works pretty stable.
Thanks for the tip! I just tried several different USB chargers but no luck getting a response in HA. I confirmed I have 5V at the sensor and I can also see the device in the HLKRadar-Tool app. I don’t think the problem is with my bluetooth proxy. The proxy is less than 3 meters away. I have a few Xiaomi TH sensors connecting through it without issue.
I was able to get this working in HA using this repo and a d1 mini (tx GPIO15 / rx GPIO13). I really wish though I could have figured out how to just use BLE reliably. Not sure if it was a signal issue or what.
I played around with the app and home assistant this morning. For some reason home assistant couldnt pair to the ld2410 anymore. After a restart of ha I was able to reconnect it.
Now, my device disconnects, too. It works the whole day but in the night the connection died. Now I am able to find it with the radar app but home assistant doesn’t reconnect.