Last Updated:

SwitchBot Bluetooth Integration for Water Leak Detection

S.C.O.R.E.SafetySecurity

Overview

The integration of the SwitchBot Water Leak Detector with Bluetooth allows homeowners to monitor for potential water leaks in real-time. This capability enhances home safety by enabling immediate alerts, minimizing water damage and associated costs.

Safety icon

Benefits

  • Instant notifications sent to smartphones when a leak is detected, allowing for swift action.
  • Integration with relay switches enables automatic shut-off of water supply to prevent flooding.
  • Increased peace of mind for homeowners, especially those with basements or older plumbing systems.

Intent

The purpose of this capability is to provide real-time monitoring and alerting for water leaks in the home. It ensures that homeowners can respond quickly to potential water damage, preserving their property and belongings.

Preconditions

  • SwitchBot Water Leak Detector installed in areas prone to leaks.
  • SwitchBot relay switch connected to the water supply line.
  • Home Assistant configured to integrate with SwitchBot Bluetooth devices.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: RainMachine Version 2 (API 4.6.1).

Actors

  • Homeowner monitoring home safety
  • Family member receiving alerts on their smartphone
  • Elderly parent who needs assistance in case of a leak

Trigger

The capability is triggered when the SwitchBot Water Leak Detector senses moisture and sends a signal via Bluetooth.

Workflow Diagram

flowchart TD
    A[Water Leak Detected] -->|send alert| B{User Notification?}
    B -->|Yes| C[Notify Homeowner]
    C --> D[Leak Location Alert]
    B -->|No| E[Exit]

Workflow Description

1. Leak Detection

The SwitchBot Water Leak Detector senses moisture and detects a potential leak.

2. Alert Triggered

Upon detecting a leak, the device sends a Bluetooth signal to the Home Assistant system.

3. User Notification

Home Assistant processes the alert and notifies the homeowner through a smartphone notification.

4. Automatic Shut-off

If configured, the relay switch is triggered to shut off the water supply to prevent flooding.

5. Follow-Up Actions

The homeowner can take further actions based on the alert, such as investigating or contacting a plumber.

Postconditions

After the capability completes, the homeowner is informed of the leak, and necessary actions can be taken to prevent water damage.

Optional Enhancements

  • Integrate with a home capability system to provide visual alerts through smart displays.
  • Add voice notifications via smart speakers when a leak is detected.
  • Create a maintenance schedule for regular checks of the water supply and detectors.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Nintendo Parental ControlsRainMachine Version 2 (API 4.6.1), Rainmachine Mini

Source Examples