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.

  • Docker and Mango v5.0.2

    Mango Automation Installation
    11
    0 Votes
    11 Posts
    3k Views
    M
    @MattFox When I execute your command, a container is created, but without Mango being installed. Since my knowledge is too limited, I'm going to install mango in a windows environment. Still, thank you for your efforts!
  • Manog HTS booting error

    Hardware
    5
    1 Votes
    5 Posts
    1k Views
    A
    @CraigWeb I may have a similar problem with my Mango HTS-V1-NISE-105. Screen advises to "Reboot and select proper device...". Can you reshare your tip.
  • How to query Value?

    User help
    2
    0 Votes
    2 Posts
    780 Views
    MattFoxM
    @sean You cannot query values per se, that's not the intended purpose of a time series DB. One suggestion I have is generating values and filtering the output based upon the provided timeframe, the input field, and displaying those timestamps for those records entered. The other is having a dedicated virtual datasource of virtual points whose Xids align with the accessCardID numbers and updating the corresponding datapoint everytime that accessCardID is entered into the system... Fox
  • Mango Login Issue

    User help
    4
    0 Votes
    4 Posts
    982 Views
    joeamiragliaJ
    @ryanlo To answer your initial question, the default login is still admin : admin. The easiest way to do a reset would be to stop Mango, move the database (move it to root ~/) from the /opt/mango/databases/ directory (from directory use, mv mah2.200.* ~/ command), then restart Mango. Similar direction could be found on our document site, you will not need to do the restore since this is a new unit. Thank you!
  • Rest API CORS config env.properties

    User help rest api cors
    6
    0 Votes
    6 Posts
    2k Views
    MattFoxM
    @MaP Understandable, that's why I went with the reverse proxy route, using ip tables is too low level in the OSI for the CORS related issues in the application layer. You may be able to set the env.properties to set the ip address of the interface you're trying to access to force it to only listen on that host ip address. See if that bears any fruit... Fox
  • BACnet publisher issues on RD121C unit

    How-To
    10
    0 Votes
    10 Posts
    3k Views
    L
    @Ruan-0 Good to hear the issue was solved!
  • apiv3

    Mango Automation general Discussion
    11
    0 Votes
    11 Posts
    3k Views
    Jdiaz-coJ
    @MattFox thanks for your help, ISO formatted It has worked correctly with the ISO timestamp format.
  • 1 Votes
    1 Posts
    634 Views
    No one has replied
  • Region Time Zone resetting

    Hardware
    3
    0 Votes
    3 Posts
    1k Views
    R
    @MattFox Thanks Mr. Fox
  • Issue with Serial Port Data Source

    User help
    6
    0 Votes
    6 Posts
    1k Views
    E
    @emeinig I got it resolved with a workaround. I'm going to post what I did for posterity and to hopefully help anyone who might come across the same issue in the future. What I ended up doing is creating a scripting data source. The datasource uses Rhino as its scripting engine so you can use some Java in it. With the Java, you can read/write to files and leverage the "Everything is a file" philosophy in *nix systems. The code: // import the file reader var FileReader = java.io.FileReader; var BufferedReader = java.io.BufferedReader; // import the writer. We must use OutputStreamWriter to write to device files var OutputStreamWriter = java.io.OutputStreamWriter; var FileOutputStream = java.io.FileOutputStream; // Be careful because this could change on us depending on how many USB devices // are plugged in var serial_port = "/dev/ttyUSB0"; // Initialize a bunch of blank strings to store measurements var max_time_measurements, temp_and_pressure, wind_attrs, solar_and_precip = new String(); // Set up the writer var file = new FileOutputStream(serial_port); var output = new OutputStreamWriter(file); // Set up the streamer var fr = new FileReader(serial_port); var br = new BufferedReader(fr); // Write the measurement command to the serial port and flush to ensure the // buffer is empty for the next command. output.write("0M!\r\n"); output.flush(); // The sensor takes around 3 seconds to return 9 values, so we sleep for 4 // seconds to give it a generous margin RuntimeManager.sleep(4000); // Now we write our data commands to get it all. output.write("0D0!\r\n"); output.flush(); output.write("0D1!\r\n"); output.flush(); output.write("0D2!\r\n"); output.flush(); output.close(); // readLine will read the return values max_time_measurements = br.readLine(); solar_and_precip = br.readLine(); wind_attrs = br.readLine(); temp_and_pressure = br.readLine(); //split the 0D0! result var solar_and_precip_array = solar_and_precip.split("+"); solarRad.set(solar_and_precip_array[1]); precipitation.set(solar_and_precip_array[2]); lightningStrikes.set(solar_and_precip_array[3]); //split the 0D1! result var wind_attrs_array = wind_attrs.split("+"); windSpeed.set(wind_attrs_array[1]); windDirection.set(wind_attrs_array[2]); gustWindSpeed.set(wind_attrs_array[3]); //split the 0D2! result var temp_and_pressure_array = temp_and_pressure.split("+"); temp.set(temp_and_pressure_array[1]); vaporPressure.set(temp_and_pressure_array[2]); atmosphericPressure.set(temp_and_pressure_array[3]); The code isn't the prettiest or most elegant but it does work. Just make sure you have the necessary variables created as data points and that they're settable and you're all good to go.
  • Help with ideas for how to guide

    User help
    9
    1 Votes
    9 Posts
    3k Views
    joeamiragliaJ
    @tomatopi We are still working on documentation. I know it has been a very slow process but we are adding what we can to the doc sites (v4 and v5) as well as adding scripts to our script-examples in GitHub.
  • 0 Votes
    3 Posts
    1k Views
    R
    @MattFox Thanks Mr. That did the trick.
  • Making a module for alternative url path other than UI

    User help
    6
    0 Votes
    6 Posts
    2k Views
    MattFoxM
    @terrypacker Fantastic, thanks Terry! Looks like I'm on the right track! Thanks I'll give it a go! Fox
  • Mango as NTP Client / DNP Master

    Mango General
    2
    0 Votes
    2 Posts
    1k Views
    MattFoxM
    @harshang-p-trivedi1 have you sorted this? I ask because you mention about ntp, linux already natively supports ntp out of the box as a client. I'd argue if you're using an HTS for any kind of controls, I'd leave it to do that. The less overhead you have, the leaner the system will be and you'll have less issues when issuing controls from mango. Fox
  • 0 Votes
    2 Posts
    966 Views
    terrypackerT
    @gbccccc first you need to define what "new slave is started successfully means". If just binding to the port and waiting for connections is enough then you can assume that if you call the method and a ModbusInitException is thrown then it is not running. Otherwise it is bound to the port and waiting for connections. If you want to know that something is connected you could extend the TcpSlave class like this: public class MonitoredTcpSlave extends TcpSlave { public MonitoredTcpSlave(int port, boolean encapsulated) { super(port, encapsulated); } public boolean hasConnection() { return !listConnections.isEmpty(); } } As a last resort you could create your own TcpSlave by extending com.serotonin.modbus4j.ModbusSlaveSet.ModbusSlaveSet
  • Quest About Restful API

    User help
    2
    0 Votes
    2 Posts
    723 Views
    CraigWebC
    @sean Are you providing a JWT key in the request ?
  • Uploading an Excel for Reports

    How-To
    5
    0 Votes
    5 Posts
    2k Views
    tractorproviderT
    I think you need to install the updated version.
  • Cannot build with maven for custom module

    Mango feedback
    6
    2 Votes
    6 Posts
    1k Views
    MattFoxM
    @MattFox Good news, was able to implement my own proxy server and direct all https traffic through it. Now can get on and finish what I started! Have a great weekend all! Fox
  • Restoring H2 Database into Mango V3

    User help
    7
    0 Votes
    7 Posts
    2k Views
    MattFoxM
    @fishfacs so you don't have noSql then. There should be a pointvalues table in your h2 db that is populated with data then. Fox
  • BACnet4j Schedule

    BACnet4J general discussion
    2
    0 Votes
    2 Posts
    956 Views
    K
    Can someone help me with above ?