-
Notifications
You must be signed in to change notification settings - Fork 74
Unstable connectivity with Matrix Portal and most of the internet demos #113
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
Comments
can you get the very latest bundle? a few fixes have gone in recently |
I grabbed the latest nightly bundle last night with same results. Is there anything new since? I'll check. |
Just checked - already running latest bundle from https://circuitpython.org/libraries (adafruit-circuitpython-bundle-6.x-mpy-20201101.zip) - also I've tried both adafruit-circuitpython-matrixportal_m4-en_US-6.0.0-rc.1.uf2 as well as adafruit-circuitpython-matrixportal_m4-en_US-20201103-0d0436b.uf2 (nightly build) |
Thanks @diomark. I'm looking at it now. |
@diomark I am seeing the |
I tried it twice and received the reload error both times after the intiial weather bpm was displayed. I'll reload and try again. (currently have the quote from io.adafruit.com code loaded) |
loaded this time.. but.. it's just flakey.. log attached. (btw router is like 5ft from this device..)
|
reset - log from next run (struggles to get on wifi, then lots of using more memory to be compatible messages)
|
also - here's the results from the Matrix_Portal_Learn_Stats (this one throws errors directly in adafruit_requests.py)
|
The Are you far from your access point? I think my example may be more reliable because I'm near mine. It usually gets on the WiFi with the first try. |
second run from Matrix_Portal_Learn_Stats
|
Nope. literally working on the same desk as the wifi router.. (they're 4-5 feet away from each other) |
What brand of router is it? I'm not that close. :-) Mine is in a room below mine. I've seen something similar to your output where it warns that it couldn't connect but then continues to try and make a request. That's weird to me. |
Eero pro. hardwired to ethernet. (no issues w/ other iot devices (mostly esp8266's) around here. they usually connect first try..) |
Putting the can't find ssid issue aside, the Matrix_Portal_Learn_Stats is consistently failing with the same error once it does connect.
|
Back in the weather app - clean-runs (two times in a row) - but - slowed down significantly because of the socket missing recv_into using more memory to be compatible issue.. Is there a way to tell it to use more memory to start with?
|
It will use more memory when it prints that message. I'm trying to add debug prints to the nina firware on the ESP32 but am having trouble getting it going. |
tnx Scott - let me know f you'd like me to test anything. |
@diomark Does it always recover? This can happen when the socket is closed before we send. |
@diomark Please try #114 in conjunction with adafruit_requests.py from here: https://github.com/tannewt/Adafruit_CircuitPython_Requests/tree/better_error_handling |
The new libraries at adafruit-circuitpython-bundle-6.x-mpy-20201111 have been much more stable. Matrix_Portal_Learn_Stats is now working. |
Ok, great! Closing the issue. If folks find further problems, please open a new issue. |
Having issues w/ the Matrix Portal and the internet demos. The only internet demo that works is the Quote board matrix display.
Using adabox016 components
adafruit-circuitpython-matrixportal_m4-en_US-6.0.0-rc.1.uf2
adafruit-circuitpython-bundle-6.x-mpy-20201101.zip
It takes a very long time (~30seconds-1minute) to get a wifi connection and grab quotes with the Quote board matrix display.
Serial shows these types of errors while connecting -
Socket missing recv_into. Using more memory to be compatible
An error occurred, retrying! 1 - Failed to send 3 bytes (sent 0)
Again, the quotes demo is the only one that worked. Getting errors around adafruit_requests?) in both the weather clock and the demo that pulls examples from adafruit..
The text was updated successfully, but these errors were encountered: