• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. hayden_AUS
    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
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 26
    • Posts 83
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by hayden_AUS

    • H

      Editing mango.properties for Process Event

      Mango Automation general Discussion
      • • • hayden_AUS
      5
      0
      Votes
      5
      Posts
      264
      Views

      H

      I put the newly created mango.properties file in the mango root folder, just with the specific lines as above.
      This worked

    • H

      java.io.IOException: jssc.SerialPortException

      Mango Automation general Discussion
      • • • hayden_AUS
      4
      0
      Votes
      4
      Posts
      416
      Views

      H

      @mwright Further to this, "restarting of Mango fixes the issue", without doing anything with Windows. Suggesting that if Windows did grab the COM port for some process, it re-released it
      after.

      I'm not asking for anything, but future updates might include attempts to re-open the COM ports once this error is encountered, as this error just kills the data source.

    • H

      Modbus RS485: Acknowledge Event

      Mango Automation general Discussion
      • • • hayden_AUS
      2
      0
      Votes
      2
      Posts
      271
      Views

      H

      So it's a standard Modbus response:

      05 ACKNOWLEDGE

      The slave has accepted the request
      and is processing it, but a long duration
      of time will be required to do so. This
      response is returned to prevent a
      timeout error from occurring in the
      master. The master can next issue a
      Poll Program Complete message to
      determine if processing is completed

    • H

      mango.properties file syntax

      Mango Automation general Discussion
      • • • hayden_AUS
      5
      0
      Votes
      5
      Posts
      370
      Views

      H

      @lgorence https://docs-v4.radixiot.com/clean-mango-properties-file

    • H

      Can't create event detector for High Limit

      Mango feedback
      • • • hayden_AUS
      3
      0
      Votes
      3
      Posts
      307
      Views

      MattFoxM

      @hayden_AUS thanks for your help!

      Fox

    • H

      Disabling Event Handlers - User

      User help
      • • • hayden_AUS
      7
      0
      Votes
      7
      Posts
      1.0k
      Views

      H

      @terrypacker Thanks, I will set them up using meta points as you suggest.

    • H

      Denying access to Mango resource / to IP 52.26.90.15

      Mango Automation general Discussion
      • • • hayden_AUS
      7
      0
      Votes
      7
      Posts
      1.0k
      Views

      CraigWebC

      @MattFox yes we are aware of the email problem and are working on it.

    • H

      Meta point - Execution delay

      Mango feedback
      • • • hayden_AUS
      5
      0
      Votes
      5
      Posts
      1.4k
      Views

      terrypackerT

      I could see this being a new feature/change to the way it works. Instead of only having a single delay task we could have many. For example if your meta point is context updating every 1s and your execution delay is 1hr after 1hr of running you will have 3600 tasks sitting around with 1 executing every second after that. Execution delays were not really designed for that though as if you were to stop mango or that data source you would lose 3600 point values in the tasks that had not yet run.

    • H

      HTTP Sender - Publisher

      Mango Automation general Discussion
      • • • hayden_AUS
      16
      0
      Votes
      16
      Posts
      2.2k
      Views

      MattFoxM

      So an event detector must be used to trigger your alarm.

      That's exactly what I was in the middle of discussing with Hayden...

    • H

      Can't add a single email address in mailing lists

      Mango feedback
      • • • hayden_AUS
      3
      0
      Votes
      3
      Posts
      853
      Views

      H

      Wow, you're correct

      Just press ENTER !

      Didn't press ENTER, just SAVE.

      Thanks

    • H

      Problem with Meta point

      User help
      • • • hayden_AUS
      11
      0
      Votes
      11
      Posts
      1.5k
      Views

      phildunlapP

      Okay, I took a deeper look, and it appears the validation of binary meta points and other scripts with expected result types has an issue with returning false, as the message reports as though it return UNCHANGED; . This does not affect the actual runtime of the points or other such scripts. So, that explains the output on the validation in the first post. https://github.com/infiniteautomation/ma-core-public/issues/1487

      Thanks for bringing this to our attention!

      I have not been able to reproduce the event message except by returning a value with something like the lastValue function, although it could be a binary point doing that as well. In your first script there is an else if so it would be possible not to return a value, although I would expect it to get a false (binary) / 0 (numeric and meta) / empty string (alphanumeric) value if nothing is returned.

    • H

      Data point Scaler

      How-To
      • • • hayden_AUS
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      Jared WiltshireJ

      @hayden_AUS I incorporated a calculator directly into the data point editor for modbus points -
      https://forum.infiniteautomation.com/topic/4477/release-notes-for-modbus-3-6-4

    • H

      Multiple Set Points in Event Handler

      Wishlist
      • • • hayden_AUS
      6
      0
      Votes
      6
      Posts
      1.5k
      Views

      MattFoxM

      @phildunlap said in Multiple Set Points in Event Handler:

      it doesn't sound to me like that'd solve how his users are going to identify points they want to control and control them easily. That's going to be an issue only his implementation of a dashboard / Mango could completely solve.

      Agreed, but as he was only able to give an example without greater in depth information on the desired outcome, only wishing to be able to add multiple points to a context. I'd give him what I knew was freely available. I do not believe he wants to go into the grit of a custom dashboard page at this time. However, if that changes I'll be more than happy to assist.

      Fox

    • H

      Adding Text to point values in Dashboard Designer

      User help
      • • • hayden_AUS
      14
      0
      Votes
      14
      Posts
      2.8k
      Views

      H

      Thanks Jared, you guys are awesome!

      Great response time, much appreciated.

    • H

      Multiple Set points on one Event Handler

      User help
      • • • hayden_AUS
      8
      0
      Votes
      8
      Posts
      1.6k
      Views

      MattFoxM

      @craigweb said in Multiple Set points on one Event Handler:

      set them to your desired value in the script. with key.set(True)

      Just an FYI.... you mean key.set(true); not 'True'

    • H

      Mango not starting back up after restart within Mango

      Mango Automation general Discussion
      • • • hayden_AUS
      5
      0
      Votes
      5
      Posts
      1.5k
      Views

      H

      OK thanks Phil, will do some experimenting.

    • H

      Timed License - Free version

      Mango Automation Installation
      • • • hayden_AUS
      7
      0
      Votes
      7
      Posts
      2.2k
      Views

      phildunlapP

      I checked the free bundle, it doesn't seem to have the NoSQL module so I'm not sure what happened there.

      See ya in the emails!

    • H

      Sequential timing - Irrigation

      Mango Automation general Discussion
      • • • hayden_AUS
      4
      0
      Votes
      4
      Posts
      1.3k
      Views

      MattFoxM

      I've written a few scripts/dashboards that involve irrigation in mango. Due to IP I cannot share it. I can definitely agree with the idea of using the advanced scheduler as that allows you to use time when to fire and set a duration.
      However if they are always sequential and you know that you will always have a fixed amount of sprinkler zones to work with I suggest doing a dashboard that involves the use of slider inputs to set your duration either in minutes or percentage (if your time will never exceed n minutes) and perhaps the same for a delay tied to a virtual data point. And also a binary datapoint with a <ma-switch) to toggle a zone on or off.
      As Phil suggests if you've got a PLC in the mix definitely use that as I'm sure you must have some sort of real time clock you can work from to generate the interrupts you need. Then map those to the settings generated via mango. ie timer ticks etc

      I'm not hugely aware of how your system is constructed. At least by every time you make an amendment to these settings, you can either make it trigger an update via the scripting source to push these settings down the line. Otherwise set it to have an hourly (or whatever is needed) push for the settings.

      Happy to give more input if you can describe how the system works. Sorry I don't use modbus so I cannot help a great deal in that area.

    • H

      Cannot execute point link because it is currently running

      Mango Automation general Discussion
      • • • hayden_AUS
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      phildunlapP

      Hmm. Do you know if you saved the point link when the event was active, and that's when it returned to normal?

      I do think it's possible for a point link to get stuck thinking it's running. I think it would have to be an exception in the PointLinkRT's execute method. I'm not sure where one could produce such an error, but I will do some checking. I would have expected an error in your log like, "Uncaught exception in work item" and that the PointLinkRT's execute method will appear in the stack trace.

      Otherwise, it could be that two point events for the source series were running at the same moment and the error about not being able to run the point link again is incidental to not having set the value to the device. If the modbus connection was simply down AND two events got queued at the same time, we could expect what you're describing. There would have been a data source event for the set point failure.

    • H

      Can't start on Linux - Command not found

      Mango Automation Installation
      • • • hayden_AUS
      5
      0
      Votes
      5
      Posts
      1.8k
      Views

      phildunlapP

      I have ensured the .sh scripts will be executable when downloaded from the store. This was caused by some recent changes we made in the store to make uploading new minor releases easier for us. Sorry for the inconvenience.

      Edit: As of 5/7/18 the file permissions in the downloads will be right on Mac / Unix if you unzip it on the command line using "unzip" but may be wrong if you unzip them by right clicking the archive in a file explorer and extracting. We'll iron out this issue sooner than later.