Practical Infrastructure & Automation

Hi, I'm Rey. I build reliable internet, power & automation systems that just work.

I help businesses, rental spaces, and home setups fix real everyday headaches: backup internet connections that only turn on when needed, battery backups that switch over seamlessly with zero reboots, and solar systems that manage their own cooling.

How I Can Help You

Clean, tested setups for people and businesses who can't afford unexpected downtime.

Uninterrupted Internet

Keep your office or rental online automatically. If your main fiber line lags or drops, your backup line powers up and swaps traffic over cleanly without touching a cable.

Zero-Drop Battery Power

Replace noisy, short-lived UPS boxes with direct DC battery setups that keep your routers and servers running smoothly through power blinks and brownouts.

Smart Energy & Alerts

Put your solar power to good use. Automatically run heavy appliances during peak sun, keep inverters cool before they overheat, and receive spoken voice alerts for emergencies.

Working Real-World Builds

These are systems I built and operate 24/7 on physical hardware.

MULTI-CARRIER INTERNET • BILL SAVER • SMART SWITCHING
Smart Multi-Internet Failover with Zero Standby Waste

The Real Problem: Keeping backup LTE/5G modems powered on 24/7 wastes electricity and quietly burns through your monthly data allowance before an outage even happens.

The Solution: The router monitors internet quality continuously. If the primary fiber line drops, it automatically powers on the backup modems, swaps traffic over, limits heavy bandwidth hogs to save data, and powers the modems back down once fiber recovers.

Currently running across PLDT Fiber, DITO 5G/LTE, and Converge connections.
View Technical Architecture & Logic Flow (For Engineers & AI)

Operational Architecture:

  • MikroTik /tool netwatch executes recursive ICMP probes against public DNS anchors (1.1.1.1) to monitor RTT average, jitter, and packet loss.
  • On degradation, RouterOS triggers a local HTTP payload (/tool fetch) to a Flask daemon running inside Docker on an Orange Pi Zero 3.
  • The daemon bypasses cloud servers, opening direct raw sockets on LAN port 6668 via tinytuya to energize backup modems in priority sequence.
  • A dedicated monitoring daemon polls the MikroTik ether2-isp2-dito interface, tracking cumulative hardware byte deltas across router reboots and deducting usage from an allocated budget with spoken audio alerts.
  • Hotspot user profiles switch dynamically to restrict high-bandwidth consumers while running on cellular standby.
[ PLDT Fiber: WAN1 ] ──> [ Netwatch ICMP Probe (1.1.1.1) ] ──(Degradation)──> [ /tool fetch HTTP ] │ ▼ [ Secondary: DITO ] <── [ Local Tuya Switch (Port 6668) ] <── [ Orange Pi Flask Daemon ] [ Tertiary: Converge ] <── [ Local Tuya Switch (Port 6668) ] │ ▼ [ DITO Hardware Bytes Poller ] ──(ether2-isp2-dito)──> [ Budget Ledger & Voice Reminder Loop ]
SOLID-STATE DC UPS • 24V LIFEPO4 • ZERO REBOOTS
Direct-DC Battery Backup for Network Racks

The Real Problem: Consumer UPS units often die within 1–2 years, beep loudly, waste energy converting back and forth between DC and AC, and sometimes switch too slowly, rebooting sensitive routers.

The Solution: A direct 24V 100Ah LiFePO4 battery setup using ideal diodes. During power flickers or outages, battery power engages instantly with zero delay, keeping routers and servers up for hours without a reboot.

Automated charging and battery health tracked via custom ESP32 firmware ("James Watt").
View Electrical Architecture & Telemetry Loop (For Engineers & AI)

Power Architecture & Protection:

  • Paralleled a 24V regulated AC mains supply with a 24V 100Ah LiFePO4 battery pack using high-current Ideal Diode OR-ing modules, delivering sub-millisecond bus transfer without inverter losses.
  • Equipped the rail with low-ESR capacitor buffer stages and NTC thermistor jacks to suppress severe inductive inrush spikes from step-down regulators.
  • Engineered custom ESP32 firmware ("James Watt") polling cell voltages, current, temperature, and SOC, streaming real-time telemetry to the edge controller's /bms/update endpoint.
  • The daemon manages Relay 5 in dual modes: countdown timer or real-time voltage/SOC cutoffs (28.5V or 85% SOC), with scheduled automatic charging windows between 09:00 and 15:00.
[ 24V AC Mains Supply ] ──> [ Ideal Diode ] ──┐ ├──> [ NTC Inrush / Cap Bank ] ──> [ Buck Bus: 12V/9V/5V ] [ 24V 100Ah LiFePO4 ] ──> [ Ideal Diode ] ──┘ │ │ ▼ [ ESP32 "James Watt" Telemetry ] ──> [ Relay 5 / Hysteresis ] [ MikroTik, OPi, NAS, APs ]
8KW SOLAR • AUTO COOLING • ACTIVE PROTECTION
Smart Solar Telemetry & Automatic Inverter Cooling

The Real Problem: Solar inverters generate significant heat during peak midday production, which reduces efficiency and shortens hardware lifespan.

The Solution: Live monitoring checks inverter core temperature every 5 minutes. The moment it reaches 50°C, external cooling fans switch on automatically over local Wi-Fi, cooling the unit back to safe levels before shutting off.

Integrated with an 8kW GoodWe hybrid inverter and a 32kWh battery bank.
View Telemetry Architecture & Thermal Escalation (For Engineers & AI)

Systems Integration & Logic:

  • Background thread communicates via DirectSEMS every 300 seconds, capturing PV string voltages (PV1/PV2), battery charge/discharge rates, SOH, and core temperatures.
  • Calculates dynamic battery time-to-depletion (down to 21% safety reserve) and time-to-full-charge, rendering 24-hour historical curves via Chart.js.
  • Automated Active Inverter Cooling: Monitor polls inverter core temperature; upon hitting ≥ 50°C, it triggers a Tuya smart plug over LAN to energize cooling fans, maintaining a 10-minute hold and shutting down at ≤ 40°C.
  • Two-Tier Escalation: Warning alerts dispatch at 55°C (Inverter) and 45°C (BMS). Critical alarms (sirens + Pushover priority dispatch) trigger at 65°C and 52°C.
  • Orange Pi CPU thermal bounds are regulated via Hardware Relay 7 driving a dedicated SBC cooling fan.
VOICE ALERTS • SMOKE & EARTHQUAKE DETECTION
Smart Voice Announcements & Emergency Sirens

The Real Problem: Phone push notifications are easily missed during emergencies, while generic beeping alarms don't tell you where the hazard is.

The Solution: A central speaker announces operational events in a natural voice ("Internet restored to full speed", "Battery at 25%"), silences routine notices at night, and sounds room-specific evacuation sirens if smoke or seismic vibrations are detected.

Features dual smoke alarm sensors (Kitchen & Living Room) with local offline fail-safe logic.
View Emergency Sequence & Audio Topology (For Engineers & AI)

Safety Integration:

  • High-fidelity neural voice synthesis driven by edge-tts using the Philippine English en-PH-RosaNeural model (with automatic gTTS fallback) played directly to a hardware speaker via mpg123.
  • Mute schedule matrix attenuates or silences routine solar milestone and utility announcements during night-time sleeping hours.
  • Android seismic sensors dispatch HTTP payloads to /api/webhook/earthquake with debounce protection, activating continuous emergency sirens.
  • Hybrid Smoke Detection: Checks cloud status instantly; if the WAN is offline, it falls back to a 14-second LAN ping persistence check. Confirmed events initiate a 3-stage sequence: an initial 2-second burst, a spoken room-specific evacuation warning, and a 60-second continuous evacuation siren.
MULTI-BRANCH WI-FI • AUTO SYNC • FAST LOCAL STORAGE
Multi-Location Wi-Fi Roaming & Private Cloud Storage

The Real Problem: Managing Wi-Fi codes across multiple locations usually requires expensive enterprise software or tedious manual voucher re-entry.

The Solution: Branch routers synchronize user accounts automatically over an encrypted mesh network. Users authorized at one location can log in at the second branch without re-registering, all paired with high-speed local cloud storage for files and media.

Runs on 2.5Gbps core networking with zero monthly SaaS subscription costs.
View Enterprise Storage & Cross-Site Mesh Topology (For Engineers & AI)

Systems Architecture:

  • High-throughput 2.5Gbps switching fabric handles internal routing for high-volume storage, database writes, and Wi-Fi 7 handoffs via Ruijie EW5000 Pro APs.
  • Docker container microservices (Immich photo sync, Jellyfin streaming, and the Redtop Boarding House tenant billing ledger) exposed via Cloudflare Zero-Trust Tunnels.
  • Integrated Jellyfin Quick Connect authorization bridge allowing family and tenants to pair TV apps using 6-digit codes directly from the local dashboard.
  • Bidirectional Python sync daemon linking Home and Redtop branches over Tailscale WireGuard mesh, querying RouterOS user directories and reconciling credentials.
  • Dedicated 3D printing station with a Tapo C100 RTSP camera feed and automated 1080p timelapse capture via ffmpeg with slicer-coordinated auto-stop timers.

Turnkey Hardware Builds

Custom-built micro-controllers housed in durable 3D-printed PETG enclosures.

TURNKEY BOX

Failover Orchestrator Node

A plug-and-play micro-server configured to monitor your internet and trigger your backup modems automatically.

• Enclosure: Ventilated PETG Wall/DIN Mount
• OS: Hardened Armbian Minimal + Docker
• Includes: Pre-paired local LAN smart relay
TURNKEY BOX

Secure Multi-Site Bridge

Drop this node into any branch location to connect your offices securely and block malicious network ads.

• Enclosure: Low-profile passive-cooling PETG
• Features: Zero-Trust Mesh + Ad-blocking DNS
• Interface: Gigabit Ethernet + Static Binding
CUSTOM BUILD

Direct-DC Battery Monitor

Monitors voltage, temperature, and battery charge status with built-in relay cutoffs for safe battery operation.

• Enclosure: Industrial terminal breakout housing
• Core: ESP32 REST/MQTT Telemetry Controller
• Protection: Optocoupled relay trigger channels

Got Questions?

A few quick details about what I do and how I work.

What kinds of projects do you take on?
I specialize in fixing connection and hardware headaches: setting up reliable multi-WAN internet failovers (so work never stops when an ISP cuts out), installing clean DC battery backups for networking equipment, automating solar/battery power loads, and deploying private self-hosted business servers.
How does the automatic internet failover save money?
Most backup internet setups keep cellular modems running 24/7, which drains power and uses up data quietly in the background. My setup keeps backup modems physically powered off until the main connection degrades or fails, saving power and data while preventing downtime.
Can you ship ready-to-use hardware?
Yes. I design custom 3D-printed PETG cases and assemble turnkey appliances (like failover controllers or multi-site network nodes) pre-configured with software so they only need power and Ethernet to start working.
Want to hire Rey or discuss a setup?
You can hire me directly through Upwork for contract milestones, or message me directly on WhatsApp or email with your setup details. I'm always open to discussing custom builds.

Let's Talk About Your Setup

Whether you need an automatic internet failover system, a clean battery backup build, or private self-hosted infrastructure, feel free to reach out.