Hi there, thanks for the code, maybe I’m missing something, did you managed to calculate the distance to the detected object? I’m struggling to achieve that.
This sensor does not indicate the distance to the target. For this you need the HLK-LD2450 sensor.
I’m waiting for it to arrive and implement it in my code)
Updated the firmware and added settings via WiFi. Soon I will add support for four more sensors HLK-LD2450, HLK-LD2410, HLK-LD2420, HLK-LD2410C AQST-MS
@patrick339 thank you for publishing your code! Now I’ve an awesome presence sensor and there is no way I could’ve written that code myself. Your comments in the code were very helpful to non-techies like me and made customization a breeze.