ktrue / CU-HWS

Home Weather Station website template for Cumulus (WeeWX, WeatherCat too)
Other
23 stars 13 forks source link

weather underground charts #98

Open weather34 opened 5 years ago

weather34 commented 5 years ago

think today was the end of use for their history data . however correct me if im wrong but all sites i have including your demo shows failed or blank charts . being thats its a feature if the cumulus version it may need a solution to use mysql to use going forward.brian

neomanu16 commented 5 years ago

Hello Brian is sure it would be a good idea and in addition we would be independent of WU Best regards, Emmanuel

weather34 commented 5 years ago

i will offer to help ken but he may have his own solution i do not want to interfere but thought it was coming sooner or later. we have a brand new charts system for meteobridge version using a new layout and chart library if it can be used for cumulus it is no issue with me .feel somewhat in debt to cumulus users as they have contributed so much over the years .brian

neomanu16 commented 5 years ago

It's cool of you Brian if you do not let us down. I think it was purchased from Meteobridge-Nano to solve all the problems of Cumulus. but otherwise the version of Cumulus and good too. Your new graphics are very beautiful indeed.

Emmanuel

weather34 commented 5 years ago

as above let ken decide he may have a solution..have a nice evening..brian

neomanu16 commented 5 years ago

Good evening Brian

ktrue commented 5 years ago

I'm awaiting official word from Victoria Gardner about the status of the CSV query (just down, or permanently removed) before making a decision on how to proceed. Thanks for help offers 👍

ktrue commented 5 years ago

The error text returned is:

An error occurred while processing your request.

Reference #30.adbc3b17.1558321673.50116bb 

Looking up a #30 akamai error lists:

30.xx - ERR_FWD_SSL_HANDSHAKE (SSL certificate verification failed when connecting to the origin)

So this may be but a temporary error.. Still waiting for Victoria's reply.

ktrue commented 5 years ago

Victoria has confirmed that the wunderground.com query for CSV data is now dead and gone.

I'm looking at what's possible to do with the PWS WU/TWC API with the graphs.

GRRRR.....

weather34 commented 5 years ago

ok ken disappointing but not unexpected.need any help feel free to ask just may be a timezone difference between may not yield quick responses. i had a solution i never implemented from 2017 as i didnt want to get bogged down with mysql support as understandably not every has previous experience or had a previous requirement to use it .the wu method was simple and required no technical know how . i will look for it but horrible feeling i deleted most stuff from 2017..brian

ktrue commented 5 years ago

Sigh.. I've just pushed an update to index.php and jsondata/wuupdate.php scripts to remove the links for charts from the main page, and to stop trying to gather data from the dead WU queries.

I'm looking at providing a couple of shim scripts to get what I can from the WU/TWC API and put in the format of the old queries so a 'today' and a '7-day' script can be reenabled. Having a 'month' or 'year' script is a future goal.

steepleian commented 5 years ago

Brian,

I may have some of your old mysql stuff on my NAS. You helped me set up a database to use with my old HP1000 clone and I kept all the old files. I will have a search tonight and let you know.

Ian

On Mon, May 20, 2019 at 5:07 PM brian underdown notifications@github.com wrote:

ok ken disappointing but not unexpected.need any help feel free to ask just may be a timezone difference between may not yield quick responses. i had a solution i never implemented from 2017 as i didnt want to get bogged down with mysql support as understandably not every has previous experience or had a previous requirement to use it .the wu method was simple and required no technical know how . i will look for it but horrible feeling i deleted most stuff from 2017..brian

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ktrue/CU-HWS/issues/98?email_source=notifications&email_token=AEMVT7UXBCBIDES6LHRMCD3PWLECNA5CNFSM4HN46YY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZJ7ZY#issuecomment-494051303, or mute the thread https://github.com/notifications/unsubscribe-auth/AEMVT7QM2DQCEICKXHXCZGLPWLECNANCNFSM4HN46YYQ .

weather34 commented 5 years ago

ive looked but ive nothing beyond Jan 2018 ..However think ken has something in the pipeline so best let him move forward and not confuse the progress..brian

ktrue commented 5 years ago

I've done a quick shim code generation to take the WU/TWC JSON -> CSV format, but haven't added in all the error checking. To use, you MUST have a valid PWS WU/TWC API key.

The '7-day' and 'Today' links are re-enabled on the index.php page (yearly remains disabled). Merge #100 has the changes.

Whew...

ktrue commented 5 years ago

I found the magic words for the API query to be able to restore the Monthly graphs to operation. Replaced the 7-day ones with the old monthly*.php calls and all works fine. See #102

No luck on a Yearly call yet.. the max is 31 days per history query, and no 'yearly' history query is available in the API.

ktrue commented 5 years ago

Did #107 to handle JSON WU data with metric rain in mm instead of the prior cm values from the CSVs