The VOLTTRON Installer is a tool designed to simplify the installation and configuration of the VOLTTRON platform, an open-source distributed control system platform for integrating with building systems and devices.
The VOLTTRON Installer provides:
- Easy installation of the core VOLTTRON platform
- Automated configuration of various platform components
- Support for both development and production deployments
- Integration with building systems and IoT devices
When running on bare metal, ensure your system has:
- Python: 3.10 or above
- System Dependencies:
sudo apt update sudo apt install -y build-essential libffi-dev libssl-dev git python3-dev python3-venv unzip
-
Create a Virtual Environment (recommended)
python3 -m venv venv source venv/bin/activate
-
Install VOLTTRON Installer
pip install git+https://github.com/VOLTTRON/volttron-installer.git@develop
-
Run the Installer
volttron-installer
-
Clone the Repository
git clone https://github.com/VOLTTRON/volttron-installer.git cd volttron-installer
-
Create and Activate Virtual Environment
python3 -m venv venv source venv/bin/activate
-
Install in Development Mode
pip install -r requirements.txt pip install -e .
-
Run the Installer
volttron-installer
The repository includes a Dev Container configuration that allows you to develop and test the project in a consistent environment.
-
Clone the Repository
git clone https://github.com/VOLTTRON/volttron-installer.git cd volttron-installer
-
Open in VS Code
code .
-
Reopen in Container When prompted by VS Code, click "Reopen in Container" or use the command palette (F1) and select "Remote-Containers: Reopen in Container".
-
Testing Pull Requests Once the container is running, you can test pull requests using the included script:
test-pr [PR-NUMBER]
-
Clean Up After Testing When finished testing, clean up using:
cleanup-pr
After installation, run the VOLTTRON Installer:
volttron-installer
Follow the interactive prompts to configure your VOLTTRON installation.
The installer supports various configuration options:
- Platform installation path
- Message bus configuration
- Agent selection and configuration
- Security settings
- Historian database configuration
Contributions are welcome! Please feel free to submit a Pull Request.
Copyright 2025 Battelle Memorial Institute
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.