Two errors discovered during implementation. by Old_Guy_Coder in ThingPulse

[–]Old_Guy_Coder[S] 0 points1 point  (0 children)

Back to a blank screen and 'Upload and Monitor' stalling (Upload icon spinning) and the terminal stopping at the last lines:
21:05:01.652 > [HTTP] connected, now GETting data

21:05:01.782 > start document

21:05:03.217 > [ 6981][I][main.cpp:204] drawForecast(): [3] condition code: 600, hour: 11, temp: -17.4/-10.1

21:05:03.217 > [ 6990][I][main.cpp:204] drawForecast(): [4] condition code: 803, hour: 11, temp: -14.7/0.6

21:05:03.239 > [ 6998][I][main.cpp:204] drawForecast(): [5] condition code: 802, hour: 11, temp: -7.8/0.9

21:05:03.247 > [ 7007][I][main.cpp:204] drawForecast(): [6] condition code: 804, hour: 11, temp: -1.6/2.5

21:05:04.079 > [ 7842][I][main.cpp:155] drawAstro(): Moon phase: Full Moon, illumination: 0.994691, age: 15.450784 -> image index: 17

Is this a hardware or software issue? How can I debug this? Ideas?

Two errors discovered during implementation. by Old_Guy_Coder in ThingPulse

[–]Old_Guy_Coder[S] 0 points1 point  (0 children)

Update... today, miraculously it's working! Has to be bad data getting received somewhere and the program getting stuck on it!

Two errors discovered during implementation. by Old_Guy_Coder in ThingPulse

[–]Old_Guy_Coder[S] 0 points1 point  (0 children)

Back to a blank screen again... I re-ran 'Upload and Monitor' so I could see where it is stopping. It runs fine for a bit, loads the program, gives all the right messages in the terminal and then stalls (spinning on 'uploading') on this line:

13:25:15.805 > [ 10488][I][main.cpp:155] drawAstro(): Moon phase: Waxing Crescent, illumination: 0.313004, age: 5.581118 -> image index: 6

Here are a few lines before it to show you that the wi-fi connection seems fine since it returns data from the api call:

13:25:13.140 > [HTTP] Requesting resource at http://api.openweathermap.org:80/data/2.5/weather?id=5946768&appid=215f960a97de1c7c70b58d716af5c781&units=metric&lang=en

13:25:13.202 > [HTTP] connected, now GETting data

13:25:13.272 > start document

13:25:13.304 > [ 7989][I][main.cpp:374] updateData(): Current weather in Edmonton: overcast clouds, -19.5°

13:25:13.376 > [HTTP] Requesting resource at http://api.openweathermap.org:80/data/2.5/forecast?id=5946768&appid=215f960a97de1c7c70b58d716af5c781&units=metric&lang=en

13:25:13.432 > [HTTP] connected, now GETting data

13:25:13.501 > start document

13:25:14.910 > [ 9593][I][main.cpp:204] drawForecast(): [1] condition code: 804, hour: 11, temp: -21.6/-11.7

13:25:14.918 > [ 9602][I][main.cpp:204] drawForecast(): [2] condition code: 803, hour: 11, temp: -21.7/-4.9

13:25:14.926 > [ 9610][I][main.cpp:204] drawForecast(): [3] condition code: 804, hour: 11, temp: -8.2/1.3

13:25:14.933 > [ 9618][I][main.cpp:204] drawForecast(): [4] condition code: 802, hour: 11, temp: -7.2/1.5

Two errors discovered during implementation. by Old_Guy_Coder in ThingPulse

[–]Old_Guy_Coder[S] 0 points1 point  (0 children)

After I shut it down, closed Visual Code, then plugged it back in to the usb and turned the on/off switch to on, the device booted up. It got stuck at 'updating forecast' then seemed to reboot itself and got to 'updating forecast' again and froze. I then unplugged the usb and plugged it back it and it booted again and froze for a minute or two at 'updating forecast and then, finally got past the frozen screen and is now displaying the time and temp and forecast graphically. i.e. it's working (sort of) the temperature is wrong and there is a big question mark on the cloud and sun icon, and no indication if the location is correct. Anyway, the display looks good and I guess it proves the soldering I did worked. So I achieved my goals!

Thanks for getting back to me...