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.

  • Watchlist Chart min/max

    2
    0 Votes
    2 Posts
    1k Views
    Jared WiltshireJ
    @craigweb Not currently possible on the watchlist itself. If you mean in a <ma-serial-chart> on a custom page you should be able to set the options attribute according to the amcharts documentation.
  • passing urlpath from a page to another

    11
    0 Votes
    11 Posts
    3k Views
    pierjsapP
    @CraigWeb problem solved i hope that this could help you. <button onclick="goBack()">Go Back</button> <script> function goBack() { window.history.back(); } </script>
  • How to refresh image by time or by click

    2
    0 Votes
    2 Posts
    1k Views
    phildunlapP
    Hi glamprecht, The solution is likely similar to the self-refreshing image solution here: https://forum.infiniteautomation.com/topic/3428/img-refresh Simply modify some variable that is in the ng-src of the image as a parameter and it should re-request the image without having to reload the whole page.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 3.0.2 (3.0.1) update versioning problem

    4
    0 Votes
    4 Posts
    1k Views
    phildunlapP
    Yes, you could use the USB utility to move the whole update bundle zip into your /opt/mango directory if named as I suggested previously. It looks like your DNS resolved the correct IP, but you didn't (or couldn't) get a response. You could try https://store.infiniteautomation.com instead of http:// as your store.url in your env.properties file.
  • Query via API using Tags

    8
    0 Votes
    8 Posts
    2k Views
    phildunlapP
    Hi Wingnut2.0, I made an argument for it when this came up, but the pushback of "You can request those points, then compile a request for the values from them," was strong. If you can expand on the value of having it in a simple single request, you may find more traction for it than I did. That's why I just supplied the code here.
  • Read external file CSV

    2
    0 Votes
    2 Posts
    1k Views
    phildunlapP
    Hi pierjsap, The ASCII file reader uses regex to parse values by line of the input. There is good information in context help for the data file data source as to how to use it. That's the blue question mark by the data source name while you are editing it. In brief, you have to implement a Java class that extends the abstract importer you wish to use. These threads have examples: https://forum.infiniteautomation.com/topic/1636/problem-with-defining-class-for-csv-datafile-import https://forum.infiniteautomation.com/topic/3126/file-datasource-breaks-on-file-upload We can work through the CSV you need to import in this thread, if you'd like. Another option that has come up in the past is reading the CSV from a scripting data source, as in this thread: https://forum.infiniteautomation.com/topic/2970/is-it-possible-to-read-several-csv-documents-by-scripting
  • Connecting to MySQL database with Python

    2
    0 Votes
    2 Posts
    1k Views
    phildunlapP
    You can find the connection details for your Mango instance in the Mango/overrides/properties/env.properties or Mango/classes/env.properties files. By default Mango uses the H2 database in embedded mode which would only allow another connection if Mango was stopped. I'm not sure if there is a nice library to connect Python to H2. It's assuredly easier with MySQL. Usually I do the python work on a JSON export, because JSON is very easy to work with. You can also use the /sqlConsole.shtm page if you are an SQL wizard. Script environments in Mango have a JsonEmport script utility that can import json and make this kind of modification. Have you checked out the bulk data point edit page in the new UI?
  • Event Handlers not saving after Mango 3

    3
    0 Votes
    3 Posts
    1k Views
    G
    This worked. Thank you.
  • Insert special character / mathematical symbol

    4
    0 Votes
    4 Posts
    1k Views
    MattFoxM
    Nicely done, good to see you're making headway
  • Strange SMTP errors

    10
    0 Votes
    10 Posts
    4k Views
    Jared WiltshireJ
    @dan said in Strange SMTP errors: OK, I think I've resolved it, managed to remove all the settings, add them all in again using port 587, TLS with mailjet and it's working. Thanks for your assistance :) Cheers Dan Great, glad you got it working.
  • md-nav-bar inside a page

    12
    0 Votes
    12 Posts
    4k Views
    pierjsapP
    Hi @Jared-Wiltshire , I developed a similar thing using the admin template. As soon as I have 2 minutes I send screenshots so that other users can benefit from it. Thank you very much for the help you gave me.
  • Custom Event Messaging

    8
    0 Votes
    8 Posts
    2k Views
    phildunlapP
    Hi glamprecht, Generally it is better to ask a new question in a new thread and link to the old thread that you think it may be related to. That way it has a specific title and whatnot. Anyway, I would use a set point handler to solve that. You would have the option of setting your command to an alphanumeric SSH data point or mimicking the process handler's job by calling, // point that raised event is in context as p com.serotonin.m2m2.rt.maint.work.ProcessWorkItem.executeProcessCommand("myprogram " + p.value, 39 /* process timeout */); return UNCHANGED;
  • Excel Report E-Mail Customization

    6
    0 Votes
    6 Posts
    2k Views
    phildunlapP
    Having rerun my test on a 3.3.4 instance, yes I believe we fixed it in the development of 3.4, which should be out fairly soon.
  • Excel Reports - function compatability

    3
    0 Votes
    3 Posts
    1k Views
    BGB
    Hello Phil, Thanks for checking. I have been redesigning spreadsheet to do the AVERAGEIFS and the COUNTIFS in long hand format. Through trial and error I found the same as yourself that the SUMIFS and FLOOR works fine. As mentioned initially, this is for Mango 2.8 so hopefully will not be a problem when I finally get Mango 3 off the ground. Cheers Brian
  • Admin Template ma-map

    2
    0 Votes
    2 Posts
    1k Views
    Jared WiltshireJ
    @pierjsap said in Admin Template ma-map: Hi guys, I tried to add the ma-map element to the home.html file of the admin template. But this is not displayed unlike the gauges. I added the Google API Key and within the dashboard designer it works correctly. Could you give me some indication? I would highly recommend just using a full screen page (i.e. no menu/toolbar) inside the UI app instead of trying to use the admin template. I suspect if you check your console you will find errors due to a missing maUiSettings service. The <ma-map> component will not work outside of the UI app. You can however use the plain <ng-map> directive, see the documentation here - https://ngmap.github.io/
  • BACNet stops working

    4
    0 Votes
    4 Posts
    1k Views
    phildunlapP
    Hmm. Offhand I don't know what the cause would be. There is a setting in a BACnet local device (which I don't believe is exposed through Mango) for the time to remember that a given device didn't respond when it was sought. By default, that's 30 seconds. So, it should resend a global WhoIs every thirty seconds for that instanceId if it is attempting to poll it often. Did you get any actual stack traces you could share? You could perhaps enable trace logging for the bacnet4j module by adding this to your Mango/classes/log4j2.xml near the similar lines at the bottom, <Logger name="com.serotonin.bacnet4j" level="trace"/> Which could at least show you what the device is trying to do while in that state.
  • override logo doesn't replace logo on report emails

    7
    0 Votes
    7 Posts
    3k Views
    phildunlapP
    Hi psysak, Thanks for bringing this to our attention. That will be fixed in Mango 3.4 Just checking, but this was in the emailed report, correct?
  • "Point Values Limited To 5001"

    15
    0 Votes
    15 Posts
    5k Views
    Jared WiltshireJ
    @mircsicz Sorry I haven't got back to you on this, I've been on leave. I am definitely looking at adding this as a built in feature so I might concentrate my efforts there.
  • Mango Portlet

    2
    0 Votes
    2 Posts
    816 Views
    Jared WiltshireJ
    @luigi I've never heard of Liferay but looking into it I would say that no, Mango is not portlet compliant.