-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device 697EE stops updating on AWS #76
Comments
added a bunch of print logs at each keep time loop to determine when it dies. unfortunately now i have to sit here and wait and it will probably not even happen this time. Been going well for half an hour or so
|
It disconnected from AWS but not the same condition: then was basically stuck not updating it's time ever, until it crashed:
|
another crash:
and again on the mqtt connect:
this is not the same failure condition. trying a hard reset |
still timing out watchdog on the mqtt connect.
the connection isnt failing, it's not refused, it's just nothing about 4 and half minutes in to the attempt. changing the WDT to 8M. |
and now it dies at 8M. so confirmed it's the WDT. EEProm isn't corrupted as it says the right url
|
hasn't been connected to aws to update the shadow since 3/5. Here is the "i don't know what time it is" printout:
changed time keeping code to:
I think that if internet.getTime() returns 0 we need to revert to keepTimeWithMillis(); |
Okay, so there are a couple issues.
isolating problem 2 by skipping the mqtt aspect. got it to get stuck on a time, always doing internet time, not getting a new time.
|
never lose time with just gps and the cell antenna unplugged. possible that this is a second damaged modem? |
Figure out why it stops updating. It looks like the RTC isn't changing properly.
at 4:43pm pst 3/3/20: tried to connect bluetooth uncredentialled to get a print out waited a few minutes, tried again:
23:53 is 3:53 PST.
Last AWS update:
Disconnected:
Makes sense that it would forget to keep alive if it doesn't know what time it is.
The text was updated successfully, but these errors were encountered: