This Chip can Control Anything with ALEXA

Поделиться
HTML-код
  • Опубликовано: 3 фев 2019
  • This Project goes over how to use a NodeMCU to simulate a Smart Switch and control anything with a subsequent relay. You can find a list of instructions here:
    GitHub: github.com/Grensom/NodeMCU-Al...
    My Website: gregensom.com/alexa-device.html
    ----------------------------------------
    Parts List
    ----------------------------------------
    NodeMCU:
    amzn.to/2YgIwmR
    Transistor:
    amzn.to/2YnM32H
    Relay:
    amzn.to/33LvkHz
    Diode:
    amzn.to/34WNSX2
    Resistor:
    amzn.to/2Rn2jiW
    ----------------------------------------
    Equipment Used for Video
    ----------------------------------------
    Canon 80D Creator Kit:
    amzn.to/2VN3xWO
    Editor: Adobe Creative Cloud
    =========================
    Website: www.gregensom.com
    Insta: / greg_ensom
    LinkedIn: / gregoryensom
    SC: Grensom
    Spotify: Greg Ensom
  • НаукаНаука

Комментарии • 208

  • @Schmadis
    @Schmadis 5 лет назад +12

    AWESOME! i made my smart mirror primarily off your tutorial, and one of my main problems was that the sonoff wifi switch wouldn't work for me. Hope this solves my issue, we will find out when parts arrive!

  • @JHoeps
    @JHoeps 5 лет назад +1

    You got an awesome channel man! some really cool, innovative stuff! Thanks for your time and effort getting this stuff out there!

  • @SanketGangurde
    @SanketGangurde 5 лет назад +2

    Man you really put the hardwork in your every video and all videos are on point 🔥 keep it up 💯

  • @danielkelly5192
    @danielkelly5192 5 лет назад +2

    This guy is the best! I heard he also has videos on how to roller blade too. He can do it all!

  • @phillipstai7204
    @phillipstai7204 5 лет назад

    My dude! You are doing some great work here. Keep it up!

  • @6sensory
    @6sensory 5 лет назад

    Most Excellent Kind Sir. After swapping low's for high's for my set of relays, your code worked beautifully. I took it to eight switches. The really nice thing about your code is that it's not busy, like the Fauxmos. Fauxmos started acting up on multiple clients lately so yours is a welcome sight.

  • @delegreed
    @delegreed 5 лет назад

    Great work brother. It's people like you that make it awesome to want to do stuff like this.

  • @Jack-yw4db
    @Jack-yw4db 4 года назад +1

    Nice job on 100k keep up the good work👍👍

  • @ahrensteis3722
    @ahrensteis3722 5 лет назад +6

    Nice work.

  • @ZzzWARRIORzzZ
    @ZzzWARRIORzzZ 5 лет назад +2

    Thx man for all your advices ! Now i want to do some prog !

  • @chuturt3997
    @chuturt3997 5 лет назад +2

    I love your work bro!

  • @polla2256
    @polla2256 5 лет назад

    You seem like a very talented young man, keep it up, keep learning and keep sharing !

  • @BrajeshJha
    @BrajeshJha 5 лет назад +1

    Awesome work.. keep it up brother.

  • @dylandoes7654
    @dylandoes7654 5 лет назад +1

    I like the stuff you build I love tech and your videos make me want to try to make new things

  • @teunkiewiet840
    @teunkiewiet840 4 года назад

    Congrets on 100k!

  • @MarcusEvangelistaScience
    @MarcusEvangelistaScience 5 лет назад +1

    Awesome Work!

  • @AlekxRomo
    @AlekxRomo 5 лет назад +1

    Would love to know how you made that circuit chip and installed the chip into the smart mirror. Planning on building this over the summer.

  • @deshraj3485
    @deshraj3485 5 лет назад

    awesome explanation ... keep up the good work

  • @vanshajkataria8044
    @vanshajkataria8044 5 лет назад +2

    Awesome work hope I will also make this one day.👍👍👍👍👍👍👍👍👍

  • @alexandermilleriii499
    @alexandermilleriii499 5 лет назад +52

    You deserve more subscribers.

  • @azamkhan-rn7nv
    @azamkhan-rn7nv 5 лет назад

    huge respect for you man ...you re simply awesome ...

  • @masendaly4669
    @masendaly4669 5 лет назад

    so much efforts put it to the vids good job you have more subs!!

  • @tom4praveen
    @tom4praveen 5 лет назад

    Cool Video and informative..keep it up bro!

  • @sagievg
    @sagievg 5 лет назад

    Thanks gregerson. Will definitely try to build one. 1 step into the future lol

  • @AcessoTeleInfo
    @AcessoTeleInfo 4 года назад

    Great video!

  • @roelmartinez5644
    @roelmartinez5644 5 лет назад +1

    Dude awesome video, I never fail to feel dumb watching your videos nonetheless great info

  • @BenjaminEagan
    @BenjaminEagan 5 лет назад +4

    Great video dude, and NodeMCU looks super easy for making things Alexa compatible! I've used the Arduino Yun with a "Thing Shadow" before, but this seems much simpler. When it comes to controlling a smart mirror though, I prefer connecting the skill to an AWS Simple Queue Service, and long polling SQS from the RPi to read messages posted. Then the RPi turns off the HDMI signal and the monitor goes to sleep instead of turning off. Not the point of this video though, and a great demo.

  • @ragnarlothbrok8372
    @ragnarlothbrok8372 5 лет назад +10

    Hey ,recently i made a Smart mirror like yours.
    I don't know so much about programing .
    I have installed a fitbit module for the mirror ,everything works but it can't show any steps or Something ,only zeros .
    Please make a tutorial for how to make it work.

  • @gabrielconnor7081
    @gabrielconnor7081 5 лет назад

    Ghad dayum this man is innovative

  • @BeyonderJay
    @BeyonderJay 5 лет назад +2

    I always appreciate great work...
    And u look good...😉

  • @eranfeit
    @eranfeit 4 года назад

    nice work

  • @henrikwie6610
    @henrikwie6610 5 лет назад +130

    Will you ever post the video how you installed the ALEXA UI on the Smart Mirror?

    • @jasonm2477
      @jasonm2477 5 лет назад +10

      developer.amazon.com/alexa-voice-service that's a good starting point its very similar to how he setup google Os in anther video, and the alexa dev youtube page has a lot of videos to guide you through the process hope this helps

    • @nathanielmatthias9360
      @nathanielmatthias9360 2 года назад

      i guess it's kinda off topic but does anyone know of a good website to watch new tv shows online ?

    • @ellisclyde9137
      @ellisclyde9137 2 года назад

      @Nathaniel Matthias Meh I'd suggest flixportal. Just google after it :P -ellis

    • @nathanielmatthias9360
      @nathanielmatthias9360 2 года назад

      @Ellis Clyde thank you, signed up and it seems to work :) I appreciate it!

    • @ellisclyde9137
      @ellisclyde9137 2 года назад

      @Nathaniel Matthias You are welcome :)

  • @andrejilic8106
    @andrejilic8106 4 года назад

    Congrats on 100k

  • @sudoalex
    @sudoalex 5 лет назад +1

    Awesome!

  • @virtualvendetta4439
    @virtualvendetta4439 4 года назад +27

    why did you stop posting? your videos were very entertaining

  • @albertsangenisfranco5064
    @albertsangenisfranco5064 5 лет назад +1

    You're amazing! Good luck on everything. The chip is dope, but what about Sonoff?

  • @YosefFisher
    @YosefFisher 5 лет назад +1

    Upload More!!! Keep it up 💪

  • @jcwire1685
    @jcwire1685 3 года назад

    Great Video, can you tell me if I actually need to have a echo device to discover the nodemcu. Right now I have a fire tv cube and using the Alexa app on my iPhone. Can’t seem to discover the nodemcu.

  • @trentm4250
    @trentm4250 5 лет назад

    Your channel is going to fucking explode bro. Rooting for you!

  • @NAWAF-vc1px
    @NAWAF-vc1px 5 лет назад +1

    any advantage for going this route instead of sonoff?

  • @robertcameronjones
    @robertcameronjones 4 года назад

    Excellent video. If you want a lazy solution, Sonoff makes a dry contact relay that is smart and can be controlled by Alexa through eWeLink. It's powered off 5V.

  • @Drxxx
    @Drxxx 4 года назад

    good video, i like it!

  • @hassanahmad9597
    @hassanahmad9597 4 года назад +1

    Can you add physical switch to turn off/on
    I mean you can switch to turn off/on with both Alexa and physical switch

  • @aarond7764
    @aarond7764 5 лет назад

    Hey, your Videos are really cool and inspirering. But i have a question ist is possible to use one of these 8 channel relais boards? And if yes, how?? Keep up!!

  • @pearlchan580
    @pearlchan580 5 лет назад +1

    Great! Would you plan to test and review another brand product? such as outdoor security camera. My friend is ready to start sell it and I am so interested in it.

  • @Cam1lo91
    @Cam1lo91 5 лет назад

    That sinric page has a cloud that interacts with alexa? Or is it just sort of a key generator?

  • @shahsamir7028
    @shahsamir7028 4 года назад

    Which software are you using for simulation?

  • @al-k9793
    @al-k9793 5 лет назад

    Thanks G

  • @masterv2118
    @masterv2118 5 лет назад +2

    Time to see how I can use this to get my keurig coffee made for me in the morning lol..
    Random question.. is it possible to detect that a non smart light is on (smart wall switch or voltage draw) and have it post to a remote (internet based) DataBase that the light is on or off? : 1 = on; 0 = off.

  • @daniil3401
    @daniil3401 5 лет назад

    Nice !

  • @prasadjadhav624
    @prasadjadhav624 4 года назад

    Thanks for sharing this, it works for me 80% times. I tried this with alexa but alexa many times shows server/device is not responding issue, so many times your relays gives on/off sound but lights/device doesn't on/off. Any additional suggestions on this would be helpful

  • @khrisravelo8196
    @khrisravelo8196 5 лет назад

    Hi, Its possible can i use this from Google Home mini? ..if yes please make video thanks

  • @troybolda2477
    @troybolda2477 3 года назад

    Would it be possible to have a Fritzing Sketch to help wire the circuit?

  • @Zockerzimmer
    @Zockerzimmer 5 лет назад +1

    Nice video. But you can do the same with a Sonoff Basic. This would be cheaper. But it's good to learn new things to do with a Node

  • @SiraSam
    @SiraSam 4 года назад +7

    How can you learn all of this skills ,TT

  • @anniyangX
    @anniyangX 5 лет назад

    Does it work with Amazon Echo Dot 3rd generation?

  • @Expiredkrispies
    @Expiredkrispies 5 лет назад

    omg I love your videos

  • @atmblack34
    @atmblack34 5 лет назад

    Hi Grensom,cool stuff here.
    I just Visited your page as well, really looks cool and great design.
    Except you may wanna check back in the footer, I think the link to the Motion bedlight is either wrong / not up yet / or at least linked to the wrong page (Smart Mirror)
    I was just curious what your motion bedlights look like.

  • @vaddiraju26
    @vaddiraju26 4 года назад

    @grensom can you explain how to add a manual switch into the code AND
    if possible how to add a offline switch to turn on and off the device ( in absense of internet)

  • @SanketGangurde
    @SanketGangurde 5 лет назад +2

    Will it work on Google Home?

  • @PAulXD99
    @PAulXD99 5 лет назад +1

    Hey one question. In your Video you use differend Diode, Transistor and Resistor typs as on yours site. Witch are the right Typs i must buy?

    • @Grensom
      @Grensom  5 лет назад +1

      PAulXD99 The schematic in the video is correct. All the parts used are linked in the description of the video

  • @aimless3827
    @aimless3827 3 года назад

    Not sure if this gonna work with alexa gen2 but I need to try this.

  • @willturner1635
    @willturner1635 5 лет назад +2

    That’s amazing! Won’t have to invest in a Sonoff switch next time, how did you get MagicMirror software to boot instantly when you turn it on? Mine takes a couple of minutes

    • @willturner1635
      @willturner1635 5 лет назад

      Ohhhh never mind I just realised the monitor is on a separate relay lmao

  • @bittekeinddos196
    @bittekeinddos196 5 лет назад +7

    This is kindof a diy sonoff, isnt it? But really good video!

  • @tranminhcat6909
    @tranminhcat6909 5 лет назад

    dont actually undertand what you say but your product is awsome .

  • @LonerDonor
    @LonerDonor 5 лет назад +3

    How did you learn to engineer? It's always been my passion to do things like this but I started out learning code by teaching myself but I don't know how to step to using circuit boards.

    • @Grensom
      @Grensom  5 лет назад +4

      I studies EE but there are a lot of good basic electronics RUclips tutorials like "Great Scott" out there. I also got an Arduino inventor kit and followed all the tutorials in the instructions book that taught me a lot about micro controllers and electronics.

  • @nightappleispoisonapple5012
    @nightappleispoisonapple5012 4 года назад

    Dude what did you study in college? You are an inspiration to me and i would love to do what you do, if i may ask does this carrer pay well?

  • @juanmanuelvillanuevaarella4398
    @juanmanuelvillanuevaarella4398 4 года назад

    Impresionante generalmente no comento vídeos pero estaba buscando una solución con mi nodeMCU ( lo tenia arrumbado ) para intentar integrarlo con alexa y este vídeo me ha sido de mucha ayuda

  • @rid218
    @rid218 3 года назад

    Can you control a sleep number bed with it?

  • @ankit6600
    @ankit6600 3 года назад

    Can multipal relays be controlled with a single node mcu? Plz reply and oblige

  • @mateoslab
    @mateoslab 3 года назад

    how did you make your website

  • @Theo12415
    @Theo12415 4 года назад

    I have a question about the switch part. I want to add a switch in order to use it as a 3 way switch, so it is not dependent only at alexa. How can i do it? Thank you

  • @hypnomediahm373
    @hypnomediahm373 4 года назад

    How to make scanning and wifi connectivity work like with sonof, via a button, instead of typing wifi and pasword directly into the code? Thank you

  • @cihadkck
    @cihadkck 4 года назад

    Can we do the same thing with Google Assistant ??? If it's possible, may you show me the way please ??

  • @Romeetode
    @Romeetode 5 лет назад +1

    So many smart words

  • @kommojunaresh2826
    @kommojunaresh2826 5 лет назад

    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).
    error shows up ,,,guide me through this.

  • @play32083
    @play32083 4 года назад

    So cool

  • @armenvegas
    @armenvegas 4 года назад

    How long did it take you to learn to write sketches for Arduino? I've purchased 10+ arduinos, 4yrs and still I've not written 1.

  • @Ouchie
    @Ouchie 4 года назад

    Are you using 3.3v to control a 5v relay?

  • @georgemathieson6097
    @georgemathieson6097 5 лет назад +9

    Would this work with Google Home? If not, please make a video for a Google Home alternative.

    • @Grensom
      @Grensom  5 лет назад +8

      It should be discoverable like any other smart device. So you should be sync it with Google Home as well.

    • @13renschi
      @13renschi 5 лет назад +1

      Yes it´s doable, ive done it with blynk. There are good tutorials on youtube

    • @georgemathieson6097
      @georgemathieson6097 5 лет назад

      @@Grensom Thought as much, thanks. 😃

  • @nicechubbchubbs
    @nicechubbchubbs 5 лет назад +1

    You did well, but the best program for this device is Tasmota, which is fantastic. With Tasmota, you can switch on the light from a physical switch on a wall, from your PC or phone, or through voice commands via Alexa.

  • @redhawkrobin
    @redhawkrobin 2 года назад

    I'm looking for an Alexa device that's essentially just a switch that Is shorting a circuit without supplying any power to whatever it is shorting, can I use this device for that or is there something better for this? (Thinking about to use it to replace the power button on my pc). - (just because)

  • @insanthereal3975
    @insanthereal3975 5 лет назад +1

    Hey bro..i finally finished my pir sensor project succsflly..aftr 2 days work...btw how much would this total project cost??

  • @BrandASDGamings
    @BrandASDGamings 4 года назад

    Anyone know what all of this channel is about? Like what school should i go to to learn all kinds of these stuff and do projects like this. (General subject of it?)

  • @chef5252
    @chef5252 5 лет назад +1

    So i realize the video is somewhat old, it does howerver involve NodeMCU ESP chip, but in your Alexa TV controll video the code doesnt work (anymore?). Basically the 'fauxmo.onMessage()' command doesnt exist in the library anymore. I found a Forum page saying 'onMessage' has been replaced with 'onSetState' but that doesnt seem to work either. Other people in the comments of the video had this issue too and it seems to be unanswered. Would really like to get this working.

    • @Grensom
      @Grensom  5 лет назад

      You may be thinking of my other video - this video does not use Fauxmo Library. I made a note on my GitHub repository: " FauxMoESP has updated and no longer supports the files uploaded". Use the "NodeMCU-AlexaDevice" repository instead or watch this video as it uses a different procedure

  • @jaribcastillosalcedo4279
    @jaribcastillosalcedo4279 4 года назад +1

    Hello Greg! Thank you so much for this awesome tutorial. Unfortunately, the code is not compiling.
    I get multiple errors ( "DynamicJsonBuffer is a class from ArduinoJson 5" & "Multiple libraries were found for "WebSocketsClient.h"), although I have already installed the libraries. Any help will be very much appreciated :) Thanks in advance!

    • @joancampos9343
      @joancampos9343 4 года назад

      It's because the sketch uses Arduinojson 5 but the library you installed is the 6, you can upgrade the sketch to work with the 6, or you can go to library management and install the latest arduinojson 5 version

  • @Ezanity
    @Ezanity 4 года назад +1

    This is cool and all but ain't it cheaper and quicker just to buy a sonoff basic and if you want more features then flash it with tasmota

  • @bladezx2
    @bladezx2 4 года назад +1

    Might want to check the link to your website in your description . It's giving a 404 Not Found error.

  • @marz4834
    @marz4834 5 лет назад +1

    Sinric FTW!

  • @shehab910
    @shehab910 5 лет назад +1

    Can this ship control more than onr relay? Like can i control 2 lights?

    • @leglessinoz
      @leglessinoz 5 лет назад

      With an ESP8266 based NodeMCU you can control a number of things. I think you can RELIABLY switch up to 6 devices though it is possible to control more. You can control up to 15 with an ESP-32 based NodeMCU.

  • @omarvillanueva4961
    @omarvillanueva4961 5 лет назад +1

    Could it work with Siri?

  • @anniyangX
    @anniyangX 5 лет назад

    Hi Grenson, when I compiled my program, it showed:
    Users/user/Documents/Arduino/libraries/arduinoWebSockets-2.1.4/src/WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()':
    /Users/user/Documents/Arduino/libraries/arduinoWebSockets-2.1.4/src/WebSocketsClient.cpp:172:30: error: 'class WiFiClientSecure' has no member named 'setCACert'
    _client.ssl->setCACert((const uint8_t *)_CA_cert, strlen(_CA_cert) + 1);
    ^
    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).
    Could you also tell me why you have the other board? Is that for power supply only? Do I need to supply voltage to the Node MCU while I have it plugged into my computer? Do I only need to have an extra power supply to the relay only? I'm very new to this. Any help will be appreciated.

  • @ls2011schorsch
    @ls2011schorsch 4 года назад

    I just wanted to let you know, that the link from your website about the project doesnt work. The website itself is online.

  • @Mrsavage-uc5sc
    @Mrsavage-uc5sc 4 года назад +1

    Next video: building a hover board that actually hovers in the air lol

  • @heltonritter
    @heltonritter 5 лет назад +1

    Intresting, but I`m really avoiding those ways where you have to register somewhere external. I prefer to keep things in my internal network.

    • @leglessinoz
      @leglessinoz 5 лет назад

      Use the Tasmota firmware or similar for devices like Sonoff if you wish to do that.

  • @parveenyadav4680
    @parveenyadav4680 5 лет назад +1

    can ths cntrl heavy thngs like refrigerator

    • @MikeGecawicz
      @MikeGecawicz 5 лет назад

      ydparveen depending on the grade of relay, yes. The relay he is using in this video should support up to 240 volts which should be plenty for most regions.

  • @muhammedmusthafaos7742
    @muhammedmusthafaos7742 4 года назад

    HI IAM UR NEW SUBSCRIBER

  • @SilentGamer5846
    @SilentGamer5846 5 лет назад

    Can you make a video on how to make a smart mirror touch screen?

  • @watchedsmile
    @watchedsmile 5 лет назад

    does this also work with google home?

  • @moshikof7778
    @moshikof7778 4 года назад

    how did you learn how to code ?