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.

  • Dashboard pages disappear when internet connection lost.

    7
    0 Votes
    7 Posts
    2k Views
    MattFoxM
    Nicely done! I'll get an ES updated and will test with my code.
  • SQL Datasource time override

    3
    0 Votes
    3 Posts
    1k Views
    M
    @phildunlap Hi Philip, convert functions into my select statement work! Thanks Ste
  • User Input / Configuration

    4
    0 Votes
    4 Posts
    2k Views
    phildunlapP
    Thanks Craig! Alex, Are virtual data points different than meta data points? Yes, briefly, Virtual points can: Have simple change types to simulate data easier. Performs a 'change' when refresh point value is called Not be polled so that they're only user updated (data source setting) While Meta points can Have a script executed on cron patterns or from point events (updated, changed, logged) Have a script executed when the point's value is refreshed return UNCHANGED; to not update their value So very different!
  • Cloud Connect - Unable to Generate New Key on Client

    4
    0 Votes
    4 Posts
    1k Views
    W
    Hey Phillip, If you inadvertently have both the client and server set to start with Mango and cause Mango to restart neither the client or server will have public keys available. You will also see CloudConnectServer errors in the logs for bind exception.
  • 0 Votes
    2 Posts
    1k Views
    phildunlapP
    Hi Ricardo, There is not a setting to modify how that duration is formatted currently. If one wanted to achieve something like this, they could create a modified, custom version of the <ma-events-table></ma-events-table> directive and modify the Moment.js function invoked on the duration in the durationFilter.js from 'humanize' at https://github.com/infiniteautomation/ma-dashboards/blob/main/UI/web-src/ngMango/directives/eventsTable.html#L72 to a function that results in the format you seek. Then you could use this modified directive (you'd have to give it a different name) on custom pages.
  • Has anyone used "Let's Encrypt" for HTTPS - SSL? Any Suggestions?

    10
    0 Votes
    10 Posts
    3k Views
    phildunlapP
    Hi ricardo, Yes the HTTP receiver still works through https I just tested a Mango running with a selfsigned certificate and I was able to get values into my JSON receiver point with identifier /key by both #HttpPost.txt POST /httpds HTTP/1.1 User-Agent: Mango M2M2 HTTP Sender publisher Content-Length: 15 Content-Type: application/json Host: localhost:8088 Connection: Keep-Alive {"key":"value"} nc 127.0.0.1 8080 < HttPost.txt and via curl to the SSL port, curl -v -k -H "Content-Type: application/json" -d "{\"key\":\"value2\"}" https://127.0.0.1:8443/httpds Note that I'm using 127.0.0.1 instead of localhost, which can resolve to ::1 which doesn't pass the whitelist check. Whitelisting for IPv6 addresses was added to Mango 3.5 but the entry *:*:*:*:*:*:*:* is not present by default yet.
  • Disk space and databases

    5
    0 Votes
    5 Posts
    1k Views
    B
    I think it's more a working understanding of how things seem to happen around here. :) I adjusted the purge settings down to 6 months, ran the purge and have told the people who watch the Mango to adjust the settings to it fits their needs, but to be aware of if they set it back to a year, chances are it will fill up again. We shall see how it goes.
  • mango changes MVAR units to MVA

    6
    0 Votes
    6 Posts
    2k Views
    terrypackerT
    @CraigWeb I agree and actually right after I made my previous post took a deeper look into what is going on with the internals of our Units library. I think something isn't working quite right with our Unit Aliases so I opened this issue: https://github.com/infiniteautomation/ma-core-public/issues/1331
  • Alarms in meta data

    4
    0 Votes
    4 Posts
    1k Views
    phildunlapP
    Interesting request! Currently, it is not possible to define an event handler for all events at one level or above, but that sounds like it would be the ideal way to address this. Currently, I would find myself either using a mailing list or user with a "send alarm emails" setting of "Urgent" and either having that be enough (you can send SMS to many carriers over email, but you would not control the message text) or having a script check if new alarms have occurred in the last X minutes. You could also add an event handler to every event type, that's an option. So far as the script goes, add the output point into the context, we'll run it on 0 0/5 * * * ? (every five minutes) and have something like.... var activeEvents = com.serotonin.m2m2.Common.eventManager.getAllActive(); var maxLevel = 0; for( var k = 0; k < activeEvents.length; k+=1 ) { if( activeEvents[k].activeTimestamp < checkedUnto.time ) continue; if( activeEvents[k].alarmLevel > maxLevel ) maxLevel = activeEvents[k].alarmLevel; } if( maxLevel >= com.serotonin.m2m2.rt.event.AlarmLevels.URGENT ) output.set(1); else output.set(0); checkedUnto.set(!checkedUnto.value); //Ping-pong a context binary point to track time While this has the disadvantage of perhaps taking five minutes to alert of an alarm (you could speed up the cron patter though), it will have the advantage of also communicating the "server offline" state through failing to send an 'all is good' message on that five minute interval. If you want to go down the add-to-every event type route, I can help with the script you may need there. I think we probably will add the ability to define an event handler for all events at or above levels.
  • URGENT / 'users' page is giving js errors and won't load

    6
    0 Votes
    6 Posts
    2k Views
    phildunlapP
    Certainly! I checked the 2.8.8 bundles in the store and indeed there is not a dashboards module in the available downloads at the moment, while there probably should be. I will correct this, thanks for bringing it to our attention! Edit: I have ensured it is in the download bundles for 2.8.8.
  • 0 Votes
    3 Posts
    952 Views
    phildunlapP
    Hi Greg, Interesting question! What data source type are you using? I would consider trying a Serial data source with the catchall configuration described in posts like this one: https://forum.infiniteautomation.com/topic/2274/serial-data-source-trouble-to-show-value-from-com-port/2 One thing that would enable someone to do is drop a breakpoint in the SerialDataSourceRT's serial event method and see what is actually being returned to Mango: https://github.com/infiniteautomation/ma-modules-public/blob/main/Serial Data Source/src/com/infiniteautomation/serial/rt/SerialDataSourceRT.java#L250 If we didn't want to bother with breakpoints, we could log I/O from our serial data source and we'll either get an event, some characters captured and recorded in a log, or absolutely nothing. If we get an event, we'll need to troubleshoot what the event is for. If we get things captured and logged, we would need to figure out where the actual protocol you were attempting (or maybe it was a Serial data source all along!) is going astray. And, if there is nothing at all, then I would wonder if there's some subtlety in the Linux configuration of those ports that isn't comporting with the JSSC library's expectations. But, I would have expected an event when attempting to open the serial port, if that was the case. I assume you updated the regex in the env.properties for serial ports to correctly resolve these ports. Sounds like you got past that part.
  • Importing A Module

    9
    0 Votes
    9 Posts
    2k Views
    phildunlapP
    Have you restarted since getting the memory error? Have you allocated explicit memory with a .bat script like those in Mango/bin/ext-available (by placing an appropriate memory script in Mango/bin/ext-enabled and then stopping, then starting (not restarting))?
  • Changing the step value in ma-set-point-value

    2
    0 Votes
    2 Posts
    839 Views
    phildunlapP
    Hi Ian, Thanks for the suggestion! Alas, it is not presently possible, but it certainly shall be when the next UI module is released (we just added it). It will be assigned using the step attribute, like, <ma-set-point-value step="5"></ma-set-point-value>
  • New JsonStore entities through a POST in MangoUI error on user - solved

    4
    0 Votes
    4 Posts
    1k Views
    phildunlapP
    Certainly! Thanks for providing such a detailed description!
  • on-value-updated call javascript function

    5
    0 Votes
    5 Posts
    1k Views
    ThomasEinastoT
    I would also suggest searching the forum as there are many posts regarding this functionality and explanation on how to achieve this in Angular. Here is one. https://forum.infiniteautomation.com/topic/3639/ma-serial-chart-can-not-run/4
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    8 Views
    No one has replied