pyupm_grovewater module

class pyupm_grovewater.GroveWater(pin)[source]

Bases: object

API for the Grove Water Sensor.

Deprecated This class is being replaced by Water

ID: grovewater

Name: Water Sensor

Category: liquid

Manufacturer: seeed

Connection: gpio

Kit: eak UPM module for the Grove Water sensor

C++ includes: grovewater.hpp

isWet()[source]

bool isWet()

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

True if the sensor is wet, false otherwise