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.28.tar.gz
(9.9 kB
view details)
File details
Details for the file digimat.bac0-0.0.28.tar.gz
.
File metadata
- Download URL: digimat.bac0-0.0.28.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6c007f69ecc82154bdb3dbed9a9e69847d3d79462d4dab2506a5b2c2d44cd2b |
|
MD5 | db1d84b74b335b4444b616d1f4ddc471 |
|
BLAKE2b-256 | 06125ab5d18d9cd1d47b56d61f5bcd65bd656e76d815b8d41317f6387832306b |