Name | BAC0 JSON |
Version |
2024.9.20
JSON |
| download |
home_page | None |
Summary | BACnet Scripting Framework for testing DDC Controls |
upload_time | 2024-09-20 17:52:03 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | None |
keywords |
bacnet
building
automation
test
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# BAC0 [![Build & Test](https://github.com/ChristianTremblay/BAC0/actions/workflows/test.yml/badge.svg)](https://github.com/ChristianTremblay/BAC0/actions/workflows/test.yml) ![Coverage](https://coveralls.io/repos/github/ChristianTremblay/BAC0/badge.svg?branch=main) [![Documentation Status](https://readthedocs.org/projects/bac0/badge/?version=stable)](https://bac0.readthedocs.io/en/stable/?badge=stable)
[![Join the chat at https://gitter.im/ChristianTremblay/BAC0](https://badges.gitter.im/ChristianTremblay/BAC0.svg)](https://gitter.im/ChristianTremblay/BAC0?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
BAC0 is a asynchronous Python 3 (3.10 and over) scripting application that uses [BACpypes3](https://github.com/JoelBender/BACpypes3) to process BACnetâ„¢ messages on a IP network. This library brings out simple commands to browse a BACnet network, read properties from BACnet devices or write to them.
Python is a simple language to learn and a very powerful tool for data processing. Coupled to BACnet, it becomes a great tool to test devices an interact with controllers.
BAC0 takes its name from the default IP port used by BACnet/IP communication which is port 47808. In hexadecimal, it's written 0xBAC0.
## Test driven development (TDD) for DDC controls
BAC0 is made for building automation system (BAS) programmers. Controllers used in this field are commonly called DDC Controllers (Direct Digital Control).
Typical controllers can be programmed in different ways, depending on the manufacturer selling them (block programming, basic "kinda" scripts, C code, etc...). BAC0, is a unified way, using Python language and BACnet/IP communication, to interact with those controllers once their sequence is built.
BAC0 allows users to simply test an application even if sensors are not connected to the controller. Using the out_of_service property, it's easy to write a value to the input so the controller will think an input is connected.
It's also possible to do "manual commands" on output (often called overrides). In fact, every variable is exposed and seen by BAC0 and it's possible to interact with them using a simple scripting language or a complete unit test suite (like Pytest).
Without a program like BAC0, you can rely on your DDC programming tool... but it is often slow and every test must be done manually. That means also that if you want to repeat the tests, the more complicated they are, the less chance you'll be able to do so.
Now you can write your test and run them as often as you want. We'll show you how it works.
## Better start-up with data acquisition
As you will discover, when you define a controller in BAC0, you will get access to historical data of every variables in the controllers. Every points are trended every 10 seconds by default. Which means that you can do data analysis on everything while you're doing your startup. It allows to see performances and trouble really fast.
This make BAC0 not only a good tool to test your sequence while your in the office. But also a really good tool to assist your startup, test and balancing. Using Jupyter Notebook, you'll even be able to create nice looking report right from your code.
## InfluxDB native support
Connect BAC0 histories directly to a [InfluxDB](https://www.influxdata.com) v2.0 instance. It's then possible to use [Grafana](https://grafana.com) to explore your data.
> **Note:** BACnetâ„¢ is a trademark of ASHRAE.
Raw data
{
"_id": null,
"home_page": null,
"name": "BAC0",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "bacnet, building, automation, test",
"author": null,
"author_email": "Christian Tremblay <christian.tremblay@servisys.com>",
"download_url": "https://files.pythonhosted.org/packages/76/93/d741aacbf241e1a221737555b9276bebf06b73bc7a9e9049d6da37f1fa85/bac0-2024.9.20.tar.gz",
"platform": null,
"description": "# BAC0 [![Build & Test](https://github.com/ChristianTremblay/BAC0/actions/workflows/test.yml/badge.svg)](https://github.com/ChristianTremblay/BAC0/actions/workflows/test.yml) ![Coverage](https://coveralls.io/repos/github/ChristianTremblay/BAC0/badge.svg?branch=main) [![Documentation Status](https://readthedocs.org/projects/bac0/badge/?version=stable)](https://bac0.readthedocs.io/en/stable/?badge=stable)\n\n[![Join the chat at https://gitter.im/ChristianTremblay/BAC0](https://badges.gitter.im/ChristianTremblay/BAC0.svg)](https://gitter.im/ChristianTremblay/BAC0?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\nBAC0 is a asynchronous Python 3 (3.10 and over) scripting application that uses [BACpypes3](https://github.com/JoelBender/BACpypes3) to process BACnet\u2122 messages on a IP network. This library brings out simple commands to browse a BACnet network, read properties from BACnet devices or write to them.\n\nPython is a simple language to learn and a very powerful tool for data processing. Coupled to BACnet, it becomes a great tool to test devices an interact with controllers.\n\nBAC0 takes its name from the default IP port used by BACnet/IP communication which is port 47808. In hexadecimal, it's written 0xBAC0.\n\n## Test driven development (TDD) for DDC controls\n\nBAC0 is made for building automation system (BAS) programmers. Controllers used in this field are commonly called DDC Controllers (Direct Digital Control).\n\nTypical controllers can be programmed in different ways, depending on the manufacturer selling them (block programming, basic \"kinda\" scripts, C code, etc...). BAC0, is a unified way, using Python language and BACnet/IP communication, to interact with those controllers once their sequence is built.\n\nBAC0 allows users to simply test an application even if sensors are not connected to the controller. Using the out_of_service property, it's easy to write a value to the input so the controller will think an input is connected.\n\nIt's also possible to do \"manual commands\" on output (often called overrides). In fact, every variable is exposed and seen by BAC0 and it's possible to interact with them using a simple scripting language or a complete unit test suite (like Pytest).\n\nWithout a program like BAC0, you can rely on your DDC programming tool... but it is often slow and every test must be done manually. That means also that if you want to repeat the tests, the more complicated they are, the less chance you'll be able to do so.\n\nNow you can write your test and run them as often as you want. We'll show you how it works.\n\n## Better start-up with data acquisition\n\nAs you will discover, when you define a controller in BAC0, you will get access to historical data of every variables in the controllers. Every points are trended every 10 seconds by default. Which means that you can do data analysis on everything while you're doing your startup. It allows to see performances and trouble really fast.\n\nThis make BAC0 not only a good tool to test your sequence while your in the office. But also a really good tool to assist your startup, test and balancing. Using Jupyter Notebook, you'll even be able to create nice looking report right from your code.\n\n## InfluxDB native support\n\nConnect BAC0 histories directly to a [InfluxDB](https://www.influxdata.com) v2.0 instance. It's then possible to use [Grafana](https://grafana.com) to explore your data.\n\n> **Note:** BACnet\u2122 is a trademark of ASHRAE.\n",
"bugtrack_url": null,
"license": null,
"summary": "BACnet Scripting Framework for testing DDC Controls",
"version": "2024.9.20",
"project_urls": {
"Homepage": "https://github.com/ChristianTremblay/BAC0"
},
"split_keywords": [
"bacnet",
" building",
" automation",
" test"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a31e737e8251e086f79fd89192fd26de2b725c4d53b56c04546f4eff33155e17",
"md5": "4450c616316b03551c15da6f6c586c71",
"sha256": "74e030db63249a8e84f50f62e69f5037234e025889b0695e634422f58117516b"
},
"downloads": -1,
"filename": "BAC0-2024.9.20-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4450c616316b03551c15da6f6c586c71",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 113656,
"upload_time": "2024-09-20T17:52:01",
"upload_time_iso_8601": "2024-09-20T17:52:01.747710Z",
"url": "https://files.pythonhosted.org/packages/a3/1e/737e8251e086f79fd89192fd26de2b725c4d53b56c04546f4eff33155e17/BAC0-2024.9.20-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7693d741aacbf241e1a221737555b9276bebf06b73bc7a9e9049d6da37f1fa85",
"md5": "ee25e87fb4c1f576d5ae7726ac8e0983",
"sha256": "21a27280f0d4903125320d0297bb83e0c24ac2b1da84dc94f8ff1bc5c157e210"
},
"downloads": -1,
"filename": "bac0-2024.9.20.tar.gz",
"has_sig": false,
"md5_digest": "ee25e87fb4c1f576d5ae7726ac8e0983",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 92802,
"upload_time": "2024-09-20T17:52:03",
"upload_time_iso_8601": "2024-09-20T17:52:03.136928Z",
"url": "https://files.pythonhosted.org/packages/76/93/d741aacbf241e1a221737555b9276bebf06b73bc7a9e9049d6da37f1fa85/bac0-2024.9.20.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-20 17:52:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ChristianTremblay",
"github_project": "BAC0",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "bac0"
}