Announcement

Collapse
No announcement yet.

weatherXML changes for DarkSky

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CFGuy
    replied
    Originally posted by MNB View Post
    Not to be too thick.. so if I understand you, WeatherXML checks the NOAA site every (what ever periodicity) and then reports/speak if the Alert is still active/present, so I'm assuming that when the alert is no longer viable they remove the Alert and WeathXML no longer reports the Alert? Mike

    As drparker151 mentioned the xml file loops over all of the alerts and if it matches one of your triggers, it does the action setup in the trigger. That can be trigger a script, speak the alert, send an eamil, and if you run the pushover plugin it will send an alert via pushover. A total of the times it runs is kept so you can control how many times the same alert will be repeated. I have noticed that sometimes when they update something about the alert they give it a new number so the count starts over.Each alert has a severity setting. You can control the time span for when each severity is allowed to trigger by setting a start time and an end time, set the number of times allowed to repeat (The fist one is not considered a repeat so if you enter 3 you should hear/receive the alert 4 times.) and you can set an override base on the urgency of the alert. Ex. If an extreme alert is set to trigger between 6AM and 11PM, but the severity of the alert is Immediate, then the Immediate would override the start and end time and trigger at any time of the day or night. In my case, a tornado warning that is Immediate is allowed to trigger at any time. Between my phone alerts and HS speaking an alert, we will hopefully get woke up.

    Leave a comment:


  • drparker151
    replied
    Originally posted by MNB View Post
    Not to be too thick.. so if I understand you, WeatherXML checks the NOAA site every (what ever periodicity) and then reports/speak if the Alert is still active/present, so I'm assuming that when the alert is no longer viable they remove the Alert and WeathXML no longer reports the Alert? Mike
    What I see is weatherXML pulls all alerts for your area based the schedule configured. It parses that feed based on triggers you created and then sends an alert if the filters match.

    Leave a comment:


  • MNB
    replied
    Not to be too thick.. so if I understand you, WeatherXML checks the NOAA site every (what ever periodicity) and then reports/speak if the Alert is still active/present, so I'm assuming that when the alert is no longer viable they remove the Alert and WeathXML no longer reports the Alert? Mike

    Leave a comment:


  • CFGuy
    replied
    NOAA does not provide a way to receive alerts. (At least not when I last checked) That is why I typically have a check run every 5 minutes during the spring (Tornado season) and back it off to 15 during the summer and winter. I did get a weather alert radio but I could never get it to work with a signal to the com port on my computer. I have an expensive paper weight on my desk now.

    Leave a comment:


  • MNB
    replied
    Thanxs for the quick come-back, even responses whilst at work! While your reviewing posts quick question re alerts I see within the schedule Tab under "Alert" it is currently set to 15 minutes start at 2 minute after hour does that mean once the alert has been triggered that it will announce every 15 minutes or does it mean it only announces if/when triggered by NOAA?

    Leave a comment:


  • CFGuy
    replied
    Originally posted by MNB View Post
    Jeff, Looking at my Forecast page I notice something different my forecast for Sunday has a Night time image where as the Partly Cloudy starts at afternoon (see attached) what am I missing? Mike
    According to DarkSky, on the daily forecast they use the image that represents the worst condition of the 24 hour period. In the FAQ, they mention that they may change that policy.
    I am hoping that once I start working on the Hourly forecast I will be able to just use that info for the daily forecasts and let you pick which hour of the day you want to represent the daytime and which hour to represent the nighttime forecast. I will be uploading the DarkSky version to the HS updater when I get off work later today. Once it is approved and in the updater I will start working on my Phase 2 for DarkSky which is the hourly forecast.

    Leave a comment:


  • MNB
    replied
    Jeff, Looking at my Forecast page I notice something different my forecast for Sunday has a Night time image where as the Partly Cloudy starts at afternoon (see attached) what am I missing? Mike
    Attached Files

    Leave a comment:


  • CFGuy
    replied
    I set a flag wrong on NOAA and it hid the Night forecast. I got it changed so the Night Summary Device will show again for NOAA.

    Leave a comment:


  • prsmith777
    replied
    Jeff, what happened to the NOAA Forecast: Night Summary device? I dont see it anywhere.

    Leave a comment:


  • CFGuy
    replied
    I see the error. I have fixed it and it will be in the next release which might be this week. I got a lot of documentation done tonight. Not much left before I can release a new version.

    Leave a comment:


  • GaryDN
    replied
    Jeff having issues with weatherXML_1.xml for hstouch, starting on line 47 the code is wrong <nightPrecipitation0</nightPrecipitation> so I fix it <nightPrecipitation>-</nightPrecipitation> and then hstouch starts to update again for an hour or so. when I check the xml again it has the error again. any idea why this is happening?

    Leave a comment:


  • donstephens
    replied
    HS had the longitude entered with the wrong sign

    Really? I didn't catch that. Sure enough my longitude was a minus sign.
    Thanks.

    Leave a comment:


  • CFGuy
    replied
    Look in the HomeSeer HS3/data/weatherXML directory for a file named DSCondition1.json. Open the file and look for "timezone". Is the time zone correct? You may have the longitude entered backwards. When the original documentation for weatherXML was written HS had the longitude entered with the wrong sign so wxml said to change the -long to a +long. At some point last year HS corrected the value and wxml should now match the HS lat and long. The documentation will be updated with the release of the next version.

    Leave a comment:


  • brantz
    replied
    Hi - I've got it all going with DarkSky - icons etc... The only remaining issue is that I use metric units and the "high" temps come in as degrees C but the low temps are coming in as degrees F, but when converted they look to be right. The WeatherXML units are set to C. Any ideas?

    Thanks to Jeff for all the hard work!

    Brantz

    Leave a comment:


  • tgrate
    replied
    Jeff, Thank you for the list of names. Copied over PNGs as you suggested and got it working quickly! Tom

    Leave a comment:

Working...
X