Support » Plugin: wp-forecast » ? Add chance of rain & storm warnings

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author tuxlog

    (@tuxlog)

    Hello darthtater,

    didn’t know wunderground is offline. Thank you for the information.

    I will check what I find in the free accu API and let you know what is possible.

    Thread Starter DarthTater

    (@darthtater)

    Thank you very much, tuxlog. It would be so nice to know %chance precipitation.

    Plugin Author tuxlog

    (@tuxlog)

    Hello Darthtater,

    I checked it and there are some of the informations available. I can add the following data to the plugin

    rainamount
    snowamount
    precipamount

    I think these are the amounts of precipitation not the chance of precipitation.
    The propabilities are not in the interface the plugin uses.

    What do you think?

    Thread Starter DarthTater

    (@darthtater)

    Hi Tuxlog,

    My apologies, I was in a remotish area of Alaska for a couple of weeks and no internet during that time.

    I’m really needing the chance of precipitation. The API indicates it can return:
    DailyForecasts.Day.PrecipitationProbability
    DailyForecasts.Day.ThunderstormProbability
    DailyForecasts.Day.RainProbability
    DailyForecasts.Day.SnowProbability

    Is that not correct?

    Tater

    Plugin Author tuxlog

    (@tuxlog)

    Hello Tater,

    sorry, for replying so late. I was offline for a few days.

    I checked the interface again and though it is described it is not in the data I get from accuweather. I guess it is only in the commercial interface.

    Plugin Author tuxlog

    (@tuxlog)

    Hello Tater,

    would it be a help to add the three fields mentioned above or is it not enough for your needs?

    Thread Starter DarthTater

    (@darthtater)

    Hi tuxlog,

    No, I need the precipitation chance. My Pony Clubbers can look outside and see whether it’s actually raining at the time. They need to know how likely it is to rain / snow / storm a few hours to a day ahead of loading up a horse and traveling.

    I think some of the newer APIs like DarkSky have the PoP (probability of precipitation).
    https://joshuadnelson.com/weather-in-wordpress-with-forecast-io/

    If the dust ever settles maybe I’ll figure out how to use their API. But my PHP knowledge is pretty limited.

    Thanks for keeping in touch.
    Tater.

    Plugin Author tuxlog

    (@tuxlog)

    Hi Tater,

    I checked the darksky api and I am thinking it is possible to add it to wp-forecast.
    I will develope a prototype and we will see if it works.

    Will take a bit time…

    Thread Starter DarthTater

    (@darthtater)

    Hi Tuxlog,

    Thank you so much for looking into this. Wunderground left a lot of little folks in the dust when they jerked their API.

    I’ll be happy to test when you get that far.
    Tater

    Plugin Author tuxlog

    (@tuxlog)

    Hi Tater,

    just released a new release with DarkSky support.

    Looking forward to hear about it. 🙂

    Thread Starter DarthTater

    (@darthtater)

    Woo-hoo! Thank you, tuxlog.

    I will work on that this week and get back to you. I have some other obligations but am excited to try this.

    Thread Starter DarthTater

    (@darthtater)

    Hi tuxlog,

    It appears the DarkSky service is working. Thank you so much!

    I tried to donate a coffee to you, but do not want to set up a PayPal account to do so. Is it possible to pay with a credit card via PayPal without setting up a PayPal account?

    Also, I have a few additional suggestions / requests although maybe I can figure them out by crawling through your code.

    Suggestions / requests:
    1) Round off the temperature to the nearest degree for both Centigrade & Fahrenheit,
    as our sense of heat/cold as humans is not that accurate
    2) Round precipitation ( inches / cm ) to nearest 1/10th.
    3) Display precipitation amount / % chance / type (rain, snow) as different classes within 3 inline spans, so that it’s possible to display & separately style 1, 2 or none of those.
    4) Add day of the week (Monday / Tuesday etc).

    I can probably work on this as time permits, since you’ve done all the heavy lifting.

    If I get some modifications done, shall I contact you on your regular website to upload the code for you to look at?

    Thank you again for getting this to work with DarkSky.

    Here’s the widget running on our little non-profit site:
    https://interiorhorsecouncil.org/news/

    You are awesome! Ausgezeichnet!

    Plugin Author tuxlog

    (@tuxlog)

    Hi Tater,

    thank you for your feedback. I added the span’s and rounded the values.
    wp-forecast uses the date/time-format of your blog, so if you want to change this, you can simply change the date/time-format of WordPress.

    And yes, you can use PayPal without account and with a creditcard. If you click on the donation button there is a button on the first PayPal dialog to do so.

    If you have any further ideas, give me a sign.

    Thread Starter DarthTater

    (@darthtater)

    Hi Tuxlog,

    I tried to donate once again, and chose the option on the first page to pay with credit card. After putting in all the credit card information, the payment gateway tries to force me to create a PayPal account. I think this is an easy-to-miss default option on the merchant side — as I recall I ran into that when setting up a PayPal gateway for one of the tiny non-profits I administer.

    I tinkered with the wp-forecast-show.php file and added some more divs for styling, and hope to then upload a css file. How should I get that file to you?

    You can use the Chrome “inspect” on this page to see the changes:
    https://interiorhorsecouncil.org/sponsors/

    I haven’t messed with the css yet.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘? Add chance of rain & storm warnings’ is closed to new replies.