Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Public Attributes | List of all members
webiopi.devices.sensor.bme280.BME280 Class Reference
Inheritance diagram for webiopi.devices.sensor.bme280.BME280:
webiopi.devices.i2c.I2C webiopi.devices.sensor.Temperature webiopi.devices.sensor.Pressure webiopi.devices.sensor.Humidity webiopi.devices.bus.Bus

Public Member Functions

def __init__
 
def __str__
 
def __family__
 
def readUnsigned
 
def readSigned
 
def readAdc
 
def compensateTfine
 
def compensateT
 
def compensateP
 
def compensateH
 
def __getAll__
 
def __getCelsius__
 
def __getKelvin__
 
def __getFahrenheit__
 
def __getPascal__
 
def __getHumidity__
 
- Public Member Functions inherited from webiopi.devices.i2c.I2C
def __init__
 
def __str__
 
def readRegister
 
def readRegisters
 
def writeRegister
 
def writeRegisters
 
- Public Member Functions inherited from webiopi.devices.bus.Bus
def __init__
 
def open
 
def close
 
def read
 
def readBytes
 
def readByte
 
def write
 
def writeBytes
 
def writeByte
 
- Public Member Functions inherited from webiopi.devices.sensor.Temperature
def __family__
 
def __getKelvin__
 
def __getCelsius__
 
def __getFahrenheit__
 
def Kelvin2Celsius
 
def Kelvin2Fahrenheit
 
def Celsius2Kelvin
 
def Celsius2Fahrenheit
 
def Fahrenheit2Kelvin
 
def Fahrenheit2Celsius
 
def getKelvin
 
def getCelsius
 
def getFahrenheit
 
- Public Member Functions inherited from webiopi.devices.sensor.Pressure
def __init__
 
def __family__
 
def __getPascal__
 
def __getPascalAtSea__
 
def getPascal
 
def getHectoPascal
 
def getPascalAtSea
 
def getHectoPascalAtSea
 
- Public Member Functions inherited from webiopi.devices.sensor.Humidity
def __family__
 
def __getHumidity__
 
def getHumidity
 
def getHumidityPercent
 

Public Attributes

 t1
 
 t2
 
 t3
 
 p1
 
 p2
 
 p3
 
 p4
 
 p5
 
 p6
 
 p7
 
 p8
 
 p9
 
 h1
 
 h2
 
 h3
 
 h4
 
 h5
 
 h6
 
- Public Attributes inherited from webiopi.devices.i2c.I2C
 channel
 
 slave
 
- Public Attributes inherited from webiopi.devices.bus.Bus
 busName
 
 device
 
 flag
 
 fd
 
- Public Attributes inherited from webiopi.devices.sensor.Pressure
 altitude
 
 external
 

Detailed Description

Definition at line 7 of file bme280.py.

Constructor & Destructor Documentation

def webiopi.devices.sensor.bme280.BME280.__init__ (   self,
  altitude = 0,
  external = None,
  oversampling = 0,
  filter = 0,
  standby = 0.5,
  slave = 0x76 
)

Definition at line 8 of file bme280.py.

References webiopi.utils.types.toint().

Member Function Documentation

def webiopi.devices.sensor.bme280.BME280.__family__ (   self)

Definition at line 50 of file bme280.py.

def webiopi.devices.sensor.bme280.BME280.__getAll__ (   self)
def webiopi.devices.sensor.bme280.BME280.__getCelsius__ (   self)
def webiopi.devices.sensor.bme280.BME280.__getFahrenheit__ (   self)
def webiopi.devices.sensor.bme280.BME280.__getHumidity__ (   self)
def webiopi.devices.sensor.bme280.BME280.__getKelvin__ (   self)

Definition at line 134 of file bme280.py.

References webiopi.devices.sensor.Temperature.Celsius2Kelvin().

def webiopi.devices.sensor.bme280.BME280.__getPascal__ (   self)
def webiopi.devices.sensor.bme280.BME280.__str__ (   self)

Definition at line 47 of file bme280.py.

def webiopi.devices.sensor.bme280.BME280.compensateH (   self,
  t_fine,
  adc_H 
)
def webiopi.devices.sensor.bme280.BME280.compensateP (   self,
  t_fine,
  adc_P 
)
def webiopi.devices.sensor.bme280.BME280.compensateT (   self,
  t_fine 
)
def webiopi.devices.sensor.bme280.BME280.compensateTfine (   self,
  adc_T 
)
def webiopi.devices.sensor.bme280.BME280.readAdc (   self)
def webiopi.devices.sensor.bme280.BME280.readSigned (   self,
  address,
  numBytes,
  byteOrder = 'little' 
)
def webiopi.devices.sensor.bme280.BME280.readUnsigned (   self,
  address,
  numBytes,
  byteOrder = 'little' 
)

Member Data Documentation

webiopi.devices.sensor.bme280.BME280.h1

Definition at line 26 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().

webiopi.devices.sensor.bme280.BME280.h2

Definition at line 27 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().

webiopi.devices.sensor.bme280.BME280.h3

Definition at line 28 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().

webiopi.devices.sensor.bme280.BME280.h4

Definition at line 29 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().

webiopi.devices.sensor.bme280.BME280.h5

Definition at line 30 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().

webiopi.devices.sensor.bme280.BME280.h6

Definition at line 31 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().

webiopi.devices.sensor.bme280.BME280.p1

Definition at line 16 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p2

Definition at line 17 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p3

Definition at line 18 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p4

Definition at line 19 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p5

Definition at line 20 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p6

Definition at line 21 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p7

Definition at line 22 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p8

Definition at line 23 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.p9

Definition at line 24 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().

webiopi.devices.sensor.bme280.BME280.t1

Definition at line 12 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateTfine().

webiopi.devices.sensor.bme280.BME280.t2

Definition at line 13 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateTfine().

webiopi.devices.sensor.bme280.BME280.t3

Definition at line 14 of file bme280.py.

Referenced by webiopi.devices.sensor.bme280.BME280.compensateTfine().


The documentation for this class was generated from the following file: