Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Eclipse VOLTTRON™

Eclipse VOLTTRON (eclipse-volttron/volttron-core) 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.

Eclipse VOLTTRON™ Python 3.10 Python 3.11 Pytests pypi version

Prerequisites

  • poetry >= 2.0.1

  • python >= 3.10

  • pip >= 24.0

    Note: Ubuntu 22.04 comes with python 3.10. To upgrade pip run python -m pip install --upgrade pip

Installation

This package contains the essential server and client component of Eclipse VOLTTRON framework. In order to start VOLTTRON in addition to this package(volttron-core) you also need volttron-lib-auth and volttron-lib-zmq.

It is highly recommended you use a virtual environment for installing VOLTTRON.

python -m venv <directory name for your virtual env. for example .venv>
source .venv/bin/activate
export VOLTTRON_HOME=</path/to/volttron/home>
pip install volttron

Note: you can also run pip install volttron-zmq or install the three packages explicitly using pip install volttron-core volttron-lib-zmq volttron-lib-auth

Quick Start

  1. Setup VOLTTRON_HOME environment variable: export VOLTTRON_HOME=/path/to/volttron_home/dir

    NOTE This is mandatory if you have/had in the past, a monolithic VOLTTRON version that used the default VOLTTRON_HOME $HOME/.volttron. This modular version of VOLTTRON cannot work with volttron_home used by monolithic version of VOLTTRON(version 8.3 or earlier)

  2. Start the platform:

    volttron -vv -l volttron.log &>/dev/null &
    
  3. Install agents and optional libraries:

    Each volttron agent is in its own repository. Each agent's repository will have its own readme with instructions on how to install the agent and any optional libraries that could be used with the agent. But in general, agents should be installed using vctl install command.

    For example,

    vctl install volttron-listener
    

    All libraries that the agent depends on will automatically get installed in your current python environment.

    Optional Libraries

    In addition to mandatory libraries that are automatically installed during agent install, some agents could have optional features that are enabled or disabled based on availability of additional libraries. For example, an agent could support unit conversion if the python pint library is installed in the python environment. In order to install optional libraries use

    vctl install-lib <library name>
    

    To remove a previously installed library use

    vctl remove-lib <library name>
    

    Modular VOLTTRON uses poetry for dependency management. When VOLTTRON is started, it creates a poetry project (pyproject.toml file) in VOLTTRON_HOME directory and uses that for keeping track of all installed packages. For example, when you run vctl install volttron-listener an entry for that agent's package name and version gets added to $VOLTTRON_HOME/pyproject.toml. If you are installing optional libraries, such as pint use vctl install-lib pint instead of pip install. vctl install-lib will internally use poetry and poetry will check if the version of volttron-core (and other librabries) in your current activated environment is compatible with requirements of the version of library you are installing.

    ⚠️ WARNING
    You could use pip to install libraries, but pip will not check dependent library versions for compatibility and would simply overwrite packages in the current environment.

    For example, if you are running volttron-core version 2.0.0 and volttron-lib-bacnet-driver has dependency on volttron-core version 1.0.0, pip install volttron-lib-bacnet-driver would overwrite volttron-core version 2.0.0 with version 1.0.0. However vctl install-lib volttron-lib-bacnet-driver will fail because of a version incompatibility error.
  4. View status of platform

    vctl status
    
  5. Shutdown the platform

    vctl shutdown --platform
    

Scaled VOLTTRON deployments

Multiple VOLTTRON instances can work together as a federated group and communicate with each other through publish/subscribe method. This is one way to achieve distributed scalable deployments. VOLTTRON also supports automated deployment using ansible. Please refer to readthedocs for more details

Available Agents

Libraries

Contributing to VOLTTRON

Please see the contributing.md document before contributing to this repository.

Please see developing_on_modular.md document for developing your agents against volttron.

Disclaimer Notice

This material was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.

Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

Metadata

Release files for volttron-core 2.0.0rc38

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for volttron-core 2.0.0rc38
File Size Uploaded Provenance
volttron_core-2.0.0rc38.tar.gz 233.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for volttron-core 2.0.0rc38
File Interpreter ABI Platform
volttron_core-2.0.0rc38-py3-none-any.whl Python 3 none any Details

Total release size: 534.8 kB

Release files / volttron_core-2.0.0rc38.tar.gz

Download URL volttron_core-2.0.0rc38.tar.gz
Size 233.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2211f50fdfa16e721b2cb175b0e05b2413694188b5200713e62da33a7c3402c8
BLAKE2b-256 checksum
How to use checksums
4724b8f60e5b8dcc97de9b3a43fd5b40fc53f0c609589bcfe2ca88f7af5520f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.22 Linux/6.8.0-1064-azure

Release files / volttron_core-2.0.0rc38-py3-none-any.whl

Download URL volttron_core-2.0.0rc38-py3-none-any.whl
Size 301.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff8069af807f5d58193f7a4e618f529c7d919f0663a1f886e7b58ef8ddaf632b
BLAKE2b-256 checksum
How to use checksums
08f9e6f6a725f399069767a7ac2be120d03245dfb1fe109fc73d118c61de907d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.22 Linux/6.8.0-1064-azure

Security for volttron-core 2.0.0rc38

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page