Git Product home page Git Product logo

humidity_control's Introduction

Humidity Control

Summary

Monitors humidity sensors.

Synopsis

Usage: humidity_control [options]
  -h, --help                       Display this screen

Configuration:
- (1) file as specified by environment variable HUMIDITY_CONTROL_CONFIG_FILE,
- (2) /data/.config.

Description

Monitors an ESP32 microcontroller which provides humidity data given by an FC37 humidity sensor via a webservice. Respective ESP32 software can be found here:

/Users/ms1/Programmierung/Arduino/esp32_humidity_server/esp32_humidity_server.ino

Configuration

Needs a YAML configuration file either in /data/.config or as specified by the environment variable HUMIDITY_CONTROL_CONFIG_FILE.

Example

Start the control program in the background, write all output to logfile log.txt:

bin/humidity_control &> log.txt &

Alternatively, using setsid to invoke the control program in the background without being connected to the process hierarchy, which is useful when being invoked from an ssh session:

setsid bin/humidity_control &> log.txt

TODO

Following points need to be taken care of:

  • If sensor is up after being not available, sent status update
  • Update config: Time to send status SMS
  • Handle multiple sensors
  • Rescue IOError and redo while alerting
  • Overwrite LOGGER.warn with @@warnings += 1?

humidity_control's People

Contributors

dependabot[bot] avatar msc01 avatar snyk-bot avatar

Watchers

 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.