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.

  • Meta Datasource, problem with setting points

    4
    0 Votes
    4 Posts
    2k Views
    L
    Hi JoelHaggar, It solves my problem. Thank you very much!
  • Http sender, url encoding...

    4
    0 Votes
    4 Posts
    3k Views
    K
    @skiv71 said: Hi, Can anyone tell me what files are responsible for encoding the URL's sent via the http sender? If i create a sending string, from a data point, such as... 'abc&__value=xyz' and the sending parameter = __point It should send http://host?__point=abc&__value=xyz but instead it converts everything in the data point string... so the receiver see's http://host?__point=abc%26__value%3Dxyz. Now a php server i've running can cope with this, but what i'd like to do it publish to a mango http receiver. In this case, the http receiver doesn't decode the string, and takes it as it is and so fails. Is the encoding down to the dojo uri.js file? Or is the error in that the http receiver is not decoding the url and reading it literally? Thanks Neil Hey Neil, I don't know if you ever sorted out that issue. I would say that it is definitely an issue with the receiving party not decoding them properly. URL encoding is pretty standard actually. Ref: http://en.wikipedia.org/wiki/Percent-encoding Regards, KD
  • Timezone issues

    7
    0 Votes
    7 Posts
    3k Views
    phildunlapP
    It's in the user settings page for Mango 2.0.6/2.0.7. I can't speak to previous versions.
  • How to force old not calculated metadata to be calculated ?

    8
    0 Votes
    8 Posts
    3k Views
    B
    It's good workaround. Thankyou
  • Multiple instance

    7
    0 Votes
    7 Posts
    3k Views
    K
    Still working on multiple instances. After further reading, I've changed tomcat to allow multiple instances of the webapp mango within one instance of tomcat. e.g. created multiple subdirs under /tomcat, modified server.xml for separate ports, created separate MySQL databases for each instance, etc. Results are the same: Multiple Mangos appear to run at the same time. An instance stays logged in until a second instance is clicked, at which time the second instance is found to be not logged in, and the first instance will be found to be logged out when it is clicked. Any help would be appreciated.
  • Mango Clock

    11
    0 Votes
    11 Posts
    5k Views
    JoelHaggarJ
    Here is some documentation on making modules but your best learning tool will be to look at the code of the existing ones: http://store.infiniteautomation.com/documentation/developers Joel.
  • Retrieve data from SQLite Database

    5
    0 Votes
    5 Posts
    3k Views
    A
    I do not have a username & password for my sqlite db and how should i formulate the connection string? Please help. Thanks so much! Anirudh
  • [SOLVED]Arduino HTTP

    2
    0 Votes
    2 Posts
    1k Views
    B
    Hi. I have an arduino ethernet which controls a relay. If I send in a browser http://192.168.1.10/relay1on, it turn on the relay and the browser return 1, if I send http://192.168.1.10/relay1off, the relay turns off and the browser return 0. The question is how can I make a button in graphical view to turn the relay on and off? Thanks. It can be done with Publisher. I will come back with details.
  • [SOLVED] With mysql db, browser halts importing ...

    2
    0 Votes
    2 Posts
    1k Views
    B
    ... it imports a bunch of data and then stays with message "importing" but does nothing ... Solution: Modify /etc/mysql/my.conf and change max_connections from 100 to say 500. restart mysql Now it works like a charm !
  • Custom Timestamp in HTTP Receiver

    5
    0 Votes
    5 Posts
    2k Views
    JoelHaggarJ
    No problem, we have a forum for discussion regarding earlier versions of Mango: http://forum.infiniteautomation.com/forum/forums/show/1.page you might get more assistance if you post it there. Also, the most recent version of Mango Automation has been optimized for low power computers and for small applications runs quite well on the Raspberry Pi so might be worth giving it a try. Thanks, Joel.
  • Http receiver

    5
    0 Votes
    5 Posts
    3k Views
    A
    Hi Phillip, Thank you so much for taking out the time to help me with this. This information will definitely help me get started. I will give it a shot to this set this up. Thanks again! Regards, Anirudh
  • HOWtO HTTP receiver in order to return point values

    2
    0 Votes
    2 Posts
    2k Views
    N
    Hi everybody, I have a very simple question : "how can I use prologue and epilogue" ? As far as I look in the online doc, I canno't figure out where I can write the " insert into systemSettings (settingName, settingValue) values ('httpdsPrologue', 'my prologue content')" sentence ... My real Goal is to use a response from Mango to send POINT STATUS back to the requester (Netio), so that I could see in which rel state my points are ... So even if I deal wth prologue, I will only have a confirmation that my request as been correctly sent and processed, but not that my pont has changed status (It could be blocked by another process) If you know another way to do this (with HTTP) ..let me know. Bye and Thanks
  • Cannot receive the report email on windows server2012

    3
    0 Votes
    3 Posts
    2k Views
    phildunlapP
    For some reason the SMTP can occasionally have problems resolving the hostname, so a fix is to use the IP instead. Instead of host:smtp.gmail.com try host:74.125.142.108 and see if that works (it's just the IP of smtp.gmail.com, test by pinging smtp.gmail.com in cmd.exe)
  • Webhosting running mango as a client

    3
    0 Votes
    3 Posts
    2k Views
    S
    Hi David, Mango can definitely be hosted in the cloud and display information revenant to individual users. I recommend you install a free version of Mango on a cloud server for testing. Feel free to contact us for further info. Cheers,
  • Script error: ???globalScript.rhinoException(i18n_fr)???

    2
    0 Votes
    2 Posts
    1k Views
    A
    Hello, I have installed Mango (2.0.6) on a Debian server (6.0.7) with java 7u21. The hardware is Microclient Sr (http://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDMQFjAA&url=http%3A%2F%2Fwww.norhtec.com%2Fproducts%2Fmcsr%2F&ei=YfGwUarnLMjE7Aa7voGAAw&usg=AFQjCNHubg54Y6WzMhN9IDRkuabiiHvD9Q&bvm=bv.47534661,d.ZGU) I was able to setup a HTTP Retriever that gets values from counters from an IPX800 RTU (http://www.gce-electronics.com/fr/57-carte-8-relais-ethernet-ip-ipx800-v3.html);it works. I want now to use a scripting datasource to do some calculation on this counters. I'm trying to calculate the power used every hours in kWh using the HTTP retreiver (DP_812785). What ever I write in the script window and test I get the same error: ???globalScript.rhinoException(i18n_fr)??? My debian install is in French. It looks like there is an internationalization issue but I don't really know where to look to solve the problem. Thank you very much for your help Here is an export of the scripting datasource: { "dataSources":[ { "xid":"DS_221545", "type":"SCRIPTING", "alarmLevels":{ "SCRIPT_ERROR":"URGENT", "DATA_TYPE_ERROR":"URGENT", "LOG_ERROR":"URGENT" }, "purgeType":"MONTHS", "context":[ { "dataPointXid":"DP_812785", "varName":"p1" } ], "logLevel":"NONE", "cronPattern":"0 0/15 * * * ?", "executionDelaySeconds":0, "script":"return p1.value;", "enabled":true, "name":"Elec_Month", "purgeOverride":true, "purgePeriod":2 } ] }
  • Edit PointValue history and extreme values

    2
    0 Votes
    2 Posts
    2k Views
    P
    Extreme or incorrect values in the Mango data history have caused me a lot of problems (see the [url=http://mango.serotoninsoftware.com/forum/posts/list/1375.page Incorrect 0 point value...). We must have a way to locate and purge or modify selected data values in the PointValue history. I have deleted extreme values in the past via SQL, but these deletions are subject to errors (i.e. dangerous) and have often resulted in high-CPU usage problems that could only be rectified by restarting the Mango service. While the "Discard extreme values" datapoint function is useful, it has limitations: It only applies to new values; it does not remove extreme values from the point history In most cases the Discard feature is not enabled until extreme values have already been stored in the history The discard value will not discard invalid 0.00000 values; it will only discard extreme values If the Discard function is enabled, there is no way to detect the time, frequency, or value of the discarded data, which makes it difficult to troubleshoot and prevent extreme values from occurring in the future.[/list] It would be helpful if an optional alarm event were initiated each time an extreme value is discarded. The alarm would include the time stamp, the discarded value, and the discard threshold. What we need most of all is a point history editor that provides a means to select points based on their value and timestamp meeting certain criteria, and then either purge or modify those values (e.g. multiply or add to the point).
  • Snmp

    5
    0 Votes
    5 Posts
    3k Views
    I
    Try to put .0 at the end. Probaj dodati kada testiraš .0 na kraju OID-a
  • 0 Votes
    3 Posts
    3k Views
    U
    and after a while, this one appears: WARN 2013-05-14 10:58:13,757 (com.serotonin.mango.rt.dataSource.modbus.ModbusDataSource.receivedException:385) - Modbus exception java.net.SocketException: Unrecognized Windows Sockets error: -1: socket available at java.net.PlainSocketImpl.socketAvailable(Native Method) at java.net.PlainSocketImpl.available(PlainSocketImpl.java:472) at java.net.SocketInputStream.available(SocketInputStream.java:217) at com.serotonin.messaging.InputStreamListener.run(InputStreamListener.java:63) at java.lang.Thread.run(Thread.java:662)
  • Excessive nightly 3am server slow-downs

    3
    0 Votes
    3 Posts
    2k Views
    P
    The nightly 'Medium Priority Work Items' that are causing 'datasource time value unchanged for 1 minute' alarms imply that there is a slowdown in the 1 second interval reading of the modbus data source. The problem isn't just the alarm, it is the data dropout that the alarm implies. This appears to be triggered every night by the automatic data purge: INFO 2013-05-04 03:05:00,001 (com.serotonin.m2m2.rt.maint.DataPurge.executeImpl:60) - Data purge started INFO 2013-05-04 03:08:31,832 (com.serotonin.m2m2.rt.maint.DataPurge.executeImpl:70) - Data purge ended, 2001716 point samples deleted A simple solution may be to assign a low (or lower) priority to the data purge process, or assign it with ionice so that it does not tax the disk IO. When could something like this be implemented? I have roughly 300 datapoints using Mango core 2.0.6 Thanks.
  • The Generate History function of a meta data source is not working

    2
    0 Votes
    2 Posts
    2k Views
    P
    Whether I create a new meta datapoint or edit an existing one, when I click on Generate History that icon blinks for a while, and then a pop-up window displays the number of points generated. The number of points generated seems to correspond to the "Update event" interval and the inception of the first input context point; the wait time also seems to correlate to the number of points generated. However, the "Point Details" page does not show the newly generated points: neither in the point history nor in the graph. I suspect that the point history is being generated but not stored in the database. I use this feature a lot, both when fine tuning formulas or when creating new meta datapoints. Can you please look into this ASAP? Relevant modules: core 2.0.6, meta 1.4.0 On a related note, when I was using Mango 1.12.4, it seemed that I often had to purge all data before generating history. Does "generate history" always generate from Inception to Latest, or do I have to purge old data first? What time interval does it generate over if I already have points in the history? Thanks.