feat: RTL_433 protocol database import - iteration 1/5

- Expanded protocol database from 18 → 299 signatures (16.6x increase)
- Imported 281 protocols from RTL_433 open-source database (286 total devices)
- Created automated import script: scripts/import_rtl433_protocols.py
- Generated rtl433_protocols_imported.py with timing/frequency/modulation data
- Updated protocol_database.py to include RTL433_PROTOCOLS
- All 26 tests passing

Breakdown by category:
  - Weather: 116 protocols
  - Sensors: 36 protocols
  - TPMS: 25 protocols
  - Security: 23 protocols
  - Home Automation: 18 protocols
  - Other: 50+ protocols

Frequency coverage:
  - 433.92 MHz: 248 protocols
  - 315.00 MHz: 32 protocols
  - 915.00 MHz: 1 protocol

This provides comprehensive coverage of Sub-GHz IoT devices for accurate
identification from raw RF captures.
This commit is contained in:
leetcrypt
2026-02-14 18:55:55 -08:00
parent 01b06fadc6
commit 9f73595b20
32 changed files with 15365 additions and 50 deletions
+14 -4
View File
@@ -16,14 +16,24 @@ fi
echo "✅ Python 3 found"
# Check if in project directory
if [ ! -f "src/api/main.py" ]; then
# More robust project directory detection
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$SCRIPT_DIR"
# Check for multiple project markers
if [ ! -f "$PROJECT_ROOT/src/api/main_simple.py" ] || \
[ ! -f "$PROJECT_ROOT/CLAUDE.md" ] || \
[ ! -d "$PROJECT_ROOT/src/database" ]; then
echo "❌ Not in project directory"
echo "Please run from /home/dell/coding/giglez"
echo "Please run from: $PROJECT_ROOT"
echo "Or use: cd /home/dell/coding/giglez && ./start_web.sh"
exit 1
fi
echo "✅ Project directory confirmed"
# Change to project root if needed
cd "$PROJECT_ROOT"
echo "✅ Project directory confirmed ($PROJECT_ROOT)"
# Check database
if [ -f "giglez.db" ]; then