Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

  • BACNet explorer

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Can't read WhoIs?

    6
    0 Votes
    6 Posts
    3k Views
    phildunlapP
    Looks like there's nothing there. I'll send you an email.
  • Read Objects and Properties from BACnet interface

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Need help to connect to BACnet Interface using Node red

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Examples in "src_test/com/serotonin/bacnet4j/test" cannot compile

    5
    0 Votes
    5 Posts
    3k Views
    L
    @leon said in Examples in "src_test/com/serotonin/bacnet4j/test" cannot compile: /src_test/com/serotonin/bacnet4j/test/" Thanks for the confirmation. So it seems like the sample files in the project are indeed not yet updated. If anyone has updated versions of these sample files and could share them it would be most appreciated!
  • BACNet Client Implementation.

    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • Reading BACnet local time and date

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to get current device time?

    4
    0 Votes
    4 Posts
    4k Views
    B
    @joolz said in How to get current device time?: For a device object, you can read the Local_Date and Local_Time properties. Is there some kind of LocalDevice/ RemoteDevice method do this ? It is no easy to find.
  • Set present value to int of hex values

    2
    0 Votes
    2 Posts
    2k Views
    phildunlapP
    Hi Michele, I am not an expect on the BACnet4J code, but I do try to dabble and help people a little when I can. But, I think you cannot have an UnsignedInteger for a object with the type of AnalogInput. Looking in ObjectProperties suggests the following support a presentValue property set to the UnsignedInteger type: ObjectType. accumulator command multiStateInput multiStateOutput multiStateValue positiveIntegerValue So it sounds to me like you may be looking for, systemStatus1 = new BACnetObject(localDevice, localDevice.getNextInstanceObjectIdentifier(ObjectType.positiveIntegerValue)); systemStatus1.setProperty(PropertyIdentifier.objectName, new CharacterString("System status group 1")); systemStatus1.setProperty(PropertyIdentifier.units, EngineeringUnits.noUnits); systemStatus1.setProperty(PropertyIdentifier.presentValue, new UnsignedInteger(65535)); localDevice.addObject(systemStatus1);
  • BTL Certification

    2
    0 Votes
    2 Posts
    2k Views
    JoelHaggarJ
    There is no requirement to get your application certified but in some cases a customer might require a BTL certification.
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • "Hello World" BACNet device

    7
    0 Votes
    7 Posts
    6k Views
    S
    Thank you, will try this. Have moved forward with my project (simulation of offices/SCADA/ICS systems) but parked the BACnet connection, will work it into the backlog.
  • Example of UnconfirmedCovNotificationRequest

    2
    0 Votes
    2 Posts
    2k Views
    M
    Hello All, Today I updated my program as below. I'm able to run this program without any exception. But, it never received even a single cov notification for hours. Any idea/help/support is much appreciated ! Thank you very much. Manoj import java.net.InetSocketAddress; import com.serotonin.bacnet4j.LocalDevice; import com.serotonin.bacnet4j.RemoteDevice; import com.serotonin.bacnet4j.RemoteObject; import com.serotonin.bacnet4j.event.DeviceEventListener; import com.serotonin.bacnet4j.npdu.ip.IpNetwork; import com.serotonin.bacnet4j.obj.BACnetObject; import com.serotonin.bacnet4j.service.confirmed.ReinitializeDeviceRequest.ReinitializedStateOfDevice; import com.serotonin.bacnet4j.service.unconfirmed.UnconfirmedCovNotificationRequest; import com.serotonin.bacnet4j.transport.DefaultTransport; import com.serotonin.bacnet4j.transport.Transport; import com.serotonin.bacnet4j.type.constructed.Address; import com.serotonin.bacnet4j.type.constructed.Choice; import com.serotonin.bacnet4j.type.constructed.DateTime; import com.serotonin.bacnet4j.type.constructed.PropertyValue; import com.serotonin.bacnet4j.type.constructed.Sequence; import com.serotonin.bacnet4j.type.constructed.SequenceOf; import com.serotonin.bacnet4j.type.constructed.TimeStamp; import com.serotonin.bacnet4j.type.enumerated.EventState; import com.serotonin.bacnet4j.type.enumerated.EventType; import com.serotonin.bacnet4j.type.enumerated.MessagePriority; import com.serotonin.bacnet4j.type.enumerated.NotifyType; import com.serotonin.bacnet4j.type.enumerated.ObjectType; import com.serotonin.bacnet4j.type.notificationParameters.NotificationParameters; import com.serotonin.bacnet4j.type.primitive.Boolean; import com.serotonin.bacnet4j.type.primitive.CharacterString; import com.serotonin.bacnet4j.type.primitive.ObjectIdentifier; import com.serotonin.bacnet4j.type.primitive.UnsignedInteger; import com.serotonin.bacnet4j.util.DiscoveryUtils; public class UnconfirmedCovTest { public static void main(String[] args) { IpNetwork network = new IpNetwork("192.23.29.46", 47808); Transport transport = new DefaultTransport(network); LocalDevice localDevice = new LocalDevice(999, transport); try { localDevice.initialize(); localDevice.getEventHandler().addListener( new DeviceEventListener() { @Override public void textMessageReceived(RemoteDevice arg0, Choice arg1, MessagePriority arg2, CharacterString arg3) { System.out.println( "textMessageReceived : " + arg0 ); } @Override public void synchronizeTime(Address arg0, DateTime arg1, boolean arg2) { System.out.println( "synchronizeTime : " + arg0 ); } @Override public void reinitializeDevice(Address arg0, ReinitializedStateOfDevice arg1) { System.out.println( "reinitializeDevice : " + arg0 ); } @Override public void propertyWritten(Address arg0, BACnetObject arg1, PropertyValue arg2) { System.out.println( "propertyWritten : " + arg0 ); } @Override public void privateTransferReceived(Address arg0, UnsignedInteger arg1, UnsignedInteger arg2, Sequence arg3) { System.out.println( "privateTransferReceived : " + arg0 ); } @Override public void listenerException(Throwable arg0) { System.out.println( "listenerException : " + arg0 ); } @Override public void iHaveReceived(RemoteDevice arg0, RemoteObject arg1) { System.out.println( "iHaveReceived : " + arg0 ); } @Override public void iAmReceived(RemoteDevice arg0) { System.out.println( "iAmReceived : " + arg0 ); } @Override public void eventNotificationReceived(UnsignedInteger arg0, RemoteDevice arg1, ObjectIdentifier arg2, TimeStamp arg3, UnsignedInteger arg4, UnsignedInteger arg5, EventType arg6, CharacterString arg7, NotifyType arg8, Boolean arg9, EventState arg10, EventState arg11, NotificationParameters arg12) { System.out.println( "eventNotificationReceived.arg0 : " + arg0 ); System.out.println( "eventNotificationReceived.arg1 : " + arg1 ); System.out.println( "eventNotificationReceived.arg2 : " + arg2 ); System.out.println( "eventNotificationReceived.arg3 : " + arg3 ); } @Override public void covNotificationReceived(UnsignedInteger arg0, RemoteDevice arg1, ObjectIdentifier arg2, UnsignedInteger arg3, SequenceOf<PropertyValue> arg4) { System.out.println( "covNotificationReceived.arg0 : " + arg0 ); } @Override public boolean allowPropertyWrite(Address arg0, BACnetObject arg1, PropertyValue arg2) { System.out.println( "allowPropertyWrite.arg0 : " + arg0 ); return false; } } ); network.registerAsForeignDevice(new InetSocketAddress("192.23.29.46", 47808),9000 ); Thread.sleep(2000); RemoteDevice d = DiscoveryUtils.discoverDevice(localDevice,700710); if (d == null) { throw new RuntimeException("Remote device not found"); } else { final ObjectIdentifier oid = new ObjectIdentifier(ObjectType.analogInput, Integer.valueOf("10")); final SequenceOf<PropertyValue> listOfValues = new SequenceOf<>(); final UnconfirmedCovNotificationRequest unconfirmedCovRequest = new UnconfirmedCovNotificationRequest( new UnsignedInteger(1), localDevice.getConfiguration().getId(), oid, new UnsignedInteger(60), listOfValues ); localDevice.send( d.getAddress(), unconfirmedCovRequest ); //localDevice.sendBroadcast( d.getAddress(), unconfirmedCovRequest ); System.out.println( "Sent unconfirmed cov request !!" ); } } catch ( Exception e ) { e.printStackTrace(); } } }
  • How Remote device receive a privateTransferReceived

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to add new property identifier in analoginput?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • rapberry pi

    3
    0 Votes
    3 Posts
    3k Views
    J
    hi there, how do you make your raspberry pi running on bacnet to communicate with your workstation..? i had a similar project as you. As i currently implement on software SCADA communicate with raspberry pi (as PLC) using bacnet protocol.. hope you able to assist me. peace. looking forward your reply
  • Switching between Send and Receive mode for RS485 BACnet MSTP

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • BACnet on Android

    1
    2 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Is it possible to find remote device giving Address only ?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied