Python Forum

Full Version: wireless access point on raspberry PI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. I have a Raspberry PI as a center unit in my automation system which consists of many remote esp32 devices. I use mqtt to communicate between the PI and the ESP32 devices.

Raspberry PI runs an apache server, mqtt broker and also phpmyadmin database


I was testing my system at the office and everything was working fine. Now I have moved the system to the factory and my ESP32 devices are not able to connect to 2.4GHZ wifi network as usual. I believe the whole bandwidth is already being used by some other devices at the factory.

I have recently came accross the wireless access points and trying to understand them more. Can someone give me some general advice and answer me few questions?

1. Do my esp32 devices that connect to network need to use actual internet to communicate through MQTT or as long as they are connected to the same network as the broker it will be okay?

2. I was thinking of creating a wireless access point or a bridge on my raspberry Pi( rasberry is connected to the internet using ethernet cable). I can then connect to the raspberry PI network and mqtt broker(that runs on my raspberry PI) on my remote ESP32 devices. Is that how it works?

3. I cannot fully understand which access point is right for me:
https://www.raspberrypi.org/documentatio...-routed.md
https://www.raspberrypi.org/documentatio...bridged.md

I can see that there can be 2 options:
routed access point and bridged access point. I do not know much about networking but have read some articles about both of them ant yet I cant fully understand which one is right for my application.

Appreciate any help.