Page 1 of 1

ESP32 Internet relay control

Posted: Fri Sep 17, 2021 1:31 pm
by miggarc
Hi


Can someone guide me to a ESP32 internet relay (or any other output) control example, that
controls ESP32 through a button on web sites like AdafruitIO, aRest, ... ... , or another similar IoT website. ?

If you don't know any objective example, can you give me some tips or ideas on how to ... ?

Re: ESP32 Internet relay control

Posted: Mon Sep 20, 2021 9:58 am
by miggarc
Hi again...

So, no answers ?
I'm sure anyone here knows anything about this...

Re: ESP32 Internet relay control

Posted: Mon Sep 20, 2021 10:20 am
by stefan.erni
Hi Miguel


You can have a look for examples webserver.
With this you can create a webpage with acces in your own network.


Is this what you are looking for?

regards

Stefan

Re: ESP32 Internet relay control

Posted: Mon Sep 20, 2021 1:23 pm
by miggarc
Hi

Thanks for you answer but I need to be able to control an output (relay or what else) from outside my home, through
Internet and anywhere in the world .

Re: ESP32 Internet relay control

Posted: Mon Sep 20, 2021 4:50 pm
by BenR
Hi Miguel,

This is one option using Modbus TCP.
https://www.flowcode.co.uk/forums/viewt ... ?f=9&t=161


Here is another using MQTT.
https://www.youtube.com/watch?v=5NFsJTPZKH8&t=407s