Calibrating And Updating

Updating MSR-1 Firmware

 

 

Please refer to the general firmware update article

How To Tune mmWave Using Home Assistant

If you're experiencing false triggers, we recommend using Radar Engineering Mode (REM) to monitor the gate energy and adjust the gate threshold to eliminate them.

Here is a quick introduction video of the ld2410b gates and zones.

Here is a video of how to tune the mmWave sensor using radar engineering mode,

  1. Open Home Assistant
  2. Navigate to Settings>Devices & services>ESPHome>Select the MSR-1
  3. Scroll down to the Configuration section
  4. Turn on Radar Engineering Mode (REM)
    Configuration.png
  5. Scroll down to the Diagnostic section and you will see that REM shows the move and still energy for gates 0-8
    Diagnostic.png
  6. The gates are different distances from the sensor
    ld2410 table.pngMSR-1 radar map.png
  7. Moving the gate still and move threshold slider to the right increases the amount of energy needed to trigger the sensor. Do this if you want the gate to be less sensitive.
    High Threshold.png
  8. Moving the gate still and move threshold slider to the left decreases the amount of energy needed to trigger the sensor. Do this if you want the gate to be more sensitive.
    Low Threshold.png

Alternate Method

Thanks to MakeItWorkTech for this method!

"I ended up maxing out the sliders on all gates and then bringing them down just enough to pick up human presence. Definitely easier than using the LD2410B app."

Example

- You may have an open-concept kitchen and living room, and you want the MSR-1 to activate your under-cabinet lights only when you're in the kitchen.

Here's how:

  1. Stand in the desired trigger locations.
  2. Observe the gate energy.
  3. Adjust the gate threshold slider to the right, increasing the energy required to trigger the mmWave sensor. This ensures that your kitchen lights only come on when you're actually in the kitchen, not just walking by in the living room. Also, you can lower the gate threshold in the kitchen by moving the slider to the left. This makes the mmWave sensor more sensitive, even when standing still. This way, you avoid having the lights go off while reading a recipe or doing the dishes.

- From clarinetJWD, "Engineering mode is what I was missing at first. I did exactly that, and now detection is basically perfect! My under cabinet lights now come on to max brightness whenever someone is in the kitchen, and return to their previous value when they leave. Next up is replacing the really flaky motion switch in my garage so it stops shutting off when I'm doing a project at the workbench! Thanks, these are really good.

References

How To Tune mmWave Using HLKRadarTool

Auto-Calibration (Average, Maximum, and Intelligent)

1. Download the HLKRadarTool app for either Android or Apple

2. Ensure the mmWave radar you want to tune has Radar Control Bluetooth turned on. Home Assistant > Settings > Devices & services > ESPHome Devices > Select Device > Scroll down and toggle on Radar Control Bluetooth

Radar Control Bluetooth.png

3. Open the app and select your device

Find Device.png

4. Turn on Engineering Mode

EM.png

5. Select More and then select Parameter settings

More and PS.png

6. Select Detect background noise

DBN.png

7. Insert Delay detection and Detection time values. (For iPhone users Delay detection cannot be 0). Then select Start. This will give us our reference values so we can auto-calibrate the mmWave sensor.

DD, DT and Start.png

8. Select Back to navigate to the Parameter settings. Then select one of the auto-calibration buttons.

Average
- Sets the gate sensitivity to the average move and still energy

Average.png

Maximum
- Sets the gate sensitivity to the maximum move and still energy

Max.png

Intelligent
- Sets the gate sensitivity equal to or just above the maximum move and still energy

Intelligent.png

9. Now your mmWave should be tuned to your environment!

Manual Calibration

1. Follow steps 1-5 above

2. Select Motion or Static sensitivity, change it to your desired value, and select Set

Manual.png

3. Now your mmWave should be tuned to your environment!

CO2 Calibration For MSR-1

Please refer to the General CO2 Calibration article