-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bacnet device object and properties are not able to access but able to discover the devices #141
Comments
Please check the updated fork on https://github.com/BiancoRoyal/node-bacstack ... I was able successfully to communicate with the Room Simulator ... I only had trouble when it was running on the same device. |
BACnet is a long running UDP process in most stacks that binds to the adapter. Only one service can bind to 47808 at a time. Linux you can use ifconfig and setup a temporary adapter with IP/SUBNET. 192.168.1.1:47808 -> 192.168.1.2:47807 would be a valid path but not using the same source and destination IP. Basically mimicking the loop back behavior of the local machine at that point. |
Does this mean if I have two separate machine polling from a bacnet device, it will still work? |
Yes you can multiple machines target a device or poll each other. You should always be able to WhoIs your virtual instances as they are required by spec to have a few default fields like Vendor ID. If you want to simulate two devices on a machine you need to setup separate Ethernet interfaces. Something like "sudo ifconfig eth0:1 192.168.1.1/24" would work in Linux. Each instance of the service has to bind to the UDP port. |
This is amazing info, really saved me a lot of time, thank you Scott! |
Hey guys , i too have the same issue, but I am running the nodejs code on Mac, and running the YABE on a virtual machine , on the same network. i am able to run whois. but unable to read values. can you help me on this? |
I am using Yabe bacnet simulator which has both device simulator and explorer. But if I use the bacstack library , I am not able to use the device objects and proeprties. It is discovering the device but not able to load object and properties for usage.
Simulator which I used https://sourceforge.net/projects/yetanotherbacnetexplorer.
But in Yabe device explorer it is working.
Simulator snap:
The error which I am getting:
The nodejs code which I have used:
In the below image it is displaying that it is discovering the devices but it is not able to find objects.
The text was updated successfully, but these errors were encountered: