VOLTTRON™ is an open source platform for distributed sensing and control. The platform provides services for collecting and storing data from buildings and devices and provides an environment for developing applications which interact with that data.
Project description
VOLTTRON™ is an open source platform for distributed sensing and control. The platform provides services for collecting and storing data from buildings and devices and provides an environment for developing applications which interact with that data.
Installation
> pip install volttron
Quick Start
-
Start the platform
> volttron -vv -l volttron.log &>/dev/null &
-
Install listener agent
> vctl install volttron-listener
-
View status of platform
> vctl status
-
Shutdown the platform
> vctl shutdown --platform
Full VOLTTRON documentation available at VOLTTRON Readthedocs
Contributing to VOLTTRON
Please see the contributing.md document before contributing to this repository.
Development of VOLTTRON
Environment
VOLTTRON uses Poetry, a dependency management and packaging tool for Python. If you don't have Poetry installed on your machine, follow these steps to install it on your machine.
To check if Poetry is installed, run poetry --version
. If you receive the error 'command not found: poetry', add the following line to your '~/.bashrc' script: export PATH=$PATH:$HOME/.poetry/bin
.
Recommended configuration for poetry
By default, poetry creates a virtual environment in {cache-dir}/virtualenvs. To configure 'poetry' to create the virtualenv inside this project's root directory, run the following command:
poetry config virtualenvs.in-project true
Setup
-
Clone the repository
git clone https://github.com/VOLTTRON/volttron-core -b develop
-
cd into volttron-core directory
cd volttron-core
-
Install volttron into the current directory
poetry install
-
Run tests
poetry run pytest
-
Activate environment (removes the need for add poetry run to all commands)
poetry shell
-
Run volttron
volttron -vv -l volttron.log &>/dev/null &
Using modules to run VOLTTRON
In order to run VOLTTRON from within an ide the recommended way is to run the platform using the modules
> poetry shell
> python -m volttron.server -vv -l volttron.log &
> python -m volttron.commands.control -vv status
Please see the contributing.md document before contributing to this repository.
Happy Editing!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file volttron-10.0.1a20.tar.gz
.
File metadata
- Download URL: volttron-10.0.1a20.tar.gz
- Upload date:
- Size: 244.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.8.13 Linux/5.15.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f34cf331bfb7d8478f5c3845121cc7c3c718ed7b85746062d954472bd79ed54b |
|
MD5 | 1b2e74bcdc6d50be8c6122a148c6438e |
|
BLAKE2b-256 | 65c4c2834d52b84d5c830793ab0efb17b2e01c2fc6cc53421a011a3eef19a867 |
File details
Details for the file volttron-10.0.1a20-py3-none-any.whl
.
File metadata
- Download URL: volttron-10.0.1a20-py3-none-any.whl
- Upload date:
- Size: 351.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.8.13 Linux/5.15.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 412ca648e473861168ca45834ad5978dd8215148bbdb74f486640ff31ef31266 |
|
MD5 | 00d2bcbe908668d9ecd75b6bb5cc15bd |
|
BLAKE2b-256 | c4b8b92903c73a38031fd9d42343b72631ff77fa280ef675f87eee118cfa6bcb |