Last Updated:

Enhance iaqualink with Switch Control

S.C.O.R.E.ConvenienceDeviceControl

Overview

Integrating a switch platform into the iaqualink system allows users to control their pool equipment and related devices more efficiently. This capability enables seamless capability and remote control, enhancing convenience for homeowners managing their water features.

Convenience icon

Benefits

  • Easily control pool pumps and heaters remotely.
  • Automate pool equipment operation based on schedules or conditions.
  • Reduce manual intervention in managing pool and water features.

Intent

The purpose of this capability is to add switch functionality to the iaqualink integration, allowing users to automate the operation of their pool equipment. The outcome is a more efficient and convenient home capability experience for managing water features.

Preconditions

  • Home Assistant installed and configured.
  • Existing iaqualink integration set up.
  • Compatible switch devices available.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Nintendo Switch.

Actors

  • Homeowner managing pool equipment
  • Family members enjoying the pool
  • Guests utilizing pool facilities

Trigger

The capability is triggered by a scheduled time or a manual command from the Home Assistant interface.

Workflow Diagram

flowchart TD
    A[User Command] -->|check| B{{Is iaqualink Active?}}
    B -->|Yes| C[Execute Switch Control]
    C --> D[Control Pool Equipment]
    B -->|No| E[Notify User of Error]

Workflow Description

1. User Command Input

The homeowner selects a switch control command from the Home Assistant interface to manage the pool equipment.

2. Check iaqualink Status

The system checks if the iaqualink integration is currently active and responsive.

3. Execute Switch Control

If active, the system sends a command to engage or disengage the specified pool equipment.

4. Control Pool Equipment

The pool pump or heater operates according to the command, either starting or stopping as requested.

5. Notify User

The user receives a notification confirming the successful execution of the command or an error message if the command fails.

Postconditions

The relevant pool equipment is switched on or off as per the user’s command, and the homeowner receives confirmation of the action.

Optional Enhancements

  • Add scheduling options for automatic pool maintenance.
  • Integrate weather conditions to optimize pool heating.
  • Enable voice control through smart assistants.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Nintendo Parental ControlsNintendo Switch, RainMachine Version 2 (API 4.6.1)

Source Examples