Skip to main content

No project description provided

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.

Run Pytests pypi version

Installation with Web

> pip install volttron-lib-web

Quick Start

  1. Start the platform

    > volttron -vv -l volttron.log &>/dev/null &
    
  2. Install listener agent

    > vctl install volttron-listener
    
  3. View status of platform

    > vctl status
    
  4. 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

  1. Clone the repository

    git clone https://github.com/VOLTTRON/volttron-core -b develop
    
  2. cd into volttron-core directory

    cd volttron-core
    
  3. Install volttron into the current directory

    poetry install
    
  4. Run tests

    poetry run pytest
    
  5. Activate environment (removes the need for add poetry run to all commands)

    poetry shell
    
  6. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

volttron_lib_web-0.1.1a0.tar.gz (109.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

volttron_lib_web-0.1.1a0-py3-none-any.whl (118.4 kB view details)

Uploaded Python 3

File details

Details for the file volttron_lib_web-0.1.1a0.tar.gz.

File metadata

  • Download URL: volttron_lib_web-0.1.1a0.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1022-azure

File hashes

Hashes for volttron_lib_web-0.1.1a0.tar.gz
Algorithm Hash digest
SHA256 6294cce5b2588db58df4e0527448def6f34d766a02c4773556149cd0c5ce974d
MD5 0b2a3e4fea680c95856730e209c9e094
BLAKE2b-256 630c2a85a41cba5e161f0d527f5483517647823c2683f10ad78740b6b0d438e4

See more details on using hashes here.

File details

Details for the file volttron_lib_web-0.1.1a0-py3-none-any.whl.

File metadata

  • Download URL: volttron_lib_web-0.1.1a0-py3-none-any.whl
  • Upload date:
  • Size: 118.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1022-azure

File hashes

Hashes for volttron_lib_web-0.1.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 95e191401083de447b799226ddd873815b3cc8d507dd92953982082cdf71d610
MD5 f3ebe37557b0c5e9dfed94ada3068f02
BLAKE2b-256 8aa2526e95d722b5f5c1235ccf70f5d8c50dcee6376babfd3f0c2d340147c096

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page