I followed your steps on generic ESP8266 & it works fine.I just had to run http://cloud.arest.io/e49n2... -> to make GPIO2 pin output &http://cloud.arest.io/e49n2... -> to switch on the LED connected to GPIO2 .http://cloud.arest.io/e49n2... -> to switch off the LED connected to GPIO2. I could get my nodmcu connected to arest server in first attempt.

Can you help me ?I want to the same as you but using an Ethernet shield would you help me? Just plug the ESP8266 board on the breadboard, and then connect the USB FTDI converter on the ESP8266 board.Then, connect the relay to the ESP8266: VCC goes to the ESP8266 3V pin, GND to GND, and the EN or SIG pin of the relay goes to ESP8266 pin 5 (or any other pin available).This is a picture of the assembled project, not showing the USB FTDI converter:Let’s now configure our ESP8266 board, so it can connect to the cloud & be accessible from anywhere. whether they are configured as You can modify the following variables to define whether you are using relays in Normally Open or Normally Closed. Post navigation . Hello, if, i wont to connection my esp8266 through smart phone anywhere without cloud web service. Please enter your email. Please enter your name. To do that I recommend passing through a cloud server, for example via aREST. Please enter your comment. I'm really new to the world of microcontrollers and I am unsure about the cloud side of thingsAre these services you have to sign up and pay for? Please enter your email. Please enter your email. All works well again after I upload the sketch once again (until a power failure or power deliberated off/on).

It is a problem with Wamos board?Thanks Great work! We’ll take a look at how a relay module works, how to connect the relay to the ESP8266 and build a web server to control a relay remotely (or as many relays as you want). Is this possible to control the whole Villas load through wifi. Please enter your email. Here is the complete sketch for this project:The sketch starts by importing the correct libraries:You will also need to declare a WiFiClient & PubSubClient, that will communicate with the aREST server on the cloud:We also initialise the aREST library with the server we defined earlier:Then, the most important part in the code: the ID of the device. but when i insert this code to esp it take reading every 27-28 min. This sketch is relatively simple, as I really wanted to make the whole connection to the cloud as simple as possible using the aREST library. I'm in doubt.I'm studying ESP8266 with NodeMCU, and I've seen some things with the Mosquitto MQTT. I'm going to try to put an opto isolator chip in the circuit. Changed the SSID, password and made a 7 digit ID. Please enter your comment. Can this module be programmed to activate the relay for a short period automatically rather than manually turning it on and off? Please enter your name. Please enter your comment. Please enter your name. Today we will build Home Automation with ESP8266 Web Server & Relay Module Control Home Appliances from Local Network. Please enter your comment. It even got to the stage where I get "Attempting MQTT connection...Connected to aREST.io". Great project, can't wait to give it a try It's very frustrating !!! Please enter your email. Please enter your name. (controlling 3 esp32 with one) .how it is possible ? Hi, A month that I am connected and works well , but no longer connected to cloud.arest.io ago , I wonder if there was any change in the web Connect those to a 3.3 voltage regulator (https://www.adafruit.com/pr... and the output of that voltage source will be 3.3V. Please enter your comment. Please enter your name. Hi Marco, Please enter your email. Please enter your comment. There is a error 'class aREST' has no member named 'get_topic' from IDE compiler. The garage door controller only has a momentary action switch. Please enter your name. i can share my code also ...thanks I noticed that when using aREST, your Serial Monitor shows the attempt to connect to the MQTT. can we use mqtt with that setup? Therefore, I decided to modify this library to be able to control projects from outside of a local WiFi network.In this article, I will share those new features of aREST with you, and show you how to control a simple relay from anywhere. The following circuit shows how to control a relay with your Arduino or ESP8266 microcontroller. Help me! It compiles and uploads and I get the connection message. error: 'class aREST' has no member named 'get_topic' I made it! You can do that by following the process from:You will also need the latest version of the aREST library, as well as the PubSub client for Arduino. Please enter your name. There are at least one or to comments here describing the same problem. Please enter your name.

But when I switch On led goes Off, and when I switch Off led goes On. Please enter your comment. Please enter your comment. Please enter your email. You can simply use delays or timers in the code for that.You can get an AC-DC converter (namely an adapter). Please enter your name. May be 40+ relays will be required each for the load. I always believes in practicality rather than theoretical knowledge. Thanks to the components that we chose, it will be an easy operation. Thanks in advance, Please enter your comment. Please enter your name. Please enter your comment. Please enter your name. You can find relay modules with For demonstration purposes, let’s see the pinout of a The relay module shown in the below photo has two connectors, each of them has three sockets: Removing the Jumper cap, Nee independent power source to power up the relay electromagnet through JD-VCC pin. I have used a Huzzah Feather using 3v to VCC, GND to GND and pin 5 to IN on the relay. Thank you for the effort you make you help many with it :) Please enter your comment. What can i do possibly wrong? I then connected a 5 V supply to the relay VCC and jumpered the ground of the supply to the ground of the ESP8266. Please enter your name. Wiring a different number of channels is similar.Alternatively, you can use a 12V battery to control 12V appliances.In this example, we’re controlling a bulb. But when i click on the on button or set https://cloud.arest.io/xxxxxx/digital/5/1 nothing happends.