Motion detection system based on Wi-Fi spectre analysis (CSI)
This is a fork of ESPectre adapted for Arduino Framework integration.
Key Differences from Upstream:
- โ Arduino Framework Compatible: Component library files work with Arduino/PlatformIO projects
- โ No Standalone Operation: Designed to be embedded in larger Arduino applications (no
app_main())- โ No External Dependencies Required: No Home Assistant or MQTT broker needed when integrated
- โ Component Library: Provides segmentation, CSI processing, and traffic generation as reusable modules
Upstream Repository: francescopace/espectre
Integration Example: This repo allows ESPectre motion detection through a web interface without external MQTT infrastructure.Note: If you want standalone ESPectre with Home Assistant integration, use the upstream repository. This fork is for developers who want to embed ESPectre functionality into their own Arduino-based projects.
Simply add to your platformio.ini:
[env:your_board]
platform = espressif32
board = esp32-s3-devkitc-1 ; or esp32-c6-devkitc-1
framework = arduino
; Add ESPectre library
lib_deps =
https://github.com/GitBruno/espectre.git#main
; ... your other libraries
; Force include stdbool.h for ESPectre compatibility (recommended)
build_flags =
-include stdbool.hThat's it! The library is Arduino-ready by default:
- โ
All C files include
<stdbool.h>(required by Arduino toolchain) - โ
No
espectre.cwithapp_main()conflict (removed from repo) - โ No test files (removed from repo)
- โ No build scripts needed (everything pre-configured)
๐ฐ Featured Article: Read the complete story behind ESPectre on Medium ๐ฎ๐น Italian, ๐ฌ๐ง English