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.
View Technical Architecture & Logic Flow (For Engineers & AI)
Operational Architecture:
- MikroTik
/tool netwatchexecutes 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
tinytuyato energize backup modems in priority sequence. - A dedicated monitoring daemon polls the MikroTik
ether2-isp2-ditointerface, 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.