Control NodeMCU Using Amazon Echo Alexa Without IFTTT | Automation using Amazon Echo Without IFTTT

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 125

  • @deepalidurgade-mali9497
    @deepalidurgade-mali9497 4 роки тому +1

    Hi, I have tried it on Alexa 3rd Gen. But it is unable to discover devices. Is it necessary to have smart devices like Syska Light, Wipro Light etc? or whether it needs any skill

  • @anshulgupta9893
    @anshulgupta9893 3 роки тому

    This is fantastic, can you please help in making with 4 ch relay and 4 manual button...
    So that we can operate it either by on/off switch or by alexa...

  • @modxking4432
    @modxking4432 3 роки тому

    Sir I have one problem the esp8266 is connect to WiFi for a second and it automatically disconnected. Please give me solution for this

  • @sam6124023
    @sam6124023 4 роки тому

    Hi... When i try to verify the sketch it is giving error cannot find ESP8266WIFI.h

  • @siddhantparmar12
    @siddhantparmar12 5 років тому +1

    hey help me i cant discover my device in my alaxa app in android program has been done i used ESP8266 and also connected to my WiFi network but in my alaxa latest app cant show any smart home options and also try to discover new device but not show any device help me

  • @mkunboxing
    @mkunboxing 4 роки тому

    Not discovered device pls help

  • @CircuitCreator
    @CircuitCreator 2 роки тому

    That's great sid

  • @souvikpramanik6966
    @souvikpramanik6966 6 років тому +1

    Hi
    Can multiple node mcu work with alexa at the same time?

  • @justdoingodswork
    @justdoingodswork 3 роки тому

    Will it work with just phone app and without echo dot

  • @anshulgupta9893
    @anshulgupta9893 3 роки тому

    Will it work on ESp8266?????

  • @babutheparrot6953
    @babutheparrot6953 4 роки тому

    i did all same but cant find device in the device list , please help

  • @smruthysebastian6303
    @smruthysebastian6303 6 років тому

    Hello.
    I have manually downloaded all the required libraries from the links in the description. When I search for the libraries in the manage libraries option, I can only find fauxmo esp. TCP, UDP and web server aren't coming up when I search for them although they are manually installed. What might be the problem??

  • @rameshk.pandey6883
    @rameshk.pandey6883 4 роки тому

    hi sid,
    am getting error while loading code, fauxmo.createServer(true); // not needed, this is the default value

  • @virajghoparkar8110
    @virajghoparkar8110 4 роки тому

    Hi sid,
    Thanks for the code. I have tried it and worked charm, But as i add one more module it wont discover any devices in my alexa app.

  • @crchetann
    @crchetann 4 роки тому

    i failed lots of time to add extra devices,
    the description programm working on 3 devices only but when i am trying to add new one then alexa is not finding devices

  • @parisharma6845
    @parisharma6845 6 років тому

    Hi, brilliant work. Please advise how the code may be modified for ESP32 DEV BOARD. Thanks.

  • @vijayraut6547
    @vijayraut6547 5 років тому

    Hello Sid, its not working for me, i think the latest version of fauxmo library dont use the onMessage function, I tried many options and library versions but my echo dot 3rd gen, and AlexaPi are not able to discover the device.
    Does anybody tried and succeed recently?

    • @SidsEClassroom
      @SidsEClassroom  5 років тому

      Fauxmo library will work only with Genuine Alexa devices and not AlexaPis. While searching for fauxmo devices, reset your NodeMCU.

  • @chrisangus1964
    @chrisangus1964 6 років тому

    Hi Sid thank you so much for your clear to understand video's! I would like to incorporate control of 433Mhz RF devices in to the Sketch, so rather than feed to pins I need to insert the commands for RF transmit. I have examples of sketch for 433Mhz transmitter but not with Alex voice control.....please can you give me one example of the sketch using 433Mhz. I'm guessing I need to enter the RF commands here:
    //Switching action on detection of device name
    if ( (strcmp(device_name, "Kitchen Lights") == 0) ) {
    // adjust the relay immediately!
    if (state) {
    digitalWrite(Kitchen, HIGH);
    } else {
    digitalWrite(Kitchen, LOW);
    and here:
    //Initialize pins to Low on device start
    pinMode(Kitchen, OUTPUT);
    digitalWrite(Kitchen, LOW);
    pinMode(Bedroom, OUTPUT);
    digitalWrite(Bedroom, LOW);
    pinMode(Living, OUTPUT);
    digitalWrite(Living, LOW);
    Thank you or anyone else that can help :)

  • @markludwig5805
    @markludwig5805 6 років тому

    Hi Sid…Great Video. I used your code about a year ago in my application and everything works wonderfully. There is a new version of fauxmoESP, 2.3.0, and it uses fauxmo.onSetState and fauxmo.onGetState in their examples. In your example you used fauxmo.onMessage. Can you explain the differences?
    Thanks

  • @TheNikolaschoulakis
    @TheNikolaschoulakis 7 років тому

    Hello are you using an original NodeMCD Wemos D1 v2.3.0 module or a clone? Can u pls post the URL where you bought the the NodeMCU? Finaly can you please show a conctivity diagram?

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      I used a clone from Ebay. It really does not matter. Any NodeMCU or any wemos will work. Please find attached the links for wemos.
      Wemos D1 Mini version 2: goo.gl/QtdFUE
      Wemos D1 Mini Pro: goo.gl/amT6gD
      I would suggest you get the pro version, because that has a larger flash and a better serial to USB chip. Regarding wiring. it is easy, just connect the wemos io pins to +ve terminal of leds and have a common ground.

  • @malhotrasujeet
    @malhotrasujeet 5 років тому

    Alexa doesnt discover it. I have been using Sinric servers ever since to control my Nodemcu. This project seems highly interesting for the fact that it eliminates any 3rd party servers. Any leads on why is my alexa not able to find it?????

    • @mkunboxing
      @mkunboxing 4 роки тому

      Bro pls help me which esp8266 version you are installed

  • @vaishakhmonti
    @vaishakhmonti 6 років тому

    Sid. First... Great Video and great job. I'm having some issues with the LED not staying off like BalaSubramaniam did in the trail comments earlier. However my problem still persists and won't go away. The LED goes off but then turns on back again in about a second or two.
    Please advise...

    • @vaishakhmonti
      @vaishakhmonti 6 років тому

      Er... Got this. This has to do with the fact that if the control screen on the alexa app is on to individual control of the device then there is a conflict. Once you're out of this screen and working exclusively by Alexa it's fine..... Hmm.. It's still a glitch.

  • @et.sachin
    @et.sachin 6 років тому +1

    Do i need Internet connectivity for. doing this?? can it be done offline?

    • @SaikohTukay
      @SaikohTukay 6 років тому

      Alexa requires a constant internet connection to work properly. It's voice-to-text and text-to-voice systems are stored online. I know you can build an Alexa with a Raspberry Pi though. I think you can even get it to store it's voice-to-text and text-to-voice systems on the device itself. This would enable offline control. Maybe you should look into that.

  • @vbueschken
    @vbueschken 6 років тому

    Script is running and NodeMCU is connected to my WIFI, but Echo+ couldn't find any device. any tip for troubleshooting ?

    • @SidsEClassroom
      @SidsEClassroom  6 років тому

      Start the discovery and then press the reset button on nodemcu

  • @martinhinks8456
    @martinhinks8456 6 років тому

    Hi can't get this to work - coding all uploaded and connected to local network but Alexa can't discover it - Using NodeMCU ESP-12E and Alexa 2nd Gen. Do I have to give Alexa a skill? Thanks.

    • @virajghoparkar8110
      @virajghoparkar8110 4 роки тому

      Try with selecting NodeMCU ESP-12 as a board instead of NodeMCU ESP-12E

  • @carlosalbertoavilaguzman6161
    @carlosalbertoavilaguzman6161 6 років тому

    do you think it is easy to add a mechanical switch in order to work with alexa or the switch?

  • @SRJ299
    @SRJ299 6 років тому

    which smart home skill you are using

  • @avinishsingh4031
    @avinishsingh4031 6 років тому

    Sir it doesn't work please help me to solve the problem

  • @mariangigabyte8479
    @mariangigabyte8479 6 років тому

    how i switch on/off with a button on the screen on the phone and with alexa ??

  • @thedreamsaver
    @thedreamsaver 6 років тому

    Do we not need to write any Alexa code or Alexa skill to do this?

  • @gouravgarg5508
    @gouravgarg5508 6 років тому

    hey sis i copy this code and i verify then show me eror. this line
    int8_t device_id, const char * device name bool state).please help me

    • @JKROBOTICSshorts
      @JKROBOTICSshorts 5 років тому

      गौरव भाई आपका alexa चल गया ईस कोड से

  • @ratheesh105
    @ratheesh105 7 років тому

    How do i put this in a relay switch and take it from prototype to the actual thing?

  • @luisenriquemadureri8118
    @luisenriquemadureri8118 7 років тому

    This is awesome!! Ill try it later today and see if it actually works. Its the most simple one of Wemos arduino code that I have found so far that interacts with Alexa!
    Keep it comming!

  • @kamalshaikh7983
    @kamalshaikh7983 7 років тому

    Hi Sid. Thankyou for sharing your talent. I am new to all this and am very interested in home automation. I have set up my wemos mini and have temporarily wires it to a breadboard all is working but when I ask for alexa to turn on the lights she turns them off and vice versa. I have tried wiring backwards and nothing happens. Also tried changing high and low/on and off values around in the program but nothing changes. What have I done wrong. Your help is much appreciated. :-)

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      Let me know as to what you see in the serial monitor when you ask Alexa to turn or off the devices.

    • @kamalshaikh7983
      @kamalshaikh7983 7 років тому

      I managed to fix the problem. I believe I had two windows open and as I was messing with a few things I must of uploaded the unmodified window. Swapping the high and low values around for all three devices worked great. Now all I need to do is find code to add for a momentary switch so I can still have a switch for the mrs who is anti alexa which will not interfere with the voice commands. :-) thanks again for this video. :-)

  • @zanesimon3280
    @zanesimon3280 6 років тому

    Thank you for the great video! Is there a way to change how you activate devices when you talk to Alexa? For example, we have a small scale automated garage and instead of saying "Alexa, turn on garage", we would like to say, "Alexa, open garage". This may be a limitation of emulating a wemos hub, but I was curious if saying on/off was the only option.

    • @SidsEClassroom
      @SidsEClassroom  6 років тому

      You can use IFTTT and adafruit.io (MQTT)for custom commands. And you are right, due to the emulation, on/off are the only commands available for local control.

    • @XRinger
      @XRinger 6 років тому

      Alexa has a new Top-Down control method. Look in Alexa menu for "Routines". You can use "Alexa, Garage Magic" or "Alexa, open pod bay door" Etc..
      Then, in step two, link it to the operation you want to execute. It's basically an IF THEN, If I say this, Do that..
      You won't find Routines using windows Alexa online.. Use the Alexa phone/tablet app..

  • @Sieunhanthoitamquoc
    @Sieunhanthoitamquoc 7 років тому

    Hi guy! That awesome, can you show how to configuration Alexa voice with Raspi?...

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      I have already made a video on that ! Please check my channel videos !

  • @redisette6076
    @redisette6076 4 роки тому

    My Gen 3 is working now. Thank you.

    • @popoy9742
      @popoy9742 4 роки тому

      can you help me with the link

  • @jugnurs
    @jugnurs 6 років тому

    nice

  • @vish3642
    @vish3642 5 років тому

    This is not working on echo dot 3rd generation

    • @anniyangX
      @anniyangX 5 років тому

      What?! No!!! I just got my echo 3 ...>_< ...

  • @TheNikolaschoulakis
    @TheNikolaschoulakis 7 років тому

    Could you make this work with Samsung Smartthings too? The original Wemo smart plug is compatible with Smartthings so i was wondering if that can be too? I tried discovering it from my Smartthings hub but no luck.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      Can be done. But the same program will not work. There is another approach for that.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      Sid's E Classroom can you please show me where to find that programe and instructions? Is there a website or youtube video that i can watch to learn pls? Also tomorow i will try to see if this works with google home too.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      Google "Sonoff as smarthings switch" . Sonoff and Wemos D1 mini Pro have the same esp8266ex chip. But some modification needs to be done to make it work with Wemos. I never had time to look into too much details, but this is the starting point. Or you cna also search for Nodemcu as smarthings switch.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      I found on github and on Smarthings forum this work that they say its able to make the nodemcu esp8266 work with smartthings could u look at it and make a video tutorial for us on how to make a relay light switch and an addressable LED strip with the wemos d1 mini pro and v2 that works with Smartthings pls? Here is the Github link with all the instructions: github.com/DanielOgorchock/ST_Anything

  • @nuwang1
    @nuwang1 6 років тому

    Thanks bro..

  • @ningarkumar389
    @ningarkumar389 6 років тому

    sir dos this works with india amazon echo any node mcu

    • @SidsEClassroom
      @SidsEClassroom  6 років тому

      it will work with any nodemcu ESP32 or ESP8266 anything

  • @nishiter
    @nishiter 7 років тому

    not able to find fauxmoesp.h in library...i have 1.8.2 IDE

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      I have updated the video description with links for al libraries

    • @nishiter
      @nishiter 7 років тому

      Sid's E Classroom found it from net...works super dope...tnx.

  • @TheNikolaschoulakis
    @TheNikolaschoulakis 7 років тому

    Sid's E Classroom can this be controled via and app and be trigered via IFTTT too?

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      You mean both using Blynk app and IFTTT., yes you can.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      Sid's E Classroom i mean emulated with fauxmo and ifttt and yes and an app like Blyink. I tried doing the Blying Ifttt integration (not with fauxmo but with the Blynk sketch ). I can control my Wemos d1 min ESP8266 via blynk and over the internet perfectly but when i set up Webhooks (ex Maker) applet on IFTTT to control the same digital pin on my device it just resets for some reason. I Tried via web UI too directly sending commands to my Wemos from the blynk server but same issue... how can it be that the blynk app works perfectly to control my Wmos but the URL strings it send dont? What am i missing here?
      I used this tutorial to do the blyink Ifttt integration BTW:
      community.blynk.cc/t/how-to-integrate-blynk-and-ifttt-google-assistant/16107

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      You need to have a port along with your public ip so whats mentioned there may not work. I need to investigate further on this.

  • @TheNikolaschoulakis
    @TheNikolaschoulakis 7 років тому

    How could instead of using 3 Wemos I/O pins to control the LEDs use 1 variable signal digital PWM pin (like pin 6 on Arduino uno) to control an LED strip like the
    WS2812B 5050 RGB 5V Full color Addressable 30 LED Strip? This LED strip can be controlled with only one PWM pin and can change the light of each LED and so ask Alexa "Alexa LED strip blue" or green etc or "Alexa LED strip disco" and the LED strip lights follow a pattern.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      I think, i will make a video on that over this weekend. Many others may also find it useful.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      Here is my set up and issue with the code of that video i pasted for u. I am using an original Wemos D1 mini Pro i bought off amazon.co.uk, it exactly like the V2 u have but has bigger memory more stable USB signalling and a ceramic WiFi antenna, its the upgrade to the Wemos D1 mini V2 so this should be ok. I am not driving the LED strip with a signal level shifter 3.3 to 5V but with the 3.3V straight out of the board's pin D2 that could be the cause of the jungle lights freezing after the sequence starts sometimes but the rainbow seams to work ok now. I am driving my W2812B LED strip of 30 LEDs with a separate 5V 2A PSU and a 1000uF capacitor across + and ground. The thing that i need your help with is the "White kitchen" lights command. Even though Alexa discovers the white lights i cannot see them on the Arduino IDE serial command prompt coming on or off or on the LED strip like i see "rainbow" and "jungle" lights. What could the problem be? I copied pasted your code and touched nothing other than wifi and number of LEDs parameters.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      I shall take a look and let you know. But regarding the logic level shifter, the RGB strips need atleast 75% of the supply level to work correctly. If you can vary the voltage of the PSU, try setting it to 4.5V.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      Sid's E Classroom ok thanks u mean reduce the 5v to 4.5v on the psu? Can i do that with a resistor and how many ohms? I manage to dicover "white kitchen" light tooand it all works ok, for some reason i had to run discovery 2 times for alexa to find that last switch.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      It has to be done with ICs properly. Or else i would suggest you to get the logic level converter. That will come in handy for many other projects.

  • @SaurabhGangamwar
    @SaurabhGangamwar 6 років тому

    Thanks man

  • @ianembleton1133
    @ianembleton1133 6 років тому

    i upload the sketch but my alexa won't find my d1 mini. Do i need a particular skill on my alexa??? please help. what am i doing wrong?

    • @ianembleton1133
      @ianembleton1133 6 років тому

      i tried resetting d1 mini during discovery and that didn't help

    • @SidsEClassroom
      @SidsEClassroom  6 років тому

      can you check if your router assigned the wemos an ip ?

    • @SidsEClassroom
      @SidsEClassroom  6 років тому

      My other suggestion would be to try and use the sonoff-tasmota. Thats pretty straight forward and Alexa easily picks it up. Just like this piece of code, you can add as many devices you want. You can follow the how-to here :ua-cam.com/video/ioONHaUOtFM/v-deo.html

    • @ianembleton1133
      @ianembleton1133 6 років тому

      thankyou for the reply, Yes my router did assign an ip address. I will try your next suggestion.

  • @carlosalbertoavilaguzman6161
    @carlosalbertoavilaguzman6161 6 років тому

    hi, i´m not able to download the "fauxmoESP.h library the link is not avaliable

  • @socialph
    @socialph 7 років тому

    Hi I am trying to do this using a Node MCU and Alexa but Alexa does not discover the devices, this has been the same with a few sketches I have tried.
    When I run it I get this on the com monitor but no more is this correct, and do you have any suggestions
    After connection, ask Alexa/Echo to 'turn on' or 'off'
    [WIFI] Connecting to Office ..............
    [WIFI] STATION Mode, SSID: Office, IP address: 192.168.1.14

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      Press the reset button on the NodeMCU and see. This sketch will work only with the actual Amazon Echo or Echo Dot. Not with Alexa Pi or Amazon AVS Sample app.

    • @socialph
      @socialph 7 років тому

      Hi Thanks for the prompt reply, I am using Amazon Echo

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      Hope you are scanning using the app and not triggering discovery using voice ! Once you press the discovery button, immediately press the reset button on the NodeMCU!

    • @socialph
      @socialph 7 років тому

      Hi Yes using the Alexa App on my phone, tried pressing the discover button immediatley after pressing reset on NodeMCU, still doesn't find devices.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      May i know as to what parts of the code you have modified. ?

  • @TheNikolaschoulakis
    @TheNikolaschoulakis 7 років тому

    I cannot find any of these libraries why could that be? I have Arduino IDE 1.8.3

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      They are special libraries that you need to add separately. I have shown that in the video. See 2:21 in the video.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      Sid's E Classroom i seen the vid but when i search these libraries do not appear. Do i first perhaps have to install the wemos d1 mini pro as a board? Wemos also missing as a board

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      These libraries appear only if you have the ESP boards added. In my channel, i have another video on getting started with wemos. Please refer to that.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      I followed your instructions to the letter from the getting started video. the basic sketch that blinks the LED works.
      Now again when i go to search for the libraries you mention they do not appear at all. Is there a place to download these libraries ?
      Could it be that I missing a step when i am trying to install the libraries? please help.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      The layout for board manager also looks similar to manage libraries layout. I think by mistake, you may be checking for the libraries in board manager. Anyways, you can download the libararies from following links. and add them. From menu, choose sketch, include libraries, add .zip libraries and add these libraries.github.com/me-no-dev/ESPAsyncUDP/archive/master.zip
      github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
      github.com/me-no-dev/ESPAsyncTCP/archive/master.zip

  • @TheNikolaschoulakis
    @TheNikolaschoulakis 7 років тому

    How does the Wemos talk to the Alexa Voice Service cloud?

    • @SidsEClassroom
      @SidsEClassroom  7 років тому

      A local fauxmo server is created on the nodemcu. Amazon Alexa interacts with the nodemcu through the fauxmo server

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      Wow on the back of the WLAN only? The traffic is not going OTT via internet to the AVS cloud?

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      I can understand what you mean. Normally people control nodemcu s using IFTTT and MQTT broker using third party services like adafruit.io.
      This is fully local without third party service. Just like controlling a philips hue bulb or tp-link socket or sonoff or wemo switch.

    • @TheNikolaschoulakis
      @TheNikolaschoulakis 7 років тому

      Amazing! Thank u i bought the kit and will try implementing tomorrow. I got the Wemos D1 pro mini like u suggested. Thank u By the way have you tried to see if it works with Google Home too? I read that fauxmo supports Google assistant now.

    • @SidsEClassroom
      @SidsEClassroom  7 років тому +1

      Thanks for the info ! Last time when i tried i did not work. Will try again when i find time.

  • @soundarrajanv1687
    @soundarrajanv1687 6 років тому

    no need to do any backend coding in AWS cloud..???
    one more thing i am not having echo but i have installed alexa in my Rpi3.
    can anyone give suggestion for doing like this..???