gtfierro / simulated-digital-twin

BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Simulated Digital Twin

Virtual Machine

Easiest thing to do is to run this in a virtual machine. See the virtual-machine directory

IPs to Remember

Setup

Submodule stuff:

git submodule init
git submodule update --init --recursive

This may take a few minutes as the boptest repo is large


Apply patches to boptest-bacnet-proxy:

cd boptest-bacnet-proxy
git apply ../boptest-proxy.patch
cp ../Dockerfile.boptest-proxy Dockerfile
cp ../run.sh .

Apply patches to BOPtest:

cd project1-boptest
git apply ../boptest.patch

Build the containers

make build

Run the containers

make up

Execute commands from the bacnet-cli container

docker exec -it project1-boptest-bacnet-cli-1 python DiscoverDevices.py
docker exec -it project1-boptest-bacnet-cli-1 python ReadAllProperties.py 10.0.0.1 analogValue 63