Multiple ESP32s update data to a website

cuongvd
Posts: 2
Joined: Thu Sep 28, 2023 6:27 pm

Multiple ESP32s update data to a website

Postby cuongvd » Thu Sep 28, 2023 6:57 pm

Dear All,
I already built 5 ESP-WROOM-32 boards to collect temperature and light status (on/off) of 5 locations.
Now I would like those boards update its data to my local website (hosted on my NAS) then I can view them on my phone or computer.

I'm new to this.
Please help me out.
Thank you so much!

Cuong.

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: Multiple ESP32s update data to a website

Postby lbernstone » Fri Sep 29, 2023 4:41 am

https://techtutorialsx.com/2017/05/20/e ... -requests/
What to do with the data once it gets to the web server is not esp32 specific. There are many ways to do backend processing from a HTTP server.

cuongvd
Posts: 2
Joined: Thu Sep 28, 2023 6:27 pm

Re: Multiple ESP32s update data to a website

Postby cuongvd » Fri Sep 29, 2023 6:43 pm

Dear lbernstone,

I just want to display the temperature value and light status of those 5 location on the 1 page

Thanks,
Cuong

User avatar
Basalt
Posts: 28
Joined: Wed Aug 16, 2023 7:59 pm

Re: Multiple ESP32s update data to a website

Postby Basalt » Sat Sep 30, 2023 1:20 pm

You could use an HTTP server with websocket on each node. The website connects to all 5 separately and receives the data on change (e.g. as JSON strings). Or let each node and your browser connect to an MQTT broker.
You will need to learn and experiment a lot…

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: Multiple ESP32s update data to a website

Postby lbernstone » Sun Oct 01, 2023 6:03 pm

If you would like to do this entirely on esp32, I can give you resources for that. I can't help you with your NAS.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 121 guests