• Recent
    • Tags
    • Popular
    • Register
    • Login

    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

    Weather Forecast

    User help
    4
    5
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      StephenVDK
      last edited by

      Hello Everyone,

      I've been trying to get future high and low temperature forecasts into mango. I can get the daily high and low and everything in between as data points, but not for tomorrow. Any idea's?

      Thanks

      1 Reply Last reply Reply Quote 0
      • jeremyhJ
        jeremyh
        last edited by

        You'll need to post at least the details of the data source and data points you're using (try posting a JSON export) for forecast data in order for anyone to offer any meaningful help..

        1 Reply Last reply Reply Quote 0
        • S
          StephenVDK
          last edited by

          Well the data source is an HTTP receiver, the URL is http://weather.yahooapis.com/forecastrss?w=23401819&u=c.
          The data points I do have for forecast is the daily high and low, the value RegEx for the daily high is yweather:forecast.?high="(\d.?\d*).
          The issue is getting the high and low for the next day, which is apart of the api, but I can't figure out how to pull out that data.

          Thanks

          phildunlapP 1 Reply Last reply Reply Quote 0
          • P
            Pedro
            last edited by

            Has anyone been able to store forecast data into Mango? Did you make sure "System Settings / Purge Settings / Discard point values future dated more than" is set to not purge the forecast points?

            Can the REST API accept future dated non-zero timestamps?

            1 Reply Last reply Reply Quote 0
            • phildunlapP
              phildunlap @StephenVDK
              last edited by phildunlap

              @StephenVDK
              You can always just disregard a number of yweather:forecast lines until finding the days ahead that you're looking for. Some

              (?:<yweather:forecast[^\n]*\n){3}<yweather:forecast[^\n]*low="(\d*)

              for instance would be the fourth item, or the third day forecast. You could control it with the {1,2,3....}. I just recently requested adding capture group number to HTTP retriever specifically so that you could use backreferences on forecast information to make it feel like a reasonable regex.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post