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: Newest
  1. 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
  2. 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
  3. Anonymous
    2022-10-31T18:45:31+00:00

    thank you, I have done that and now i will wait to see if it reboots, the station is showing the correct days of the week but Oct. 11 is the last time it downloaded information.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-10-30T19:57:16+00:00

    try this:

    This is just a hiccup in the 2.5 installation process.

    All you need to do is this:-

    Using the wampmanager (the W icon in the system tray ) do

    left click wampmanager -> Apache -> Version -> (and click on the version number)
    

    This will cause wampmanager to rebuild all the SYMLINKS in the apache/bin folder, and restart Apache. This should fix the issue and stop the errors from appearing in theĀ php error log.

    Was this answer helpful?

    0 comments No comments