Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated boptest bacnet proxy #2

Open
epaulson opened this issue Dec 22, 2022 · 1 comment
Open

updated boptest bacnet proxy #2

epaulson opened this issue Dec 22, 2022 · 1 comment

Comments

@epaulson
Copy link

I updated the bacnet proxy to use the 0.3.0 boptest API. You should be able to drop most of your changes in the patch to BopTestProxy. You can now give the boptest URL as a commandline option.

The bacpypes.ini file will still need to be to be patched, bacpypes can't take its IP address through a commandline argument or env variable, it's got to be in the .ini file. (Same with the object identifier).

BACpypes can take a commandline argument of where to find the .ini file, though - so maybe it'd be better if the docker-compose setup could at least the object identifier as a commandline/env variable and then maybe a script could write out a .ini file in the container and pass that as a commandline argument to BopTestProxy.

@gtfierro
Copy link
Owner

Thanks! I have updated the repo -- the one fix is the global declaration at https://github.com/epaulson/boptest-bacnet-proxy/blob/main/BopTestProxy.py#L235 needs to be updated so that baseurl is also considered a global variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants