Giter VIP home page Giter VIP logo

dht22-adaiot's Introduction

dht22-adaiot

script python gérant un capteur dht22 à l'aide des librairies d'Adafruit.

Il récupère les données et les affiche localement (print, logs, envoi au serversocket) et dans adaiot

Montage

Electronic settings

Dépendances

  • librairie python Adafruit_DHT
  • librairie python Adafruit_IO
  • tokenss.py : editer tokenss_example.py et renommer en tokens.py

Crontab

@reboot sleep 60 && sudo /usr/bin/python /home/pi/dht22/dht22.py >> /home/pi/dht22/temp_log/errors_python.log 2>&1

attend 1 minute (pour établir la connexion réseau) et lance le script. Les erreurs et prints doivent partir dans errors_python.log... mais pour l'instant ça ne fonctionne pas.

Changelog

  • 0.1 : tests et création du git
    adaiot fonctionne
    les logs locaux fonctionnent
    bug avec les stdout : impossible d'enregister tous les msg dans un fichier depuis bash
  • 0.2 display web server

todo

  • display sur lcd (pb avec le grove lcd qui empeche de tester pour l'instant)

dht22-adaiot's People

Contributors

qkzk avatar

Watchers

 avatar  avatar  avatar

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.