-
Notifications
You must be signed in to change notification settings - Fork 15
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
Can't use this module on PyPortal or Metro M4 Airlift Lite due to no SSL module #55
Comments
I'm not entirely familiar with this library, but you should be able to overcome the Let me see if I'm missing something. |
Yes, indeed, I am using the
So my naive understanding is that |
So as it is right now, that board just isn't compatible with this library. Hopefully the |
Would it make sense to add to the documentation on this (or did I just not see it)? I know the library documentation says that CircuitPython (implicitly in its entirety) is a requirement which technically covers it. However, for me as a newbie, it was a learning experience to find out all these boards "with CircuitPython" often only have a subset of it. So does it make sense to clarify the builtins needed within the documentation to assist in figuring out board compatibility? I had purchased a PyPortal since it appeared compatible based on a tutorial. However, the tutorial was written before the mentioned commit. I tried rolling back the library to before the commit, but instead encountered a socket error. I will try to keeping rolling things back to see if I can reach a compatible version. (Meanwhile, I ordered a different board and left feedback on the aforementioned tutorial.) Thanks! |
Submitted feedback to the Learn Guide about this so it can be addressed. I do think adding information about compatibility would be helpful as well, if you're up for submitting a PR, let me know - otherwise I can submit one. |
Very happy to make an attempt! I will try to do that now. |
Done. I will make an attempt to understand how this works and see if I can edit the library, but as I am so new to board-level work I have no idea how long that would take me...in case anyone sees this and wants to work on the issue. |
I'll take a look at the not shortly, but in the meantime, if you do want to do this tutorial, you could try to use the firmware and the libraries from around May 26, 202 if you haven't already tried, at least while this is still an issue. |
I had the same issue as @MathCatsAnd described. I tried rolling back to CircuitPython for PyPortal 5.2.0 (April 2020) and installed the Library Bundle for 5.X. The code started running. I disabled the I managed to get the project running and communicating with IoT Central this way. It's a workaround until the issue is getting fixed. I added feedback to their tutorial and also found a forum post talking about it from 2022. Let's hope it gets resolved soon. Edit: CircuitPython Version 6.3.0 together with the Library Bundle 6.x are also working, even with |
Disclosure: I'm completely new to adafruit and doing my very first project.
I am unable to use the
adafruit_azureiot
module on my PyPortal or my Metro M4 Airlift Lite. Both of these boards useadafruit_esp32spi
and have nowifi
orssl
module in their CircuitPython installations. There was an update to thisadafruit_azureiot
module which added an import ofssl
in theiot_mqtt.py
file.75af72b
As such, without building a custom CircuitPython installer for these boards, I am unable to use
adafruit_azureiot
since just importing a function will will triggerModuleNotFoundError
wheniot_mqtt.py
tries to importssl
.The text was updated successfully, but these errors were encountered: