Giter VIP home page Giter VIP logo

check_dht's People

Contributors

stdevel avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

bitbone

check_dht's Issues

multiple errors...

Hi,
i try to use your script but i get only errors :(

pi@bastel-pi:~/temperature/Adafruit_Python_DHT $ ./check_dht.py -s AM2302 -H -d -g 7 -W 25 -C 30
DEBUG:check_dht:{'warningHumiThres': 25, 'humiOnly': True, 'tempUnit': 'celsius', 'tempOnly': False, 'sensorType': 'AM2302', 'warningTempThres': 0, 'criticalHumiThres': 30, 'criticalTempThres': 0, 'debug': True, 'sensorPin': 7}
Traceback (most recent call last):
  File "./check_dht.py.1", line 125, in <module>
    humidity, temperature = Adafruit_DHT.read_retry(sensor, options.sensorPin)
  File "/opt/temperature/Adafruit_Python_DHT/Adafruit_DHT/common.py", line 90, in read_retry
    humidity, temperature = read(sensor, pin, platform)
  File "/opt/temperature/Adafruit_Python_DHT/Adafruit_DHT/common.py", line 76, in read
    platform = get_platform()
  File "/opt/temperature/Adafruit_Python_DHT/Adafruit_DHT/common.py", line 48, in get_platform
    from . import Raspberry_Pi
  File "/opt/temperature/Adafruit_Python_DHT/Adafruit_DHT/Raspberry_Pi.py", line 22, in <module>
    from . import Raspberry_Pi_Driver as driver
ImportError: cannot import name Raspberry_Pi_Driver

cloned yesterday the Adafruit_Python_DHT git. i think there was changes that make your script wont work any more.

do you still use your own script?
do you make an update?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.