In Memorial: Relay Setup

The Telegram bot’s inline keyboard: ON, RESET, Restart, 30 Mins. The case behind it is the machine being woken.
This is a working setup of waking up pc over internet. it works like this: using telegram bot we can send the command to the D1 mini. D1 mini then trigger the the relay and waking up the pc to the power pin on the motherboard.
the setup was easy and not much hassle because it’s literally clicking the motherboard directly. but the disadvantages is that it takes a little time to send the command over the telegram bot to the d1 mini, this is due to the infrastructure of the telegram bot:
send message from telegram -> telegram bot (some kind of server) -> device.
telegram bot will take the command as queue and waiting the device to take it. this mean the device will periodically checks the server and will execute it if there is any commands.
another disadvantage is that it takes my pc button away because it occupies the pin.
but this setup is then replaced with literally Phillips Smart Plug (wiz). that was way more convenient to setup, but there is a possibility to mistakenly turn off the pc, because the concept is not waking up the pc like the relay, but literally turning the pc on through smart plug

The whole rig: a Wemos D1 mini on the right, a single-channel relay module above it, jumper wires out to the motherboard’s power pin.

The breadboard end of the same wiring, closer up.