Just some info that could help someone. I found that my ESP32s would enter a boot loop if I had MQTT info in the YAML.
This was more for my DF robot sensors, but if you are using MQTT you could have the same issue.
Also what’s the new values for;
Thanks
ld2410: [source /config/esphome/bedroom-presence.yaml:46]
-
The 'timeout' option has been moved to the 'timeout' number component.
timeout: 5s
The 'max_move_distance' option has been moved to the 'max_move_distance' number component.
max_move_distance: 3.75m
The 'max_still_distance' option has been moved to the 'max_still_distance' number component.
max_still_distance: 2.25m
The 'g0_move_threshold' option has been moved to the 'g0_move_threshold' number component.
g0_move_threshold: 40
The 'g0_still_threshold' option has been moved to the 'g0_still_threshold' number component.
g0_still_threshold: 10
The 'g1_move_threshold' option has been moved to the 'g1_move_threshold' number component.
g1_move_threshold: 40
The 'g1_still_threshold' option has been moved to the 'g1_still_threshold' number component.
g1_still_threshold: 10
The 'g2_move_threshold' option has been moved to the 'g2_move_threshold' number component.
g2_move_threshold: 40
The 'g2_still_threshold' option has been moved to the 'g2_still_threshold' number component.
g2_still_threshold: 10
would pay to go back and review THIS PAGE as the sensor config has changed a lot if ya werent you beta version … also has a very handy card layout for testing & config
And I’m assuming it will give you the actual energy output of the gates so you can dial it in. But as you can see, mine picks up nothing. Wanted to see if this was working for others and just a me thing or not.
Wow, this solve my problem. I think that example code should be included in the ESPHome documentation.
Question: What is the “Light Function” and how can it be used?
What is “out pin” and how to use it?
light (Optional, int): When in engineering mode, indicates the light sensitivity, otherwise unknown. Value between 0 and 255 inclusive. Though it seems that the value 85 is the lowest value at complete darkness. All options from Sensor.
I assume the config of the component is not quite easy and a lot items to handle and new version comes with breaking change, but everything is written in doc.
Without any offense, but from what I can read in this thread, many questions could be avoided with a carefull reading of the doc. And not only copying the parameters from other with others needs and requirements.
I think that I figure it out. The LD2410 has a LDR (Light Dependant Resistor). The “Light Function” is use with the “Light Threshold” to control the activation of the LD241 ON/OFF based on Above/Below Threshold.
I don’t disagree, but for those of us still getting into this. We don’t really know what we are looking at or what is pertinent half the time. So while you are right, it really helps us newbies when we get whole configs to give context.
As an example, I still dont know what that light thing is for and I did read that part of the doc.
Is it saying there is a lux sensor? Ive never seen that mentioned.
light (Optional, int): When in engineering mode, indicates the light sensitivity, otherwise unknown. Value between 0 and 255 inclusive. Though it seems that the value 85 is the lowest value at complete darkness. All options from Sensor.
Yes, there is a lux sensor on the LD2410. I don’t believe it is very sensitive but there is one and it currently only works if you have Engineering mode enabled.
But I dont really understand how to dial it in. Anything more then 2m does not show up even after changing the detection distance to 7 (is that meters?)
Do I up that value on the gates, does that increase the radar’s power?
The higher the value for the gates, the more movement is required to trigger detection.
So as a start, reduce them to something low like 10 and have engineering mode turned on and watch the move and still energy values for each gate when there is no one present in the room and adjust the gate threshold to above those values to stop false detections.
I also found this, can someone confirm these are the distances for the gates? Ignore the power values, I’m just talking about the gate and corresponding distance values.