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?
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
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
Hi.
I don’t think there will be any problems. But, try it out and let us know the results.
Regards,
Sara
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
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