pyupm_water module

class pyupm_water.Water(pin)[source]

Bases: object

API for the Water Sensor.

ID: water

Name: Water Detection Sensor

Category: liquid

Manufacturer: seeed

Connection: gpio

Kit: eak UPM module for the Water sensor

C++ includes: water.hpp

isWet()[source]

bool isWet()

Gets the water (wet/not wet) value from the sensor

True if the sensor is wet, false otherwise