Can your micro controller do this?
I get ideas from Random Nerd Tutorials and TechTutorialsx with help fro W3Schools.
The ESP32 can be a WiFi STA and an AP at the same time with the ability to tell which a request came from. I did a test with WebSockets slider changing the intensity of the built in LED On the IoT Redboard, Light blue for the STA page and light green for the AP page. Connected to both at the same time. Slider moved in sync on both.
I did a test with 2 servers and 2 sets of page files to 2 tabs on the Browser. Worked great.
I have not tried it ye (had sensor issue)t but there is an example of the ESP32 working with its mesh network and using one node to send the data to a WiFi page.
Because of FreeRTOS you can pin tasks to the core you want and have it communicate to other task with ques and semaphores.
Hope this inspires some fun projects.
Dale