Check digital input ESP32 ? on wifi

Hello everyone,
From a xojo app, how can I receive the information that a digital input has been activated on my esp32 via a wifi connection?
Thanks in advance for your ideas…

for esp32 find a example source code to open a tcp “web server” which output data at request.
you can test from browser.
have a look at Reference > Language > Variables > Data types > Stringobject

at xojo you can drop tcp socket or url connection into a window.
there you connect to ip and port of your esp32, send a message and parse the return.

if you stay connected you can share live data.

1 Like