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: Most helpful
  1. Anonymous
    2022-11-04T14:58:01+00:00

    maybe your API key was not typed or placed correctly in the code. Double check your API and that it is wrapped in the single quotes:

    $api_key = 'Your weatherbit.io key here';
    

    also, you can check to see if your API is working by adding the key to the end of the below URL and hit enter. The page should reload with all of the weather data in a long data string.

    http://api.weatherbit.io/v2.0/forecast/daily?city=porltand,OR&key=

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-10-20T14:47:04+00:00

    Done, but you still have another message with a screen shot.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-10-19T17:53:36+00:00

    Look at this link. It is the new code recently discussed in the comments section on original fix Casper3275 developed.

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

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-10-19T16:06:10+00:00

    Hello John,

    Same issue here. Day two of no update from Wampserver to EC-WS115.

    Casper3275 developed the fix about two years ago. Were you a part of this forum where the fix was posted?

    Sharper Image Weather Station EC-WS115 not updating - Microsoft Community

    Was this answer helpful?

    0 comments No comments