Tronje-the-Falconer / Pi-Ager

Dry Aging Fridge with Raspberry Pi
http://www.pi-ager.org
Other
15 stars 12 forks source link

Sensoren auswählbar machen #4

Closed Tronje-the-Falconer closed 7 years ago

Tronje-the-Falconer commented 7 years ago

Die Sensoren über die Konfiguration einstellbar machen. Nicht über Rss.py bestimmen

Tronje-the-Falconer commented 7 years ago

Zeile 28 in RSS.py sensor = Adafruit_DHT.AM2302 #SHT75 sensor = Adafruit_DHT.DHT11 #DHT11 sensor = Adafruit_DHT.DHT22 #DHT22

Zeile 226 in RSS.py

SHT75

    sensortemp1 = sht.read_t()
    sensorhum1 = sht.read_rh()
    dew_point = sht.read_dew_point(sensortemp1, sensorhum1)
    dew_point = round (dew_point,1)
    # sensorhum1, sensortemp1 = Adafruit_DHT.read_retry(sensor, PIN_DHT)

Sensor

DHT11/DHT22

    #sensortemp1 = sht.read_t()
    #sensorhum1 = sht.read_rh()
    #dew_point = sht.read_dew_point(sensortemp1, sensorhum1)
    #dew_point = round (dew_point,1)
    sensorhum1, sensortemp1 = Adafruit_DHT.read_retry(sensor, PIN_DHT)
Tronje-the-Falconer commented 7 years ago

in nächstem Release enthalten. In Branch"auswaehlbare_reifetabellen" umgesetzt