Can an ESP32 connect with Arduino Cloud and a Web Server simultaneously

I have an ESP32 project Thing that connects to the Arduino Cloud and with one variable makes swimming pool water temperature available to my Widget and subsequently to Alexa. I would also like to connect to a Web Server and Post this temperature for an additional purpose.
Question: Can I Connect to the Web Server through WiFi at the same time as the Arduino_ConnectionHandler ?

I don't see why not, multiple IP connection should be supported in theory but I've never tried.

But rather than add complexity in your sketch, why don't you use the Arduino cloud APIs through Javascript for example so that your web server does request the values directly from Arduino back end?

Hello @J-M-L
Thanks for the reply. I'm trying to take your advice and use a Python script to query my Variable directly. I'm very new to Python, but it looks like it should do what I want. Ultimately, I want to take the Pool Temperature and write it to a .reg file and then append my Windows registry to carry the pool temperature into my 3D Screen Saver text for display on my pool cabana PC. I think I can do all this in Python and Shell.
I studied the example shown here Python | Arduino Documentation and it worked very well in my environment. I then tried to modify the code for my purposes to obtain the value of my temperature sensor, but can't quite get it to update accordingly. It appears to run once and then I get an error.
I don't know if you are experienced in Python scripts or the Python API for Arduino but I would appreciate any guidance or direction elsewhere that you can provide.
If this is the appropriate area, I can provide more details on my Thing, Device, Variable, Python Script, Errors, etc.

I’m quite familiar with python but I don’t use the arduino cloud so not so much familiar with their API

It should not be that difficult to get a Python script querying the temperature every X minutes - I’m not a windows user (Mac and Linux guy) so I could not help with the screen saver thingy

Thanks again, @J-M-L , for your reply. I'm going to start a new Topic that more specifically describes my issue. Perhaps I'll get a response from the Arduino Team. I'll reference you so you can follow along if you wish. :slightly_smiling_face:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.