Skip to main content

Digimat BACnet BAC0 Wrapper

Project description

This is a Python 3 module basically providing a wrapper around the BAC0 module allowing to access and browse BACnet/IP networks.

>>> from digimat.bac0 import BAC
>>> bacnet=BAC('192.168.0.84/24')

Congratulations ! You just have launched a BACnet/IP node binded to your LAN card. If needed you can specify a BBDM router like this

>>> bacnet=BAC('192.168.0.84/24', router='192.168.2.1')

Now you can start discovering the network

>>> bacnet.whois()      # return a list of devices detected on the network
>>> device=bacnet.declareDevice(deviceId, deviceIp)  # this is how to declare manually a device
>>> bacnet.dump()
>>> device.dump()

Accessing devices points

>>> points=device.points
>>> points.dump()
>>> point=points[56]
>>> point=points['pointname']
>>> point.dump()

And so on…

This module provides class BAC(), BACPoints(), BACPoint() This doc is a minimal draft. Good luck.

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

digimat.bac0-0.0.25.tar.gz (9.0 kB view details)

Uploaded Source

File details

Details for the file digimat.bac0-0.0.25.tar.gz.

File metadata

  • Download URL: digimat.bac0-0.0.25.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.17

File hashes

Hashes for digimat.bac0-0.0.25.tar.gz
Algorithm Hash digest
SHA256 74563704f9f4b35a24b4bbeaae1fe59fe79a4f3a7cfc373bf321f4d446d1d7b9
MD5 8625d4af905a9cd0649b3c1b2e53a5db
BLAKE2b-256 78e77c140d4c116dfe74fe2d891330d1201c875957a836e2028a4db2b661ae3a

See more details on using hashes here.

Supported by

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