Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Azure IOT hub Pycom

    Scheduled Pinned Locked Moved LoPy
    azuresipylopyfipy
    7 Posts 4 Posters 1.8k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      davargas
      last edited by

      Hi Everyone.

      We would like to know is you guys have already an implementation of the azure iot hub client for Microphyton ( Pycom), this is because we would like to have all the features that a IOT Hub Azure client provides, or at least would be good to know if you have a porting of the current C sdk client, https://github.com/Azure/azure-iot-sdk-c.

      1 Reply Last reply Reply Quote 0
      • danD Offline
        dan
        last edited by

        Hi @davargas, I don't think we do. They have a Python version of the sdk, maybe that helps. I'll look into it though, it sounds like something that would be nice to have.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          davargas @dan
          last edited by

          Thanks, Dan,

          We believe, so far that the easiest way is to port the C client( azure-iot-sdk-c.) to micropython we are following some porting guides.

          http://media.readthedocs.org/pdf/micropython-dev-docs/latest/micropython-dev-docs.pdf

          but currently we have a problem finding in your ESP_32 makefile, the variable SCR_C in order to add the list of C files to port, do you know where we can find additional information about how to find the equivalent of this SCR_C variable in your make file?

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bettina administrators
            last edited by

            @davargas said in Azure IOT hub Pycom:

            IOT Hub Azure client provides

            One of our evangelists did some work to integrate last year (in conjunction with a Cisco UK hackathon) and I know we sent messages through the Hub as I have an automated message "Congratulations, you've just sent your messages to the Azure IoT Hub!".

            I'll try to find the details for you.

            It is possible that @jmarcelino know where the scripts are...?

            Thanks

            Bettina

            Bettina
            Pylot at Pycom

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              davargas @Bettina
              last edited by

              HI @bettina, @jmarcelino

              Do you have any info about this implementation?, is there any information that you can share with us. :)

              So far we have been able to publish the data using MQTT to Azure IOT hub, but without using the IOT hub Azure Client.

              danD 1 Reply Last reply Reply Quote 0
              • danD Offline
                dan @davargas
                last edited by

                Hi @davargas, I have some code for MQTT as well, but nothing for Azure Client. I have added it to my list of things to research and will try to write a tutorial for it if I can make it work ;)

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cmisztur
                  last edited by

                  What is the interest level in an MP implementation? There are many things to be taken care of besides just the Hub connection (DPS, Twin, etc).

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom