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.

  • Script context points as enumerable

    7
    0 Votes
    7 Posts
    2k Views
    T
    @jared-wiltshire perfect, thanks!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • Custom Data Source

    3
    0 Votes
    3 Posts
    1k Views
    cbyrneC
    Perfect, thanks @terrypacker!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Development and Production Environment Best Practices

    7
    0 Votes
    7 Posts
    2k Views
    MattFoxM
    Yes I use bitbucket. I use the gitflow approach so that all changes are pushed back into the dev branch then when all works, it gets pushed into the master. I was developing when mango stored its mangoUI in individual files so when Jared changed to webpack it was a bit too late for me as my codebase is too big to rejig to work with the way infinite do things now. Here's how I do it: use a local mango and deploy your userModule and file structure in [MANGO_HOME]/overrides/web/modules/mangoUI/web mangoUI settings for userModule location are: /modules/mangoUI/web/userModule.js I like to throw a ?D=timestamp on the end to help if I've changed contents of the usermodule file. I like the user module in the web directory then store all of my components etc in other directories beyond it. Use git to commit all of my files that I need for the userModule and the userModule itself and push them into source control. My mango cloud is actually a cloud based server that I host mango on, so I have full control of the system. This also means unfortunately if something goes to buggery it's my boss ringing me at some ungodly hour to fix it... Where the main mango is hosted I pull the changes I have made and that updates all corresponding files. To fight caching, when "requiring" certain files, create a version number constant at the top of the usermodule file. It's globally accessible and appends a dateTime string to it. So when files are called by mango you add on the end: //Don't quote me on the DateTime format I'm on holiday! const UM_VER = "?umVer=1.0.1_"+new Date().format("yyyyMMDDhhmm").toString(); //?umVer=1.0.1_202127010810 //which makes define('./controllers/myNewCtrl.js'+UM_VER , function(newCtrl) { }); //or as an injected scope variable ['$scope', './service/myNewSvc.js'+UM_VER , function($scope,newSvc){ $scope.doThis = newSvc; } //other controller properties... ) Hope that helps your build. I'll answer any other questions you may have later. If you can implement nodeJS and use the webpack system Jared has implemented however, I'd recommend it as it gives you power over other users to amend any oversights or bugs in the main dashboard code and you can then build the dashboard files in the overrides directory with your own components as well. Saves you worrying about browser as much. Fox
  • How to read Mango NoSQL database in .net (c# windows app)?

    8
    0 Votes
    8 Posts
    4k Views
    MattFoxM
    Version 3: https://docs-v3.mango-os.com/mango-rest-api-authentication Version 4: https://docs-v4.mango-os.com/mango-rest-api-authentication Fox
  • IP address, legacy UI

    2
    0 Votes
    2 Posts
    1k Views
    S
    @shahmansoorali it is currently setup with static IP but the subnet is wrong. i would like to fix that.
  • 0 Votes
    4 Posts
    2k Views
    G
    Final Update: It took some fiddling but installing the 3.7.x branch worked. All modules are loaded can now but placed in the git/ma-core-public/Core/web/modules directory and loaded into the build. If anyone is interested, I created documentation for the process I used to set up Eclipse for version 3.7.x. Feel free to reach out and I can share it.
  • Data storage to the drive F:

    2
    0 Votes
    2 Posts
    1k Views
    JoelHaggarJ
    You can configure the location of the MangoNoSQL Database in the env.properties file. You can also configure the backup locations under the various backup settings on the System Settings page. Here is some information on the env.properties file https://help.infiniteautomation.com/installation-configuration#env-properties These are some of the settings you might be interested in: #Set the base path for where the NoSQL data will be stored, relative to $MA_HOME (can also be set to an absolute path) db.nosql.location=databases # Default database settings # The path in the db.url is relative to MA_HOME, or can be absolute db.type=h2 db.url=jdbc:h2:databases/mah2
  • Modbus Polling + Meta Points + Memory Leaks

    11
    0 Votes
    11 Posts
    3k Views
    H
    Thanks Terry, I will send through some more logs hopefully they may contain more detail.
  • Monitoring water flow with alarm point

    3
    0 Votes
    3 Posts
    2k Views
    MattFoxM
    I think you should set up an alarm on a datapoint based upon if it exceeds an upper limit for 'n' minutes then use that to fire an event or whatever is necessary. However if it's a moving difference/average you require, utilise a meta datapoint with the value that calculates those differences over the last so many minutes and returns it. Attach the event handler to the meta point and you'll be away. Fox
  • 0 Votes
    7 Posts
    3k Views
    J
    @jared-wiltshire said in AI, Machine Learning, Neural Networks, TensorFlow: Yes, no problem running TensorFlow JS in the cloud on NodeJS. However I am not sure what advantage this would afford over the native binaries. True, I'm not sure either, just trying to think about all the possibilities, hehe. @terrypacker said in AI, Machine Learning, Neural Networks, TensorFlow: @jflores13 said in AI, Machine Learning, Neural Networks, TensorFlow: Something to look into in the future for sure, but that approach would have its own problems to overcome. For example getting the data from Mango to the model. Yeeeah, I don't visualize how that interaction could be simplified. I guess it's just not as simple as I was hoping. I'll keep looking for possible solutions to this and will share anything I can find. Thanks!
  • Jaxb is not longer avaible in jdk11

    1
    0 Votes
    1 Posts
    752 Views
    No one has replied
  • 0 Votes
    9 Posts
    3k Views
    ThomasEinastoT
    @HSAcontrols Using nano is more comfortable in my opinon. It is also nice to install midnight-commander to your Linux env for easier navigation in the system. // Installing midnight commander via apt-get apt-get install mc // running midnight commander with sudo rights for editing system files sudo mc I also recommend configuring your midnight-commander so that when you leave your instance it stays in the directory you left it in, see here section "hold your horses" : http://klimer.eu/2015/05/01/use-midnight-commander-like-a-pro/ The link also gives you an overview of what midnight commander has to offer.
  • Basic Module Development Questions

    Solved
    12
    0 Votes
    12 Posts
    4k Views
    Jared WiltshireJ
    I guess I have more questions about what you are trying to achieve - Do you require the information retrieved from your external HTTP API to be available as data points / point values? (e.g. you want to store history for them in the Mango time series database, or you want the values to be available on the watch list etc) Is the external HTTP API available on the internet / accessible from the client web browser? If so you may be able to request the data directly from the web browser via a XHR request.
  • Status Code 406 - Future dated points not acceptable

    2
    0 Votes
    2 Posts
    1k Views
    phildunlapP
    Hi giovanni.persia, welcome to the forum! Is the error correct, that the data values you are trying to set are in the future? If yes, you can change how far into the future new values may be. This setting is under the Purge Settings in the system settings page, under administration. [image: CWTD9sN.png]
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Best way to fix wrong historic values

    database logging mangoes point values sql
    6
    0 Votes
    6 Posts
    2k Views
    CraigWebC
    Hi @jflores13 I got the same issue as you. Could not get the points to update. Eventually used the CSV to delete the points ana then add them again with new values. I found this quite odd as I I am almost 100% sure I have used the update in the past.
  • Spanish Translation

    8
    0 Votes
    8 Posts
    3k Views
    Jared WiltshireJ
    @jflores13 Thanks for joining! I have done an automatic machine translation as a starting point, should make it much easier for you guys.