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

    Alex's Corner - Week 4 - WiPy & Publishing/Subscribing With MQTT

    Scheduled Pinned Locked Moved Events
    wipylivewebinarmqttwlan
    24 Posts 8 Posters 13.3k Views 9 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.
    • B Offline
      bucknall
      last edited by

      Links that I mentioned in my the live stream:

      • http://www.bitreactive.com/how-fast-can-you-publish-mqtt-messages/
      • http://www.hivemq.com/blog/mqtt-essentials-part-4-mqtt-publish-subscribe-unsubscribe
      • https://simplifiedthinking.co.uk/2015/10/03/install-mqtt-server/

      Developer Evangelist - Pycom

      1 Reply Last reply Reply Quote 0
      • R Offline
        robmarkcole
        last edited by

        Perfect! Is the video available to download?

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          bucknall @robmarkcole
          last edited by

          @robmarkcole it's hosted on YouTube so you can view it back whenever you wish. Regarding downloading it, I'm sure you can but I won't advise tools to do that as I believe it's against YouTube's Ts & Cs...!

          Developer Evangelist - Pycom

          1 Reply Last reply Reply Quote 1
          • R Offline
            robmarkcole
            last edited by

            @bucknall MQTT up and running now, thanks!

            0_1492165564979_upload-ba7cec5f-5649-45f1-9811-7a9fc980c162

            1 Reply Last reply Reply Quote 1
            • R Offline
              robmarkcole
              last edited by

              Hmm this working before lunch, what could be going on?

              0_1492181218928_upload-459019bb-4809-4554-88a9-bafe1ae15570

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                bucknall @robmarkcole
                last edited by

                @robmarkcole I have a lot of problems using hivemq, its often down - maybe try another broker? like mosquitto?

                Developer Evangelist - Pycom

                1 Reply Last reply Reply Quote 0
                • R Offline
                  robmarkcole
                  last edited by

                  OK great, now publishing temperature readings from my DS18B20 to my Mac via MQTT. However I note that client.connect() returns 0 even though the connection is working..

                  0_1492181907548_upload-58ec517d-7773-45e7-8eb3-617138ee7b46

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RL-Auroraim
                    last edited by

                    Hi @bucknall

                    I would like to have our LoPys interpret incoming subscription messages and execute a corresponding function. How do I go about saving subscribed messages as a string variable for example so I can compare them?

                    PiAirP 1 Reply Last reply Reply Quote 0
                    • PiAirP Offline
                      PiAir @RL-Auroraim
                      last edited by

                      @RL-Auroraim You can see an example of subscribe here in the video: https://youtu.be/3NDPSbr5J14?t=12m57s that Alex posted. But it looks like he hasn't pushed that one to github yet? (correct @bucknall ?)

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        bucknall @PiAir
                        last edited by

                        @PiAir That's correct, I'll make sure that's updated on both the docs & GitHub! Cheers!

                        Developer Evangelist - Pycom

                        1 Reply Last reply Reply Quote 0
                        • RobTuDelftR Offline
                          RobTuDelft
                          last edited by

                          Link in Youtube description seems to link to the week 5 forum topic

                          Without data you're just another person with an opinion.
                          Hackster | About me

                          1 Reply Last reply Reply Quote 1
                          • R Offline
                            robmarkcole @bucknall
                            last edited by

                            @bucknall just posted about sending images over MQTT, perhaps one for another Corner?

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              audreycrist Banned
                              last edited by audreycrist

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                ngthanh Banned @bucknall
                                last edited by

                                This post is deleted!
                                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
                                • 2
                                • 2 / 2
                                • First post
                                  Last post

                                Pycom on Twitter

                                Pycom