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.

  • ModBus RS-485 TUF-2000M meters

    6
    0 Votes
    6 Posts
    3k Views
    phildunlapP
    @craig, One would think one should be able to daisy chain some devices, no? Certainly in our deployments we have daisy chained RS485 modbus devices and not encountered this. I don't dispute that your description sure does sound like it would eliminate any possibility of getting the issue, but it doesn't seem like it should be necessary. I do agree that it'll be the fastest, easiest path to resolution, though, since no more investigation would be called for. @Devin-Homan41 I edited out Ed's email address. Partially because I don't know what Ed would like an Email about, and partially because I don't know Ed would like emails from anyone who wanders by. I wonder if you're seeing two registers on the same slave ID cross, two slaves cross in the same register, or two different registers from two different slaves cross? Judging from your configuration alone, nothing seems too unusual. My first question is if your serial data source reset logic would fire three times for this data source should the data source stop polling (I think it would, to hopefully no effect, but quite interesting). I may also try things like lowering retries to 1, lowering max read registers to 1 (for 2 byte data types, 2 for 4, 4 for 8) and unchecking contiguous batches Enabling data source alarms at a higher level than None, such that you notice if there's an ongoing error in polling. (For the version of Mango you're on, likely the only place you could see None level events is by directly querying the database's events table) I may try to reference times your reset script had fired against moments of crossed data, also, because that script seems unusual to me.
  • How to draw a chart for only one data point.

    4
    0 Votes
    4 Posts
    3k Views
    J
    Thank both of you. It is true, the solution is to change the attribute "point": <ma-point-values point="point1" by the attribute "point-xid" with the XID of the data point you want to draw: <ma-point-values point-xid="myXID" Could be a good idea to add an example to the "Mango Dashboard Examples" with this option to draw a chart. Thanks.
  • How to implement metadata?

    5
    0 Votes
    5 Posts
    2k Views
    T
    OK, cool, I will try that as well...Thanks!
  • Dashboards translations

    5
    0 Votes
    5 Posts
    2k Views
    Jared WiltshireJ
    @przemom We have released Mango 2.8.0 for testing which supports much better and easier localization, Mango will automatically detect your locale from the OS and use this for translations and date formatting (in the dashboards). All you need to do is place your translations file in overrides/properties as described above. If for some reason Mango is not using your OS locale or you want to override it, you can start Mango with java command line options such as -Duser.country=PL -Duser.language=pl See here for the Mango 2.8 download link - http://infiniteautomation.com/forum/topic/2549/mango-2-8-0-ready-for-beta-testing If you want to wait there will be a 2.8 release in the store soon for automatic upgrades.
  • Very log startup

    8
    0 Votes
    8 Posts
    3k Views
    phildunlapP
    Glad to hear it!
  • Mango Persistent TCP publisher constantly resets connection

    26
    0 Votes
    26 Posts
    7k Views
    M
    I recently raised a support ticket for this - please disregard the Support Ticket - we applied this fix to the enterprise mango and the problem seems to have gone . We also applied this to the maintenance events table. I think during our upgrade from H2 -> MySQL this problem occurred. Thankyou for your help and suggestions for getting this problem fixed. [image: NgDyWE4.png]
  • Can't save new or existing data points - "a server error has occurred"

    2
    0 Votes
    2 Posts
    1k Views
    S
    Just to update this... I had a maintenance window out of hours and updates packages with apt, then rebooted, and now its working.. I don't think updating the packages is what did it, more likely it was the reboot that fixed it. Weird. Hope this helps someone else if they see similar behaviour. Cheers! -Shaun
  • 0 Votes
    5 Posts
    2k Views
    JoelHaggarJ
    I think there could be a issue between our email systems. I sent you another email on November 1st with no response from you. Please try responding to the original ticket you set to the IAS support email. If that doesn't work we can use Skype of google hangout.
  • metadata points to calculate duty cycle and measure on and off time

    3
    0 Votes
    3 Posts
    1k Views
    S
    Hi Phil, Thanks for the info... I'll check it out. Cheers!
  • Cannot browse tag of a OPC DA data source

    2
    0 Votes
    2 Posts
    2k Views
    mebiusM
    it is MA 2.7 on windows XP.
  • Program devices via ControlCore using Mango as a Modbus Gateway

    8
    0 Votes
    8 Posts
    2k Views
    M
    Thank you Joel I got it to work. The only thing I had to change was the Bit rate back to 9600, which is what our modbus network runs at.
  • Recommended steps for moving a point from one metadata source to another

    3
    0 Votes
    3 Posts
    2k Views
    P
    Thanks, Phil, that's very useful. It was also insightful of you to note that narrowing down by device name is the most logical way to select the source points to be moved, as renaming the Device Name was probably the first step done by an admin looking to group points within a source that already has many points.
  • Dashboards input "ma-set-point-value"

    12
    0 Votes
    12 Posts
    6k Views
    phildunlapP
    Yes. You can set a home page for each user on the users page, which is where they will be directed at login. You can use permissions groups to restrict access to pages and points, if necessary. These are also set on the Users page, but access controls are dispersed around, with core pages being governed by permissions on the System Settings page, data points have permissions which can be set individually in their editor or in bulk in the "Bulk Permissions" section of the Users page, and dashboard restrictions are in the permissions field of the page editor.
  • 0 Votes
    6 Posts
    2k Views
    ThomasEinastoT
    Hi Phil, I have these two scripts in my global scripts so I can call them out in the datapoints. Note, after every if clause there is a return. I am calling them out in the datapoints like this Damperstate(p538,p537,p539,p540,p592,p594); So the function should work then. I am sure the scripts have to work because I am using the exact same function on my other MangoES instance and everything works fine. I will look into the github issue as the problem maybe because of the disable/re-enabling. But I cannot see the bugfix there? As I can only see the description and that the problem has been closed and fixed. Thomas Edit - The first issue about updating has been fixed with adding DNS servers. Thanks. The problems with meta are still open. Note: By adding return in front of the function as you suggested seems to give me a different result. Will keep you updated if the result is correct! It seems all the problems have been resolved hopefully. Will test the system for a day and post the result at the end of the day. It seems that you can say that I had "return blindness" in coding. Sorry for the trouble. Many thanks to you Phil.
  • Modbus point not observing "Discard extreme values" during point write

    7
    0 Votes
    7 Posts
    2k Views
    P
    I installed your modbus module, and it seems to be working as expected. Thank you very much for addressing this so quickly. I really hope that the next release discards extreme values when setting points.
  • Upgrade then no restart

    3
    0 Votes
    3 Posts
    2k Views
    L
    All, Thanks for the help. After starting ma-bat in terminal we saw that the upgrade was not complete. We backed out and did the upgrade manually and all is well now. Thanks again for the help. Larry
  • Problem with template admin

    4
    0 Votes
    4 Posts
    2k Views
    P
    Hi, Thanks for answer. Problem solved...proxy server blocked OPTIONS reguests.
  • 0 Votes
    3 Posts
    2k Views
    D
    @phildunlap Great thank you! That makes sense, I do remember messing with those settings trying to get the custom dashboard to reload properly which I had help fixing in another topic.
  • Feeding an external application expecting RESTful webservice

    5
    0 Votes
    5 Posts
    2k Views
    S
    Thank you for the interesting news Joel! I had a bit contact with swagger and will dive deeper now to get it going. Regards, Sasa
  • How to use Publishers - HTTP Sender?

    9
    0 Votes
    9 Posts
    5k Views
    phildunlapP
    Hi Sasa, There is no way to configure the HTTP publisher to send arbitrary JSON in its body. Depending on the requirements of your situation, you may be able to achieve this with the TCP/IP data source. If the responses to the posts aren't especially important, and if getting data synchronized isn't especially important, meaning live data is the focus, I think TCP/IP and a script could be an adequate solution. I don't know how many values/second you could get, though... hopefully several hundred or thousand. You'd want a TCP/IP data source, pointed at the IP or host and port that you are wishing to POST data to. Create a single data point on this data source, let's call it "dataOut". Properties; Datatype: Alphanumeric Queryable: Unchecked Read Command: Value Regex: .* //Also, you could consider using something that catches \n Value Index: 0 Settable: Checked Write Command: %VALUE% Now you'll want a scripting data source, running on a cron, with one or more points to be published and also dataOut in context. I've presumed the service we're publishing to accepts batches, but the logic of it all should be similar regardless. var pointsToPublish = [p1, p2, p3] var startTime = new Date().getTime() - 1000; //This is related to the cron of the script function buildPost(jsonBody) { //Adjust your Host for sure, but you may need additional headers return "POST /dataEndpoint HTTP/1.1\nUser-Agent: Sasa custom publisher\nContent-Length: " + jsonBody.length + "\nContent-Type: application/json\nHost: localhost:1234\n\n" + jsonBody; } for(var p = 0; p < pointsToPublish.length; p+=1) { var values = pointsToPublish[p].getValuesSince(startTime); var queue = [] for(var k = 0; k < values.length; k+=1) { queue.push({ "identifier": "1", "timestamp": String(values[k].time), "value" : String(values[k].value), "type" : "27", "status" : "1", "smgwid" : "1", "obis" : "1-0:1.8.0", "validation": "xyz" }); } dataOut.set(buildPost(JSON.stringify(queue))); } This script would be running on a cron like 0/1 * * * * ? but this may cause problems. The Timeout for the TCP/IP data source will be limitting for each dataOut.set() call, so you'll want the cron to perhaps be 0/5, then the startTime to be now-5000 such that you can send 15 messages with a 300 ms timeout with some extra wiggle room. Just watch for aborted polls of the Scripting data source, and adjust accordingly.