GitXplorerGitXplorer
l

climate_sensor

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f2031a5e5ec6388d8ba02554287b117befbbdc81

Write all prints to log and add log rotate

llumbric committed 7 years ago
Unverified
e3daa9dcc94ca9259304b8da054c2f98676803a8

Only log to file on errors

llumbric committed 7 years ago
Unverified
f580173badd2abb2ddcf4f1f30b167c307cc82cf

Catch all exceptions and log

llumbric committed 7 years ago
Unverified
040dd61e64a2c2ae98e0b16863e37778fc58495d

Update README.md

llumbric committed 8 years ago
Unverified
4df27e79ae61aa61259405559d60d5ff5698f176

Remove obsolete variable

llumbric committed 8 years ago
Unverified
b8c330e269f7df1fb027541583188b99e8603664

Add support for thingspeak and arbitrary APIs

llumbric committed 8 years ago

README

The README file for this repository.

Record temperature and humidity using Micropython and send data to a remote logging service via HTTP/GET.

Supported sensors:

  • DHT11
  • DHT22
  • DS18B20

Supported logging services:

  • thingspeak
  • phant / data.sparkfun.com
  • arbitrary HTTP API via configuration

Tested only using Wemos D1 mini ESP8266, but should be easily portable for similar hardware.

Install

Install micropython firmware, copy all *.py files (e.g. using mpfshell) and configure as described below.

Configuration

To create a config.json file run on MicroPython REPL prompt (e.g via piccoom):

import config
config.setup()

To rewrite the configuration file, reset the ESP8266, interrupt the running main.py by CTRL+C and then follow above instructions.