117 questions
0
votes
0
answers
46
views
BACnet/SC - TLS 1.3 “Alert: Close Notify” sent by node right after WebSocket upgrade — what does it indicate and how can I keep the session open?
Situation
I am bringing up a BACnet/SC testbed:
Role
Host
SW / FW
IP & Port
Hub
Windows 10 laptop
bacnet-sc-reference-stack (Java)
192.168.20.27:4443
Node
Azbil field controller (DEVICE_NO37)
...
0
votes
1
answer
108
views
How to use BAC0 to read from Bacnet.Room.Simulator
I installed Yabe (Yet Another BACnet Simulator) and Room.Control.Simulator with that. Now I want to write a Python program to read the temperature values. This is the first step to better understand ...
0
votes
1
answer
52
views
Unable to Discover BACnet Devices After Binding Android App to Specific Network Interface (Ethernet/Wi-Fi)
` I’m developing an Android app that intended to use Ethernet to discover BACnet devices on the local network, while Wi-Fi is used for general internet connectivity. The device has both Ethernet ...
0
votes
1
answer
33
views
Bacnet4j: Unsubscriptions don't work after reset of container
For a project in Java, I use the com.serotonin.bacnet4j library
I want to unsubscribe all activeCovSubscriptions during initialization.
For that, I first get the list of all activeCovSubscriptions and ...
0
votes
0
answers
32
views
connecting to bacnet simulator device but timing out by read properties
Hi I am connecting to a bacnet simulator device of yabe in my local pc that is 192.168.1.9.
the code gets to the listener of WhoIs with my device.
from this point any request is timing out.
the same ...
0
votes
2
answers
170
views
Reading and writing values from devices with BACnet4J 6.0.1
I am new to BACnet4J. I am trying to read and write values as a client using BACnet4J 6.0.1 . I have tried 2 test servers. With the test server from https://sourceforge.net/projects/bacnetserver/ I ...
1
vote
1
answer
210
views
BAC0: "RuntimeError: no running event loop" when connecting to a foreign device
I am trying to connect to a BACnet foreign device using the BAC0 Python library. Below is my script:
import BAC0
print(BAC0.version)
bbmdIP = '10.x.y.z:47808' # Replace with actual IP
bbmdTTL = 900
...
0
votes
1
answer
328
views
How to write data into binaryOutput object of a BACnet device using System.IO.Bacnet library in C#
bacnetClient.Start();
BacnetAddress deviceAddress = new BacnetAddress(BacnetAddressTypes.IP, "10.20.30.250:47808");
BacnetObjectId objectId = new BacnetObjectId(BacnetObjectTypes....
0
votes
0
answers
44
views
Backup and Restore Procedures for BACnet Secure Connect
How should the Backup and Restore procedure for BACnet Secure Connect be handled? Our IUT does not back up the certificates/keys used for BACnet Secure Connect. The reason is that copying or moving ...
0
votes
0
answers
224
views
Bacnet Bac0 issue while reading device from outside network
I am using library ( and bacnet ) first time, so maybe I am doing it totally wrong but I have situation that in some local network under IP: 192.168.1.215 there is some Eclypse ECY-Tu203-96B019, and I ...
0
votes
1
answer
404
views
BAC0/Bacpypes in Python 3.x - Implementing positiveIntegerValueObject
I'm new-ish to Python, and in working with the BAC0 and Bacpypes Python libraries, I've noticed that not all BACnet object types are fully implemented by default, or if they are, their usage escapes ...
0
votes
0
answers
196
views
compile Python code to WebAssembly for non-web environments
I'm currently exploring if I can use a Python-based BACnet stack due to its reliability and effectiveness in conjunction with the possibility of leveraging Rust for its WebAssembly (WASM) capabilities,...
0
votes
1
answer
413
views
How to read multiple objects (not properties) at once using .Net Bacnet library
I am experimenting the usage flexibility of BACnet .NET Library hosted in this GitHub repo, now that I checked the example codes and tried the following function which is working perfectly to read ...
0
votes
2
answers
1k
views
Why am I getting the error that BAC0 has no attribute 'connect'
I am getting started with trying to retrieve information from BACnet/IP devices. I found out that the BAC0 module in python can be used for this. These 3 lines should return information but instead, ...
1
vote
2
answers
2k
views
connect to Bacnet device with java using bacnet4j
I am trying to write simple code to read a simulator yabe device in my Java code.
I can read the device with yab (a bacnet explorer free app)
I am missing something I cant get what
String ...
1
vote
1
answer
527
views
Is there a guidline for Scripting for ScadaLTS?
I have been using the relase version SCADA-LTS v2.6.18 for since a year. In most cases for Modbus TCP and BACnet TCP, to collect data for the trend logs.
Now I want do send an action from the "...
2
votes
3
answers
2k
views
How to interface with a BACnet internetwork in python?
I have a BACnet network that creates virtual devices behind a single static IP (192.168.2.100). The devices are published behind that IP on the BAC0 47808 port. I use the YABE client and can see both ...
2
votes
1
answer
470
views
BACnet server as a docker application
On the Python BACnet stack bacpypes there is simple examples on how to make a BACnet server, like this mini_device.py on the git repo.
The BACpypes applications require a .ini file like a config file ...
0
votes
0
answers
204
views
"Trend log Object" in BACnet Protocol
How to read or Display the Trend log Object's properties Value by using the BAC0 library in BACnet protocol ? if anyone know better information, Share proper explanation with good example
I tried with ...
0
votes
1
answer
233
views
Is it intended that a BAC0 COV pings every 5 seconds even when there's no change?
I'm using BAC0.lite(port=XXXXX, deviceId=YYY) to create a mock BACnet device on my network, including a few objects. As far as I can tell the specifics of the device don't relate to the observed ...
-1
votes
1
answer
109
views
VOLTTRON BACnet proxy on different port other than 47808
Is it possible setup the BACnet Proxy Agent to scrape BACnet devices on a different UDP Port other than the typical 47808 which is default for BACnet?
This is the VOLTTRON BACnet Proxy Agent config ...
0
votes
2
answers
197
views
How to handle BACnet/SC Certificate expiry in BACnet devices
I need help with implementing an alarm/event to notify when a certificate in BACnet secure connect links is going to expire within the next 90 days.
Should I use event notifications or directly use ...
1
vote
1
answer
64
views
Using bacnet stm32f10x routines, how to add MSTP_Slave_Node_FSM (I want to use automac
I checked dlmstp.c in /port/stm32f10x and found that only master has no slave, because I need automac but there is no MSTP_Slave_Node_FSM in the process, what should I do.
I use device A (master) to ...
0
votes
0
answers
144
views
Is there any way to test bacnet using IPv6 with node
Has anyone used node to test bacnet over ipv6. I'm able to use node-bacnet to verify it via IPv4 with no issues but it does not seem to handle IPv6.
I don't see any other packages that will work with ...
0
votes
0
answers
309
views
BAC0 Lite not able to read from MS/TP controller
I am using the following code to read from the regular controller having ip address and it works fine but when I provide the address of MS/TP controller in notation net:mac the error thrown
Traceback ...
0
votes
1
answer
729
views
bacnet inside docker container
I want to run my bacnet application in a docker launched with docker compose. The host machine is on the bacnet network. I would like to be able to discover the bacnet network in my application.
My ...
0
votes
2
answers
308
views
Getting a NullReference Exception when trying to read Analog Input from a BACNET Device using BACNET MSTP with C# - any suggestions?
Communicating with BACNET device using C# BACNET MSTP, but throw Null error exception when reading the analog input value.
Hi Everyone, I'm new to the commuity and I'm not very familiar with the C# in ...
-1
votes
1
answer
435
views
How to parse bacnet protocol
I cannot understand the bacnet protocol. I tried to read the official documentation, but I cannot understand the definition of data. The corresponding keyword for the request for the specified service ...
0
votes
0
answers
232
views
Bacnet MSTP frame header CRC checksum failure
let me first explain my scenario. I compiled the source code into a dynamic library and wrote a client program that calls the dynamic library and periodically sends requests to read server properties.
...
0
votes
2
answers
280
views
Problems communicating with MS/TP using the bacnet-stack-1.0.0 apps example
I use the server example in apps to simulate BACNET MS/TP SERVER, by modifying the environment variable to set the baud rate 38400, MAC address 0x78.
The operation effect is as follows:
/var/user/app/...
0
votes
1
answer
1k
views
Reading value from Real BACnet Device on using BAC0
I was trying to use BAC0 package in python 3 to get value from BACnet device available in BACnet network.
import BAC0
bacnet = BAC0.lite(ip='192.168.5.10/24' ,port=47809)
value = bacnet.read("...
0
votes
1
answer
342
views
pyTest for UDP protocol scripts
Would anyone have a pyTest tip if its possible to use with a Python BACnet library called BAC0? I have never used pyTest before just curious if there would be any boiler plate scripts and if my ...
0
votes
1
answer
1k
views
Yabe on Linux unable to locate bacnet device
I have a Win11 laptop and I installed Yabe and was easily able to explore bacnet objects on my home thermostat. I'm trying to duplicate this on a Linux Laptop. My issue is that Yabe is not finding ...
1
vote
2
answers
734
views
Simple BACnet implementation for PIC Microcontroller
I am designing a Fire Alarm System. Main Panel will act as Master. Manual
Call Point Units will act as Slaves.Hence there will be
only one Master. I want to use RS485. I am not using TCP/IP Data link. ...
0
votes
3
answers
2k
views
Cannot Find BACnet Device
I am quite new to the BACnet protocole but I am facing some troubles finding a device on a network.
Basically, I have a setup on a network 128.10.100.XXX/24 where I have multiple devices, as my nmap ...
0
votes
2
answers
4k
views
How to use BAC0 read value in Python?
I was trying to use BAC0 to get values of multiple points in BACnet system, I tried all the Posters and Getting starts, but no one works....
I can get value from BACnet tools which means the ...
0
votes
0
answers
276
views
Not found how to start implementation of BACNet device
I'm working on a custom Linux BACNet compatible device. I've stopped my search on BACNet Stack.
I've been able to build from the latest version on github, also been able to test both readprop and ...
0
votes
1
answer
847
views
how to receive data from bacnet in nodejs
i am trying to connect to a bacnet network using nodejs.
am able to update the date using the code
const bacnet = require('node-bacnet');
const client = new bacnet();
client.timeSync('192....
0
votes
0
answers
49
views
non blocking plot on wxglade python gui
I am trying to create a tool where you can create a temperature measurement via BACnet. I would like to plot the measured values during the measurement. Unfortunately the GUI blocks and the measured ...
0
votes
1
answer
152
views
strange runtimes when implementing a sleep function using BAC0
I'm trying to create a tool, where you can log data from a specific BACnet object, by using BAC0:
https://bac0.readthedocs.io/en/latest/
https://buildmedia.readthedocs.org/media/pdf/bac0/latest/bac0....
0
votes
0
answers
271
views
non-blocking data polling with BACnet and GUI using BAC0
I'm trying to make a tool where i can poll data from BACnet in a certain interval (e.g. 100ms, 250ms, 500ms, 1s etc.). If I use a while loop with no timer, i get an answer from BACnet every 40-60ms:
...
0
votes
1
answer
1k
views
Is there a way to have BACNet MS/TP devices in a BACNet/IP situation?
I have a raspberry pi using BACpypes for python, acting as a VLAN router to a bunch of radio slave devices. (I am actually using something very similar to https://github.com/JoelBender/bacpypes/blob/...
0
votes
1
answer
313
views
How to set BAC0 to set weekly schedule
I tried BAC0 for reading and writing BACnet data, I was following the BAC0 Document for performing various functions...
I am able to read weekly schedule using read function i.e
bacnet....
0
votes
2
answers
634
views
System.IO.BACnet - send ReadPropertyMultiple without specifying BacnetPropertyReference->propertyArrayIndex
I am using System.IO.BACnet library for my C# BACNet client.
I am trying to send to server "ReadPropertyMultiple" request, however I am unable to read non-array BACNet properties, since the ...
0
votes
2
answers
204
views
Collecting multiple sensor values from same Bacnet controller
I have managed to setup both BACnet and MQTT connectors and produce a data flow to both MQTT and dashboard.
However I am unsure of the exact syntax I need to use in my bacnet.json for pulling multiple ...
0
votes
0
answers
1k
views
Cannot read point values from BACnet device
I am trying to read values from my BACnet device. I followed the example Error reading point values from BACnet device.
However, I get the following output:
2021-12-06 17:10:27,718 - INFO | BAC0 ...
0
votes
1
answer
6k
views
Yabe detects BACnet device but BAC0.connect does not
I am trying to connect to my BACnet device using BAC0. Yabe is able to detect the BACnet device. However when I try to connect to the device via BAC0.connect(network IP) followed by BAC0.device(device ...
1
vote
1
answer
242
views
BACnet or KNX comparison with RabbitMQ or Kafka
I would like to see how BACnet and KNX functionalities in a lighting control system can be comparable with a lighting control system created using Kafka or RabbitMQ frameworks. I want to find the pro ...
0
votes
3
answers
3k
views
Read Properties of devices on a BACNET IP router
I'm having issues reading properties from devices on a BACNET IP router. For this I'm using .net library https://github.com/ela-compil/BACnet
If I'm interacting with multiple devices, each with its ...
0
votes
0
answers
3k
views
How to integrate Bacnet into arduino
I am trying to integrate bacnet protocol into arduino uno.I tried to add the libraries here https://github.com/bacnet-stack/bacnet-stack/tree/master/ports/arduino_uno. I tried compiling with programs ...