π Radar Distance Monitor v2.0.0 - Multi-Host Support with Chip Detection
π― Major Features
Multi-Host Radar Monitoring
- Monitor 1 to many radar sensors simultaneously - No longer limited to just two hosts
- Flexible HOSTS configuration format - Simple list-based configuration for any number of sensors
- Real-time multi-sensor visualization - All sensors displayed on a single graph with color-coded lines
- Scalable architecture - Easily add or remove sensors without code changes
Automatic Chip Detection
- Hardware identification - Automatically detects and displays radar chip information (BGT60TR13C/BGT60TR13D)
- Chip ID display - Shows unique hardware identifiers in the GUI legend
- Real-time chip status - Know exactly which hardware is connected to each host
Enhanced Command-Line Interface
- New flexible arguments:
--host
,--user
,--password
,--command
,--tag
(can be repeated for multiple hosts) - Example:
python3 src/radar_distance_monitor.py --host sensor1.local --host sensor2.local --user admin --user admin --password pass1 --password pass2 --command "cmd1" --command "cmd2"
- Maintains legacy support for existing
--host1
,--host2
arguments
Improved User Experience
- Clean logging - No more false "parsing error" messages from normal sensor initialization
- Professional console output - Only displays relevant status and error information
- Enhanced GUI legend - Shows host name, chip model, chip ID, and connection status
π§ Configuration Examples
New HOSTS Format (Recommended)
HOSTS = [
{
'host': '192.168.1.100',
'username': 'user1',
'password': 'pass1',
'command': 'sensor_command',
'tag': 'Front Door',
},
{
'host': '192.168.1.101',
'username': 'user2',
'password': 'pass2',
'command': 'sensor_command',
'tag': 'Back Door',
},
# Add as many sensors as needed...
]
Single Host Configuration
HOSTS = [
{
'host': 'sensor.local',
'username': 'admin',
'password': 'password',
'command': 'radar_distance',
'tag': 'Main Sensor',
},
]
π Backward Compatibility
β ZERO BREAKING CHANGES
- Existing
HOST1_CONFIG
/HOST2_CONFIG
configurations work unchanged - Legacy command-line arguments (
--host1
,--user1
, etc.) still supported - All existing scripts and configurations continue to work without modification
π What You'll See
Enhanced GUI Legend:
Sentai [BGT60TR13C/BGT60TR13D:000003] (β Connected)
Raspberry Pi [BGT60TR13C/BGT60TR13D:000003] (β Connected)
Clean Console Output: