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.

  • License

    5
    0 Votes
    5 Posts
    2k Views
    Jared WiltshireJ
    Hi @luigi here's a report of the licenses for the Java libraries that are used by Mango - https://cdn.rawgit.com/infiniteautomation/misc-files/master/third-party-report.html The libraries that start with com.infiniteautomation are covered by the Mango license. https://raw.githubusercontent.com/infiniteautomation/ma-core-public/main/Core/LICENSE
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Converting to MySQL point value concern

    5
    0 Votes
    5 Posts
    1k Views
    MattFoxM
    Right gotcha, thanks gentlemen!
  • Haystack Point Status

    haystack niagara nhaystack reliability status
    2
    0 Votes
    2 Posts
    1k Views
    Jared WiltshireJ
    The data source only supports reading the curValue into a data point. It does check if curStatus is ok, if it is not OK the data point is marked as being "unreliable". You should see the unreliable status as a little red warning icon next to any point value displays in the UI. The unreliable status is not trended however.
  • Correcting historical data

    4
    0 Votes
    4 Posts
    2k Views
    CraigWebC
    Hi Phil Was reading this and sometime I need to backfill data that is logged on the edge device back into the database when a radio goes down. Just a few questions: in the old point details screen I can only download as a image. in the new UI there is csv available. I take it I must use the new Ui? I have downloaded it in all the formats and there is no Modify add/delete' column. Do I need to make one? EDIT: Nevermind I was on the wrong page...
  • Using ma-calc within ng-repeat loop

    5
    0 Votes
    5 Posts
    2k Views
    I
    Ahh, gotcha. Thanks :)
  • Extract library dependencies for use in controller scripts

    4
    0 Votes
    4 Posts
    1k Views
    Jared WiltshireJ
    Older versions of moment used to place themselves on the global scope, I believe this was removed in newer versions.
  • Cooldown for mail or event

    3
    0 Votes
    3 Posts
    1k Views
    phildunlapP
    Hi Xof1986, There are not any such options builtin currently. You could hack it up by calling model.clear(); in the script body of the email event handler to make the FTL file fail to process, and then the email will not be sent. I see an easy way to put this into the script, at least, so that one could detect if they didn't want to send an email for whatever reason they could return. Perhaps mitigating floods of emails with an explicit timer setting is common enough that it would warrant being outside the general purpose script body for simplicity. It sounds like a script like this would prevent email in the current release in your situation, but it will produce an error in the log file, var values = p.last(10); for(var k = values.length-1; k > 0; k+=1) { //> 0 to not include the current value if( values[k].booleanValue === false && p.time - values[k].time < 60000 ) { model.clear(); //Happened within 1 minute, cause an FTL error instead of another email return; } } It would be even easier if you set a point from the script body whenever you sent the email, then used that point's timestamp in the email handler to see if you should clear the model. I will ensure that a better way to prevent emails from sending using the script makes it into 3.4.2, since it should be very simple to do. Edit: I have added the ability for a script on an email handler to return CANCEL; or return UNCHANGED; to prevent sending the email. I suspect it will be a few weeks before we release 3.4.2 unless major bugs are discovered.
  • HTTP Receiver

    6
    0 Votes
    6 Posts
    1k Views
    phildunlapP
    Glad to hear you got it working! The Set Point URL you have configured seems a little odd to me. The set point url is where to reach out to with a message if one of the HTTP points is set. So, if you have it pointed at the local httpds, you may be setting those values into other HTTP (or the same) point. Not sure what the objective is.
  • Event Handler Setting Meta Point Failing

    24
    0 Votes
    24 Posts
    13k Views
    phildunlapP
    Certainly! Sorry you were inconvenienced by the queuing issue! Alas the documentation is scattered around the forum primarily, although the context help (blue ? next to the data source name on the edit page) is useful. Virtual points are perhaps the simplest of points. You can disable polling on the data source, and then they're just points to set values into. The data source can also poll to make the points do simple things like increment, generate random values, alternate, or whatever is sensible to the data type. Meta points are event-driven timer-driven script bodies that are an iceberg of features with limitless use cases somewhat described here: https://github.com/infiniteautomation/ma-core-public/blob/main/Core/web/WEB-INF/dox/mangoJavaScript.htm I have posted a great many examples of meta points and scripts around the forum.
  • Curious MODBUS TCP polling fault

    4
    0 Votes
    4 Posts
    2k Views
    phildunlapP
    they have worked until we put a new instance of Mango in I'm not aware of any changes in the Modbus4J code in quite some time. Certainly none at the protocol level.
  • Possible issues with v1 Mango ES and latest updates

    15
    0 Votes
    15 Posts
    3k Views
    P
    Will do, thanks Phil. I don't know much about that bus as I'm, of course, coming in well after the fact. I thought it very strange that there are echos as well, was going to ask if that's something you expect to see in those logs. I shouldn't be seeing that at all
  • Including tag values in reports?

    4
    0 Votes
    4 Posts
    1k Views
    phildunlapP
    You can access them two ways, <#list mapped.p123.vo.tags?keys as tagKey> ${tagKey} - ${mapped.p123.vo.tags[tagKey]} </#list> <br/> ${mapped.p123.tags} The first is iterating over the keys in the map of tags for the point with key "p123" (specified in the report configuration) while the second is a string with the tags joined by a ", ", and paired by a ": "
  • Is there a way to change the signature on the automated emails?

    3
    1 Votes
    3 Posts
    959 Views
    P
    perfect thanks Phil :)
  • Live Vaues not updating on ES watchlist

    5
    0 Votes
    5 Posts
    1k Views
    P
    So I think the live point values fixed itself on the restart and the last post was in error because I was looking at cached values and not realizing this. it appears to be working perfect again now! I made changes to the data source names on Friday before this live value issue began happening and thought it might have been related. This is a production server so we don't like to restart but I guess a restart is required sometimes because it's working correctly now. [image: uPbPKet.png]
  • Accessing a points tag value via script?

    7
    0 Votes
    7 Posts
    2k Views
    phildunlapP
    Yes, that is true. So, you would want to update the tag in the existing tags map, then, like, var tags = com.serotonin.m2m2.db.dao.DataPointTagsDao.instance.getTagsForDataPointId( p.getDataPointWrapper().getId() ); tags.key = "value"; CONTEXT_POINTS.p.getVO().setTags(tags); com.serotonin.m2m2.db.dao.DataPointDao.instance.saveDataPoint(CONTEXT_POINTS.p.getVO()); There are not methods to update a tag individually of the other tags. The DataPointTagsDao takes the whole DataPointVO as its argument.
  • ES database with many points inflates abnormally

    4
    0 Votes
    4 Posts
    1k Views
    phildunlapP
    To shrink the H2 database? No, you don't need to touch the NoSQL database. The steps of, Purge tables that need purging Run an SQL backup Stop Mango Move you Mango/databases/mah2.h2.db file (to keep a backup) Start Mango Restore the SQL backup from step 2 Will shrink the H2 database, as you have found.
  • Import user

    9
    0 Votes
    9 Posts
    2k Views
    Jared WiltshireJ
    @phillip-weeks Great, glad you got it working. The change I mentioned above will still be making its way into 3.4 so it should be easier next time.
  • Reset password link email

    4
    0 Votes
    4 Posts
    1k Views
    P
    OK Thank-you
  • Some Data over Publisher not Syncing

    3
    1 Votes
    3 Posts
    2k Views
    M
    Synchronize history prior to is set at 1 minute. I've taken a representative sample of points, and checked again today. It looks like all points are affected. Here's the data again as of today, but with a lot more points.. Well if we cannot resolve this by May 3, it will be purged from the source. It's not the end of the world, but if you are interested in investigating it, it might help you find issues. I don't know if this is a problem on our end either. Still at source: [image: I9Fy8Uv.png] Still missing: [image: ulSN4gV.png]