Sharper Image Weather Station EC-WS115 not updating ***Again*** 10/19/22

Anonymous
2022-10-19T15:33:40+00:00

It looks like the WAMPSERVER fix is throwing PHP errors on line 99, 120 and 55 for the getweather.php file. I am thinking this might be due to a change in the data string from Weatherbit ???

Windows for home | Windows 10 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2022-10-21T14:05:07+00:00

Below is an updated version of getweather.php. It works around weatherbit.io changing their free forecasts from 16 days to 7 days.

  1. Download file
  2. Update your weatherbit.io key in the file.
  3. Copy to c:/wamp/www/ folder to replace existing getweather.php

https://www.dropbox.com/s/nw3e7tznsgt7ncj/getweather.php?dl=0

Post here if you have issues.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

46 additional answers

Sort by: Oldest
  1. Anonymous
    2022-10-31T21:52:36+00:00

    [31-Oct-2022 22:36:05 Europe/Paris] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone ()' in C:\wamp\www\getweather.php:100

    Stack trace:

    #0 C:\wamp\www\getweather.php(100): DateTimeZone->__construct('')

    #1 {main}

    thrown in C:\wamp\www\getweather.php on line 100

    this is my latest error in wampserver, any ideas?

    thank you

    Marc

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-10-31T22:13:02+00:00

    I had this same error but with a different line code other than 100. It was apparently caused as I had made a lot of attempts to prompt weatherbit.io to update the data on the display. As I understand a limited number of queries are allowed with a free account on weatherbit.io. I stopped trying to get the display to update and walked away from my PC and within about two to three hours the display updated. My suggestion is to leave it alone for two to three hours and hopefully as in my case the display will update.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-10-31T22:17:01+00:00

    thank you for your help., I will wait and see.

    Marc

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-11-03T22:09:44+00:00

    [03-Nov-2022 01:29:10 Europe/Paris] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone ()' in C:\wamp\www\getweather.php:100

    Stack trace:

    #0 C:\wamp\www\getweather.php(100): DateTimeZone->__construct('')

    #1 {main}

    thrown in C:\wamp\www\getweather.php on line 100

    still waiting for the weatherstation to update. Any ideas? Thanks for taking the time to help me.

    Was this answer helpful?

    0 comments No comments