# BACnet Proxy Agent
![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)
![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)
[![Passing?](https://github.com/eclipse-volttron/volttron-bacnet-proxy/actions/workflows/run-tests.yml/badge.svg)](https://github.com/eclipse-volttron/volttron-bacnet-proxy/actions/workflows/run-tests.yml)
[![pypi version](https://img.shields.io/pypi/v/volttron-bacnet-proxy.svg)](https://pypi.org/project/volttron-bacnet-proxy/)
BACnet Proxy is an agent that supports communication and management of BACnet devices.
Communication with a BACnet device on a network happens via a single virtual BACnet device. In the VOLTTRON driver framework,
we use a separate agent specifically for communicating with BACnet devices and managing the virtual BACnet device.
# Requires
* python >= 3.10
* volttron-core >= 2.0.0rc0
* bacpypes == 0.16.7
# Documentation
More detailed documentation can be found on [ReadTheDocs](https://eclipse-volttron.readthedocs.io/en/latest/external-docs/volttron-bacnet-proxy/index.html#bacnet-proxy-agent). The RST source
of the documentation for this component is located in the "docs" directory of this repository.
# Installation
Before installing, VOLTTRON should be installed and running. Its virtual environment should be active.
Information on how to install of the VOLTTRON platform can be found
[here](https://github.com/eclipse-volttron/volttron-core).
Create a configuration file for the BACnet Proxy Agent.
```json
{
"device_address": "10.0.0.101",
"max_apdu_length": 1024,
"object_id": 599,
"object_name": "Volttron BACnet driver",
"vendor_id": 5,
"segmentation_supported": "segmentedBoth"
}
```
ℹ️ **TIP:** The `device_address` field should contain the address bound to the network port over which BACnet communication will happen on the computer running VOLTTRON. This is NOT the address of any target device. See [BACnet Router Addressing](https://eclipse-volttron.readthedocs.io/en/latest/external-docs/volttron-bacnet-proxy_docs_root/docs/source/bacnet-router-addressing.html#bacnet-router-addressing).
Install the BACnet Proxy Agent.
```shell
vctl install volttron-bacnet-proxy --agent-config <path to bacnet proxy config file> \
--vip-identity platform.bacnet_proxy
```
View the status of the installed agent
```shell
vctl status
```
# Development
Please see the following for contributing guidelines [contributing](https://github.com/eclipse-volttron/volttron-core/blob/develop/CONTRIBUTING.md).
Please see the following helpful guide about [developing modular VOLTTRON agents](https://github.com/eclipse-volttron/volttron-core/blob/develop/DEVELOPING_ON_MODULAR.md)
# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/eclipse-volttron/volttron-bacnet-proxy",
"name": "volttron-bacnet-proxy",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "volttron, agent",
"author": "VOLTTRON team",
"author_email": "volttron@pnnl.gov",
"download_url": "https://files.pythonhosted.org/packages/97/80/d2f0367e10bed9053346cb76c941f3e281f5fabf4cf1be5c6a31a85e13ac/volttron_bacnet_proxy-2.0.0rc0.tar.gz",
"platform": null,
"description": "# BACnet Proxy Agent\n\n![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)\n![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)\n[![Passing?](https://github.com/eclipse-volttron/volttron-bacnet-proxy/actions/workflows/run-tests.yml/badge.svg)](https://github.com/eclipse-volttron/volttron-bacnet-proxy/actions/workflows/run-tests.yml)\n[![pypi version](https://img.shields.io/pypi/v/volttron-bacnet-proxy.svg)](https://pypi.org/project/volttron-bacnet-proxy/)\n\nBACnet Proxy is an agent that supports communication and management of BACnet devices.\n\nCommunication with a BACnet device on a network happens via a single virtual BACnet device. In the VOLTTRON driver framework,\nwe use a separate agent specifically for communicating with BACnet devices and managing the virtual BACnet device.\n\n# Requires\n\n* python >= 3.10\n* volttron-core >= 2.0.0rc0\n* bacpypes == 0.16.7\n\n# Documentation\nMore detailed documentation can be found on [ReadTheDocs](https://eclipse-volttron.readthedocs.io/en/latest/external-docs/volttron-bacnet-proxy/index.html#bacnet-proxy-agent). The RST source\nof the documentation for this component is located in the \"docs\" directory of this repository.\n\n# Installation\n\nBefore installing, VOLTTRON should be installed and running. Its virtual environment should be active.\nInformation on how to install of the VOLTTRON platform can be found\n[here](https://github.com/eclipse-volttron/volttron-core).\n\nCreate a configuration file for the BACnet Proxy Agent.\n\n```json\n{\n \"device_address\": \"10.0.0.101\",\n \"max_apdu_length\": 1024,\n \"object_id\": 599,\n \"object_name\": \"Volttron BACnet driver\",\n \"vendor_id\": 5,\n \"segmentation_supported\": \"segmentedBoth\"\n}\n```\n\n \u2139\ufe0f **TIP:** The `device_address` field should contain the address bound to the network port over which BACnet communication will happen on the computer running VOLTTRON. This is NOT the address of any target device. See [BACnet Router Addressing](https://eclipse-volttron.readthedocs.io/en/latest/external-docs/volttron-bacnet-proxy_docs_root/docs/source/bacnet-router-addressing.html#bacnet-router-addressing).\n\nInstall the BACnet Proxy Agent.\n\n```shell\nvctl install volttron-bacnet-proxy --agent-config <path to bacnet proxy config file> \\\n--vip-identity platform.bacnet_proxy\n```\n\nView the status of the installed agent\n\n```shell\nvctl status\n```\n\n# Development\n\nPlease see the following for contributing guidelines [contributing](https://github.com/eclipse-volttron/volttron-core/blob/develop/CONTRIBUTING.md).\n\nPlease see the following helpful guide about [developing modular VOLTTRON agents](https://github.com/eclipse-volttron/volttron-core/blob/develop/DEVELOPING_ON_MODULAR.md)\n\n\n# Disclaimer Notice\n\nThis material was prepared as an account of work sponsored by an agency of the\nUnited States Government. Neither the United States Government nor the United\nStates Department of Energy, nor Battelle, nor any of their employees, nor any\njurisdiction or organization that has cooperated in the development of these\nmaterials, makes any warranty, express or implied, or assumes any legal\nliability or responsibility for the accuracy, completeness, or usefulness or any\ninformation, apparatus, product, software, or process disclosed, or represents\nthat its use would not infringe privately owned rights.\n\nReference herein to any specific commercial product, process, or service by\ntrade name, trademark, manufacturer, or otherwise does not necessarily\nconstitute or imply its endorsement, recommendation, or favoring by the United\nStates Government or any agency thereof, or Battelle Memorial Institute. The\nviews and opinions of authors expressed herein do not necessarily state or\nreflect those of the United States Government or any agency thereof.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "BACnet Proxy is an agent that supports communication and management of BACnet devices.",
"version": "2.0.0rc0",
"project_urls": {
"Homepage": "https://github.com/eclipse-volttron/volttron-bacnet-proxy",
"Repository": "https://github.com/eclipse-volttron/volttron-bacnet-proxy"
},
"split_keywords": [
"volttron",
" agent"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "61d65f065f95034a1ecfd2ef9cb59456041d65176c346e21006e99f3214d2674",
"md5": "4d3ae380a091d99f2f4cc4557ae9a4be",
"sha256": "4de54570ac4d16f719a8b6be8e01bb0749e1e2e0f46fcd3729a4ba20eaa8b38b"
},
"downloads": -1,
"filename": "volttron_bacnet_proxy-2.0.0rc0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4d3ae380a091d99f2f4cc4557ae9a4be",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 16281,
"upload_time": "2024-10-03T21:21:43",
"upload_time_iso_8601": "2024-10-03T21:21:43.723505Z",
"url": "https://files.pythonhosted.org/packages/61/d6/5f065f95034a1ecfd2ef9cb59456041d65176c346e21006e99f3214d2674/volttron_bacnet_proxy-2.0.0rc0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9780d2f0367e10bed9053346cb76c941f3e281f5fabf4cf1be5c6a31a85e13ac",
"md5": "497c3dcb9eb5740a74bbfa8448565d4c",
"sha256": "9d77a87c3f2354bc881c853caf3603a6eb93c0967533985c97c1f700e78b24ca"
},
"downloads": -1,
"filename": "volttron_bacnet_proxy-2.0.0rc0.tar.gz",
"has_sig": false,
"md5_digest": "497c3dcb9eb5740a74bbfa8448565d4c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 16458,
"upload_time": "2024-10-03T21:21:45",
"upload_time_iso_8601": "2024-10-03T21:21:45.232035Z",
"url": "https://files.pythonhosted.org/packages/97/80/d2f0367e10bed9053346cb76c941f3e281f5fabf4cf1be5c6a31a85e13ac/volttron_bacnet_proxy-2.0.0rc0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-03 21:21:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eclipse-volttron",
"github_project": "volttron-bacnet-proxy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "volttron-bacnet-proxy"
}