-
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
Using with MSTP Router #140
Comments
See #48 , I have a fork that does this but its not well tested nor fully complete. Needs proper tests & vetting of all the services before its up to spec with the rest of this repo for a PR. |
@NateZimmer I had a look at your fork, even tried using it before posting this issue. But I think I was doing something wrong with the |
@NateZimmer this is my bacnet router's configuration: What should be my settings? I see the devices do have unique instance ids across the network, but the properties inside the devices have unique instance ids only under that device, and not across the whole network. So far I have been able to read only the properties on the router device. |
Hey @dushyantbangal, first you should use that fork and perform a who-is on the same subnet as that router. If you have MSTP devices on that router & the router is functioning properly, you should get a response back from the router with those devices. client.whoIs({'address':{'net':0xFFFF,'ip':'xxx.xxx.xxx.255'}}); Device iAM responses from the router should have a You can then read objects from those devices like so: client.readProperty( {'ip':'192.168.1.166','net':2000,'adr':[9]} , {type: 8, instance: 532663}, 85, (err, value) => {
console.log('value: ', value);
}); |
Great! But for some weird reason, on Ubuntu Virtual Box inside Windows, I was not getting any response on who-is. I was getting response to readProperty, on the router properties and other direct BACnet IP devices. While on Windows, I was just getting responses for who-is and nothing on readProperty. I'll have to try it again once I get access to the network. |
In this a little late. I am able to get the read request working through the router, but am unable to get the write properties to work. I am defining it exactly as in the read requests, but no luck. I can write to the values in the router just fine, just not the controller on the other side. Any ideas? |
@RBrothersBSI use wireshark to capture the who-is responses from the router as well as the write property request being sent to the router. Wireshark can help verify if the packet is being formatted correctly as well as a clue as to what might be going wrong. |
These changes should also be incorporated int https://github.com/BiancoRoyal/node-bacstack, please try this package and open issues at https://github.com/BiancoRoyal/node-bacstack/issues if it does not work as expected |
@mwitt1337 Can you please try the fork https://github.com/BiancoRoyal/node-bacstack !? |
Can you please show your code? (And when you use a fork then maybe better continuing in an issue there) |
I will open an issues under the fork https://github.com/BiancoRoyal/node-bacstack |
Node Version:
8
Node BACstack Version:
"0.0.1-beta.13"
Note: Make sure you have read the FAQs
before logging this issue.
Feature Request / Question
I have a bacnet router that is connecting MSTP to IP.
Is it possible to read the data from the devices under it? I am able to read the properties of the router, but not the devices under it.
I am able to read the data from YABE
The text was updated successfully, but these errors were encountered: