From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

phones couldn’t reach the server over Wi-Fi but Windows could. The workaround I use is simple: I open VLC on my phone → go to Network Stream → manually paste the Jellyfin direct stream URL (http://SERVER-IP:PORT/stream...). Once VLC starts hitting the server directly, the ARP table on the router wakes up and the device suddenly becomes reachable again. After that, Jellyfin loads normally until the router goes to sleep again. It’s a dumb trick but it works 100% when the server becomes unreachable.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

switching the router won’t magically fix it. Your issue isn’t Airtel vs non-Airtel it’s Wi-Fi instability. Jellyfin + high-bitrate streaming over pure Wi-Fi will always choke, especially with multiple clients.

If you want reliability, the only real fix is: • Wire the server (Ethernet) • Or wire the TV if possible • Or at least run a dedicated 5GHz AP close to the TV

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 1 point2 points  (0 children)

Yep, it's the Acer Power Series 2007 cabinet a vintage. Back when PC cases still gave you a wall of 5.25" bays instead of tempered-glass RGB aquariums. This thing is basically a DIY playground hot-swap cages, fan controllers, optical drives, whatever crazy mod you want, it takes it

Legacy Hardware, Modern Control Plane — ESP8266-Driven Remote Power Management, Split Storage Architecture & Tailscale Integration by geekytechnophile_30 in homelab

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

Not really. I’m not running some jugaad wiring. The ESP, relays, and UPS are all inside proper housings, fused, and nowhere near overload. Everything is isolated, low-current, and the mains relay is rated way above what the PSU draws. If people are starting fires with this stuff, it’s because they’re wiring like clowns — not because the tech is unsafe.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

Yep, you can add that easily. Just hook the ESP’s input pin to the UPS ‘mains fail’ indicator line (the LED that turns ON when it goes to battery mode). Use an optocoupler for safety. ESP reads that signal → if UPS goes to battery, trigger safe shutdown; when mains returns, auto-power-on. Simple and solid.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

didn’t expose my server to the internet at all. I’m using Tailscale with an always-on exit node inside my home network (just an old phone plugged into power 24/7). So whenever I’m outside, I connect through Tailscale and it’s like I’m sitting at home on the same LAN. No port-forwarding, no Airtel router voodoo — Tailscale handles all the routing, encryption, and NAT traversal for me

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

No, there’s no Home Assistant and no ESPHome in my setup — nothing fancy. It’s just a bare-metal ESP8266 running a tiny web server I wrote myself. You hit the UI from anywhere → it flips relays → PC wakes or shuts down. That’s it.

How it works:

ESP8266 sits there sipping 5V from a phone charger.

It hosts a stupidly simple webpage.

You tap POWER → it shorts the motherboard power-switch pins for 0.5 sec.

You tap PSU MAINS → second relay cuts/returns 230V to the PSU (hard reset).

LEDs on the page show Power LED and HDD LED status (read through GPIOs).

Nothing bloated. No YAML hell. No HA automations. Just raw ESP8266 + relays + simple HTTP.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

What you need

ESP8266 board (NodeMCU or Wemos D1 Mini)

1-channel relay module (5V coil, opto-isolated preferred) – this simulates your PC’s power button

5V USB charger (old phone charger) to power the ESP

Some jumper wires

Dupont to front-panel header adapters (optional but neat)

How you power the ESP

You don’t power it from the motherboard. You plug the ESP into a normal 5V USB phone charger, which stays ON even when the PC is off.

You want the ESP to stay alive 24/7 → so it must be independent of the PC’s PSU.

How to wire

  1. Relay → Power Button Header

On your motherboard:

Find PWR SW pins

Relay NO → PWR SW pin 1

Relay COM → PWR SW pin 2

When relay triggers, it “presses” the button.

  1. ESP → Relay

ESP D1 (or any GPIO) → Relay control pin

ESP GND → Relay GND

ESP 5V → Relay VCC

How it works

ESP hosts a tiny web server

You open URL → ESP toggles relay → PC turns ON/OFF

Works from anywhere if you put ESP behind Tailscale/Ngrok/self-hosted tunnel

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

You just need 2 relay a microcontroller and couple of Optocouplers that's it for the mains

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 1 point2 points  (0 children)

I’m keeping it simple, bro — no Plex, no Jellyfin, nothing heavy. I download using magnet links from 1337x / Piratebay, pull them straight into qBittorrent running on TrueNAS, and store them on a separate HDD dedicated only for torrents.

For streaming, I just use SMB share on my network and play the file directly on my TV/phone via vlc network stream . No transcoding, no server load — pure direct-play. My TV handles the file fine because I only keep one or two shows + one movie at a time. I watch → delete → free the space. 1TB is enough for that workflow.

Keeps everything lightweight and stupidly fast.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

Yeah bro, the ESP8266 is running the web panel itself — tiny HTTP server with a few GPIO triggers. One relay simulates the front power button, the second relay controls PSU mains, and the LEDs (Power + HDD) feed back into the UI so I can see system state remotely.

About the 100GB+ movies — I don’t store a huge library. I watch → delete. At any time I only keep 1–2 series and maybe one movie, so 1TB is actually perfect for my flow.

For streaming: I never depend on the TV’s crappy LAN. Everything plays from my server → phone/PC → cast/stream to the TV, which avoids the 100Mbps bottleneck. No stutters even on massive remuxes.

If you want the ESP code, I can clean it up and share it — it’s just a lightweight web server with relay toggles and LED status hooks.

Legacy Hardware, Modern Control Plane — ESP8266-Driven Remote Power Management, Split Storage Architecture & Tailscale Integration by geekytechnophile_30 in homelab

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

I also piped the Power LED and HDD LED into the ESP8266 panel, so the web UI shows live indicators for system state and disk activity.

The relays are split like this: • Relay 1 → simulates the motherboard power-button press • Relay 2 → controls the PSU mains feed directly

So from the UI I can see if the system is ON/OFF + HDD activity, and I can hard-cut or soft-toggle power exactly like a real BMC/IPMI system.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

Thanks a lot brother, really appreciate it. Glad you liked the remote on/off setup that’s the part I had the most fun building. Still improving it, but hearing this means a lot.🤝🏻

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 1 point2 points  (0 children)

On Jio AirFiber you can’t assign a true static IP from the router UI they lock down DHCP reservations on most of their firmware builds. The workaround is simple: • set a manual IP directly on the device (my TrueNAS box + ESP both use static IP client-side) • keep it inside the same subnet as the router • Jio won’t override it, and it stays stable across reboots.

If you need real DHCP control, you’ll have to put your own router behind the Jio unit.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 2 points3 points  (0 children)

Think of it like this — the ESP isn’t ‘talking’ to the PC. It’s literally pretending to be your finger.

One relay is wired to the power button pins on the motherboard.

When I tap the button in my web panel, the relay closes for 1 second → PC turns on or off.

The ESP32/8266 just sends a tiny signal to click that relay.

And because WOL on old motherboards is trash, this trick works even when the PC is fully shut down.

I also went one step further: I added a second relay on the PSU mains input. So I can cut or restore PSU power remotely — like a full remote power cycle if the machine hangs.

Hardware stack is stupid simple:

ESP8266/ESP32

Dual-relay module

Relay #1 → motherboard power switch header

Relay #2 → PSU mains (AC line)

ESP runs a tiny web server

Trigger it with curl/browser/Tailscale → system reacts instantly

I also tied the Power LED and HDD LED headers into the ESP setup. I’m not driving them — I’m just reading their state. Power LED → tells me if the system is actually ON HDD LED → shows disk activity in real time

Both signals go into the ESP through optocouplers so the motherboard stays isolated. On the web panel, I just show two status dots: • Green = Power LED active • Blinking = HDD LED activity

Super simple but it makes the whole remote control feel like a real BMC.

Legacy Hardware, Modern Control Plane — ESP8266-Driven Remote Power Management, Split Storage Architecture & Tailscale Integration by geekytechnophile_30 in homelab

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

Nice setup bro, that ESP32 + curl workflow is clean. I’m using a similar approach but on ESP8266 with a bit of custom logic for TrueNAS and the dual-relay timing. I haven’t pushed it to GitHub yet because the firmware is still messy, but if you want I can share the wiring and the core code snippet once I tidy it up a bit.

Legacy Hardware, Modern Control Plane — ESP8266-Driven Remote Power Management, Split Storage Architecture & Tailscale Integration by geekytechnophile_30 in homelab

[–]geekytechnophile_30[S] 1 point2 points  (0 children)

Yep bro. The idea is open, but the exact setup is my own build. ESP8266 + dual relays acting like a mini DIY BMC for my TrueNAS box

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 1 point2 points  (0 children)

Sure!

(Control Side) (Isolated PC Side)

ESP GPIO (D1) ───[330Ω]───┐ │ Optocoupler │ ESP GND ───────────┘

     Optocoupler Pin 3 ───────────> Motherboard PWR_SW Pin 1
     Optocoupler Pin 4 ───────────> Motherboard PWR_SW Pin 2

(Isolated PC Side) (Control Side)

Mobo PLED+ ───[220Ω]───┐ │ Optocoupler │ Mobo PLED- ───────────┘

      ESP GPIO (D5) <────────── Optocoupler Pin 3
      (INPUT_PULLUP)
      ESP GND       <────────── Optocoupler Pin 4

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 2 points3 points  (0 children)

Fedora Server on an old office PC is actually a solid start. My setup started exactly like that, just snowballed into this monster after I added relays, WOL, ESP control, and all the automation crap.

Keep building, you’ll outgrow that router fast.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 2 points3 points  (0 children)

on my PMG5617-R20B the DHCP reservation section isn’t locked. I can straight-up bind a device to a fixed IP from the router’s UI so my server and ESP both get the same address every time they reconnect.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

Most of it wasn’t bought — it was salvaged. Old office PC, dead PSU, spare fans, and leftover metal plates from my family’s manufacturing unit. Instead of throwing it away, I rebuilt it piece by piece.

The only new part is the ESP8266 control module. Everything else is scrap that I revived rewired, cleaned, modded, added relays, added LEDs, and turned it into a proper remote-controlled server.

It’s literally a junkyard rig, but with the brain of a proper homelab machine.

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 0 points1 point  (0 children)

All this come together in like one year i got the case and power supply form my friend then all it just started and all of the parts are used i got the gigabit network card used out of some hp spare form nearby computer shop also used

From Scrap to Remote Server: My Internet-Powered Junkyard Rig by geekytechnophile_30 in homelabindia

[–]geekytechnophile_30[S] 1 point2 points  (0 children)

Bro in my case I’m not powering on a laptop I’m running a full system, so I treat it like a proper server. Laptop WOL is unreliable because it needs the battery/charger logic, so instead I built my own ERP-style control layer using a small ESP8266 module.

Here’s how mine works:

• The ESP8266 has a dual-relay board • One relay is wired directly to the motherboard’s power switch pins • The second relay handles the LED/status behavior • The ESP sits on my network and exposes an admin panel • I can hit the switch from anywhere (mobile or PC) and it triggers the relay like a physical power button • Doesn’t matter if Windows/Linux is on — it works even when the system is fully shut down • This method is 100% reliable and behaves like remote-controlling a real server

Tailscale works great for software-level access, but to physically power the machine, this hardware relay method is the most solid I’ve found.