• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

How much fun can we have?

Q&A Forum › Category: ESP32 › How much fun can we have?
0 Vote Up Vote Down
Ray Leiter asked 3 years ago

An observation of my effort on this course:
I am about to begin in earnest on Module 7 (MQTT).
Having this much fun is downright sinful!
How is it possible to have so much fun during something that a lot of people would consider wasteful?
I should probably buy ALL the courses, because when I finish this one, I’ll just wonder about all the rest of them.
THE SUPPORT via THIS FORUM IS AWESOME!
PLEASE CONTINUE.
Ok, I’m off to MQTT.

Question Tags: Fun Sinful Awesome Support
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Ray.
I’m glad you’re enjoying the projects.
Thank you.
Regards,
Sara
 

0 Vote Up Vote Down
Ray Leiter answered 3 years ago

Sara;
I’m very glad I found you folks. Tell Rui, I appreciate you two very much.
I just recently realized something and I thought you may be able to help.
I just finished Module 7, Units 3 & 4 and I started to carefully look at the code to see if I actually understood what I had been given.
When I first put together the Units(3 & 4), it didn’t work and I was convinced it had to be the broker and I was right.
I was a little worried when I saw the message from the broker upon its startup on the Pi. Something about being able to support ONLY local clients — I later found on the forum, others had the same issue and I saw your solution — no listener on port 1883!
That got me to thinking — how does MQTT and WiFi work? I thought I would read the documentation. Only trouble is it is not clear what documentation to read and where to get it!
When I went looking for the WiFi docs, I found many docs and the one I started looking at didn’t have the same APIs in it that were being used in the sketch from the tutorial.
Long story short, How can I know for sure what Library I’m using and where I can get the docs to read so I can actually understand the APIs that are being used in the code I’ given in the tutorial?
My attempt at reading the docs for BOTH WiFi AND MQTT was not very successful as there are lots of docs available since there are lots of libraries for those subjects.
By the way, often, the docs you find on Github are not very informative so I’ve become skeptical of Github as a source of docs!
Thanks so much for you support.
Ray

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Ray.
 
Usually, there aren’t docs for those things. Only the source code. And when there is documentation, it is very scarce.
 
To learn more about the methods, you have to look at the libraries source code on github. For example, in Unit 3 of MQTT, we use the AsyncMqttClient.h. So, to get more information, you go to the library page: https://github.com/marvinroger/async-mqtt-client
You can take a look at the src folder and check the .cpp and .h files to learn more about its methods and how they work. If you’re looking for a specific method/function of that library, you can use the “Search or jump to…” field at the top bar to search for that specific method on the library and find examples where it is used.
 
That’s the same for the Wi-Fi library. Here’s the link: https://github.com/espressif/arduino-esp32/tree/master/libraries/WiFi
Regards,
Sara
 
 

0 Vote Up Vote Down
Ray Leiter answered 3 years ago

Thanks Sara.
I suspected as much, although I did find some documentation online for what I believe is the MQTT version we are using (it’s from Eclipse).
BTW: In Module 7 Unit 5 Installing Node-RED … the command given for install is:
bash <(curl -sL https://raw.githubusercontent.com/nodered/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
When I ran it, I got some message about it being updated to something else.
Do you know anything about that?
Thanks,
Ray

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Ray.
I’m not sure… I don’t know what was the message that you got.
But, if Node-RED was installed properly, there shouldn’t be any problem.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.