To understand the concept of Bluetooth Low Energy Mesh, I attached a video showing the main principles.
Initially, the idea was to use Bluetooth Low Energy for communication between the System Control and all other components. However, the project has evolved. With the implementation of day/night cycles for the LEDs, light-emitting devices (e.g., Mole Beacon) need to respond to the time of day. Consequently, if the cycle transitions to evening, the lights should turn on automatically.
This is not easily feasible with standard Bluetooth Low Energy, as it would require iterating through all known devices in sequence to connect, switch, and disconnect. This approach does not scale well. Connecting to all devices simultaneously would hit a hardware limit of approx. 5-7 devices (depending on the ESP32S3).
Therefore, the new approach, which appears to be compatible with both ESP32 and STM32, is Bluetooth Low Energy Mesh (BLE Mesh).
I ask some AI Agents to create a concept for this feature. This is the result of it.
A comprehensive BLE Mesh network with ESP32S3 as the control unit and ESP32H2 satellites, supporting global control, individual device control, control unit hot-swapping, and automatic device discovery. The system uses ESP-BLE-MESH based on the Zephyr stack with Vendor Models for extended functionality.
device_capability_t structure