mmWave Presence Detection - ESPHome style

Try to use Free to Use GPIO as mentionned in this pinout. This cost nothing to try :slight_smile:

Does removing the web_server change this behavior for you?

Iā€™ll give it a try, thanks.

Wondering if anyone here has had false triggers and how they solved it?

I have my sensor in the corner of the room and the mmWave sensor (SEN0395) gives off a false positive maybe 5-10 times a day. I have set it to trigger an notification alarm to my phone when no one is home so I know its not someone in the apartment triggering it.

I have tuned my sensitivity down to 3 (will keep going lower) and the distance is set to 3m.

The only thing I can think is it is pointing directly at a full size wardrobe mirror on the other side of the room. Perhaps its picking up movement from outside our window (wind blowing). Is this even possible with the frequency its running at?

Working w/ mmWave is more about changing expectations. These sensors donā€™t detect just people, they detect movement. Teenie tiny movement and the challenge is finding the things that move a very tiny bit that you didnā€™t notice before. Good luck!

Perhaps its picking up movement from outside our window (wind blowing)

So test itā€¦ :crazy_face:

1 Like

haha thanks for the input.
Ye going to just keep playing around with the parameters I can modifyā€¦

I was also thinking of introducing a delayed_on OR delayed_on_off setting. Itā€™s being used in conjunction with a PIR so Iā€™m not too fussed about trigger on delays. Itā€™s main purpose is to detect me when Iā€™m too still for the PIRā€¦

*Edit: I just realised a pretty easy change I can make in my automations to fix this issue and make it more reliable. Use the PIR for turning the lights on and mmWave + PIR for turning it off.

1 Like

Hello,
I am having problem with the sensor that the settings donā€™t stick. I change the distance and i can see it gets updated but then after a while its back to nothing. Also i dont see the changed values in Homeassistant.
As far as I can tell all cabels are correctly connected.
Anyone have an idea what might be wrong?

//Henke

Did anyone test this LD2410C? Wondering if itā€™s as reliable as the dfrobot one and if it even works with ESPHome!

everythingsmarthome has one but itā€™s from the uk so customs will have charges with both the EU and the US and also shipping of about 22 euro ish

Is there a version without ESPHome but with mqtt?

Hello guys! I have a question about the MMWave radar from DFRobot. It is possible to define 4 detection zones. Is it possible to know from which zone the presence is detected?

Hey guys.

Thanks for this great project.
Now running an wemos D1 mini (ESP8266) with the df robot sensor.
Found out that after power cycle the values (of esphome) are lost and sent back with defaults to HA.
The DF Robot has, as i understand it, no reads config function, so the values could not be readed on boot. But the DF Robot is working with the old saved config.

I know itā€™s just cosmetic, but i would rather prefer to have also visiable tĀ“he last settings.
Sure i can change the initial_value, but thatā€™s rather a workaround than a solution.

restore_value is set, but as sateted here: Automations and Templates ā€” ESPHome
dor esp8266 you also have to set esp8266_restore_from_flash: ESPHome Core Configuration ā€” ESPHome

I just want to store the distance, latency and sensitivity to flash, not the current state or anything else.
So itā€™s not an value which changes too often.

Anyone of you succussfully running esp8266_restore_from_flash with an esp8266?
Any drawbacks with setting this?
How do you handle this?

thx

You can put initial_value: xxx in the yaml with the most appropriate value.

1 Like

Thx already done. Thought there is maybe an other solution. But the sensor is lacking of an ā€œread configā€ command.

Thx anyway.

You could make an automation with helper to solve workaround this.
Helper with the value you prefer to use, then an automation that if the value on device changes, to set to the same as helper.

thx, changing the esphome yaml is a simpler workaround :slight_smile:
Would be nice if the DFrobot sensor had a hidden ā€œread configā€ command, but sadly not.

Says who? Docs have read commands.

I have looked at the wiki and did not found a ReadConfig command. Can you please post a link?

Thx

Can post when home.

Iā€™m the meantime, existing code has most of them. At least all the config ones.

2 Likes

Thx, take your time