• 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

Multiple ESP32 with Raspberry PI and Node-RED

Q&A Forum › Category: Home Automation › Multiple ESP32 with Raspberry PI and Node-RED
0 Vote Up Vote Down
Uche Mbanaso asked 1 year ago

My Home Automation will consist of 2 or more ESP32 modules depending on the number of appliances I would want to control. How can route topics from Node-RED to different boards in the same Pi without conflicts?

Question Tags: #homeAutomation#ESP32
7 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Just make sure each board is publishing and subscribing to a different topic.
For example, ESP32 number 1 publishes on the following topic:
board1/sensor1
ESP32 number 2 on:
board2/sensor1
And so on…
 
Let me know if this is clear or I can try to explain in a different way…
Regards,
Sara

0 Vote Up Vote Down
Uche Mbanaso answered 1 year ago

Thanks for your reply. I will try this suggestion out. However, just wondering if this approach is likely to have overhead costs as all the topics will be broadcast to all the boards at the same time. I will revert back with my findings.
Regards

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
I don’t think there will be any problems. But, try it out and let us know the results.
Regards,
Sara

0 Vote Up Vote Down
Uche Mbanaso answered 1 year ago

I have tried it and it worked. In a real production solution, how do you package the solution and deploy it? Can a Mobile App be integrated to work with it? Your insight on the practical solution will be much appreciated

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
You can use FlowFuse, for example: https://flowfuse.com/
Or node-red remote app: https://www.remote-red.com/en/home-en/
These are paid solution, but I believe they should integrate well with the project. The Remote-RED solution seems to be easy to implement: https://www.remote-red.com/en/home-en/
 
However, I haven’t tried it before.
 
Regards,
Sara
 

0 Vote Up Vote Down
Uche Mbanaso answered 1 year ago

Thanks for the insight. I will explore that

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Great.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
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.