1.0 KiB
1.0 KiB
IndustrialEnergyTracker
Industrial energy and resource tracking system for PLCs and PACs.
Getting Started
Prerequisites
Python 3.12
or higheruv
package manager
Installation
-
Clone the repository
git clone gitea.bigoscloud.com/biggy/IndustrialEnergyTracker
-
Create and activate virtual environment
uv venv && source .venv/bin/activate
-
Install project dependencies
uv pip install -e .
-
Install development dependencies (optional)
uv pip install -e ".[dev]"
Configuration
- Create
config.ini
file based on template - Configure database connections and other settings
Development
Update dependencies to latest compatible versions:
uv pip compile pyproject.toml
Features
- Multi-database support (MSSQL, PostgreSQL)
- PLC/PAC communication
- Scheduled data collection
- Energy and resource tracking
- Configurable via database
Project Structure
src/
- Source codemain.py
- Application entry pointscheduler.py
- Scheduling service