Pool water overflow detection

I want to monitor for when my pool water level is nearing overflow level and I need to trigger my SONOoff the watervalve (SMV).

Aqara Water Leak Sensor, Zigbee:
Sensor: Amazon.com: Aqara Water Leak Sensor, Zigbee Wireless Water Leak Detector for Alarm System and Smart Home Automation, Requires AQARA HUB, App Notifications, for Kitchen, Bathroom, Basement, Works with IFTTT : Everything Else

The sensor will get affixed to the underside of the skimmer box cover at optimal level, using spacer with proper adhesive, to detect when water is within 0.5 inch of coping.

I also use this custom confirmation.yaml template to change the dry/wet sensor values to good/high.

  - sensor:
      - name: "Pool Water Level Status"
        unique_id: pool_water_level_status
        state: >
          {% if is_state('binary_sensor.pool_water_level_sensor', 'on') %}
            High
          {% elif is_state('binary_sensor.pool_water_level_sensor', 'off') %}
            Normal
          {% else %}
            {{ states('binary_sensor.pool_water_level_sensor') }}
          {% endif %}

Anyone have a similar solution to share for accomplishing the same goal?

Another option (Floater switch + valve)

triggers:
  - entity_id:
      - binary_sensor.devboard8_switch2
    to: "off"
    for:
      hours: 0
      minutes: 1
      seconds: 0
    trigger: state
actions:
  - target:
      entity_id: switch.devboard10_relay2
    data: {}
    action: switch.turn_on

triggers:
  - entity_id:
      - binary_sensor.devboard8_switch2
    to: "on"
    enabled: true
    trigger: state
actions:
  - delay:
      hours: 0
      minutes: 30
      seconds: 0
      milliseconds: 0
  - target:
      entity_id: switch.devboard10_relay2
    data: {}
    action: switch.turn_off



1 Like

I’m trying to figure out how to best mount the water level sensor underneath my skimmer box cover.
I’m envisioning something like a small shallow tupperware container that has a threaded lid. I would gluing or screw the lid to the underside of the skimmer cover, then placing the water level sensor would sit in the container, and the container would have holes drill through it. Then threading it on so it suspends above a normal water line and fills with water to activate the sensor if the water level gets high.

Anyone have a better idea?

I ended up putting the sensor in a shallow Chinese food plastic container, drilled holes in it, and then used a rubber grommet and suspended it from the top of the inside skimmer box cover. If the water gets within 1 inch or less from my coping, the water will seep into the container and Trigger the sensor.
A little dirtier then I would have liked, but it’s the first version of this fabrication LOL