Thanks so much, will take a close look at this and report back. I actually haven’t swapped both sensors, I just first had them both setup next to each other and seemed to work okay so I moved one to the living room (where I’m having the problem)
Hi @crlogic! Finally, I had some time to research more about my new higher POV sensor and follow your indications and ideas.
Long story short: you were right. Turns out it was my blinds, even if I wasn’t able to perceive them moving, once I put them up the sensor worked as expected (actually it was working as expected before detecting the blinds).
Now both sensors seem to work and behave very similarly with the added bonus of a higher POV on my new one. I will continue testing it and report back if I find something worth mentioning. Currently, the high POV sensor is installed on my living room ceiling, it’s the biggest area of my apartment and it seems to cover it pretty well.
In fact, I thought something was wrong with the sensor because it was in a Detected state but turns out this was the reason (check the image below) — yup I have pets too, 3 dogs
As for the general configuration of the sensor, mainly distance and sensitivity options I honestly never played around when I got my DFRobot one so I kept it at 3.45M, plus it was not installed on the ceiling but in the corner of my office. Now both are on a ceiling position I have been trying to tweak it, so I changed the distance to 2.6M on both and also lowered sensitivity to 8.
For now, they seem to work fine. Actually better than my Aqara FP1 which is a bit slower to detect and clean the detection, but still pretty reliable too.
Installed on LD2410C-P, and the code seems to be working, as well as the sensor. I do not get presence detection update though (ESP HOME, ESP32). Any ideas what I should look into?
Edit: Never mind, I needed to connect the GPIO14, for the presence… dumb me…
I also used JST GH 1,25 mm 5 PIN connector. Different then on the picture from NorbertReinhold - i just used female connector and pushed it into existing 5 pins on the module.
Check here: LD2410 esphome tips - #61 by Maco65
Powered by the 5V internal rail (plenty of spare current as I’m not using all 3 relays in these switches), and mounted above the power entry to the front PCB. Wired up the hardware UART of the ESP8266, working great with the @amandel custom component. Thanks! There’s actually even enough room to angle the module slightly, to aim the module when the light switch is in the corner of the room.
I’m using this repository, note the sample .yaml. Key thing would be to use the hardware UART on the esp8266. Do you specifically want a config for the ks811 switches?
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).