• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. nathanRona
    3. Topics

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 15
    • Groups 0

    Topics

    • N

      Json timstamp pattern (MQTT data source)

      Watching Ignoring Scheduled Pinned Locked Moved User help
      4
      0 Votes
      4 Posts
      1k Views
      terrypackerT
      @nathanRona I just did a quick test against test.mosquitto.org and was able to publish and receive JSON with Timestamp based values. I'm posting the JSON config so you can import it and see for yourself. I can't see exactly what is wrong with your setup but this confirms that it does in fact work. In the configuration I'm providing there are 2 data points, when you set the value for one it will publish to the receiving topic of the other. { "dataSources":[ { "xid":"DS_b911d1a5-dcfd-424d-ab07-77134185f2a8", "name":"Test.Mosquitto.ORG Client", "enabled":true, "type":"MqttClient", "alarmLevels":{ "DATA_SOURCE_EXCEPTION_EVENT":"URGENT", "MQTT_CONNECTION_FAILURE_EVENT":"URGENT", "MQTT_PUBLISH_FAILURE_EVENT":"URGENT", "POINT_READ_EXCEPTION_EVENT":"URGENT", "MQTT_UNKNOWN_TOPIC":"IGNORE", "POINT_WRITE_EXCEPTION_EVENT":"URGENT" }, "purgeType":"YEARS", "brokerUri":"tcp:\/\/test.mosquitto.org:1883", "x509CaCrt":"", "clientId":"Mango Automation MQTT Client 148709547341099", "userName":"", "userPassword":"", "topicFilters":"infiniteautomation\/test\/#", "autoReconnect":true, "cleanSession":true, "keepAliveInterval":60, "connectionTimeout":30, "qosType":"EXACTLY_ONCE", "editPermission":"", "purgeOverride":false, "purgePeriod":1 } ], "dataPoints":[ { "xid":"DP_ba31c77f-9c4f-4f02-802c-afcfae830441", "name":"number", "enabled":true, "loggingType":"ALL", "intervalLoggingPeriodType":"MINUTES", "intervalLoggingType":"AVERAGE", "purgeType":"YEARS", "pointLocator":{ "dataType":"NUMERIC", "subscribeTopicType":"JSON_WITH_TIMESTAMP", "subscribeJsonTimestampPath":"\/ts", "subscribeJsonTimestampPattern":"yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSX", "subscribeJsonValuePath":"\/d", "subscribeTopic":"infiniteautomation\/test\/number", "publishTopicType":"JSON_WITH_TIMESTAMP", "publishJsonTimestampName":"ts", "publishJsonTimestampPattern":"yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSX", "publishJsonTimestampZone":"UTC", "publishJsonValueName":"d", "publishTopic":"infiniteautomation\/test\/set\/number" }, "eventDetectors":[ ], "plotType":"STEP", "rollup":"NONE", "unit":"s", "simplifyType":"NONE", "chartColour":"", "chartRenderer":{ "type":"IMAGE", "timePeriodType":"DAYS", "numberOfPeriods":1 }, "dataSourceXid":"DS_b911d1a5-dcfd-424d-ab07-77134185f2a8", "defaultCacheSize":1, "deviceName":"Test.Mosquitto.ORG Client", "discardExtremeValues":false, "discardHighLimit":1.7976931348623157E308, "discardLowLimit":-1.7976931348623157E308, "intervalLoggingPeriod":1, "intervalLoggingSampleWindowSize":0, "overrideIntervalLoggingSamples":false, "preventSetExtremeValues":false, "purgeOverride":false, "purgePeriod":1, "readPermission":"", "setExtremeHighLimit":1.7976931348623157E308, "setExtremeLowLimit":-1.7976931348623157E308, "setPermission":"", "tags":{ }, "textRenderer":{ "type":"ANALOG", "useUnitAsSuffix":true, "format":"0.00" }, "tolerance":0.0 }, { "xid":"DP_0460c207-8a22-4b7c-92b6-ab70c1c41d1c", "name":"number-recieve", "enabled":true, "loggingType":"ALL", "intervalLoggingPeriodType":"MINUTES", "intervalLoggingType":"INSTANT", "purgeType":"YEARS", "pointLocator":{ "dataType":"NUMERIC", "subscribeTopicType":"JSON_WITH_TIMESTAMP", "subscribeJsonTimestampPath":"\/ts", "subscribeJsonTimestampPattern":"yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSX", "subscribeJsonValuePath":"\/d", "subscribeTopic":"infiniteautomation\/test\/set\/number", "publishTopicType":"JSON_WITH_TIMESTAMP", "publishJsonTimestampName":"ts", "publishJsonTimestampPattern":"yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSX", "publishJsonTimestampZone":"UTC", "publishJsonValueName":"d", "publishTopic":"infiniteautomation\/test\/number" }, "eventDetectors":[ ], "plotType":"STEP", "rollup":"NONE", "unit":"s", "simplifyType":"NONE", "chartColour":"", "chartRenderer":{ "type":"IMAGE", "timePeriodType":"DAYS", "numberOfPeriods":1 }, "dataSourceXid":"DS_b911d1a5-dcfd-424d-ab07-77134185f2a8", "defaultCacheSize":1, "deviceName":"Test.Mosquitto.ORG Client", "discardExtremeValues":false, "discardHighLimit":1.7976931348623157E308, "discardLowLimit":-1.7976931348623157E308, "intervalLoggingPeriod":15, "intervalLoggingSampleWindowSize":0, "overrideIntervalLoggingSamples":false, "preventSetExtremeValues":false, "purgeOverride":false, "purgePeriod":1, "readPermission":"", "setExtremeHighLimit":1.7976931348623157E308, "setExtremeLowLimit":-1.7976931348623157E308, "setPermission":"", "tags":{ }, "textRenderer":{ "type":"ANALOG", "useUnitAsSuffix":true, "format":"0.00" }, "tolerance":0.0 } ] }
    • N

      Reciving time-series history data through MQTT

      Watching Ignoring Scheduled Pinned Locked Moved User help
      1
      0 Votes
      1 Posts
      599 Views
      No one has replied
    • N

      Creating point sautomatically from MQTT topics

      Watching Ignoring Scheduled Pinned Locked Moved User help mqtt scripting
      3
      0 Votes
      3 Posts
      1k Views
      N
      Thanks Might add point through API from external prog as well (example phyton)
    • N

      Setting up/debugging mqtt data source

      Watching Ignoring Scheduled Pinned Locked Moved User help mqtt
      2
      0 Votes
      2 Posts
      1k Views
      N
      Found how to set it up, The issue was Tag filter that should be "reception/#" i.w. the # was missing,
    • N

      Upgrade from 3.4.5 to 3.7.1

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Mango Automation Installation
      12
      0 Votes
      12 Posts
      3k Views
      Jared WiltshireJ
      Hi @nathanRona sorry you are having such a torrid time getting Mango to upgrade. It seems that the issue is that you have started Mango directly using supervisorctl to launch the java process. Unfortunately this means that Mango cannot upgrade itself. It is the script that launches Mango (ma.sh -> ma-start.sh -> java) that does the unzipping of the new core upgrade file. I recently created a new script (start-mango.sh) for starting Mango as the old ones were a bit fragile. This script is our new preferred way of launching Mango, we left the old ones so upgraded systems did not break. I updated the help documentation here - https://help.infiniteautomation.com/linux-installation What Linux distribution are you using? Does it use systemd?