Skip to content

lazlop/simulated-digital-twin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • 10.0.0.1: the device hosting the BACnet objects for the simulation
  • 10.0.0.7: the device hosting the BACnet-boptest proxy
  • 10.0.0.8: the device hosting the BACnet cli

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Modelica 87.1%
  • Python 9.3%
  • Motoko 3.2%
  • Other 0.4%