WLED/usermods/LD2410_v2
Blaž Kristan 2ccc897532 Separate different debug components
- generic (WLED_DEBUG)
- FX (WLED_DEBUG_FX)
- bus manager (WLED_DEBUG_BUS)
- pin manager (WLED_DEBUG_PINMANAGER)
- usermods (WLED_DEBUG_USERMODS)
- math (WLED_DEBUG_MATH)
- all (WLED_DEBUG_ALL)

In an attempt to reduce flash usage while still getting a few debug messages.
2024-07-10 14:21:44 +02:00
..
readme.md Update readme.md 2024-06-29 16:17:46 +02:00
usermod_ld2410.h Separate different debug components 2024-07-10 14:21:44 +02:00

readme.md

BH1750 usermod

This usermod requires a second UART and was only tested on the ESP32

This usermod will read from a LD2410 movement/presence sensor.

The movement and presence state are displayed in both the Info section of the web UI, as well as published to the /movement and /stationary MQTT topics respectively.

Dependencies

  • Libraries
    • ncmreynolds/ld2410@^0.1.3
    • This must be added under lib_deps in your platformio.ini (or platformio_override.ini).
  • Data is published over MQTT - make sure you've enabled the MQTT sync interface.

Compilation

To enable, compile with USERMOD_LD2410 defined (e.g. in platformio_override.ini)

[env:usermod_USERMOD_LD2410_esp32dev]
extends = env:esp32dev
build_flags =
    ${common.build_flags_esp32}
    -D USERMOD_LD2410
lib_deps = 
    ${esp32.lib_deps}
    ncmreynolds/ld2410@^0.1.3

Configuration Options

The Usermod screen allows you to:

  • enable/disable the usermod
  • Configure the RX/TX pins

Change log