Great videos thankyou! I came across this one as it is linked in your video around connecting a Pi Pico W to AWS IOT Core. This has the same problem with the changes to simple.py and the removal of ssl_params, but the context needs to be created with the cert and key... context = tls.SSLContext(tls.PROTOCOL_TLS_CLIENT) context.load_cert_chain(read_pem(MQTT_CLIENT_CERT), read_pem(MQTT_CLIENT_KEY)) context.load_verify_locations(read_pem(MQTT_BROKER_CA)) context.verify_mode = tls.CERT_REQUIRED Just wanted to post this in case anyone else is struggling with it like I was!
hi pls help me to connect with aws iot using pico w,iam trying this for the past 5 days.but i cannot clear the issue.i tried with different versions of micropython.can u tell me the solution in detail
Hi, can you explain this for Aws iot context, please? i'm try to connect between esp8266 and iot core with the last firmware, but I haven't been able to make it
Can you make an update regarding the AWS IoT integration with the certs? I'm going crazy trying to make it work. It tried alot. Different micropython version. Different variants of converting the certs into the correct format but i just can't make it work. Im currently using micropython v1.24.0-preview.181.g91f4a6b9e but 1.23.0 doesn't work as well. It always tells me my cert is invalid: ValueError: invalid key. Even though the exact same code with the same certs works on an esp32 board. Im guessing the compiled firmware for the pico is different and that causes the issue. Do you have any insights that might help me?
I will gladly pay for anyone who can get MQTT working with my micropython v1.23 working with AWS Iot. Its weird, there is no ussl with this version and it throws errors. Cannot figure this out!
Alright, believe it or not I just figured it out! I did not follow the exact instructions from the first video regarding simple.py copy and pasting it. Then I added the information provided as the author described and also the instructions below by @AshieG75. This now works great! I will be buying you a coffee!
Great videos thankyou! I came across this one as it is linked in your video around connecting a Pi Pico W to AWS IOT Core. This has the same problem with the changes to simple.py and the removal of ssl_params, but the context needs to be created with the cert and key...
context = tls.SSLContext(tls.PROTOCOL_TLS_CLIENT)
context.load_cert_chain(read_pem(MQTT_CLIENT_CERT), read_pem(MQTT_CLIENT_KEY))
context.load_verify_locations(read_pem(MQTT_BROKER_CA))
context.verify_mode = tls.CERT_REQUIRED
Just wanted to post this in case anyone else is struggling with it like I was!
Thanks I appreciate the feedback
hi pls help me to connect with aws iot using pico w,iam trying this for the past 5 days.but i cannot clear the issue.i tried with different versions of micropython.can u tell me the solution in detail
my error code is Traceback (most recent call last):
File "", line 79, in
File "simple1.py", line 92, in connect
IndexError: bytes index out of range
Hi, can you explain this for Aws iot context, please? i'm try to connect between esp8266 and iot core with the last firmware, but I haven't been able to make it
Not sure what you mean my friend.
Great! Thanks for the update.
My pleasure!
Can you make an update regarding the AWS IoT integration with the certs? I'm going crazy trying to make it work. It tried alot. Different micropython version. Different variants of converting the certs into the correct format but i just can't make it work. Im currently using micropython v1.24.0-preview.181.g91f4a6b9e but 1.23.0 doesn't work as well. It always tells me my cert is invalid: ValueError: invalid key. Even though the exact same code with the same certs works on an esp32 board. Im guessing the compiled firmware for the pico is different and that causes the issue. Do you have any insights that might help me?
Not at the top of my head, I do have some AWS IoT videos on my channel and I got it to work. Have you watched those?
hi have u find the solution?
Thanks!
Shilleh, excellent work and great content! Very helpful. Keep going strong.
Welcome! 🎉❤
in the earlier video you were using iot core now you have shifted to hivemq and it is without the certificate aswell
IoT core is a separate tutorial yes!
@@mmshilleh yes but that is also not working - and you have given link of this on that video pinned comment
I will gladly pay for anyone who can get MQTT working with my micropython v1.23 working with AWS Iot. Its weird, there is no ussl with this version and it throws errors. Cannot figure this out!
@@TilakJain-tp5ih i can help, reach out out to me on upwork and we can workout the details. You can find my upwork on my TH-cam profile
Alright, believe it or not I just figured it out! I did not follow the exact instructions from the first video regarding simple.py copy and pasting it. Then I added the information provided as the author described and also the instructions below by @AshieG75. This now works great! I will be buying you a coffee!
@@TilakJain-tp5ih Thank you, you are a gentleman! Glad you figured it out