smartgadget.shtc1 module¶
- class smartgadget.shtc1.SHTC1(device, interface=None)[source]¶
Bases:
SmartGadget
Base class for a Smart Gadget.
- Parameters
- DEVICE_NAME = 'SHTC1 smart gadget'¶
- TEMPERATURE_HUMIDITY_CHARACTERISTIC_UUID = <bluepy.btle.UUID object>¶
- humidity() float [source]¶
Returns the current humidity.
- Returns
float
– The current humidity [%RH].
- info() dict [source]¶
Returns all available information from the Smart Gadget.
- Returns
dict
– Includes information such as the firmware, hardware and software version numbers, the battery level, the temperature, humidity and dew point values.