• W
    Wingnut2.0

    When attempting an SNMP SET via mango I am receiving the following error

    : PDU received with error in OID 1.3.6.1.4.1.1718.3.2.3.1.11.1.1.1, text=Bad value 
    

    And here are the mango settings. I have tried multiple combinations of Data Type and Set Type without success, but based on the MIB information the Set Type should be Integer.

    0_1532954690110_7daa661d-8fb6-4243-9b87-64549b78c346-image.png
    0_1532955564314_0c200e64-7ca2-49ce-80ef-b1a1b7b1e5a4-image.png

    When attempting the same SET from another tool I am successful.
    0_1532954610969_2d37e3ad-ea5a-4b16-b8d2-c014b177d771-image.png
    0_1532954626390_783aa445-591c-4dab-a8a8-0577abe5bbff-image.png

    If anyone has any suggestions for additional troubleshooting steps I would be grateful.
    Does the SNMP datasource send the "Set Type" Integer 32 as i=INTEGER or u=INTEGER datatype?

    EDIT: I am able to successfully set this value via the SNMP point import UI, but with the same settings I am unsuccessful via the Old or New data point details page.
    0_1532957203764_82201a65-3417-4d7b-a358-26d79d54694b-image.png

    Thank you.

    posted in User help read more
  • W
    Wingnut2.0

    Hello- Any help troubleshooting this error would be greatly appreciated.

    After adding and additional BACnet/IP device to an established Mango system I am starting to receive the following error not only from the new device, but from other BACnet devices on the network.
    I have also noticed the following alarm from one of the systems I am reading from - "Excessive COV Subscription Updates".

    Also noticed the bacnet4j version is 4.1.5 vs. in the repo 4.1.7??

    Thank you.

    ERROR 2018-07-27T07:38:59,719 (com.serotonin.bacnet4j.event.DefaultExceptionListener.receivedException:48) -
    com.serotonin.bacnet4j.exception.BACnetErrorException: property: missing-required-parameter
            at com.serotonin.bacnet4j.type.Encodable.popEnd(Encodable.java:186) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.type.Encodable.readWrapped(Encodable.java:444) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.type.Encodable.readANY(Encodable.java:396) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.type.constructed.PropertyValue.<init>(PropertyValue.java:84) ~[bacnet4j-4.1.5.jar:?]
            at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_144]
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_144]
            at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:230) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.type.constructed.SequenceOf.<init>(SequenceOf.java:87) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.type.Encodable.readSequenceOf(Encodable.java:309) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.service.unconfirmed.UnconfirmedCovNotificationRequest.<init>(UnconfirmedCovNotificationRequest.java:88) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.service.unconfirmed.UnconfirmedRequestService.createUnconfirmedRequestService(UnconfirmedRequestService.java:80) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.apdu.UnconfirmedRequest.parseServiceData(UnconfirmedRequest.java:89) ~[bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.transport.DefaultTransport.receiveAPDU(DefaultTransport.java:643) [bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.transport.DefaultTransport.receiveImpl(DefaultTransport.java:573) [bacnet4j-4.1.5.jar:?]
            at com.serotonin.bacnet4j.transport.DefaultTransport.run(DefaultTransport.java:493) [bacnet4j-4.1.5.jar:?]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
    

    posted in User help read more
  • W
    Wingnut2.0

    Solved -
    Accept point attribute updates must be enabled on the receiving data source.

    posted in User help read more
  • W
    Wingnut2.0

    When new tags are added directly to data points on the publishing system the changes are not reflected on the receiving system. What is the process for triggering an update of tags? Starting and stopping the publisher does not seem to help.

    posted in User help read more
  • W
    Wingnut2.0

    Wow, that is certainly much easier to deal with.

    When you say the "new watch list page" are you referring to :8080/ui/watch-list/ , or creating a new watch list via the builder 8080/ui/administration/watch-list-builder/?

    posted in User help read more
  • W
    Wingnut2.0

    Thanks Jared. I am looking forward to the single endpoint.

    I am attempting this using POST /v2/point-values/multiple-arrays/time-period with the body below, but I receive a response code of 400 and response header message of "error". Is there any additional documentation outside of swagger?

    {
      "xids": [
        "DP_value_a",
        "DP_value_b"
      ],
      "dateTimeFormat": "",
      "timezone": "",
      "limit": 0,
      "simplifyTolerance": 0,
      "simplifyTarget": 0,
      "fields": [
        ""
      ],
      "from": {
        "offset": {
          "totalSeconds": 0,
          "id": "",
          "rules": {
            "transitions": [
              {
                "offsetBefore": "ZoneOffset",
                "offsetAfter": "ZoneOffset",
                "dateTimeBefore": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "instant": {
                  "epochSecond": 0,
                  "nano": 0
                },
                "gap": false,
                "overlap": false,
                "dateTimeAfter": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "duration": {
                  "seconds": 0,
                  "units": [
                    {
                      "dateBased": false,
                      "durationEstimated": false,
                      "duration": "Duration",
                      "timeBased": false
                    }
                  ],
                  "negative": false,
                  "zero": false,
                  "nano": 0
                }
              }
            ],
            "transitionRules": [
              {
                "month": "",
                "timeDefinition": "",
                "standardOffset": "ZoneOffset",
                "offsetBefore": "ZoneOffset",
                "offsetAfter": "ZoneOffset",
                "dayOfMonthIndicator": 0,
                "localTime": {
                  "hour": "",
                  "minute": "",
                  "second": "",
                  "nano": 0
                },
                "midnightEndOfDay": false,
                "dayOfWeek": ""
              }
            ],
            "fixedOffset": false
          }
        },
        "zone": {
          "rules": {
            "transitions": [
              {
                "offsetBefore": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "offsetAfter": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "dateTimeBefore": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "instant": {
                  "epochSecond": 0,
                  "nano": 0
                },
                "gap": false,
                "overlap": false,
                "dateTimeAfter": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "duration": {
                  "seconds": 0,
                  "units": [
                    {
                      "dateBased": false,
                      "durationEstimated": false,
                      "duration": "Duration",
                      "timeBased": false
                    }
                  ],
                  "negative": false,
                  "zero": false,
                  "nano": 0
                }
              }
            ],
            "transitionRules": [
              {
                "month": "",
                "timeDefinition": "",
                "standardOffset": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "offsetBefore": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "offsetAfter": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "dayOfMonthIndicator": 0,
                "localTime": {
                  "hour": "",
                  "minute": "",
                  "second": "",
                  "nano": 0
                },
                "midnightEndOfDay": false,
                "dayOfWeek": ""
              }
            ],
            "fixedOffset": false
          },
          "id": ""
        },
        "monthValue": 6,
        "dayOfYear": 0,
        "dayOfWeek": "",
        "month": "",
        "dayOfMonth": 10,
        "year": 2018,
        "nano": 0,
        "hour": 0,
        "minute": 0,
        "second": 0,
        "chronology": {
          "calendarType": "",
          "id": ""
        }
      },
      "to": {
        "offset": {
          "totalSeconds": 0,
          "id": "",
          "rules": {
            "transitions": [
              {
                "offsetBefore": "ZoneOffset",
                "offsetAfter": "ZoneOffset",
                "dateTimeBefore": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "instant": {
                  "epochSecond": 0,
                  "nano": 0
                },
                "gap": false,
                "overlap": false,
                "dateTimeAfter": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "duration": {
                  "seconds": 0,
                  "units": [
                    {
                      "dateBased": false,
                      "durationEstimated": false,
                      "duration": "Duration",
                      "timeBased": false
                    }
                  ],
                  "negative": false,
                  "zero": false,
                  "nano": 0
                }
              }
            ],
            "transitionRules": [
              {
                "month": "",
                "timeDefinition": "",
                "standardOffset": "ZoneOffset",
                "offsetBefore": "ZoneOffset",
                "offsetAfter": "ZoneOffset",
                "dayOfMonthIndicator": 0,
                "localTime": {
                  "hour": "",
                  "minute": "",
                  "second": "",
                  "nano": 0
                },
                "midnightEndOfDay": false,
                "dayOfWeek": ""
              }
            ],
            "fixedOffset": false
          }
        },
        "zone": {
          "rules": {
            "transitions": [
              {
                "offsetBefore": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "offsetAfter": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "dateTimeBefore": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "instant": {
                  "epochSecond": 0,
                  "nano": 0
                },
                "gap": false,
                "overlap": false,
                "dateTimeAfter": {
                  "monthValue": 0,
                  "dayOfYear": 0,
                  "dayOfWeek": "",
                  "month": "",
                  "dayOfMonth": 0,
                  "year": 0,
                  "nano": 0,
                  "hour": 0,
                  "minute": 0,
                  "second": 0,
                  "chronology": {
                    "calendarType": "",
                    "id": ""
                  }
                },
                "duration": {
                  "seconds": 0,
                  "units": [
                    {
                      "dateBased": false,
                      "durationEstimated": false,
                      "duration": "Duration",
                      "timeBased": false
                    }
                  ],
                  "negative": false,
                  "zero": false,
                  "nano": 0
                }
              }
            ],
            "transitionRules": [
              {
                "month": "",
                "timeDefinition": "",
                "standardOffset": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "offsetBefore": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "offsetAfter": {
                  "totalSeconds": 0,
                  "id": "",
                  "rules": "ZoneRules"
                },
                "dayOfMonthIndicator": 0,
                "localTime": {
                  "hour": "",
                  "minute": "",
                  "second": "",
                  "nano": 0
                },
                "midnightEndOfDay": false,
                "dayOfWeek": ""
              }
            ],
            "fixedOffset": false
          },
          "id": ""
        },
        "monthValue": 6,
        "dayOfYear": 0,
        "dayOfWeek": "",
        "month": "",
        "dayOfMonth": 15,
        "year": 2018,
        "nano": 0,
        "hour": 0,
        "minute": 0,
        "second": 0,
        "chronology": {
          "calendarType": "",
          "id": ""
        }
      },
      "bookend": false,
      "useCache": ""
    }
    

    posted in User help read more
  • W
    Wingnut2.0

    I was hoping someone might be able to suggest the most efficient way to accomplish the following -

    A customer has multiple datapoints across multiple datasources. These are identified by a customerId tag tied to each datapoint. I would like to retrieve the last 10 days of readings for all of the datapoints associated with any given customerId via the API.

    What is the best way to accomplish this? Is this a two step process or can this be accomplished by a single API call?

    Possibly using the customerId tag to create a watchlist, but how can I query a watchlist for 10 day history?
    When viewing the watchlist using developers tools I see it looping through the points associated with the list to retrieve the value, how would one accomplish this via the API?

    Thank you

    posted in User help read more
  • W
    Wingnut2.0

    Thank you, Phillip - Working now.

    posted in User help read more
  • W
    Wingnut2.0

    Hello Phillip,

    No encryption on this today, but I have had it enabled at one point for testing. Key/Value were only 5 characters each.

    I am seeing the following in the log on the publisher side, nothing on the receiving side.

    ERROR 2018-06-15T10:53:26,837 (com.serotonin.m2m2.rt.publish.SendThread.run:59) - Send thread PersistentSenderRT.SendThread failed with an exception java.lang.UnsupportedOperationException: null at java.util.Collections$UnmodifiableMap.put(Collections.java:1457) ~[?:1.8.0_144] at com.serotonin.m2m2.persistent.pub.PersistentSendThread.openConnection(PersistentSendThread.java:586) ~[persistent-pub-ds-3.4.3.jar:?] at com.serotonin.m2m2.persistent.pub.PersistentSendThread.runImpl(PersistentSendThread.java:194) ~[persistent-pub-ds-3.4.3.jar:?] at com.serotonin.m2m2.rt.publish.SendThread.run(SendThread.java:56) [mango-3.4.4.jar:?]
    

    posted in User help read more
  • W
    Wingnut2.0

    I have an established PTCP connection between two systems that has been running for some time. In order to leverage the ability to create watchlists using a tag query on the remote system, I added an extra tag using the fields in the PTCP Publisher. Once saved I expected to drop the connection with the remote system while the publisher restarted, but this lasted for 30 mins. When I deleted the extra tag the connection returned. Tested a few more time with the same result. Is this expected? - Thank you

    posted in User help read more