Giter Site home page Giter Site logo

weewx_pi_sensors's Introduction

This adds extra sensor data to weewx by using the data_services feature.

Currently requires both a DHT22 for temperature and humidity data, and a BMP180 for Barometer/Pressure/Altitude data.

This works really well if combined with the weewx-sdr project, as you will be able to extract data from outside weather sensors and use the DHT22/BMP180 to get data for inside readings. i.e. Just like a Fine Offset console, without needing a console.

Requirements

  1. Raspberry PI
  2. Weewx installed and working
  3. A DHT22 connected to GPIO, preferably pin 22 (If connected differently, this can be changed in weewx.conf)
  4. A BMP180 connected to GPIO, usually the SDA/SCL pins
  5. Adafruit_Python_DHT installed and working (see https://github.com/adafruit/Adafruit_Python_DHT)
  6. Adafruit_Python_BMP installed and working (see https://github.com/adafruit/Adafruit_Python_BMP)

Install Instructions

  1. Copy the file in weewx_service/extra_sensors_service.py to the weewx user directory. This location could be different depending on how weewx was installed:
sudo cp weewx_service/extra_sensors_service.py /usr/share/weewx/user/
  1. Add the service to weewx.conf (NOTE: if you have existing data_services, then add this new service after your existing settings):
[Engine]
    [[Services]]
        data_services = user.extra_sensors_service.ExtraSensorsService,
  1. Restart weewx

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.