Weather Station Wirelessly Connected to Wunderground

Hi,

I built a weather station as described in your tutorial “Weather Station Wirelessly Connected to Wunderground”.

The unit does not communicate with the weather wunderground.

Running the software on the Electric Imp developer platform I receive the following error

2019-07-19T05:23:17.258 +02:00 [Agent] ERROR: the index ‘16’ does not exist

2019-07-19T05:23:17.258 +02:00 [Agent] ERROR: in unknown agent_code:246

2019-07-19T05:23:17.257 +02:00 [Device] We heard:

2019-07-19T05:23:17.258 +02:00 [Device] Arduino read complete

2019-07-19T05:23:17.262 +02:00 [Device] Nothing to do, going to sleep for 60 seconds

2019-07-19T05:23:17.265 +02:00 [Device] Sleeping until 2019-07-19 03:24:16Z

this seems to point to a problem with the agent.nut code line 246…

if(a[0] != “$” || a[16] != “#”)

{

server.log(format(“Error: incorrect frame received (%s, %s)”, a[0], a[16])); // line 246

server.log(format(“Received: %s)”, dataString));

return(0);

}

Could you please assist me as to where the problem is…

The codes that are used are latest from the Github …

I do admit that I am “Programming challenged” so please go easy on me…

Any help will be gratefully accepted.

Thank You

Colin

Hello Colin, and thanks for writing.

Sadly, Wunderground has changed the way weather stations connect to their service and our code doesn’t work anymore. Last I heard they were charging people to post weather data and you had to buy access to their network.

In the future we may rewrite the code, but unfortunately for the time being, our tutorial won’t work.

Hi Chris

Thanks for the response…

For some reason I seemed to get it working after lots of trial and error…

Regards

C!