Repository navigation
Installation
Brian Rodriguez edited this page Dec 9, 2025
·
2 revisions
- Python 3.10 or higher
- pip package manager
- Git (optional, for cloning)
- Serial port access permissions
git clone https://github.com/CervezaStallone/XY-MD02_WebApp.git
cd XY-MD02_WebAppOr download ZIP from GitHub releases.
python -m venv .venv
.venv\Scripts\activatepython3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtThis installs all required packages including:
- Dash 3.3.0 and Plotly for web interface
- Waitress 3.0.2 for production WSGI server
- minimalmodbus for Modbus RTU communication
- pandas 2.3.3 and numpy 2.2.6 for data processing and downsampling
- python-dotenv 1.2.1 for environment configuration
- Additional dependencies for charting and calculations
Copy the example configuration:
copy .env.example .envcp .env.example .envEdit .env with your settings. See Configuration for details.
python app.pyOpen browser to: http://localhost:8050
Add user to dialout group:
sudo usermod -a -G dialout $USERLog out and back in for changes to take effect.
Ensure virtual environment is activated:
which python # Should show .venv/bin/pythonCheck Python version:
python --version # Must be 3.10+If multiple Python versions installed:
python3.10 -m venv .venv