Hello,
I want to write a simple module, similar as the graphicalviews, in the recent M2M2 version. I am wondering whether there is any example code to quick start the development? Thank you!
Best wishes,
Pine
Hello,
I want to write a simple module, similar as the graphicalviews, in the recent M2M2 version. I am wondering whether there is any example code to quick start the development? Thank you!
Best wishes,
Pine
Hello,
I want to write a simple module, similar as the graphicalviews, in the recent M2M2 version. I am wondering whether there is any example code to quick start the development? Thank you!
Best wishes,
Pine
The "System Settings - Other settings - Purge events older than" option works for my purpose. Thank you!
Hello,
I am wondering whether there is a way to stop all events logging for a period of time? Thank you very much!
Pine
Hello,
I am wondering whether there is a way to stop all events logging for a period of time? Thank you very much!
Pine
Hello,
I am trying the new Mango (core 2.1.3 and BACnet 2.0.3) to discover some BACnet/IP points. I use the MAC address as XXX.XXX.XXX.XXX:47808 and Device instance number. But always got the error: java.net.SocketException: Socket is closed. If I manually input the details of points on this BACnet/IP network, it works fine. But I just could not make the discover working. Could you please help me with this problem? Please let me know if you may need more information about our scenario. Thank you!
Best wishes,
Pine
Hello,
I am trying the new Mango (core 2.1.3 and BACnet 2.0.3) to discover some BACnet/IP points. I use the MAC address as XXX.XXX.XXX.XXX:47808 and Device instance number. But always got the error: java.net.SocketException: Socket is closed. If I manually input the details of points on this BACnet/IP network, it works fine. But I just could not make the discover working. Could you please help me with this problem? Please let me know if you may need more information about our scenario. Thank you!
Best wishes,
Pine
Hi Ray,
I have met a similar problem as we are using a BAS that have ARCNET as the subnet for all devices and then have a BACnet/IP router to talk other IP network. In an older version of Mango (core 2.0.5 and BACnet 1.4.0), we were able to get the BACnet points by specifying the Point details as this:
IP: The IP address of the BACnet/IP router registered on the IP network.
Object instance number: The instance ID of the object (one BACnet point) that you want to communicate with.
Object type: The object type of the object (one BACnet point) that you want to communicate with.
Instance number: The instance ID of the device that directly connects to the points that you want to communicate with.
Network number: The network number of the subnet that is directly connect to the device. Typically an integer.
Network address: The network address of the device in the subnet. Typically an integer.
Giving all these information, we were able to pick up the points on the ARCNET subnet.
Recently we tried a newer version of Mango (core 2.1.2 and BACnet 2.0.3). The terminology of the point configuration has been changed. Now this way still works for us:
Network number: Same as before.
MAC: In our case, it is the Network address number.
Link service IP: Same as the IP as before. But need to add the port number now (e.g., 100.10.10.100:47808)
Device instance number: Same as the Instance number.
Object instance number, object type: Same as before.
Hope this could help you set it up. Thanks!
Hello,
We are using the new version of Mango Automation and have a question related to the BACnet module. When we tried to do the Remote Device Object List discovery, we have to turn off all the existing BACnet data source. Otherwise, there is an error "Address already in use: Cannot bind." Today when I tried to turn on an existing BACnet data source (there are three others turned on already), it also gave me this error "Initialization error: Address already in use: Cannot bind." I am wondering whether it's because there is something we did wrong? Can we configure multiple BACnet data sources to work at the same time? Thank you very much!
Best wishes,
Pine
Hello,
We are using the new version of Mango Automation and have a question related to the BACnet module. When we tried to do the Remote Device Object List discovery, we have to turn off all the existing BACnet data source. Otherwise, there is an error "Address already in use: Cannot bind." Today when I tried to turn on an existing BACnet data source (there are three others turned on already), it also gave me this error "Initialization error: Address already in use: Cannot bind." I am wondering whether it's because there is something we did wrong? Can we configure multiple BACnet data sources to work at the same time? Thank you very much!
Best wishes,
Pine
Just found that the latest version of BACnet4J works well for this problem :)
Sorry for spamming!
Just to add some more information: I can use BACnet4J to access some devices and for these devices, when I receive the I-AM message, it is "Original-Unicast-NPDU" message in the "BACnet Virtual Link Control" part. For the devices which I can't access, the message is "Forwarded-NPDU" and there is an IP address there. I think this might be the reason that I get the error message.
Did you set the network number for the port in VTS? I met the problem before that if you don't have the network number, VTS won't reply any message...
Hello,
I am facing a strange question. I am trying to use the BACnet4J to access a device with a list of objects such as Analog Input and output. I am able to receive the I-AM message from the device so that I can create RemoteDevice for it. However, I can't access its properties and objects and always get the error message in Wireshark: "Reject-Message-To-Network: Reject reason: 1(The router is not directly connected to DNET and ...)". I can do it using BACnet Stack.
My IP is A.B.73.178. I compared the messages in Wireshark and found that using BACnet Stack, I will firstly receive an I-AM message from a router (A.B.73.240) which is inside my subnet. In this message, the "BACnet Virtual Link Control" part shows that the IP of the actual device I am asking for is "C.D.100.42". If I use BACnet Stack, it will directly send a "read property" message to this IP address and receive the result from it. However, if I use BACnet4J, the program will send a message to my router "A.B.73.240" and then my router will send back that error message I mentioned in the previous paragraph. Is there anything I did wrong which results in this problem? Thank you very much!
Hello,
I am facing a strange question. I am trying to use the BACnet4J to access a device with a list of objects such as Analog Input and output. I am able to receive the I-AM message from the device so that I can create RemoteDevice for it. However, I can't access its properties and objects and always get the error message in Wireshark: "Reject-Message-To-Network: Reject reason: 1(The router is not directly connected to DNET and ...)". I can do it using BACnet Stack.
My IP is A.B.73.178. I compared the messages in Wireshark and found that using BACnet Stack, I will firstly receive an I-AM message from a router (A.B.73.240) which is inside my subnet. In this message, the "BACnet Virtual Link Control" part shows that the IP of the actual device I am asking for is "C.D.100.42". If I use BACnet Stack, it will directly send a "read property" message to this IP address and receive the result from it. However, if I use BACnet4J, the program will send a message to my router "A.B.73.240" and then my router will send back that error message I mentioned in the previous paragraph. Is there anything I did wrong which results in this problem? Thank you very much!
Thanks for the reply. My question is how to setup the VTS IP port since there is no Internet connect... I guess maybe the question should not be in this forum but any chance you know the answer? Thanks a lot!
Hello,
I am wondering whether there is any way that I can simulate BACnet objects in VTS and access them using BACnet4J (VTS and BACnet4J are on the same computer) without Internet connection? Thank you very much!
Hello,
I am wondering whether there is any way that I can simulate BACnet objects in VTS and access them using BACnet4J (VTS and BACnet4J are on the same computer) without Internet connection? Thank you very much!
Thanks a lot! I looked at the Mango M2M code and found that I can get the list of object id by read the Propertyidentifier.objectList. It works well for me now. Thank you!
// Get the device's object list.
List<ObjectIdentifier> oids = ((SequenceOf<ObjectIdentifier>) localDevice.sendReadPropertyAllowNull(d, d
.getObjectIdentifier(), PropertyIdentifier.objectList)).getValues();
Hello,
I have a question about how to get all objects in the remote device? I used the WHOIS message to get the remote device but the objects attribute is always empty. I am able to read the present value of the objects (analog input) on that remote device. Could you please let me know is there anyway I can do to get the list of objects in the remote device? Thank you very much!