• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. DillFunlap

    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
    D
    • Profile
    • Following 0
    • Followers 1
    • Topics 1
    • Posts 6
    • Best 2
    • Controversial 0
    • Groups 0

    DillFunlap

    @DillFunlap

    2
    Reputation
    12
    Profile views
    6
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    DillFunlap Unfollow Follow

    Best posts made by DillFunlap

    • RE: http builder buffer

      @mattfox

      Thanks Matt :). Nice to see some familiar faces here!

      posted in How-To
      D
      DillFunlap
    • RE: Schedules don't trigger handlers after power loss

      @nachum37

      I think the problem is that neither the re-activate nor the active-only-at-the-right-time behaviors are correct for all users in all cases. I guess they could consider providing the event raise / return behavior as an option on the schedule.

      You can imagine there are other sorts of toggles that make no sense to happen outside of the exact time. For instance, if the scheduler was making a bell chime for the time of day, surely power loss leading to erroneous chiming is not desirable. Or, if it takes a snapshot of data, it may be more desirable to have a hole to manually fill than to have malformed data appearing to look good.

      It's a tough problem to solve for all cases. You can always use a scripting data source to achieve arbitrary scheduling controls and handling of a power loss situation, but it'd take some programming and noodling.

      posted in Mango feedback
      D
      DillFunlap

    Latest posts made by DillFunlap

    • RE: Data file data source chicken vs egg

      Thanks Terry, that worked

      posted in User help
      D
      DillFunlap
    • RE: http builder buffer

      @mattfox

      Thanks Matt :). Nice to see some familiar faces here!

      posted in How-To
      D
      DillFunlap
    • RE: Schedules don't trigger handlers after power loss

      @nachum37

      I think the problem is that neither the re-activate nor the active-only-at-the-right-time behaviors are correct for all users in all cases. I guess they could consider providing the event raise / return behavior as an option on the schedule.

      You can imagine there are other sorts of toggles that make no sense to happen outside of the exact time. For instance, if the scheduler was making a bell chime for the time of day, surely power loss leading to erroneous chiming is not desirable. Or, if it takes a snapshot of data, it may be more desirable to have a hole to manually fill than to have malformed data appearing to look good.

      It's a tough problem to solve for all cases. You can always use a scripting data source to achieve arbitrary scheduling controls and handling of a power loss situation, but it'd take some programming and noodling.

      posted in Mango feedback
      D
      DillFunlap
    • RE: http builder buffer

      One way I kept state in my various scripting data sources was to JSON.stringify the persistent state into an alphanumeric point on the scripting data source. Then if

      if ( typeof( state ) === 'undefined' )
        state = JSON.parse( state_context_point.value );
      

      Of course, that would require doing this on any state change (or every script execution):

      state_context_point.set( JSON.stringify( state ) );
      

      But it gets the added benefit that now the state of your script is accessible to either review or fetch into other logic or dashboards or whatnot.

      posted in How-To
      D
      DillFunlap
    • RE: Data file data source chicken vs egg

      Perhaps you already have compiled templates on that instance, so they can populate the template field?

      I see this error, using OpenJDK 11.0.8:

      {"cause":null,"result":{"messages":[{"level":"ERROR","message":"???validate.requiredValue(i18n_en_US)???","property":"templateFiles"}]},"mangoStatusName":"VALIDATION_FAILED","mangoStatusCode":4002,"localizedMessage":"Validation failed"}

      5557f060-1cbd-4289-9140-fabd42629619-image.png

      posted in User help
      D
      DillFunlap
    • Data file data source chicken vs egg

      Hi Mango community, hope you're well!

      I tried to create a data file data source in Mango 4.3 but I seem to not be able to add one without selecting a template. I need to compile templates to be able to select one, but I need to have a data source to be able to compile templates!

      How does one create a new data file data source in a fresh 4.3 installation?

      posted in User help
      D
      DillFunlap