0

MagTag Weather Forecast - Looks like Magtag does not wake up
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MagTag Weather Forecast - Looks like Magtag does not wake up

by EugeneZ on Wed Feb 10, 2021 10:22 pm

Code loads and everything works great while Magtag is connected to the laptop through REPL. Once it goes in in 'solo mode' looks like it refreshes the forecast once and then falls asleep and never wakes up until the next time it is wired to the computer.

Presume the solution is something simple but it just escapes me...

Many thanks in advance!

EugeneZ
 
Posts: 2
Joined: Wed Feb 10, 2021 10:11 pm

Re: MagTag Weather Forecast - Looks like Magtag does not wak

by mikeysklar on Fri Feb 12, 2021 6:15 pm

Just a guess based on this blog post, but does the forecast scoop once a day just after midnight?

Code: Select all | TOGGLE FULL SIZE
 The MagTag 2.9″ display is perfect for displaying a daily/weekly weather forecast on your fridge. Carter’s working on the code and guide, here’s a sneak peek! We wake up once after midnight to get the daily forecast, render it on the display with some cute grayscale fonts, then go back into deep sleep mode…so it should be able to last many weeks on a charge


https://blog.adafruit.com/2020/12/14/e- ... eathermap/

mikeysklar
 
Posts: 3362
Joined: Mon Aug 01, 2016 8:10 pm

Re: MagTag Weather Forecast - Looks like Magtag does not wak

by EugeneZ on Sat Feb 20, 2021 9:14 pm

Haven't timed it, but based on my understanding of the code, it does indeed do it 15 mins after midnight, and supposed to be doing it once a day, but for some reason does it only once and then never refreshes..

EugeneZ
 
Posts: 2
Joined: Wed Feb 10, 2021 10:11 pm

Re: MagTag Weather Forecast - Looks like Magtag does not wak

by mikeysklar on Mon Feb 22, 2021 9:49 pm

@EugeneZ,

I see three options you can try:

1) Keep a REPL prompt open while the MagTag is running so we can observe any interesting messages printing out on the console:

https://learn.adafruit.com/magtag-weath ... ernet-test

2) Use the same link above for doing multiple interenet test with our connection test code. Maybe there will be something telling about connections failing.

3) The MagTag is fairly new it might be worth loading a newer CircuitPython / Libraries and bootloader to see if those updates make a difference.

https://circuitpython.org/board/adafrui ... grayscale/

mikeysklar
 
Posts: 3362
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.