albertnis / ld2410-configurator

Web-based configuration and diagnostics tool for LD2410 mmWave human presence sensor
MIT License
49 stars 6 forks source link

LD2410 configurator

Screenshot showing LD2410 configurator in browser window

Display radar data and configure your LD2410 motion sensor, right from the browser! The aim of this project is to improve on the hard-to-use Windows-only tooling provided by HiLink.

Visit the configurator at ld2410.albert.nz.

Features:

Usage and compatibility

LD2410 is hosted by Cloudflare Pages at ld2410.albert.nz. It can be used from any browser that supports the WebSerial API (Chrome, Edge or Opera as at time of writing). Simply go to the site and follow the instructions to get started! You will need a serial adapter such as CP2102.

If you prefer, you can run the tool locally. Simply clone, install and run it using the instructions below.

Develop

npm install
npm run dev -- --open

Build

npm run build

Linting and formatting

ESLint is used for linting.

npm run lint      # check
npm run lint:fix  # fix all auto-fixable issues

Prettier is used for formatting.

npm run format       # check
npm run format:fix   # auto-format