Simple Home Automation: control your PC with Amazon Alexa || ESP8266

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 34

  • @jackburton5085
    @jackburton5085 2 роки тому +1

    1:02 we have a man of culture I see ... it's a really big _c_ book

  • @twitchy3006
    @twitchy3006 Рік тому +1

    Would a esp8266 mini work for this? Or does it have to be the full sized esp8266?

    • @seafoxc
      @seafoxc  Рік тому

      Should work, as long as it has one output pin.

  • @pacotesan
    @pacotesan 3 роки тому +1

    It would be interesting to also use the same thing for the reset button (in case the system freezes/crashes)

    • @seafoxc
      @seafoxc  3 роки тому +1

      The ESP8266 has multiple outputs so this is definitely an option. I don't have many crashes so I don't have the need to do so :-).
      It would be a nice edition to your own project. Good luck!

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

      @@seafoxc Indeed, it would just be a failsafe but as of right now I also have a smartplug where the PC is powered so in case of any issue I just turn it off and on again and the system boots (BIOS is set to auto boot when it detects energy)

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

    You might be able to hook a pro micro up to the esp and have Alexa type stuff into your computer via voice command

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

      That would be cool!! But it is not a top priority in my Alexa set-up right now. One of the first things is to make a dashboard on a tablet for my home. Nice suggestion either way! It is maybe something for in the future.

  • @ianwogswart
    @ianwogswart 2 роки тому +1

    Great video but having an issue with mine slightly booting up but not fully the pc fans start for a second then it stops any help would be great

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

      mmm, If installed correctly it should do just the same a pressing the button. Please check if you wired the relay so it is Normal Open. If you connected the button normally closes it is like you press the button all the time and release it for 2 seconds when Alexa is triggered and then you press it again for all the time. This would result in the PC turn on for a second or two and then turns of. Let me know if this helped? Hre some extra info arduinogetstarted.com/tutorials/arduino-relay

    • @ianwogswart
      @ianwogswart 2 роки тому +1

      Thankyou for the fast reply it's all working now I had it wired wrong in the terminal, thankyou :)

  • @seafoxc
    @seafoxc  3 роки тому +1

    Let me know if you have any questions regarding this project. Or any suggestions?

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

    Con ese programa al decirle a Alexa enciende la computadora el rele se activa y se queda ahí. Necesitas que se cierre de manera momentánea y ya...

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

      Yes, the program gives a small pulse just like you would by pressing the power button.

  • @varunkumaran2624
    @varunkumaran2624 3 роки тому +2

    Heyyy do we need a Alexa echo dot to control this or can we just control it using our Alexa app in our phone without any Alexa speaker?

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

      You can do it without the Alexa Echo (just with the app like you described) :-)

    • @varunkumaran2624
      @varunkumaran2624 3 роки тому +1

      Without the echo dot speaker the esp is not connecting with my Alexa app... It shows no devices found

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

      @@varunkumaran2624 When downloading the sketch to the ESP8266 open the serial monitor. Let me know if you get the signal the ESP8266 is connected to your Wifi network or not.

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

      @Varun Kumaran I plugged out all the Echo devices in my home to be sure and now I have the same issue (device not responding). So I'm guessing you need an alexa device that works like a hub. :-(

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

      @@seafoxc Yess, Echo dot is more than a bluetooth speaker.. anyway I love your idea of turning on your computer like Tony stark 👍🏻.. do more videos 😁

  • @LorneGiles
    @LorneGiles 3 роки тому +1

    That was an awesome video, thanks for sharing.
    Would this sort of thing work with Google Nest and that framework, or as far as you're aware just Alexa?

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

      I was not 100% sure so I searched a little bit around but the Arduino library Espelaxa.h only works with Alexa. I tried connecting a new device with the Google Home assist but it did not work. You can find a tutorial about switching lights on with an ESP8266 and Google Home and change the code that instead of changing the state of the lamp the Ouput pin is written Low, Delay of 2s, Output Written High (if it uses negative logic otherwise first high and then Low).

  • @nickhaugwitz8797
    @nickhaugwitz8797 2 роки тому +1

    But the relai should not work with a power source of 3.3V or am I wrong?

    • @seafoxc
      @seafoxc  2 роки тому +1

      This is a good question!👌 Yes, the nodeMCU (ESP8266) output is 3,6V and not 5V. But the 5V relay works also if the voltage is higher as 3V. I also linked the relay in the description.

    • @nickhaugwitz8797
      @nickhaugwitz8797 2 роки тому +1

      @@seafoxc I just bought relays that work with 3.3V or higher and they work perfectly.

  • @shando1987
    @shando1987 Рік тому +1

    Is it normal, while connecting to WiFi the relay to be on state OPEN and when connects to WiFi change its state to CLOSE? If the WiFi SSID is missing it remains in OPEN state? This could cause problem if there is power lose .

    • @seafoxc
      @seafoxc  Рік тому +1

      I will maybe revisit the software but when I disconnect my internet modem the computer keeps running (tested it just know to be sure). I use it now for every day for a couple of years and I don't have a lot of issues only when I turn on the power supply of the esp8266 (gives an on pulse). I also have the issue that after every couple of weeks (between 2-20weeks) Alexa can not find the device. I don't know if I can fix it in the Arduino code but I will look. If you have any improvements you can always share theme. I will test it and change the code for everybody to enjoy 🙂

    • @shando1987
      @shando1987 Рік тому

      @@seafoxc Can you turn ESP while the WiFi router is turned off and to check is relay in OPEN state or in CLOSED state?

  • @wendellglenn9371
    @wendellglenn9371 Рік тому

    Can i use the esp8266 without relay?directly connected to the motherboard?

    • @seafoxc
      @seafoxc  Рік тому

      No, the computer Voltage is 12V DC en the ESP works on 5V DC.

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

    But my device is not discovered to alexa. can any one help me

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

    how can I connect to y laptop

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

      You can not fit it in a laptop without serious modifications. If your laptop is stationary you can maybe use a stepper motor to press the physical button.