I've created an HTML document that serves as a comprehensive technical brief for your seastead's smartphone-based man-overboard (MOB) safety system. It covers the grim statistics that motivate the design, explains why your vessel's trimaran-like stability is inherently safer, and then deep-dives into the software logicβ€”using Bluetooth/Wi-Fi heartbeat monitoring alongside the clever "water blocks 2.4 GHz" instant-cutoff trick. The page also compares existing commercial solutions, discusses battery life and false-alarm safeguards, and explores how AI tools like Cursor or Claude Code can build the open-source app and server components. ```html Man Overboard Smartphone Detection System β€” Seastead Safety Analysis
πŸŒŠπŸ“±πŸ›Ÿ

Man Overboard Smartphone Detection

An open-source, phone-based safety system for seasteads & family yachts β€”
leveraging devices already in every pocket

Seastead Design Safety Analysis

1. The MOB Problem by the Numbers

In many family yachts, if a person falls overboard there is nearly a 50% chance it results in death. This staggering statistic arises from several compounding factors:

~50%
Fatality rate for MOB events on family yachts
200+
Annual MOB deaths in US waters alone (recreational)
~600
Total US boating fatalities per year (USCG 2023)
<2 min
Critical window for recovery in cold water
⚠️ The Core Insight: The single biggest factor in MOB survival is time to detection. Shaving even 30 seconds off the alarm time dramatically increases survival probability. The proposed smartphone system aims to reduce detection time to under 3–6 seconds.

2. Why the Seastead Is Inherently Safer

The seastead design (large triangular truss living area atop three NACA 0030 foil-shaped legs) offers several intrinsic safety advantages over conventional monohull sailboats or power cruisers:

Factor Conventional Yacht Seastead
Stability Rolls & pitches significantly; deck movement is constant Small waterline area + wide trimaran stance = very soft ride; minimal deck movement
Need to go outside Sail adjustments, line handling, anchoring require frequent deck movement Enclosed living area; no sails to tend; minimal outside exposure required
Stopping ability Long stopping distance under sail; even under power, significant momentum 6 RIM drive thrusters (1.5 ft diameter) on three legs enable rapid stopping & reversing
Fall height Deck typically 3–5 ft above water; lifelines may be low Living area ~7 ft above water on truss structure; enclosed with glass
Recovery Often requires deploying a ladder, lifting sling, or crew assistance Built-in ladders on top half of each leg; swim-to-ladder recovery possible even solo
Dinghy obstruction Dinghy often on davits aft; can complicate MOB recovery 14 ft RIB shielded behind living area when underway; two aft decks provide recovery platforms
βœ… Key Takeaway: The seastead's design already reduces MOB probability significantly. The smartphone system addresses the remaining risk β€” and does so at near-zero hardware cost.

3. The Smartphone MOB Detection System β€” How It Works

The core idea is remarkably simple: every person on board already carries a smartphone. These phones have Bluetooth, WiFi, accelerometers, and GPS. An app running in the background maintains a continuous "heartbeat" connection to a base station computer on the vessel. If the heartbeat stops β€” because the person (and their phone) went overboard and the signal was instantly blocked by water β€” the system escalates through a rapid sequence of alarms and automated responses.

3.1 Heartbeat Protocol

3.2 The "Water Blocks 2.4 GHz" Phenomenon

πŸ’‘ The Brilliant Physics: Water is highly opaque to 2.4 GHz frequencies (the band used by both Bluetooth and WiFi). The moment a phone submerges β€” even just a few inches β€” the signal is instantly and completely blocked. You don't have to wait for the device to float out of range. Submersion itself triggers the break. This is a far more reliable trigger than range-based disconnection, which can vary with antenna orientation and interference.

3.3 Escalation Timeline

T+0s β€” Person falls overboard. Phone submerges. 2.4 GHz signal instantly blocked.
T+1s β€” Base station misses first expected heartbeat.
T+2s β€” Second missed heartbeat. Base station attempts active ping to phone (WiFi + BLE).
T+3s β€” Third missed heartbeat. Audible alarm sounds on vessel. Crew alerted.
T+4–6s β€” Base station commands thrusters to full stop / reverse. Vessel begins returning to last known GPS position.
T+6s β€” If still no heartbeat, full MOB protocol engages: automated mayday/DSC call, MOB waypoint set on chartplotter, strobe lights activated (if equipped), and continuous audible alarm.

3.4 Optional: Accelerometer-Based "Zero-G" Detection

The phone's built-in accelerometer can detect the moment of free-fall when a person goes overboard. A "zero-G event" message can be sent before the phone even hits the water, recording the exact time and GPS location of the fall. However:

3.5 Handling False Alarms Gracefully

A system that cries wolf will be disabled or ignored. The design must be robust against common failure modes:

Scenario System Response
Single packet loss Ignored. Base station waits for 3 consecutive misses before escalating.
Phone temporarily out of BLE range (e.g., far end of vessel) App auto-falls-back to WiFi. If both fail, active ping initiated before alarm.
Phone battery dies App sends "low battery" warning at 5%. If phone dies, alarm triggers β€” this is acceptable as the user should have charged their phone. App enforces charging discipline via notifications.
User goes below deck (signal attenuation) Base station learns "safe zones" where signal is weaker. Multiple antenna nodes (mesh) can be deployed on larger vessels.
App put to sleep by OS User must whitelist the app (disable battery optimization). App provides clear onboarding instructions for iOS & Android.

4. Technical Considerations & Battery Life Analysis

4.1 Bluetooth vs. WiFi β€” Power Consumption

Radio Typical Range Power per Ping Idle Current Suitable for
BLE (Bluetooth Low Energy) 30–100 ft (10–30 m) open air ~0.01–0.05 mAh per advertisement ~1–3 mA Primary heartbeat; excellent battery life
WiFi (2.4 GHz) 150–300 ft (45–90 m) with good AP ~1–5 mAh per transmission ~10–50 mA active Fallback when BLE out of range; higher drain
GPS (phone) N/A (satellite) ~30–50 mA continuous N/A Only when actively needed; base station handles position logging

4.2 Estimated Daily Battery Impact

With BLE heartbeat at 1 Hz and the app properly optimized (using platform-native background services):

For comparison, streaming 30 minutes of video uses far more battery than this app would in an entire day of heartbeat-only operation.

4.3 Preventing the OS from Killing the App

Both iOS and Android aggressively manage background apps to save battery. The app must guide users through:

Yes, users can absolutely set "never put this app to sleep" β€” it's a standard setting on both platforms, though the exact path varies by manufacturer (Samsung, Xiaomi, etc. have additional steps).

4.4 Optional: Door Sensor Hardware

An optional magnetic door sensor on exterior doors can detect when someone exits without a phone nearby. If a door opens and no recognized phone is within 10 feet, an alarm sounds. This is extra hardware but provides defense-in-depth for forgetful users. Cost: ~$15–30 for a Zigbee/Z-Wave door sensor integrated with the base station.

5. Can AI Build This? Development Feasibility

The short answer: Yes, absolutely. This is well within the capabilities of current AI coding tools. The system consists of two straightforward components:

5.1 What Needs to Be Built

Component Technology Complexity AI Can Handle?
Mobile App (iOS + Android) React Native / Flutter / or native Swift + Kotlin Medium βœ… Yes
Base Station Server Python (Flask/FastAPI) or Node.js; runs on Raspberry Pi or onboard computer Low–Medium βœ… Yes
BLE Heartbeat Protocol Platform BLE APIs; simple advertisement/listener pattern Low βœ… Yes
Dashboard UI Web-based (React/Vue) showing all connected devices on a vessel map Low βœ… Yes
NMEA 2000 / Signal K Integration For auto-stop, MOB waypoint, and thruster control Medium ⚠️ Partial

5.2 Recommended AI Tools

// Pseudocode: Heartbeat listener on base station (Python)
import asyncio, time
from collections import defaultdict

last_heartbeat = defaultdict(lambda: time.time())
MOB_THRESHOLD = 3.0 # seconds

async def check_heartbeats():
    while True:
        now = time.time()
        for device_id, last in last_heartbeat.items():
            if now - last > MOB_THRESHOLD:
                trigger_mob_alarm(device_id, last)
        await asyncio.sleep(0.5)

5.3 How Hard Is It to Get Started Now?

Compared to the "very painful" Java phone app days, the landscape has transformed completely:

βœ… Bottom Line: This is an ideal AI-assisted project. The scope is small, the technologies are mainstream, and the core logic is simple. AI tools like Cursor or Claude Code can write 80–90% of the code. A human developer is needed primarily for integration testing, Bluetooth edge cases, and the NMEA/Signal K marine electronics integration.

6. Existing MOB Detection Systems β€” Comparison

Several commercial systems already exist. The proposed smartphone approach is not entirely novel, but the open-source, zero-hardware-cost, water-signal-blocking-trigger combination is distinctive:

System Type Hardware Required Cost Detection Method Auto-Stop Open Source
ACR OLAS Bluetooth tag + phone app Dedicated OLAS tag or phone $150–300 BLE signal loss ⚠️ Optional βœ—
Fell Marine MOB+ Bluetooth kill switch Wearable fob + base unit $200–400 BLE signal loss; engine cut βœ… Yes βœ—
SafeTrx (RYA) Phone app + cloud Smartphone only Free GPS track; manual check-in βœ— βœ—
Apple Watch Wearable Apple Watch ($400+) $400+ Fall detection + water lock βœ— βœ—
Ocean Signal MOB1 AIS/DSC beacon Dedicated beacon device $300–400 Manual activation or auto-inflate βœ— βœ—
Garmin inReach Satellite messenger Dedicated device + subscription $300 + $15/mo Manual SOS; satellite tracking βœ— βœ—
πŸ†• Proposed System Phone app + base station Smartphone (already owned) $0 BLE/WiFi heartbeat + water signal block βœ… Yes (with integration) βœ… Yes

6.1 What's Different About the Proposed System?

7. Issues, Edge Cases & What to Be Careful About

No safety system is foolproof. Here are the critical considerations when deploying a phone-based MOB system:

7.1 False Alarm Management

7.2 Phone Reliability

7.3 Privacy Considerations

7.4 Environmental Edge Cases

7.5 Legal & Liability

⚠️ Key Design Principle: The system should never silence a real alarm in an attempt to reduce false alarms. It's better to have one false alarm per month than to miss a real MOB event. Design the escalation so that false alarms are annoying but not dangerous β€” and real alarms are impossible to ignore.

8. Can Existing Yachts Use This Today?

Yes. The majority of family yachts already have:

For yachts without integrated autopilot/thruster control, the base station can still:

For the seastead specifically, the integration goes further β€” the base station can directly command the RIM drive thrusters for automated stop-and-return, making it viable even for solo operation.

🎯 The Vision: A free, open-source app that any yacht owner can download. The base station software runs on a $50 Raspberry Pi. Total cost: $0–50. Lives saved: potentially dozens per year if widely adopted. This could be built now, before the seastead is even constructed β€” and it would already make existing yachting dramatically safer.

9. Summary & Next Steps

Aspect Assessment
Problem severity ~50% MOB fatality rate on family yachts; 200+ deaths/year in US alone
Proposed solution Smartphone app with BLE/WiFi heartbeat + water-signal-block detection
Hardware cost $0 (uses existing phones); optional $50 Raspberry Pi base station
Development effort ~2–4 weeks with AI assistance for a polished v1.0
Battery impact ~3–10% additional daily drain (acceptable for most users)
False alarm risk Manageable with 3-second grace period, active re-ping, and geofencing
Existing alternatives Several commercial systems exist ($150–400); none are open-source or zero-cost
Seastead integration Auto-stop + return via RIM drive thrusters; built-in leg ladders for solo recovery
Adoptability Any yacht with WiFi and a basic computer can run this today

Recommended Next Steps

  1. Spec out the protocol: Define the exact BLE advertisement format, heartbeat interval, and escalation logic in a formal spec document.
  2. Scaffold with AI: Use Cursor or Claude Code to generate the React Native app skeleton + FastAPI server in a single session.
  3. Test the water-block physics: Submerge a phone running a BLE beacon in a bucket of saltwater; measure signal cutoff time with a BLE scanner. Validate the core premise.
  4. Build a Raspberry Pi test rig: Deploy the base station on a Pi with a USB BLE dongle and test with 2–4 phones in a simulated vessel environment.
  5. Open-source release: Publish on GitHub with clear documentation. The marine community is highly collaborative β€” this could gain traction quickly.
  6. Seastead integration testing: Once the seastead is built, integrate with the RIM drive thruster controllers for full auto-stop-and-return functionality.
πŸ”— Final Thought: This is a rare opportunity where the right solution costs almost nothing, leverages devices already in every pocket, and can be built rapidly with modern AI tools. The open-source model means it can be audited for safety, improved by the community, and adopted worldwide. There's no reason to wait β€” the prototype could be running within weeks, saving lives long before the seastead touches water.
```