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:
@@ -312,6 +312,13 @@ REMOTE_CONTROLS = [
|
||||
]
|
||||
|
||||
|
||||
# Import RTL_433 protocols
|
||||
try:
|
||||
from src.matcher.rtl433_protocols_imported import RTL433_PROTOCOLS
|
||||
except ImportError:
|
||||
print("Warning: RTL_433 protocols not imported yet. Run scripts/import_rtl433_protocols.py")
|
||||
RTL433_PROTOCOLS = []
|
||||
|
||||
# Compile all protocols into single list
|
||||
ALL_PROTOCOLS = (
|
||||
WEATHER_SENSORS +
|
||||
@@ -319,7 +326,8 @@ ALL_PROTOCOLS = (
|
||||
DOORBELLS +
|
||||
TIRE_PRESSURE +
|
||||
SECURITY_SENSORS +
|
||||
REMOTE_CONTROLS
|
||||
REMOTE_CONTROLS +
|
||||
RTL433_PROTOCOLS # Imported from RTL_433 database
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user