• 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

ESP32 with mesh and MQTT

Q&A Forum › Category: ESP32 › ESP32 with mesh and MQTT
0 Vote Up Vote Down
Stephen Levings asked 2 years ago

I have explored your modules on MQTT and mesh networking and congratulate you on excellent work. But now, I would like to join the two together and it looks like the fundamental problem is that they need to establish different network connections. Do you have any courses or ideas on how to join MQTT with a mesh network?

4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
At the moment, I haven’t experimented with MQTT and ESP-MESH together.
However, the painlessMesh library provides an example with MQTT.
You can take a look at the example here: https://github.com/gmag11/painlessMesh/tree/master/examples/mqttBridge
I hope this helps.
I intend to create a tutorial about that in the future.
Regards,
Sara
 

0 Vote Up Vote Down
anurak klaysri answered 2 years ago

Hi Sara,
I am your student. I would like to know how to control 1 master(ESP32) + 1 or 2 or 3 (ESP32)(Client by mesh net work( Publish and Subscribe)without internet.
Thanks in advance Teacher
Anurak Klaysri

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

Hu Anurak.
To use MQTT without internet, you need to setup your Pi as an access point.
Then, you need to connect your ESP32 boards to the RPi Wi-Fi access point.
You can have, for example, one ESP32 (master) that publishes a message to a single MQTT topic. If all the other boards are subscribed to that topic, they will all receive the same command.
I hope this helps.
I’m not sure that I understood your question.
Regards,
Sara

0 Vote Up Vote Down
anurak klaysri answered 2 years ago

Thanks 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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.