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 PermissionHolder ?

    User help
    1
    0 Votes
    1 Posts
    610 Views
    No one has replied
  • Delay SMS notification from Event Handler

    User help
    4
    0 Votes
    4 Posts
    1k Views
    terrypackerT
    @ryanlo In addition to what @MattFox is saying you should also see an Event / Alarm in the UI to correspond to the event being detected. The handler should be linked to that event and as Matt said, if you setup logging correctly you will also see it in the logs.
  • 0 Votes
    13 Posts
    4k Views
    MattFoxM
    @mkart-vrn there are help docs available. This can be exposed by showing them via the edit menu page and saving the changes. Alternatively, on the scripting datasource page. There are question marks you can click on that will render a sidebar to the right with a detailed explanation and or help docs. I also encourage you to look through the forum and see what has been accomplished by other mango power users. As for delays, there is a delay option so you can delay the firing of a script upon a trigger as well as using a cron style scheduler. There's also an advanced scheduler which you can attach event actions to for triggering scripts, running a local application, even setting point values. Feel free to raise more forum posts in user help to fill in any blank areas. I'm on here throughout the week usually. I'm currently remote however so expect up to week delays... Fox
  • Move Data Points to new Data Source

    User help
    3
    0 Votes
    3 Posts
    1k Views
    T
    That really helps. Setting up the new data source isn't a problem. The B part: JSON import/export - that looks like the easiest way to go. In each data point, I'd just have to change dataSourceXid and the settings under pointLocator to reflect JSON fields instead of RegEx fields. Sounds not too hard, but I find documentation is a bit lacking on the NoSQL tools. It would be useful is mango provided an easy point history import/export feature. I know in the watch-list I can export CSV, but it would be nice to have an "export all" for a datapoint somewhere that could be easily imported back in. Like an additional tab to import/export data points. Sounds more complicated than the route I'd like to go down. Keeping the XID the same wouldn't break things elsewhere. I don't know how often it happens, but maybe a future tool to move a data point to a new data source would be useful?
  • Linux Version advice needed

    User help
    3
    0 Votes
    3 Posts
    1k Views
    BGB
    @MattFox Thank you very much. That puts my mind at ease a bit more now. Cheers Brian
  • Dashboard designer show units

    User help
    6
    0 Votes
    6 Posts
    2k Views
    MattFoxM
    @Mark you can, just wrap in <span> tags, there are other ways, but depends how technical you want to be Fox
  • Disabling Event Handlers - User

    User help
    7
    0 Votes
    7 Posts
    3k Views
    H
    @terrypacker Thanks, I will set them up using meta points as you suggest.
  • Docker and Mango v5.0.2

    Mango Automation Installation
    11
    0 Votes
    11 Posts
    9k 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!
  • How to query Value?

    User help
    2
    0 Votes
    2 Posts
    1k 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
    1k 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
    3k 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
    9k Views
    L
    @Ruan-0 Good to hear the issue was solved!
  • apiv3

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

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

    User help
    6
    0 Votes
    6 Posts
    2k 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
    4k 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
    2k 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
    5k 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