Important: the Relay Board needs to be showing the RED diode and NOT the BLUE diode on the board. I was trying to switch the relay and nothing was happening. If you want to change back to mode 1 (with the red light) press S2 while booting the relay.
I am trying to connect it to my home Wi-Fi but I can't. None of those Android apps work anymore. I took out the esp8266 hooked it up with an Arduino, and connected it to the home Wi-Fi using AT commands. After that when I put it back on the relay board, it connects to my Wi-Fi momentarily upon boot, and then disconnects. Any idea why?
thank you for your video, you saved me more than the seller which has nothing about controlling. The application is not very familiar, buttons can't be graphical arrange and a button can't control two states like a switch, pressed first time to send a code pressing second time sending another code. For the beginning it's good even like this. Thanks again.
Hello, Which way do the relays work? Let me explain: my goal is that when a relay receives a signal from the outside (example: a button wired on the relay), an html request is launched. Thanks in advance.
Is there a way to get to permanent mode 2? Because after power cycling, need to press S1 switch again for it to enter mode2 and connect to your wifi ap or router.
Hey great video very helpful! I was just wondering is there a way to communicate remotely using the app ie not on the same network as the module? Or is there a new version that does support this?
Not really. I would not open these small units up to the wide internet. There is no security on these at all. Ideally these would communicate with a server on the local network and the server is accessible from the outside internet. But technically you can open forward the port on your router and it will be accessible from outside using the public IP.
hi there Just asking about the output wires how you connect them there 3 wire output on each switch. sorry for the question but I am new in this thing and I am interesting to learn thanks in advance
Yes, sorry I did not talk about it. I am out of home, I can't check it right now, but usually the middle connector is common and above and below is normally open and normally closed. So you connect to the middle and above or below it. It is a single pole relay.
Very nice video Csongor. Well done with all necessary detail. The pilot wire in our central vacuum is shorted somewhere. Since the wiring is inside the wall, I cannot repair it. The vendor said I have to rewire the system pulling the pilot wire under the carpet, inside the wall, through the attic and under the house crawl space. The cost of the wire will probably be $100, not to mention the cost of labor. They also sell remote vacuum turn on for $180. So I turned to IOT. Using your video, I made it to work. To answer your question about Dynamic IP of the ESP8266, I assigned static IP for ESP8266 in the router. Everything is working like a charm and I spent less than $10. To complaint, I do not like the Wifi TCP/UDP Controller interface. Every time we lose power, I have to press the reset button and reestablish the communication. It may not be the software issue. It may be hardware issue. Anyway, thanks again for the nice video. Keep it coming.
I don't know. There is an another microcontroller on the board which is controlling the relays. The ESP talks to this microcontroller over serial. But I am not sure about how it is done. I have done a second video on this board where I flashed the ESP Easy on this. They have implemented the communication between the ESP and the micro. Maybe you could look at that code and figure out how it is done.
This is the video: ruclips.net/video/i_CnBcQgdGk/видео.html, and also check out the forum in ESP Easy: www.letscontrolit.com/forum/viewtopic.php?t=3245
If I understood correctly, you have to be in the same LAN to control the device? I have purchased a similar, but 4ch device and was hoping to remotely control the PSU of a 3D-printer. What would I need to control a device like this via the internet remotely ?
Yes, it has to be on the LAN. Technically you can open it up to the wide internet, using port forwarding, but this is not a secure connection, so you should probably not mess with that. As a standalone device I would recommend something which comes with a mobile app (and cloud service), like a Sonoff (Basic of 4CH).
Yes and no. The basic ESP-01 UARTs are not designed as a programmer, but you can make some modification like I did: ruclips.net/video/6uaIWZCRSz8/видео.html. But I also have another programmer which has the switch built in as well, like this red adapter: www.aliexpress.com/item/32971337222.html
This works without any problems for Home-Assistant. The esp8266 needs to be flashed like any other wifi module for Home-Assistant. The MCU on the board does the work from UART. In Home-Assistant the yaml file needs to be configured something like this. (This is a one-relay example). The UART for the relays is [0xA0, 0x01, 0x01, 0xA2] etc. switch: - platform: template id: relay1 name: "relay1 switch" turn_on_action: - uart.write: [0xA0, 0x01, 0x01, 0xA2] - switch.template.publish: id: relay1 state: ON turn_off_action: - uart.write: [0xA0, 0x01, 0x00, 0xA1] - switch.template.publish: id: relay1 state: OFF
Szia! Remek a videó. Hasonló esp8266-os delay-es modult vásároltam, próbálom azt csinálni amit itt a videóban bemutatsz, azonban amikor az ESP8266 Smartconfig-ot megnyitom az SSID: után jelenik meg, és sehogy sem sikerül a hálózatot azonosítanom, mi lehet a probléma?
Sajnos nem sok minden tudok erre mondani. Ezek vagy mennek vagy nem mennek. Legyen viszontleg közel a mobil meg a relé is a wifi routerhez, ezeknek gyengébb a wifi vevője mint a telefonnak. És csak 2.4GHz-es wifit támogat, az 5GHz-eset nem (de általában az alap az 2.6GHz).
I have this, but there are no aps for iphone or mac, so therefore my vife cant turn on the light, its not that smart, any solution ? I cant use it on my pc ether! no apps i can find, except you have to have arduino running all time. Tell me if am wrong :)
Thanks for the review I was going to purchase one but after your review, I don't think I will bother I will just design and make my own with an 8266-01 and two replays to switch when I want so thanks for saving my pocket
Yes, it is necessarily odd design as the ESP can handle the same job without the additional MCU. But still OK for those who cannot roll their own board.
Kedves Csongor!Be lehet úgy állitani a kezelőfelületet, úgy hogy csak addig működjön a relé amíg nyomom a gombot? Egy redőnyt szeretnék vezérelni vele, úgy hogy az 1-es csatorna fel, 2-es le!
Kedves Csongor! Képzeld működik a redőny! Egyik gomb fel, másik gomb le! Van egy olyan funkció, hogy stop command after release button, ha ott beállítod, hogy a gomb elengedése után adjon egy relé off parancsot, akkor csak addig működik a relé, ameddig nyomod a gombot!
Found my old phone with old android and was able setting up wifi with SmartConfig successfully. Thanks for the video! P. S. What's the second button on the relay board?
Hello while i was trying to connect using this app ESP8266 SmartConfig, it fails, ,but on the module, the blue light is on, and green is blinking, but even after multiple attempts to connect from my android app, it didnt connect, any guesses why?
Szia, nem hiszem. Illetve nem tudok róla, de nem is tudom hol kellene keresni. Viszont lehet ESP Easy-t tenni az EPS-01-re (ven erről egy videóm), és akkor lehet HTTPn keresztül vezérlni mondjuk egy böngészőből.
Szia! 10-15 db ehhez hasonlo, csak s1 reles modult kelle kapcsolnom, ugy, hogy 1 gombnyomasra mindet zarja, illtve egy masik gomb nyissa. Ez megoldhato lehet? Elore is nagyon koszi! :)
Csongor Varga Awesome! Thanks for reply. I'm setting up a solar powered waterfall with some lighting. One more question and sorry if I'm assuming you know solar. But, would the main power lead to this relay supposed to come from my solar charger or directly from battery? I'm somewhat confused as how to wire this up. Thanks
I think the battery output of the solar charger and the battery is the same. But definitely not from the solar panels and they can have much higher voltage.
Csongor , your right solar produces more power and charger breaks it down for battery current charge. Be well, Thanks. I think I might need two chargers in parallel for this to work. What's your take?
You can operate directly. It has a mode where it creates and access point and you can connect directly. I have seen that in the documentation, but I did not test it.
thank you, for the quick reply I have problem with my Sonoff switch, it is not working without moden/router, I unable to connect my phone directly to it....
Yes. But I would still recommend to have router. Even if it does not have internet connection, all devices connect to your router and when your phone connects to the same router you can control all of them, instead of having to connect to each of them individually. This is of course if you are planning to have more devices. And if you like Sonoff and don't want to build stuff on your own, you can also re-flash the firmware on that. You can write your arduino code, or use on of the available firmwares like ESPurna, Tasmota, ESP Easy and control them that way.
Hi dear, I've bought 1 esp8266 module relay 12v 1ch and 1 esp8622 module 12v 2ch. I have used both esp01 for other arduino projects. Now I have a genuine esp01 ma it doesn't work with modules. Please, can you send me sketch to write into esp with Arduino ide? thanks 🙏
Can we connect this to heroku server with a Node.js web app and then we can control this from any part of the world using mobile phone with internet. Whenever we press the On button in the mobile phone, it should send command to Node.js web app in Heroku server. Then the web app will send the command to this module. Is it possible like this? If not possible, what else will you suggest ?
Sorry, but I am not familiar with these components that you mention here. I think many frameworks can communicate over TCP, it is just not as common and straight forward and HTTP or MQTT.
Szia! Az lenne a kérdésem,hogy ha Androiddal akarom használni akkor van hozzá külön applikáció amivel tudom vezérelni a modult? Esetleg ebben tudnál segíteni? Köszönöm szépen előre is !
I got that device, and got a payback for that because but it arrives 'broken'.: Symtom is Blue led from main board is not working ,... only red led of ESP is on. Do you know how to reset it ? Before taking the decision to flash ESP, I woul klike to know if somebody knows the consequence of that. If I flash the esp , will it be possible to have response from the main board Any help will be appreciate before flash the ESP
I have a doubt if i press relay 1 on after that i close the application then what will happen ,if the relay will continue remain the same state or it changes from no to nc pls replay me guys ......
Sajnos passzolom. Nekem semmi bajom nem volt vele. Egyebkent latszik a esp altal generalt wifi halozat? Melegedes ok, de azert nem egetoen forro a chip. Van a rele nyak lapon feszultseg szabalyzo igy azzal nem lehet baj. De mivel kinai tomegtermekrol van szo az esp lehet hibas. De ha a wifi halozat latszik akkor az is mukodik...
Kedves Csongor! Működik! Mikroszkóp alatt kiderűlt, hogy az esp chip két lába közt híd volt!szétszedtem, és működik! Már csak annyi kérdésem lenne, hogy olyan parancsot ki lehet adni, hogy a relé csak addig húzzon meg, amíg nyomom a gombot?
If it is like the single relay version then you should easily see that two of the pins are not connected. One is ground because it gets its ground through the device itself and the other is the TX pin which is why your not getting a signal back.
hello .. can someone help me please ? is possible to control a relay and for exapmle a step motor in the same time? becuase we have only one tx and one rx one the esp8266 module. can the arduino recognise the different data that the esp module is sending or is possible that the esp module sends a different data for each action? thank you in advance
I am sorry, but I don't understand you. The ESP-01 module only has a few outputs, therefore you can only control 1 or 2 devices. You can use a bigger ESP8266 like a nodeMCU or Wemos D1 mini, where you have more pins.
me too. i have no idea how to make this stupid thing work and im really mad about it. Everyone just opens up some application and its working i dont get it.
Köszi for the tutorial. Inwas wondering if i had to basically create my own controlling software and just download it to the ESP. Still one can download a very basic controll software. Thanks again.
You remove the ESP-01 module and program it separately. I have a separate video on how to put ESP Easy firmware on it: ruclips.net/video/i_CnBcQgdGk/видео.html. I don't know how to program the STM micro controlling the relay, so in my example, that code remains the same.
Thanks for sharing.. What are the difference of work with TCP socket communication or MQTT or HTTP support? Do you have any video tutorial about it? Thnks in advance and thnks for your time to share this kind of vids!
tiwar87 Not a separate video. They are all different. Http means that the device has a web server so you can navigate to a page from your browser. Tcp is simple data communication. In all these cases you are calling the device directly so you need to know its IP address. MQTT is a whole different story designed for such small devices. You can probably find a video which explains how it works.
i succed to flash esp with espeasy web accès to config for http,mqtt ==ok esp works allone but no heart bit neither wifi When plugged in main boyard seems to be really broken i do not know how to reset main mcu
you can use this with the regular arduino firmware instead of the at firmware by removing the RX jumper and writing serial commands to control both relays, i forgot exactly how to but when i remember ill update this comment edit: here it is relay 1: Serial.write(0xA0); Serial.write(0x02); Serial.write(0x01); Serial.write(0xA3); relay 2: Serial.write(0xA0); Serial.write(0x02); Serial.write(0x00); Serial.write(0xA2); with this you can control them using Blynk IOT, remoteXY or homeasisstant, or even with another microcontroller
I think it would be possible. But honestly you are probably better off buying a simple relay board and control them directly. Unless you need to save one output.
@@csongorvarga i did it, its on my github. but yes in most cases individual relay boards are a better option, i found a board with 8 relays for around the same price. the only benefit of this serial method is that it only uses 1 pin to control multiple relays, so if you're doing a massive iot project or your board has not enough GPIO, this could be useful
That doesn´t help ! 1. the app doesn´t run , 2. AP Mode is on Red, 3. what means the blinking-code ? how to see which state is the modul ? there are many questions but no manual. This one wasted my time (days)
Thanks for the video, may I have your contact information? I am a direct supplier of these modules, as well as a supplier to all merchants distributing these modules, and I hope you can help us test the product.
@@China-LCtech Many years ago I want in cooperation with ICStation.com and they used to send me products for review. But the coopartion stopped a few years ago.
10 minutes in and the board comes across as disastrous, in that it is out of date and cumbersome. To be avoided! There are widely available, inexpensive, modern and accessible alternatives with an API and (if ever required) customisable firmware. Thanks for the review.
@@csongorvarga Very good class, Unfortunately I tried other videos until I found this one and rewrote it before I found this one. Can someone save me? Please Forgive me Google translation
If you want static IP, you can just tell your router to always reserve a specific IP for the MAC address of this wifi relay device.
That is what I did.
Would a 24V battery blow this up? Can it be used to switch a DC inverter toggle switch on and off? It would need to be latching, correct?
Important: the Relay Board needs to be showing the RED diode and NOT the BLUE diode on the board. I was trying to switch the relay and nothing was happening. If you want to change back to mode 1 (with the red light) press S2 while booting the relay.
the manufacturer site is 100% in Chinesse. Could you use wireshark in order to scan the TCP packets?
I am trying to connect it to my home Wi-Fi but I can't. None of those Android apps work anymore. I took out the esp8266 hooked it up with an Arduino, and connected it to the home Wi-Fi using AT commands. After that when I put it back on the relay board, it connects to my Wi-Fi momentarily upon boot, and then disconnects. Any idea why?
thank you for your video, you saved me more than the seller which has nothing about controlling. The application is not very familiar, buttons can't be graphical arrange and a button can't control two states like a switch, pressed first time to send a code pressing second time sending another code. For the beginning it's good even like this. Thanks again.
Thanks for your video. How do you change back to mode 1? I didn't fint out yet
Thanks to Johan Tullberg in the comments now I got it. You need to press S2 while booting the relay. Reboot it again and you should be fine after that
Hello,
Which way do the relays work?
Let me explain:
my goal is that when a relay receives a signal from the outside (example: a button wired on the relay), an html request is launched.
Thanks in advance.
This is a simple relay, I am not sure how you would wire a button to it. I don't think it is going to work this way.
Is there a way to get to permanent mode 2? Because after power cycling, need to press S1 switch again for it to enter mode2 and connect to your wifi ap or router.
Hey great video very helpful! I was just wondering is there a way to communicate remotely using the app ie not on the same network as the module? Or is there a new version that does support this?
Not really. I would not open these small units up to the wide internet. There is no security on these at all. Ideally these would communicate with a server on the local network and the server is accessible from the outside internet. But technically you can open forward the port on your router and it will be accessible from outside using the public IP.
The ESP relay card I bought recently doesn't have a controller on the main the gpio from the ESP switches a transistor directly to control it
Thank you for the info
Hello friend, the relays can be activated if you are at work or out of town through mobile data from the cell phone?
Can I use this without INTERNET directly connected with app in mobile or without connected any router
This only works when you are on the same network as the device.
hi there
Just asking about the output wires how you connect them there 3 wire output on each switch. sorry for the question but I am new in this thing and I am interesting to learn
thanks in advance
Yes, sorry I did not talk about it. I am out of home, I can't check it right now, but usually the middle connector is common and above and below is normally open and normally closed. So you connect to the middle and above or below it. It is a single pole relay.
Red one and black one are arduino connected or power connected?
Very nice video Csongor. Well done with all necessary detail. The pilot wire in our central vacuum is shorted somewhere. Since the wiring is inside the wall, I cannot repair it. The vendor said I have to rewire the system pulling the pilot wire under the carpet, inside the wall, through the attic and under the house crawl space. The cost of the wire will probably be $100, not to mention the cost of labor. They also sell remote vacuum turn on for $180. So I turned to IOT. Using your video, I made it to work. To answer your question about Dynamic IP of the ESP8266, I assigned static IP for ESP8266 in the router. Everything is working like a charm and I spent less than $10. To complaint, I do not like the Wifi TCP/UDP Controller interface. Every time we lose power, I have to press the reset button and reestablish the communication. It may not be the software issue. It may be hardware issue. Anyway, thanks again for the nice video. Keep it coming.
Thanks for your comment. What a success story!
How do I activate the 2 relays in a custom code in arduino skect? What would it be like for me to drive 4 relays, since I only have 2 gpio?
I don't know. There is an another microcontroller on the board which is controlling the relays. The ESP talks to this microcontroller over serial. But I am not sure about how it is done. I have done a second video on this board where I flashed the ESP Easy on this. They have implemented the communication between the ESP and the micro. Maybe you could look at that code and figure out how it is done.
@@csongorvarga
Please send me the link for this publication.
This is the video: ruclips.net/video/i_CnBcQgdGk/видео.html, and also check out the forum in ESP Easy: www.letscontrolit.com/forum/viewtopic.php?t=3245
If I understood correctly, you have to be in the same LAN to control the device? I have purchased a similar, but 4ch device and was hoping to remotely control the PSU of a 3D-printer. What would I need to control a device like this via the internet remotely ?
Yes, it has to be on the LAN. Technically you can open it up to the wide internet, using port forwarding, but this is not a secure connection, so you should probably not mess with that. As a standalone device I would recommend something which comes with a mobile app (and cloud service), like a Sonoff (Basic of 4CH).
@@csongorvarga thanks for the fast reply. Keep up the good work
How did you uploar code to ESP? I think all adapters to this small ESP needs additional switch or jumpers to upload code ;/
Yes and no. The basic ESP-01 UARTs are not designed as a programmer, but you can make some modification like I did: ruclips.net/video/6uaIWZCRSz8/видео.html. But I also have another programmer which has the switch built in as well, like this red adapter: www.aliexpress.com/item/32971337222.html
Hello,
any way to arrange working as mode 2 AS default when i disconnect the power? Any idea?
This works without any problems for Home-Assistant. The esp8266 needs to be flashed like any other wifi module for Home-Assistant. The MCU on the board does the work from UART.
In Home-Assistant the yaml file needs to be configured something like this. (This is a one-relay example). The UART for the relays is [0xA0, 0x01, 0x01, 0xA2] etc.
switch:
- platform: template
id: relay1
name: "relay1 switch"
turn_on_action:
- uart.write: [0xA0, 0x01, 0x01, 0xA2]
- switch.template.publish:
id: relay1
state: ON
turn_off_action:
- uart.write: [0xA0, 0x01, 0x00, 0xA1]
- switch.template.publish:
id: relay1
state: OFF
@@JbVlad Thanks a lot, very useful!
Can you help me with using the WiFi module to take in data from a acs712
Hi. Great vídeo tutorial. Thanks. I have a question: how integrate this relay with a Raspberry Pi and OpenHAB?
Did you get it? I'm interested too
Is there any wifi relay like that which uses 240V AC as main supply? I cannot find them on aliexpress. I only found 5v, 12v and 24v.
I am not aware either. Sonoff Dual and similar relays run from mains, but those are "branded" models
Can I use these relay for ac circuits
Yes, you can
Szia! Remek a videó. Hasonló esp8266-os delay-es modult vásároltam, próbálom azt csinálni amit itt a videóban bemutatsz, azonban amikor az ESP8266 Smartconfig-ot megnyitom az SSID: után jelenik meg, és sehogy sem sikerül a hálózatot azonosítanom, mi lehet a probléma?
Sajnos nem sok minden tudok erre mondani. Ezek vagy mennek vagy nem mennek. Legyen viszontleg közel a mobil meg a relé is a wifi routerhez, ezeknek gyengébb a wifi vevője mint a telefonnak. És csak 2.4GHz-es wifit támogat, az 5GHz-eset nem (de általában az alap az 2.6GHz).
Nos, kipróbáltam Android 8 Oreo-n, és ott működik, sajnos az Android 9 Pie- on nem működik együtt az ESP8266 Snmartconfig APP-al
@@laszloattilaschmidt8271 Jó tudni. Elég régi a videó, gondolom akkor még nekem is régi Androidom volt.
I have this, but there are no aps for iphone or mac, so therefore my vife cant turn on the light, its not that smart, any solution ?
I cant use it on my pc ether! no apps i can find, except you have to have arduino running all time. Tell me if am wrong :)
Hi sir. Mobile App can use continuously in free of cost?
Can this unit be set up to determine or sense voltage as triggers? - ie; relay 1 high voltage signal, then relay 2 , then back to relay 1 and repeat ?
No, there is no voltage sense in this unit.
se puede poner entrada corriente 220V y salida DC 12V, 24V?
Thanks for the review I was going to purchase one but after your review, I don't think I will bother I will just design and make my own with an 8266-01 and two replays to switch when I want so thanks for saving my pocket
Yes, it is necessarily odd design as the ESP can handle the same job without the additional MCU. But still OK for those who cannot roll their own board.
Same here, i expected the relays to be hard wired to the esp8266s gpio pins. Glad i watched the video.
What are the S1 / S2 buttons doing? Are they connected to any of the pins?
Setting up the various modes. I explain in the video. Those are only connected to the second mcu.
can't seem to find the app ESP8266 SmartConfig...
I want to know whether we can control the relay from any where (far distance) through internet & app?
You are directly communicating with the device. You could open up the port on your router and control it via your public ip.
Kedves Csongor!Be lehet úgy állitani a kezelőfelületet, úgy hogy csak addig működjön a relé amíg nyomom a gombot? Egy redőnyt szeretnék vezérelni vele, úgy hogy az 1-es csatorna fel, 2-es le!
Sajnos szerintem nem. Idokozben mar atflash-eltem az ESP chippet rajta, igy mar ki sem tudom probalni.
Kedves Csongor! Képzeld működik a redőny! Egyik gomb fel, másik gomb le! Van egy olyan funkció, hogy stop command after release button, ha ott beállítod, hogy a gomb elengedése után adjon egy relé off parancsot, akkor csak addig működik a relé, ameddig nyomod a gombot!
Koszi, ezt nem tudtam.
How to get the esp 8266 app to your mobile phone?
SmartConfig app does not support android 9, is there another one could be used instead?
Found my old phone with old android and was able setting up wifi with SmartConfig successfully. Thanks for the video! P. S. What's the second button on the relay board?
Hello
while i was trying to connect using this app ESP8266 SmartConfig, it fails, ,but on the module, the blue light is on, and green is blinking, but even after multiple attempts to connect from my android app, it didnt connect, any guesses why?
Sorry to hear that. I only have the limited information provided on the two websites mentioned in the video. No idea how to repair it.
Same problem with mine
This can be flashed with custom / DIY firmware, it uses serial interface to switch the relays.
Kedves Csongor! Windowsra van alkalmazás, amivel tudom a relét kezelni?
Szia, nem hiszem. Illetve nem tudok róla, de nem is tudom hol kellene keresni. Viszont lehet ESP Easy-t tenni az EPS-01-re (ven erről egy videóm), és akkor lehet HTTPn keresztül vezérlni mondjuk egy böngészőből.
Szia!
10-15 db ehhez hasonlo, csak s1 reles modult kelle kapcsolnom, ugy, hogy 1 gombnyomasra mindet zarja, illtve egy masik gomb nyissa. Ez megoldhato lehet?
Elore is nagyon koszi! :)
Azokkal a programokkal amit én használtam azokkal nem. De ha írsz egy programot ami az összesnek egyszerre küldi az üzentet akkor működni fog.
Does this replay work with ewelink on iPhone? Thanks
No, this will never work with eWeLink.
Good video. Simple question..Can I use this relay to turn on 12v DC lighting via WiFi from my Android phone? Thanks in advance. Cheers!
Yes you can. As I have shown in the video.
Csongor Varga Awesome! Thanks for reply. I'm setting up a solar powered waterfall with some lighting. One more question and sorry if I'm assuming you know solar. But, would the main power lead to this relay supposed to come from my solar charger or directly from battery? I'm somewhat confused as how to wire this up. Thanks
I think the battery output of the solar charger and the battery is the same. But definitely not from the solar panels and they can have much higher voltage.
Csongor , your right solar produces more power and charger breaks it down for battery current charge. Be well, Thanks. I think I might need two chargers in parallel for this to work. What's your take?
in this project router/modem is required or I can operate it directly by my phone(android)
You can operate directly. It has a mode where it creates and access point and you can connect directly. I have seen that in the documentation, but I did not test it.
thank you, for the quick reply
I have problem with my Sonoff switch, it is not working without moden/router, I unable to connect my phone directly to it....
Sonoff uses a cloud service. That will never connect to your phone directly. It does not work unless you have active internet connection.
thanks again, for the quick reply
then can I make a project like Sonoff, which works with my phone directly(like ON and OFF) with the help of ESP8266
Yes. But I would still recommend to have router. Even if it does not have internet connection, all devices connect to your router and when your phone connects to the same router you can control all of them, instead of having to connect to each of them individually. This is of course if you are planning to have more devices. And if you like Sonoff and don't want to build stuff on your own, you can also re-flash the firmware on that. You can write your arduino code, or use on of the available firmwares like ESPurna, Tasmota, ESP Easy and control them that way.
Olá comprei um módulo desses com 4 relés porém na hora da configuração pelo aplicativo ele da falha e não consigo configurar .
Sir you are a GOD I NEEDED THIS BADLY
Did you come accross a SmartConfig "unknown SSID" error? I can't get passed this point.
me too
how did you get to 8:04 you didn't explain very badly, tell us everything and hide everything
hay algun rele wifi que tenga entrada corriente 220AC y salida de 12V, 24V DC?
Buona sera.
Desidero sapere se è compatibile con App ewilink.
grazie.
Hi dear, I've bought 1 esp8266 module relay 12v 1ch and 1 esp8622 module 12v 2ch. I have used both esp01 for other arduino projects. Now I have a genuine esp01 ma it doesn't work with modules. Please, can you send me sketch to write into esp with Arduino ide? thanks 🙏
Sorry, I don't have a sketch, it came with my model.
@@csongorvarga thanks 🤗
Can we connect this to heroku server with a Node.js web app and then we can control this from any part of the world using mobile phone with internet.
Whenever we press the On button in the mobile phone, it should send command to Node.js web app in Heroku server. Then the web app will send the command to this module.
Is it possible like this?
If not possible, what else will you suggest ?
Sorry, but I am not familiar with these components that you mention here. I think many frameworks can communicate over TCP, it is just not as common and straight forward and HTTP or MQTT.
Szia!
Az lenne a kérdésem,hogy ha Androiddal akarom használni akkor van hozzá külön applikáció amivel tudom vezérelni a modult?
Esetleg ebben tudnál segíteni?
Köszönöm szépen előre is !
Az a program amit a videoban mutattam. Mast nem ismerek.
I got that device, and got a payback for that because but it arrives 'broken'.: Symtom is Blue led from main board is not working ,... only red led of ESP is on.
Do you know how to reset it ?
Before taking the decision to flash ESP, I woul klike to know if somebody knows the consequence of that.
If I flash the esp , will it be possible to have response from the main board
Any help will be appreciate before flash the ESP
The firmwares are all open source so I bet you could make it work in theory but these cards are cheap to buy so probably not worth
I have a doubt if i press relay 1 on after that i close the application then what will happen ,if the relay will continue remain the same state or it changes from no to nc pls replay me guys ......
I love that power cord. Did you make it or buy it?
You can buy these on ebay. Makes it easy to use any random power supply with a barrel jack end.
hi Csongor! :)
what's that board in front of your PSU? Can't remember in which video i've seen it, and what it is...
It is just a prototyping board with some pin male and female headers, which makes it easy connect dupont cables to the PSU.
found your video, at about 6:00 ruclips.net/video/nTv25X11oME/видео.html :)
:) sorry, your last message got flagged as spam because of the URL. But I am glad you found it.
Hii, very very nice video. Do you know if it has a pulse command; I mean on-off command to command a gate?thank you
Not a dedicated command. You have to send and on and off after each other (maybe with a slight delay)
Buongiorno.
Desidero sapere se è possibile comandare tramite App Ewilink .
grazie.
Kedves Csongor! Szerinted nekem miért írja ki már az elején hogy Esptouch fail?
Huuu, nem tudom. A rele a megfelelo modban van? Ugy vilagitanak a led-ek mint a videoban?
Igen! A kék led mellett a zöld is elkezd villogni lassan mint a videóban, viszont az alkalmazás azt írja ki, hogy esptouch fail!
És az esp chip melegszik😆
Sajnos passzolom. Nekem semmi bajom nem volt vele. Egyebkent latszik a esp altal generalt wifi halozat? Melegedes ok, de azert nem egetoen forro a chip. Van a rele nyak lapon feszultseg szabalyzo igy azzal nem lehet baj. De mivel kinai tomegtermekrol van szo az esp lehet hibas. De ha a wifi halozat latszik akkor az is mukodik...
Kedves Csongor! Működik! Mikroszkóp alatt kiderűlt, hogy az esp chip két lába közt híd volt!szétszedtem, és működik! Már csak annyi kérdésem lenne, hogy olyan parancsot ki lehet adni, hogy a relé csak addig húzzon meg, amíg nyomom a gombot?
Jó az angolod! :) useful videó :)
This information is very very helpful. Many thanks for sharing
If it is like the single relay version then you should easily see that two of the pins are not connected. One is ground because it gets its ground through the device itself and the other is the TX pin which is why your not getting a signal back.
hello .. can someone help me please ? is possible to control a relay and for exapmle a step motor in the same time? becuase we have only one tx and one rx one the esp8266 module. can the arduino recognise the different data that the esp module is sending or is possible that the esp module sends a different data for each action? thank you in advance
I am sorry, but I don't understand you. The ESP-01 module only has a few outputs, therefore you can only control 1 or 2 devices. You can use a bigger ESP8266 like a nodeMCU or Wemos D1 mini, where you have more pins.
I followed the video, but unfortunately I got an error message again and again.
"Esptouch fail". Have somebody idea why doesn't work well?
me too. i have no idea how to make this stupid thing work and im really mad about it. Everyone just opens up some application and its working i dont get it.
You have to go to the second mode by the switch and whait until the green led begin to blink ...sorry my english is too bad
Can this connect to Amazon alexa
@@Dead-_-005 no
Köszi for the tutorial. Inwas wondering if i had to basically create my own controlling software and just download it to the ESP. Still one can download a very basic controll software. Thanks again.
Welcome :), I did a follow-up video how to use this with ESP Easy: ruclips.net/video/i_CnBcQgdGk/видео.html
how to uploading code android phone 1 channel ?
How you can program this? How to upload arduino code?
You remove the ESP-01 module and program it separately. I have a separate video on how to put ESP Easy firmware on it: ruclips.net/video/i_CnBcQgdGk/видео.html. I don't know how to program the STM micro controlling the relay, so in my example, that code remains the same.
Thank you very much, I appreciate you sharing the information.
What is the name of app
To have a fixed IP address, just reserve the IP address that the module acquired first time, in the router's DHCP address reservation table.
Hello Friend.
Could you tell me if this device works with google home?
Greetings from Italy
No, this is a cheap product for local control. It does not integrate with anything on its own.
Thanks for sharing.. What are the difference of work with TCP socket communication or MQTT or HTTP support? Do you have any video tutorial about it? Thnks in advance and thnks for your time to share this kind of vids!
tiwar87 Not a separate video. They are all different. Http means that the device has a web server so you can navigate to a page from your browser. Tcp is simple data communication. In all these cases you are calling the device directly so you need to know its IP address. MQTT is a whole different story designed for such small devices. You can probably find a video which explains how it works.
Thnks for your time to answer... I will research a little bit to understand all this concepts ..
ESP8266 smartconfig can't read my network ssid and not allowing me to write it my self
Wow, thanks for your awesome video project. :)
You can locked down you IP address using DHCP. Assigning IP address to that particular MAC address.
Yes, I ended up doing that for my Google Home as well, but I did not know that when I was recording the video.
i succed to flash esp with espeasy
web accès to config for http,mqtt ==ok
esp works allone
but no heart bit neither wifi When plugged in main boyard
seems to be really broken
i do not know how to reset main mcu
You mean the relay is not working? I don't know how to reset the MCU either. Could be a broken unit.
When I look at the devices connected to my router, my router gives me the option of reserving the current IP address for that device.
Yes, I realized that. You can assign a "fixed IP" to a MAC address on most routers. I found this out after the video.
Why does it need extra, support circuitry... i thought it was WiFi on a chip... and its not!
I don't know why it was designed this way. But it is. ESP could handle the Wifi and switching the relay as well, it would not need a separate MCU.
you can use this with the regular arduino firmware instead of the at firmware by removing the RX jumper and writing serial commands to control both relays, i forgot exactly how to but when i remember ill update this comment
edit: here it is
relay 1:
Serial.write(0xA0);
Serial.write(0x02);
Serial.write(0x01);
Serial.write(0xA3);
relay 2:
Serial.write(0xA0);
Serial.write(0x02);
Serial.write(0x00);
Serial.write(0xA2);
with this you can control them using Blynk IOT, remoteXY or homeasisstant, or even with another microcontroller
I think it would be possible. But honestly you are probably better off buying a simple relay board and control them directly. Unless you need to save one output.
@@csongorvarga i did it, its on my github.
but yes in most cases individual relay boards are a better option, i found a board with 8 relays for around the same price.
the only benefit of this serial method is that it only uses 1 pin to control multiple relays, so if you're doing a massive iot project or your board has not enough GPIO, this could be useful
I have the ESP-01 (1Mb flash) and was able to upload firmware using both Arduino and Mongoose OS for additional functionality.
+mike cataldo Thanks. So it is possible. I guess I will give it a try.
Csongor Varga Great let me know how it goes or if you need any help!
izin fil codingnya om
What are you talking about? These can be subscribed to an mqtt server!
How?
Jó az angolod! Szerintem rendelek egyet
That doesn´t help ! 1. the app doesn´t run , 2. AP Mode is on Red, 3. what means the blinking-code ? how to see which state is the modul ? there are many questions but no manual. This one wasted my time (days)
Thanks for share
Thanks for the video, may I have your contact information? I am a direct supplier of these modules, as well as a supplier to all merchants distributing these modules, and I hope you can help us test the product.
I got your email, I think you found my email after all :)
@@csongorvarga How did you obtain the product? We have many other products that we would love to have the opportunity to test by you if possible
@@China-LCtech Many years ago I want in cooperation with ICStation.com and they used to send me products for review. But the coopartion stopped a few years ago.
Wi-Fi connecting mobile apps asking for password, what will happen.why?.
Please sir ans...
Plz give me program
10 minutes in and the board comes across as disastrous, in that it is out of date and cumbersome. To be avoided! There are widely available, inexpensive, modern and accessible alternatives with an API and (if ever required) customisable firmware. Thanks for the review.
Soon it will be supported by Espurna: github.com/xoseperez/espurna/commit/ec46b66c19c2d346aacdbae734011df9195c04c1
With the Blynk app (www. Blynk.cc ) aplication it funks wery good. Thanks for your video.
Do you happen to have any instructions for getting it working with Blynk, thanks
nice
I use easyTCP
please share esp 01 coding...
The ESP is delivered pre-programmed. I don't have the code.
@@csongorvarga
Very good class, Unfortunately I tried other videos until I found this one and rewrote it before I found this one.
Can someone save me?
Please
Forgive me Google translation
Dónde puedo ubicar esa aplicación para configurar botones
relay1_OFF : A0 01 00 A1
relay1_ON : A0 01 01 A2
relay2_OFF : A0 02 00 A2
relay2_ON : A0 02 01 A3
relay3_OFF : A0 03 00 A3
relay3_ON : A0 03 01 A4
relay4_OFF : A0 04 00 A4
realy4_ON : A0 04 01 A5
You CAN do http requests with this board with the right arduino lib and code
Mind elaborating on that a little bit more please?