Simple HTU21 Sensor Collector with http server
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
html
LICENSE
readme.md
zerosensor-basic.py
zerosensor-db.py
zerosensor-httpd.py

readme.md

This app is based on dalexgray and randymxj awesome example code

its been tested on a Pi Zero, Raspbian and Sparkfun HTU21 Sensor

Features

  • Logging to file (zerosensor-basic)
  • Logging to mongodb (zerosensor-db.py)
  • Temperature (celcius 00.00)
  • Humidity (00.00%)
  • Unix time (1458323136.0)
  • Standard Time (2016-03-18 17:45:36.346782)
  • Delay (1 sec)

Defaults

logging to file

  • no date/time
  • delay 1

logging to db

  • standard date
  • delay 1