This is a modernized version of the LogMonitor application, focused on the Windows implementation.
The Log Monitor application provides interfaces for monitoring log files and device statuses across multiple Raspberry Pi devices. It displays file counts, processing status, and success rates for computer vision and bib detection operations.
The application now provides two interfaces:
- Tkinter UI: The original desktop interface built with Tkinter
- Web Interface: A modern web interface built with FastAPI and React
The Tkinter UI is the original desktop interface that runs as a standalone application.
The web interface provides a modern, responsive interface that can be accessed from any device with a web browser. It includes:
- Real-time updates via WebSockets
- Interactive device monitoring controls
- Visual status indicators
- Success rate charts
- Processing status grid
For more information about the web interface, see the Web Interface README.
-
Create a virtual environment (recommended):
python -m venv venv venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure the application:
- Review and update the
.env
file with your specific settings - Ensure the network paths in the configuration are accessible
- Review and update the
To start the Tkinter UI, run:
python log_monitor_app.py
To start the web interface in development mode, run:
python web_interface/run_dev.py
This will start both the backend and frontend servers. For more information, see the Web Interface README.
The application is configured through the .env
file and includes settings for:
- Remote host configuration
- API authentication
- File paths
- Pi IP addresses
- Update intervals
log_monitor_app.py
- Main application entry pointlog_monitor.py
- Core monitoring functionalityui.py
- Tkinter user interface componentsconfig.py
- Configuration settingswindows_file_monitor.py
- Windows-specific file monitoring.env
- Environment variablesrequirements.txt
- Python dependenciesweb_interface/
- Web interface files
This version has been enhanced with a modern web interface while maintaining the original Tkinter UI. The web interface provides a more accessible and responsive way to monitor the system from any device with a web browser.