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
Release history Release notifications | RSS feed
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.22.tar.gz
(6.7 kB
view details)
File details
Details for the file digimat.bac0-0.0.22.tar.gz
.
File metadata
- Download URL: digimat.bac0-0.0.22.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 967a5e0f79f2aaf0c142707ad86a7c7185f1da52f1ce79e0a5b7ad0070d3ee4e |
|
MD5 | 1bb5620cc118a97e2a481957dcff886f |
|
BLAKE2b-256 | 419639dd90c6aaba519eefab8c8ce1077b53285bc693e4031c0f5be4648622d4 |