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.

  • overrides/properties directory not used by Mango

    2
    0 Votes
    2 Posts
    1k Views
    phildunlapP
    Hi Antonio, Have you restarted Mango since copying it to Mango/overrides/properties? If not, the issue may involve the group ownership of 'root' for that file.
  • How to set-up a point that starts a Mango script

    6
    0 Votes
    6 Posts
    2k Views
    phildunlapP
    It would be the same as any other polling data source with long running polls: polls that occur while previous polls are running will increment the aborted polls count and not poll.
  • Simple File upload using mango user interface

    3
    0 Votes
    3 Posts
    2k Views
    E
    Thanks Phil. the part regarding the script is ok, thanks. Concerning file upload the client side maybe I can use something like this https://www.folio3.com/blog/angularjs-file-upload-example-tutorial/ instead for the server side maybe I can use the service pointed by the JSON File importer just adding a { character at beginning of file. Thanks
  • Bacnet schedule

    3
    0 Votes
    3 Posts
    2k Views
    J
    @phildunlap problem solved, I used event handler to make a schedule instead. Thank a lot for your help!
  • Adding point value to scheduled event email

    5
    0 Votes
    5 Posts
    2k Views
    phildunlapP
    You can modify the FTL that generates that report. Take a peak in Mango/web/modules/reports/web/ftl and place any versions you write into Mango/overrides/web/modules/reports/web/ftl/ (may take restarting Mango if that directory is new).
  • Can Mango connect to an OPCUAserver?

    3
    0 Votes
    3 Posts
    2k Views
    C
    @craigweb I think this protocol is important. And many hardware supports this protocol. Does Mango have a timetable to support this? Or is there a way to indirectly support the hardware of this protocol? Or is there a manual support method? Now I have passed c# to Read and Write my hardware.
  • Mango not starting back up after restart within Mango

    5
    0 Votes
    5 Posts
    2k Views
    H
    OK thanks Phil, will do some experimenting.
  • Rotating Fan

    11
    0 Votes
    11 Posts
    3k Views
    J
    @Jared-Wiltshire Thank you for you supporting. It works perfectly. Here is my script: :D <!---------Rotation-----------> <ma-svg ng-include="'/rest/v2/file-stores/default/case.svg'" style="width: 1114.022px; height: 399.399px; position: relative; position: absolute; left: 150px; top: 180px; "> <div ma-selector="#ahufan" ng-class="{'ma-spin-clockwise': vfd.value>0}" style="transform-origin: 193.32843px 114.53712px" ng-style="{'animation-duration': 50/(vfd.value - vfd.value % 10) + 's'}"></div> </ma-svg>
  • Publisher selection

    9
    0 Votes
    9 Posts
    3k Views
    E
    on S1 I've the datapoint STM32_1_OnOff used to start/stop the algorithm on STM32_1, a publisher expose it to M, the same for S2 where I've the datapoint STM32_2_OnOff, so M can see the state of STM32_1 and of STM32_2 but to start/stop the algorithm on STM32_1 from M I have 2 way: Directly from M to STM32_1 using a Modbus datasource, this solution is direct but no security (M is on the cloud ) and some interference using 2 master (M and S1) for the same slave (STM32_1) Pass through S1 with a publisher and use two different datapoint STM32_1_OnOff and STM32_1_OnOffFromMaster, this solution is undirect but is secure and just one master I'll try to complete implementation of solution 2) as you suggest. Thanks
  • Mango as GPS packet repeater

    4
    0 Votes
    4 Posts
    2k Views
    phildunlapP
    You certainly would want to point the device at /httpds to use the HTTP receiver, as you have seen. I would advise using that HTTP receiver point to update the context in a scripting data source, where I would split the value on the command and then process the different fields. The HTTP Receiver does not supply a means to parse within a parameter's value, and that whole value is the IMEI parameter in the HTTP message.
  • Mango Demo License Trend Pointvalues Table(MYSQL)

    10
    0 Votes
    10 Posts
    3k Views
    K
    @CraigWeb Every month 1st we rename existing table with suffix and create new pointvalues table. We did similar practice in older version of mango. We will study and try noSQL.
  • HTTP Sender Data Format

    2
    0 Votes
    2 Posts
    1k Views
    phildunlapP
    Hi nallenscott, The format of the HTTP publisher is not modifiable. You can add static parameters, but that's it. What is available is the HttpBuilder script utility. see: https://help.infiniteautomation.com/about-mango-java-script or the contextual help for scripting within Mango. There are a few example uses around the forum: https://www.google.com/search?q=site%3A%2F%2Fforum.infiniteautomation.com+httpbuilder&oq=site%3A%2F%2Fforum.infiniteautomation.com+httpbuilder You could do this in a script that is triggered on context update. The only downside here would be the HTTP Publisher is expecting a 200 OK back or it will attempt to publish the value again later, but you could script that if you required it by storing the update in some JavaScript list within the script.
  • Modbus 32 bit ints are not correct

    6
    0 Votes
    6 Posts
    2k Views
    CraigWebC
    When smaller numbers are correct and larger numbers are incorrect. It is usually due to swapped registers or not zero-basing your address. The good news is that Modbus devices will apply the same rule across all the 32 and 64-bit data so once you have figured out on one data point you can apply it to the rest.
  • simplest inline datetime format

    3
    0 Votes
    3 Posts
    2k Views
    Jared WiltshireJ
    @etantonio This is covered pretty extensively in the examples and API docs built into Mango. I would suggest using the Mango maMoment filter instead of the built in AngularJS date filter as you can specify a format string like {{myPoint.time | maMoment:'format':'ll LTS'}} to format the data in the user's selected locale.
  • Mango Persistent TCP Publisher HowTo

    5
    0 Votes
    5 Posts
    2k Views
    E
    Thanks, I was looking for it in the datasource menu, thanks again Antonio
  • Modbus TCP no recipient found for response

    19
    1 Votes
    19 Posts
    6k Views
    phildunlapP
    Hi rob987, Thanks for all your help Thank you for the very thorough first post! The kWh value is only really used to display "daily usage" of 15 - 30 kWh. It could be read every 15 - 30 minutes. Another possibility I forgot to mention would be using a scripting data source to enable, wait, and then disable the points that don't need the faster poll rate, and then speed up the polling on the data source normally.
  • JSON Dynamic Floor Plan

    4
    0 Votes
    4 Posts
    2k Views
    D
    Hi, I apologize for not having posted the link. Thank you so much for the reply, that's just what I was looking for. After importing the JSON, I confirm that everything works. Thanks again.
  • Sequential timing - Irrigation

    4
    0 Votes
    4 Posts
    2k Views
    MattFoxM
    I've written a few scripts/dashboards that involve irrigation in mango. Due to IP I cannot share it. I can definitely agree with the idea of using the advanced scheduler as that allows you to use time when to fire and set a duration. However if they are always sequential and you know that you will always have a fixed amount of sprinkler zones to work with I suggest doing a dashboard that involves the use of slider inputs to set your duration either in minutes or percentage (if your time will never exceed n minutes) and perhaps the same for a delay tied to a virtual data point. And also a binary datapoint with a <ma-switch) to toggle a zone on or off. As Phil suggests if you've got a PLC in the mix definitely use that as I'm sure you must have some sort of real time clock you can work from to generate the interrupts you need. Then map those to the settings generated via mango. ie timer ticks etc I'm not hugely aware of how your system is constructed. At least by every time you make an amendment to these settings, you can either make it trigger an update via the scripting source to push these settings down the line. Otherwise set it to have an hourly (or whatever is needed) push for the settings. Happy to give more input if you can describe how the system works. Sorry I don't use modbus so I cannot help a great deal in that area.
  • Simple html Table containing all values of alphanumeric datapoint

    9
    0 Votes
    9 Posts
    3k Views
    Jared WiltshireJ
    @etantonio I tried your code and it works perfectly on Mango 3.5, I can't see anything wrong with your markup. The data is there and the markup for the table is correct. I can only suggest inspecting the elements of the table using the debugger to ensure the ng-repeat is working. [image: mfht7eA.png]
  • Corrupt H2 Database

    4
    0 Votes
    4 Posts
    2k Views
    phildunlapP
    Are you restoring a backup from a previous version of Mango into a newer version? That's what it looks like. To do that, you would have to follow the instructions for doing the restore on the command line, so that Mango can follow its normal upgrade procedure during startup. The "eventDetectors" table which is missing was created in Upgrade12, which was released long ago. You'll want to move your existing mah2.h2.db file before doing the command line restore, for safe keeping.