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-10-19T21:00:55+00:00

    Ugh. Lots of error lines. Hope easy to fix

    Note: Screenshot removed

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-10-19T20:44:59+00:00

    Go to your WAMPSERVER icon select>PHP>PHP error log. Scroll to the bottom or most recent message and post the screen shot

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-10-19T20:38:25+00:00

    Disregard. prior message. Went back to look at his old stuff and found there is a space inserted

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-10-19T20:30:34+00:00

    I noticed the workaround from Casper3275's old code did not have a line space after the first line. The api key code was immediately underneath.

    This new code as displayed in the image below has a line space before the api key. This image has my api key

    Does it make a difference?

    I am unsure why it is not updating. I have restarted the 5 day forecast program several times.

    Was this answer helpful?

    0 comments No comments