Repository navigation
Releases
Releases · lyunnamed/BeaconScanner
v0.2.0
Cross Country Race Tracking System v0.2.0
A real-time race tracking system for cross country events with improved beacon handling and display order.
Features
Beacon Display Improvements
- Reversed beacon display order (newest at top-left)
- Enhanced iBeacon compatibility with Estimote beacons
- Fixed minor value tracking accuracy
- Top-left to right flow for newest scans
- Intuitive reading order with flex-direction: row-reverse
- Maintained responsive layout while improving data presentation
Data Accuracy Enhancements
- Fixed beacon minor value identification
- Improved real-time data synchronization
- Enhanced timestamp accuracy for lap counting
- Better handling of concurrent scans
- Improved database query efficiency
Technical Updates
- Updated UUID support for Estimote beacons (b9407f30-f5f8-466e-aff9-25556b57fe6d)
- Optimized BLE scanning parameters
- Improved error handling in scan process
- Enhanced real-time data processing
- Removed hardcoded credentials
- Improved database connection security
- Enhanced error logging
Bug Fixes
- Fixed beacon display order issues
- Corrected minor value identification
- Improved data refresh reliability
Technical Details
System Requirements
- Python 3.x
- PHP 8.2+
- MySQL/MariaDB
- Bluetooth LE support
- ScanUtility library
- jQuery 3.6.0
Files
- index.php: Main interface and real-time updates
- getminor.php: Data retrieval and sorting logic
- process_beacon.php: Beacon data processing
- clearData.php: Data management and reset functionality
- b2db6.py: Beacon scanning script
- ScanUtility.py: Bluetooth scanning utility
Notes
- Backward compatible with v0.1.1
- Improved stability for long-duration events
- Enhanced real-time performance
v0.1.1
Cross Country Race Tracking System v0.1.1
UI/UX Improvements
Responsive Layout
- Implemented responsive container sizing using viewport units (vh)
- Added minimum (300px) and maximum (600px) height constraints
- Container now maintains 60% viewport height ratio
Dynamic Sizing
- Added responsive font sizing using clamp():
- Table text: 12px - 14px
- Beacons: 10px - 14px
- Headers: 14px - 16px
- Labels: 10px - 12px
- Beacon size now scales with viewport: 25px - 35px
Scrollable Content Area
- Optimized beacon container with auto-scroll
- Added custom scrollbar styling for better visual feedback
- Maintained consistent layout proportions across different screen sizes
Visual Consistency
- Improved spacing and padding for better visual hierarchy
- Enhanced readability across different screen sizes
- Maintained aspect ratios during window resizing
Technical Updates
- Added viewport-based responsive design
- Implemented clamp() for dynamic sizing
- Enhanced CSS flexibility for different screen sizes
v0.1.0
Cross Country Race Tracking System v0.1.0
A real-time race tracking system for cross country events that monitors runners' lap counts and rankings.
Features
Real-time Tracking
- Live updating of runner positions and lap counts
- Automatic refresh every second
- Persistent data storage across page refreshes
Ranking System
- Dynamic ranking based on:
- Primary: Number of laps completed (descending)
- Secondary: Time of first lap (ascending)
- Real-time leaderboard updates
- Clear ranking display with position numbers
Scan History
- Complete history of all scanned beacons
- Chronological display (newest first)
- Scrollable interface for viewing all historical scans
- Persistent scan history until manually cleared
Data Management
- MySQL database integration
- Automatic timestamp recording for each scan
- Data clearing functionality with auto-increment reset
- Error logging and handling
User Interface
- Clean, two-column layout
- Left: Ranking table
- Right: Scan history
- Responsive design with proper spacing
- Scrollable containers for large datasets
- Clear visual hierarchy
Technical Details
Database Structure
Files
index.php: Main interface and real-time updatesgetminor.php: Data retrieval and sorting logicclearData.php: Data management and reset functionality
Dependencies
- jQuery 3.6.0
- MySQL/MariaDB
- PHP 8.2+
Usage
- Set up the MySQL database using the provided schema
- Configure database connection in PHP files
- Deploy to web server with PHP support
- Access through web browser
- System will automatically begin tracking and displaying data
Notes
- Designed for real-time race tracking
- Optimized for multiple concurrent runners
- Maintains fairness in ranking by considering both lap count and speed