Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

ePaper Weather Station display wrong date
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: ePaper Weather Station display wrong date

by 56647 on Fri Mar 06, 2020 9:37 am

Well done, rhweatherley! Very impressive the way you worked your way through to a solution, be it temporary or not. I made changes to my code per your suggestions and, of course, my ePaper Weather Station now displays the correct date. Thanks so much for your efforts, and even more for sharing them with us. Your are appreciated! Have a great "rhweatherley" day!

56647
 
Posts: 2
Joined: Mon Jan 06, 2020 10:55 am

Re: ePaper Weather Station display wrong date

by drsanqun on Fri Mar 06, 2020 10:11 pm

Hi rhweatherley,

Thanks for finding a temporary solution. I just bought parts for two of the weather stations to give as gifts. I hope Adafruit will post a permanent solution to this issue. Your addition of the watchdog reset is also very helpful.

Best Regards, Doug

drsanqun
 
Posts: 26
Joined: Thu Jan 26, 2017 1:30 pm

Re: ePaper Weather Station display wrong date

by powershift on Fri Mar 20, 2020 9:18 pm

While shelter at home, I am trying to follow rhweatherley suggestion. However not sure why, line 293 now has a compile error of:

default argument given for parameter 3 of 'void displayForecastDays(OpenWeatherMapCurrentData&, OpenWeatherMapForecastData*, int)' [-fpermissive]

So, I tried to revert back to the original code download from Adafruit again and show the same error. Was is because of some library got updated or other reason?

Thanks in advance for any help.

powershift
 
Posts: 36
Joined: Sat Sep 13, 2014 9:50 am

Re: ePaper Weather Station display wrong date

by powershift on Fri Mar 20, 2020 9:46 pm

I change the code by remove parameter 3 value assignment:

void displayForecastDays(OpenWeatherMapCurrentData &owcdata, OpenWeatherMapForecastData owfdata[], int count)

and then add the

count = 3;

into the function. Not sure if this will work or not but at least it complies.

powershift
 
Posts: 36
Joined: Sat Sep 13, 2014 9:50 am

Re: ePaper Weather Station display wrong date

by TWDM on Mon Mar 30, 2020 8:54 am

The date fix worked for me and the retry function works more reliably than before. Using two sets of stacking headers and 6 short jumpers I have added the boost shield and battery. Usage, turn the battery switch on and you get 12 hours of weather until your next check. Battery has lasted a couple of weeks since the last charge.

Thanks for the time/date fix.
Attachments
stack.jpg
stack.jpg (61.77 KiB) Viewed 151 times

TWDM
 
Posts: 51
Joined: Sat Sep 05, 2015 9:07 am

Re: ePaper Weather Station display wrong date

by jeffs1212 on Fri Jan 22, 2021 7:30 pm

I wanted to add a shout out to rhweatherly for the temporary fix. Nice work! I had set this aside for a little while after having implemented this project and had noted the incorrect date & time. Great to be able to come back to this forum and find a solution.

Cheers!

jeffs1212
 
Posts: 3
Joined: Sat Mar 21, 2020 6:16 pm

Re: ePaper Weather Station display wrong date

by TWDM on Mon Mar 29, 2021 8:33 am

Battery update, it has been a year since my last post and with daily use (usually twice a day) the battery has lasted a year without a recharge!

TWDM
 
Posts: 51
Joined: Sat Sep 05, 2015 9:07 am

Please be positive and constructive with your questions and comments.