Skip to content

eyesnz/weewx_pi_sensors

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

About

Additional sensor data for weewx

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages