The Platform Driver agent is a special purpose agent that manages communication between the Volttron platform and devices. The Platform driver features a number of endpoints for collecting data and sending control signals using the message bus and automatically publishes data to the bus on a specified interval.
Project description
Platform Driver Agent
The Platform Driver agent is a special purpose agent a user can install on the platform to manage communication of the platform with devices. The Platform driver features a number of endpoints for collecting data and sending control signals using the message bus and automatically publishes data to the bus on a specified interval.
Prerequisites
- Python 3.8
Python
To install Python 3.8, we recommend using pyenv
.
# install pyenv
git clone https://github.com/pyenv/pyenv ~/.pyenv
# setup pyenv (you should also put these three lines in .bashrc or similar)
export PATH="${HOME}/.pyenv/bin:${PATH}"
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"
# install Python 3.8
pyenv install 3.8.10
# make it available globally
pyenv global system 3.8.10
Installation
Create and activate a virtual environment.
python -m venv env
source env/bin/activate
Installing volttron-platform-driver requires a running volttron instance.
pip install volttron
# Start platform with output going to volttron.log
volttron -vv -l volttron.log &
Install and start the volttron-platform-driver.
vctl install volttron-platform-driver --vip-identity platform.driver --start
View the status of the installed agent
vctl status
Development
Please see the following for contributing guidelines contributing.
Please see the following helpful guide about developing modular VOLTTRON agents
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.
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
Hashes for volttron_platform_driver-0.1.1a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d40b1633b03666caab06d21ad00d76991ee8a3082a9eca58d6d859d3c907ab |
|
MD5 | 0c14950647191f56e3b8cc1dcd2eb9cb |
|
BLAKE2b-256 | 7736e88651beea98c9035837e7e3ba1e95dbaee1fea0bad02a4a4ba3c2204124 |
Hashes for volttron_platform_driver-0.1.1a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a4bef20dbb215f8f69d4fa21d615795858a26a3adfd6b0912a7c1282015bd52 |
|
MD5 | 29f6f13d38f68c7b060759abd46d532b |
|
BLAKE2b-256 | 9c7113ad1358b58e33549dd730d872065a3099ceec72abedb88eceeb0914d64b |