Power Management & ESP32

Power Management & ESP32 Remote

To optimize power consumption, the server operates on a strict schedule controlled by a custom ESP32 hardware remote and automated triggers.

🎛️ Remote Access

Dashboard: https://remote.parthjain18.tech

Hardware: ESP32 wired directly into the server cabinet.

⏱️ Daily Power Schedule

The server runs in three distinct windows every day: 07:30 - 10:00, 12:00 - 14:00, and 18:00 - 00:00.

Action

Time

Trigger Mechanism

POWER ON

07:30 AM

Cloudflare Worker via ESP32

SHUTDOWN

10:00 AM

Root Cron (/sbin/shutdown -h now)

POWER ON

12:00 PM

Cloudflare Worker via ESP32

SHUTDOWN

02:00 PM

Root Cron (/sbin/shutdown -h now)

POWER ON

06:00 PM

Cloudflare Worker via ESP32

SHUTDOWN

12:00 AM

Root Cron (/sbin/shutdown -h now)

Note: If you need to keep the server awake outside these windows, ensure you suspend the root cron jobs, or use the caffeine bash alias (gnome-session-inhibit --inhibit idle sleep infinity), though a hard shutdown now command will typically override user-space inhibitors.