Connecting Raspberry Pi Pico W's with MQTT: Building a Collaborative IoT System (2024 Update)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 22

  • @AshieG75
    @AshieG75 2 หลายเดือนก่อน +4

    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!

    • @mmshilleh
      @mmshilleh  2 หลายเดือนก่อน

      Thanks I appreciate the feedback

    • @saranyak5114
      @saranyak5114 2 หลายเดือนก่อน

      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

    • @saranyak5114
      @saranyak5114 2 หลายเดือนก่อน

      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

  • @nicolaspotieranzola4352
    @nicolaspotieranzola4352 3 หลายเดือนก่อน +1

    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

    • @mmshilleh
      @mmshilleh  3 หลายเดือนก่อน

      Not sure what you mean my friend.

  • @keithlohmeyer
    @keithlohmeyer 4 หลายเดือนก่อน +1

    Great! Thanks for the update.

    • @mmshilleh
      @mmshilleh  4 หลายเดือนก่อน

      My pleasure!

  • @vasili2837
    @vasili2837 3 หลายเดือนก่อน +2

    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?

    • @mmshilleh
      @mmshilleh  2 หลายเดือนก่อน

      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?

    • @saranyak5114
      @saranyak5114 2 หลายเดือนก่อน

      hi have u find the solution?

  • @TilakJain-tp5ih
    @TilakJain-tp5ih 23 วันที่ผ่านมา

    Thanks!

    • @TilakJain-tp5ih
      @TilakJain-tp5ih 23 วันที่ผ่านมา

      Shilleh, excellent work and great content! Very helpful. Keep going strong.

    • @mmshilleh
      @mmshilleh  23 วันที่ผ่านมา

      Welcome! 🎉❤

  • @syedhuzaifaali8096
    @syedhuzaifaali8096 3 หลายเดือนก่อน +1

    in the earlier video you were using iot core now you have shifted to hivemq and it is without the certificate aswell

    • @mmshilleh
      @mmshilleh  3 หลายเดือนก่อน

      IoT core is a separate tutorial yes!

    • @syedhuzaifaali8096
      @syedhuzaifaali8096 3 หลายเดือนก่อน +1

      @@mmshilleh yes but that is also not working - and you have given link of this on that video pinned comment

  • @TilakJain-tp5ih
    @TilakJain-tp5ih 23 วันที่ผ่านมา +1

    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!

    • @mmshilleh
      @mmshilleh  23 วันที่ผ่านมา

      @@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

    • @TilakJain-tp5ih
      @TilakJain-tp5ih 23 วันที่ผ่านมา +2

      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!

    • @mmshilleh
      @mmshilleh  22 วันที่ผ่านมา

      @@TilakJain-tp5ih Thank you, you are a gentleman! Glad you figured it out