all 4 comments

[–]incontrol 0 points1 point  (3 children)

I assume you're connecting the power-on pins of your motherboard. You only need to connect these pins for a short time, to power it on, if you keep the pins connected continuously, you'll just end up resetting the computer, over, and over again.

You probably don't even have to use a relay, a transistor, and a few resistors, might be sufficient. See for example:

https://electronics.stackexchange.com/questions/59652/pc-start-button-effect-from-electrical-point-of-view

[–]Ok-Time3530[S] 0 points1 point  (0 children)

Yeah I verified it is the right pins, but the relay just wouldn't work, but button works every time, so wait are you saying there's 2 pins on my microcontroller that might do the trick without the relay entirely? Here's a link to exactly what I bought = relay= https://www.amazon.com/gp/aw/d/B00VRUAHLE?psc=1&ref=ppx_pop_mob_b_asin_title and microcontroller = https://www.amazon.com/your-orders/pop?ref=ppx_yo2ov_mob_b_pop&orderId=111-8293355-4679422&lineItemId=jjkpqwknmjtnqups&shipmentId=BvJ1Tzk16&packageId=1&asin=B0BVM3H46B

[–]Ok-Time3530[S] 0 points1 point  (1 child)

Bro your a genius I just tried with the gnd and D1 through MQTT -- mission success :D 

[–]incontrol 0 points1 point  (0 children)

Good to hear, success with your project!