Skip to main content

BACnet Scripting Framework for testing DDC Controls

Project description

BAC0

Build status Coverage Documentation Status Gitter

BAC0 is an asynchronous Python 3 (3.10 and over) scripting application that uses BACpypes3 to process BACnet™ messages on an IP network. This library provides simple commands to browse a BACnet network, read properties from BACnet devices, and write to them.

Python is a simple language to learn and a very powerful tool for data processing. Coupled with BACnet, it becomes a great tool to test devices and interact with controllers.

BAC0 takes its name from the default IP port used by BACnet/IP communication: port 47808 (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 (block programming, basic scripts, C code, etc.). BAC0 provides a unified Python interface to interact with those controllers once their sequences are built.

BAC0 allows users to easily test an application even if sensors are not connected to the controller. Using the out_of_service property, it's simple to write a value to an input so the controller will behave as if an input is connected.

Quick links

Contributing

See the documentation for development, testing and contribution guidelines.

License

Licensed under LGPLv3. See the LICENSE file in the project root for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bac0-2026.7.25.tar.gz (99.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bac0-2026.7.25-py3-none-any.whl (121.8 kB view details)

Uploaded Python 3

File details

Details for the file bac0-2026.7.25.tar.gz.

File metadata

  • Download URL: bac0-2026.7.25.tar.gz
  • Upload date:
  • Size: 99.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for bac0-2026.7.25.tar.gz
Algorithm Hash digest
SHA256 4a782b0afc9607aeffd6c97ecb90d0f8a20aadb955ff8380e9dad4e01228b137
MD5 a0635e70862bd8241b4efccd9422d4a9
BLAKE2b-256 1c5acebf758e76e06a00b5d0b17486276833aa9879a8184397034ca4eab42374

See more details on using hashes here.

File details

Details for the file bac0-2026.7.25-py3-none-any.whl.

File metadata

  • Download URL: bac0-2026.7.25-py3-none-any.whl
  • Upload date:
  • Size: 121.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for bac0-2026.7.25-py3-none-any.whl
Algorithm Hash digest
SHA256 889e4455e53c875b46ca7c15eb8f199a9f3e7596426155415d08a20a8a20308e
MD5 1709d7706f7f78a0f1004a1dcdbf1cc2
BLAKE2b-256 3afaa9de581ccff3f9dda400c2eab92373f7c70dc8111cc61fee9e7643a6c4c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page