• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. georgestefan
    3. Topics

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    G
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 24
    • Posts 87
    • Groups 0

    Topics

    • G

      Chart's not working

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      20
      0 Votes
      20 Posts
      7k Views
      G
      @phildunlap Hi, I've disconnected the other MangoES from the network, now I have only one that is getting data from the PLC, and I let it to run a while and I don't have any discarded polls. Thank you!
    • G

      Custom Dashboard Icon

      Watching Ignoring Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
      4
      0 Votes
      4 Posts
      2k Views
      G
      @jared-wiltshire Thank you! This path works.
    • G

      Update problem

      Watching Ignoring Scheduled Pinned Locked Moved Mango Automation Installation
      3
      0 Votes
      3 Posts
      2k Views
      phildunlapP
      Can you check your Mango/logs/ma.log file for what the error is?
    • G

      Two MangoES to same PLC

      Watching Ignoring Scheduled Pinned Locked Moved User help
      10
      0 Votes
      10 Posts
      2k Views
      G
      @phildunlap Hello, yes I received your email, I will reply to the email.
    • G

      Low disk space on MANGO

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      7
      0 Votes
      7 Posts
      3k Views
      phildunlapP
      Hmm, that looks okay. I wonder if maybe there's another cron definition invoking the script? You could try commenting out the line that tries to invoke /usr/sbin/systemInfo/timeAlive in /usr/sbin/systemInfo/getAll to see if that error is what's getting there, but I have the same line in the device I'm looking at and it doesn't produce /var/mail/mail contents. That definitely looks a lot like what was happening when the output of the cron job was not being redirected to /dev/null
    • G

      IDrive setup

      Watching Ignoring Scheduled Pinned Locked Moved How-To
      2
      0 Votes
      2 Posts
      1k Views
      phildunlapP
      It may depend on your device. For the MangoES, which is a Linux ARM device, we're using the scripts in Idrive_ARM (which has the other directory inside it).
    • G

      Import DB from 2.x to 3.x

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      3
      0 Votes
      3 Posts
      2k Views
      G
      I've copied mah2.h2.db and the other two files and than I've restored my NoSQL backup to mangoTSDB folder and worked perfect. Thanks!
    • G

      Excel export feature

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      20
      0 Votes
      20 Posts
      7k Views
      G
      Worked with Rollup Type, the file is ok now. Thank you!
    • G

      How to reset SSH password

      Watching Ignoring Scheduled Pinned Locked Moved How-To
      7
      0 Votes
      7 Posts
      2k Views
      phildunlapP
      Smaller than the smallest commercially available these days, I'd think. Edit: Okay nevermind, I'm amazed how small USB drives are still offered! To answer more generally, that function of the USB stick would not require much space, cetainly less than 1MB, but its other functions such as file transfers or log file extraction and whatnot can lead to arbitrary amounts of space being required.
    • G

      Data Base Backup

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      3
      0 Votes
      3 Posts
      2k Views
      G
      Thank you for reply!
    • G

      Schedule page

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      3
      0 Votes
      3 Posts
      2k Views
      phildunlapP
      Hi georgestefan, Interesting question! Someone else may have a better answer, but that does sound like quite a puzzle. The advanced scheduler raises events, and event handling can only really be configured on the event handlers page (quite a powerful page, I understand why you would not want a lower privilege user there). Hmm. You could have a setup where the user encodes the point information somehow into an alphanumeric point, then the event triggers a set point event handler that either sets a value to trigger the script, or has the script in a scripted set point event handler, and then it needs to figure out what to do from the encoded information. It would be fragile if the user entered information wrong, potentially, or you can build this information in your UI. For my script, I will assume my alphanumeric point's value is something like {"p1":{"0": 62, "8": 68, "18": 65}} //Untested var scheduleConfig = JSON.parse(alphanum.value); var now = new Date(); for( var contextPointVariableName in scheduleConfig ) { if(typeof this[contextPointVariableName] === 'undefined') //see if we have a point in context with that identifier continue; if(now.getHours() in scheduleConfig[contextPointVariableName]) //only providing hour level options here this[contextPointVariableName].set(scheduleConfig[contextPointVariableName][now.getHours()]); } So this works if the variable name in the context of the script matches whatever key is used to define the schedule. This would enable a user to have many points they could control, but don't have to, without having to change anything about the event handler, and without being able to change the set of points they can act on. To your other question about if it is possible to have three temperatures set. Yes, you can create three set point handlers on the event. Or, if you wanted to try that script, you would just have multiple context keys in the schedule's configuration with values at that hour.
    • G

      Mango Power Consumption

      Watching Ignoring Scheduled Pinned Locked Moved Hardware
      2
      0 Votes
      2 Posts
      2k Views
      phildunlapP
      Hi georgestefan, Does it come with a Power Supply? No, you can use any power supply that is 12-24 VDC with a minimum of 20 watts (12vdc @ 2 amps or 24vdc @ 1 amp minimum). https://help.infiniteautomation.com/mangoes-faq/
    • G

      Alarm email after reboot

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      3
      0 Votes
      3 Posts
      2k Views
      phildunlapP
      I suspect what you're noticing is that a reboot returns the events to normal when shutdown disables the data source, then startup re-enables the data source and it considers it a different event. It may warrant some thinking about a reboot in particular, but in general if one had a state detector of false on a point, which was the state, then disabled the point or source for an indeterminate amount of time, and upon first poll is still in the state, should the event be raised? Currently the answer is yes. Or, similarly, does it make sense to say the event is still occurring if the data source is disabled, or is that not known? There is almost certainly a workaround but it could take some tinkering. It would probably involve a modification to the custom template to check if some points timestamp is appropriate and some handling to record the startup time or shutdown times such that they are usable. Another surprising possibility would be to terminate Mango more aggressively. In Windows, killing the command prompt and in Unix doing a -9 will end the process without shutting down the data sources (which can easily corrupt the last few samples in the database) and then the events will be deemed duplicates at startup and mostly not raise.
    • G

      Updating The New Advanced Weekly Scheduler

      Watching Ignoring Scheduled Pinned Locked Moved Mango Automation Installation
      4
      0 Votes
      4 Posts
      2k Views
      phildunlapP
      The dashboards module is not supported in Mango 3.2 You can mark it for deletion on your modules page, restart Mango, and you should be able to update after that.
    • G

      How to use the override folder

      Watching Ignoring Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
      6
      0 Votes
      6 Posts
      2k Views
      G
      Thanks for this, I'll try...
    • G

      Calculating a value in page

      Watching Ignoring Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
      3
      0 Votes
      3 Posts
      2k Views
      G
      @jared-wiltshire Thank you, works well
    • G

      Gauge styles

      Watching Ignoring Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
      12
      0 Votes
      12 Posts
      5k Views
      Jared WiltshireJ
      @wingnut2-0 said in Gauge styles: The example code is below. To clarify, when you say radius is not a gauge chart option, are you referring to an object within mango? No, I am referring to the amCharts options for gauge charts as per the linked document. The options="" attribute is passed through to amCharts. @wingnut2-0 said in Gauge styles: From the above I have attempted the following without any luck. You have only passed through a small subset of the options you specified in your configuration to the component. Also the animate-band-mode="true" attribute is not a valid attribute for <ma-gauge-chart>. This was something that Will put into a modified version of the component and it will not do anything for the current version of the component.
    • G

      Units in dashboard designer

      Watching Ignoring Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
      10
      0 Votes
      10 Posts
      4k Views
      G
      @jared-wiltshire Hi Jared, I have another question about this radio buttons, I have a page where I have all the set points, and also the buttons to change the temperature from degree C to degree F but the temperature will be in another page. So, I will have this code in settings page: <md-radio-group id="04ddd7d4-b182-4bc1-ace1-92d5cd8bea81" style="position: absolute; left: 236.047px; top: 0px;" ng-model="useF" ng-init="useF = true" layout> <md-radio-button ng-value="false">°C</md-radio-button> <md-radio-button ng-value="true">°F</md-radio-button> </md-radio-group> And this code to another page: <div style="position: absolute; left: 275px; top: 40px; height: 25px; width: auto;"> <span ng-if="!useF">{{CHW_Return_Temp.value | number:2}} &deg;C</span> <span ng-if="useF">{{CHW_Return_Temp.value * 1.8 + 32 | number:2}} &deg;F</span> </div> But this doesn't work, so how can I link the useF from ng-if to the useF from ng-model which is in another page?
    • G

      Rotating Fan

      Watching Ignoring Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
      4
      0 Votes
      4 Posts
      2k Views
      G
      @jared-wiltshire said in Rotating Fan: ng-style="{'animation-duration': 50 / (point.value - point.value % 10) + 's'}" Thanks, works well!
    • G

      Error Page

      Watching Ignoring Scheduled Pinned Locked Moved How-To
      11
      0 Votes
      11 Posts
      3k Views
      G
      @jared-wiltshire Thank you, it is working now!