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!
@@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)
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.
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
@@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.
@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. :-(
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?
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).
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.
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 .
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 🙂
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.
1:02 we have a man of culture I see ... it's a really big _c_ book
Would a esp8266 mini work for this? Or does it have to be the full sized esp8266?
Should work, as long as it has one output pin.
It would be interesting to also use the same thing for the reset button (in case the system freezes/crashes)
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!
@@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)
You might be able to hook a pro micro up to the esp and have Alexa type stuff into your computer via voice command
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.
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
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
Thankyou for the fast reply it's all working now I had it wired wrong in the terminal, thankyou :)
Let me know if you have any questions regarding this project. Or any suggestions?
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...
Yes, the program gives a small pulse just like you would by pressing the power button.
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?
You can do it without the Alexa Echo (just with the app like you described) :-)
Without the echo dot speaker the esp is not connecting with my Alexa app... It shows no devices found
@@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.
@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. :-(
@@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 😁
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?
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).
But the relai should not work with a power source of 3.3V or am I wrong?
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.
@@seafoxc I just bought relays that work with 3.3V or higher and they work perfectly.
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 .
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 🙂
@@seafoxc Can you turn ESP while the WiFi router is turned off and to check is relay in OPEN state or in CLOSED state?
Can i use the esp8266 without relay?directly connected to the motherboard?
No, the computer Voltage is 12V DC en the ESP works on 5V DC.
But my device is not discovered to alexa. can any one help me
how can I connect to y laptop
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.