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.

  • How to get data from a plc, to mango. no modbus protocol

    5
    0 Votes
    5 Posts
    3k Views
    M
    Jazz, Mango documentation is contextual within the application. Install and start, and you will see the "?" icons all over.
  • Email Settings

    2
    0 Votes
    2 Posts
    2k Views
    P
    When I create a new user and click on ' Send test Email ' . It throws an exception ' Failed to send email titled "Mango test email" to "preeti.patankar@rediffmail.com". Message: "Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect" ' .I open the Email settings in System settings but I dont know what I can enter in SMTP host and From address . Any help ? Also should I check the Enable TLS box ? What is it used for ?
  • How to get data from java application ?

    11
    0 Votes
    11 Posts
    5k Views
    P
    Thanks Matthew . I am using Publisher feature from one Mango instance running on my machine to send some static data ( a = 10) to another Mango instance using HTTP Receiver datasource running on my machine . Here both the publisher and receiver are on same ip address. In HTTP sender properties I mention http://<ip address>:port/test/httpds . On HTTP Receiver side on clicking HTTP Receiver Listener I can see : Source : ip address Device id : Time : a= 10 b=10 . I want the same data in tabular format ( a jsp file) . How can I do it ? I can very well write a jsp page , but where in source code should I plug this page ? Also , data is received at httpds . Where is this httpds in source code ? Can I get it and simply put my jsp in its place ?
  • Simple point components right aligned

    6
    0 Votes
    6 Posts
    3k Views
    P
    Great, thank you! Regards, Greg
  • Hexidecimal MODBUS Register Data

    7
    0 Votes
    7 Posts
    3k Views
    M
    Look for "Mango M2M Source" here: http://mango.serotoninsoftware.com/download.jsp.
  • SNMP newbie help

    2
    0 Votes
    2 Posts
    2k Views
    Z
    I have a hardware I/O device that comunicates via SNMP and am having trouble setting up an SNMP data source for this device. I would assume the 'Host' properties box is the IP address of the device? What should I have in the 'Export ID (XID)' proberties box? The 'comunity' properties box? And the 'Local address' box ? I try the SNMP testing box for known OID's but it comes back 'host not found'. The basic interface OID is .1.3.6.1.2.1.2 and for one of the single contact inputs the OID is .1.3.6.1.4.1.539.8.12.3.1.2.1.1.1.9 Is the first dot required in the snmp testing box? This mango server is under XP and version 1.8.2 , JDK 6.18 Do I need to do anything else to enable snmp on this mango sever? I can walk the MIB / OID's from various other software packages without a problem on a different PC to mago server though. Thanks Zap.
  • Problem with 1-wire measurements

    6
    0 Votes
    6 Posts
    3k Views
    A
    Hi! Indeed Java was updated its latest version. All the files into right palace and now all works fine.
  • Error on Startup: key PRIMARY in userEvents

    9
    0 Votes
    9 Posts
    5k Views
    A
    running the script line by line in MYSQL Query Browser fixes the database. If you want me to test this with the next release post me a rc of that. So I consider this bug as closed. Arne
  • Monitoring application/daemon in a remote linux machine

    12
    0 Votes
    12 Posts
    6k Views
    P
    Hello everyone, after some testing and considering that I'm new with java to solve my problem I have proceeded as follows: MANGO->proxy->agent a) I created a html control with a button that makes a local call to a proxy java (proxyProcess) by ajax <script language="javascript"> <!-- var myRequest = null; function CreateXmlHttpReq( handler) { alert("create XmllHttpReq"); var xmlhttp = null; xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = handler; return xmlhttp; } function myHandler() { if (myRequest.readyState == 4 && myRequest.status == 200) { alert(myRequest.responseText); } } function sendRequest( operation) { var path = '?process=snmpd&command=' + operation; var urlProxy = 'http://xxx.xxx.xxx.xxx:8080/proxyPROCESS' + path; alert("sendRequest to proxy \n" + urlProxy); try { myRequest = CreateXmlHttpReq(myHandler); myRequest.open( 'GET', urlProxy, true); myRequest.send( null); } catch(e) { alert(e.message); } } --> </script> <input type="button" value="start " onclick="sendRequest('start')" /> b) I created a servlet (positioned between the servlet Mango) proxyProcess.class that received the request makes a remote call (http://yyy.yyy.yyy.yyy/provaXMango/PROCESSI/processCommands.php?process = "+ param1 + "& command =" + param2) to the server where I want to execute the command public class proxyPROCESS extends HttpServlet { private static final long serialVersionUID = 1L; protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { String param1 = request.getParameter("process"); String param2 = request.getParameter("command"); URL url = new URL("http://yyy.yyy.yyy.yyy/provaXMango/PROCESSI/processCommands.php?process=" + param1 + "&command=" + param2); HttpURLConnection conn = (HttpURLConnection)url.openConnection(); int code = conn.getResponseCode(); //conn.disconnect(); } catch(MalformedURLException ex) { ex.printStackTrace(); } catch(IOException ioex) { ioex.printStackTrace(); } } } c) I created an php agent on the remote server to run command <?php $availableProcess = array(); getProcess( $availableProcess); $qs = $_SERVER['QUERY_STRING']; $process = $_GET['process']; $command = $_GET['command']; //comando to execute $completeCommand = "sudo /etc/init.d/" . $process . " " . $command; $tmp = exec( $completeCommand, $outputs, $ret_var); ?> To execute commands with www user with sudo, you need to enable the www user to run the desired command in sudoers, for example apache yyy.yyy.yyy.yyy=NOPASSWD: /etc/init.d/snmpd Everything works correctly! Probably this is not the optimal solution, but it works! Ciao
  • Firefox error

    4
    0 Votes
    4 Posts
    3k Views
    A
    Mango seems to work OK with Firefox 3.6, so as a quick fix you could do this: In ROOT/resources/header.js in the function checkCombo add a statement that returns true for version == 3.6.
  • Directory structure of "com/serotonin/mango"

    2
    0 Votes
    2 Posts
    2k Views
    A
    1.I am not understanding the directory structure of "com/serotonin/mango" why particular directory/package is there e.g 'view','db','rt','vo' and so on and what these directories and sub directories are meant for 2. what are 'rt','vo','util','db','web',view' directories and their sub directories for my guess 'db' is layer for all DB related work and 'db/dao' for data access objects like to access class objects for corresponding table in database. Please provide me with the complete documentation of mango with directory structure description
  • Anonymous access to tabular data

    5
    0 Votes
    5 Posts
    3k Views
    M
    Yes, you just need to set it up so. Check out how the login page is done (i.e. publicly accessible).
  • Point details: problem with decimal separator ?

    3
    0 Votes
    3 Posts
    2k Views
    M
    Sorry, statistics aren't working in 1.8.1. The problem has been fixed for version 1.8.2.
  • Meta Data Source HELP

    17
    0 Votes
    17 Posts
    8k Views
    M
    Glad to hear. Thanks for closing off.
  • Value DS2324 increases after saving metapoint

    9
    0 Votes
    9 Posts
    4k Views
    S
    i found that in the help and use that. it seems that de ds2324 increases by it self I changed the input of the ds2324 device and now the other input is increasing. i have the value of the counter also in the graphical view so i can see if the value of the counter increases. If the value of the counter increases its normal that the metapoint also increases i dont know why the counter increases, when i had the device connected to logtemp it worked fine perhaps the way of reading it is different on mango than on logtemp the device is found as ds2423 device and the hobbyboard i use has the ds DS2423P 1-wire chip on it. http://www.hobby-boards.com/catalog/product_info.php?cPath=24&products_id=42 i dont know why the counter has this behavior on mango its strange
  • Mango 1.8.1 Version Error -

    9
    0 Votes
    9 Posts
    5k Views
    M
    A problem was found in the recent changes from Object values to the MangoValue base class in the stats chart snippet. A fix for this will be in the next release. Sorry for the inconvenience.
  • Simple point text after value

    5
    0 Votes
    5 Posts
    3k Views
    A
    point details -> edit data point, Text render properties->suffix
  • Ds2423

    11
    0 Votes
    11 Posts
    5k Views
    S
    @craig said: as I understand his point value pulses every time a kwh passes. I assumed the magnitude of the pulse was 1, so the sum of pulses in the past day was the kwh for the day. even if the script was recursing, it doesn't reference itself, so shouldn't be growing like the other fellow's. Perhaps his point value is already the sum of the pulses, and is slowly increasing. in this case he wants p1.value - p1.ago(DAY,1) to get just the pulses today. The Value of the counter on the 2324 = 2762 the value of the metapoint is 44464.0 that doesn't make sense at the moment there are no pulses generated for the script i only use the line that was posted here I canged in the code the sum to count and it seems to work i have to wait until tommorow to see if the value wil be starting over from zero
  • How to create a counter meta point

    7
    0 Votes
    7 Posts
    4k Views
    A
    I think it would indeed be best if the meta point didn't update upon a change of itself. I can think of other interesting uses if you can add the meta point value itself to the script context if it didn't update upon it's own change. You could for instance have metapoint m be an exponential smoothed version of data point p with smoothing factor x, like this: m(N) = x*p(N-1) + (1-x)*m(N-1)
  • How to read OID Tables

    7
    0 Votes
    7 Posts
    5k Views
    W
    Ok i asume this is not possible, thanks anyway