Skip to content

eyesnz/weewx_pi_sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages