- Create a directory called volttron_modular
mkdir volttron_modular
cd volttron_modular
- Since the modular Driver framework has yet to be published on PyPi, we need to clone them to our machine.
Clone the following repos:
git clone https://github.com/VOLTTRON/volttron-lib-base-driver.git
git clone https://github.com/VOLTTRON/volttron-lib-fake.git
git clone https://github.com/VOLTTRON/volttron-platform-driver.git
- Create a virtual environment
python -m venv env
source env/bin/activate
pip install volttron
pip install -e volttron-lib-base-driver
pip install -e volttron-lib-fake
volttron -vv -l volttron.log &
vctl install volttron-platform-driver/ --agent-config volttron-platform-driver/config --tag platform_driver --start
vctl config store platform.driver fake.csv volttron-lib-fake/fake.csv --csv
vctl config store platform.driver devices/campus/building/fake volttron-lib-fake/fake.config