This Chip can Control Anything with ALEXA

แชร์
ฝัง
  • เผยแพร่เมื่อ 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!

  • @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.

  • @phillipstai7204
    @phillipstai7204 5 ปีที่แล้ว

    My dude! You are doing some great work here. 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!

  • @SanketGangurde
    @SanketGangurde 5 ปีที่แล้ว +2

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

  • @alexandermilleriii499
    @alexandermilleriii499 5 ปีที่แล้ว +52

    You deserve more subscribers.

  • @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!

  • @delegreed
    @delegreed 5 ปีที่แล้ว

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

  • @ahrensteis3722
    @ahrensteis3722 5 ปีที่แล้ว +6

    Nice work.

  • @Jack-yw4db
    @Jack-yw4db 4 ปีที่แล้ว +1

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

  • @BrajeshJha
    @BrajeshJha 5 ปีที่แล้ว +1

    Awesome work.. keep it up brother.

  • @polla2256
    @polla2256 4 ปีที่แล้ว

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

  • @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

  • @deshraj3485
    @deshraj3485 5 ปีที่แล้ว

    awesome explanation ... keep up the good work

  • @azamkhan-rn7nv
    @azamkhan-rn7nv 5 ปีที่แล้ว

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

  • @masendaly4669
    @masendaly4669 4 ปีที่แล้ว

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

  • @sagievg
    @sagievg 5 ปีที่แล้ว

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

  • @vanshajkataria8044
    @vanshajkataria8044 5 ปีที่แล้ว +2

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

  • @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.

  • @teunkiewiet840
    @teunkiewiet840 4 ปีที่แล้ว

    Congrets on 100k!

  • @tom4praveen
    @tom4praveen 5 ปีที่แล้ว

    Cool Video and informative..keep it up bro!

  • @MarcusEvangelistaScience
    @MarcusEvangelistaScience 5 ปีที่แล้ว +1

    Awesome Work!

  • @gabrielconnor7081
    @gabrielconnor7081 5 ปีที่แล้ว

    Ghad dayum this man is innovative

  • @BeyonderJay
    @BeyonderJay 5 ปีที่แล้ว +2

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

  • @albertsangenisfranco5064
    @albertsangenisfranco5064 5 ปีที่แล้ว +1

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

  • @roelmartinez5644
    @roelmartinez5644 5 ปีที่แล้ว +1

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

  • @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.

  • @YosefFisher
    @YosefFisher 4 ปีที่แล้ว +1

    Upload More!!! Keep it up 💪

  • @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 :)

  • @AcessoTeleInfo
    @AcessoTeleInfo 3 ปีที่แล้ว

    Great video!

  • @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.

  • @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.

  • @andrejilic8106
    @andrejilic8106 4 ปีที่แล้ว

    Congrats on 100k

  • @trentm4250
    @trentm4250 5 ปีที่แล้ว

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

  • @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

  • @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!!

  • @sudoalex
    @sudoalex 5 ปีที่แล้ว +1

    Awesome!

  • @eranfeit
    @eranfeit 4 ปีที่แล้ว

    nice work

  • @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.

  • @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.

  • @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

  • @virtualvendetta4439
    @virtualvendetta4439 4 ปีที่แล้ว +27

    why did you stop posting? your videos were very entertaining

  • @al-k9793
    @al-k9793 5 ปีที่แล้ว

    Thanks G

  • @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

  • @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

  • @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.

  • @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.

  • @daniil3401
    @daniil3401 4 ปีที่แล้ว

    Nice !

  • @atmblack34
    @atmblack34 4 ปีที่แล้ว

    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.

  • @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?

  • @NAWAF-vc1px
    @NAWAF-vc1px 4 ปีที่แล้ว +1

    any advantage for going this route instead of sonoff?

  • @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

  • @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

  • @troybolda2477
    @troybolda2477 3 ปีที่แล้ว

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

  • @shahsamir7028
    @shahsamir7028 4 ปีที่แล้ว

    Which software are you using for simulation?

  • @vaddiraju26
    @vaddiraju26 3 ปีที่แล้ว

    @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)

  • @tranminhcat6909
    @tranminhcat6909 5 ปีที่แล้ว

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

  • @Cam1lo91
    @Cam1lo91 5 ปีที่แล้ว

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

  • @Drxxx
    @Drxxx 4 ปีที่แล้ว

    good video, i like it!

  • @Expiredkrispies
    @Expiredkrispies 5 ปีที่แล้ว

    omg I love your videos

  • @bittekeinddos196
    @bittekeinddos196 5 ปีที่แล้ว +7

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

  • @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 TH-cam 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.

  • @khrisravelo8196
    @khrisravelo8196 5 ปีที่แล้ว

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

  • @marz4834
    @marz4834 5 ปีที่แล้ว +1

    Sinric FTW!

  • @SiraSam
    @SiraSam 4 ปีที่แล้ว +7

    How can you learn all of this skills ,TT

  • @Romeetode
    @Romeetode 5 ปีที่แล้ว +1

    So many smart words

  • @georgei2480
    @georgei2480 5 ปีที่แล้ว

    I love this and I think it would be super cool in an Arduino project but not very useful in anything outside of that. If you need a an ESP with a relay built in you can get a Sonoff basic for about $5-6 USD and thats much more simple and will probably cost you as much as building your own.

    • @leglessinoz
      @leglessinoz 5 ปีที่แล้ว

      Not if you want to control multiple devices. An ESP32 based NodeMCU will control up 15 relays reliably and it doesn't just have to be relays.

  • @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. 😃

  • @aimless3827
    @aimless3827 3 ปีที่แล้ว

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

  • @ankit6600
    @ankit6600 3 ปีที่แล้ว

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

  • @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??

  • @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

  • @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)

  • @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.

  • @SanketGangurde
    @SanketGangurde 5 ปีที่แล้ว +2

    Will it work on Google Home?

  • @anniyangX
    @anniyangX 4 ปีที่แล้ว

    Does it work with Amazon Echo Dot 3rd generation?

  • @kommojunaresh2826
    @kommojunaresh2826 4 ปีที่แล้ว

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

  • @muhammedmusthafaos7742
    @muhammedmusthafaos7742 4 ปีที่แล้ว

    HI IAM UR NEW SUBSCRIBER

  • @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

  • @mateoslab
    @mateoslab 3 ปีที่แล้ว

    how did you make your website

  • @rid218
    @rid218 3 ปีที่แล้ว

    Can you control a sleep number bed with it?

  • @cihadkck
    @cihadkck 4 ปีที่แล้ว

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

  • @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?)

  • @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

  • @Ouchie
    @Ouchie 4 ปีที่แล้ว

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

  • @americanpsychosis11
    @americanpsychosis11 3 ปีที่แล้ว

    have a question....when I went to compile sketch, arduinojson gives me an error telling me to upgrade to version 6. How can I do this easily? any response is appreciated. thanks a bunch.... Robert. Nvrmnd. Figured it out. Well, I thought I did. Keep getting Jsonbuffer error, and tell me to update to version 6. I dnld and included the json file as described. What could I be missing? Well, thanks for maybe your consideration, but no reply. The easy fix was to revert back to version 5 of the json file after deleting version 6.

  • @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.

  • @bladezx2
    @bladezx2 4 ปีที่แล้ว +1

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

  • @shahryarqazi1472
    @shahryarqazi1472 4 ปีที่แล้ว

    Love your work, it just give me so much interest to try these out. Respect from Pakistan 🇵🇰

  • @SilentGamer5846
    @SilentGamer5846 5 ปีที่แล้ว

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

  • @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

  • @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

  • @anniyangX
    @anniyangX 4 ปีที่แล้ว

    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.

  • @gustavoporras5449
    @gustavoporras5449 5 ปีที่แล้ว +1

    Hey man, How can I know what GPIO is used for the second switch?

    • @Grensom
      @Grensom  5 ปีที่แล้ว

      Gustavo Porras You can set the second device with any GPIO you want, I just chose pin4 randomly. Just make sure the pin you choose in the program is the one you write your switch to. You’ll have to add the digitalWrite and pinMode code for the second one as well

    • @gustavoporras5449
      @gustavoporras5449 5 ปีที่แล้ว

      @@Grensom Where can I find the digitalWrite and pinMode code in the code. I couldn't this section in the code for the first switch.

    • @Grensom
      @Grensom  5 ปีที่แล้ว

      @@gustavoporras5449 I go over this in the video at 3:43

    • @gustavoporras5449
      @gustavoporras5449 5 ปีที่แล้ว

      Oops!, I didn't put attention to this part!. Thanks for your quick response and for you great video. PURA VIDA!!!!

  • @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.

  • @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.

  • @omarvillanueva4961
    @omarvillanueva4961 5 ปีที่แล้ว +1

    Could it work with Siri?