Rpi Home Sensors

Raspberry Pi temperature, humidity and pressure graphing and storing
Alternatives To Rpi Home Sensors
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
W1thermsensor4832923 months ago24January 25, 20218mitPython
A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.
Terrariumpi354
7 days ago11gpl-3.0Python
Home automated terrarium/aquarium or other enclosed environment with a Raspberry Pi
Octoprint Enclosure351
a year ago146gpl-3.0Python
OctoPrint Enclosure Plugin
Node Dht Sensor300104335 months ago39July 19, 20208lgpl-3.0C
Node.js Humidity and Temperature sensor addon
Rpi Reporter Mqtt2ha Daemon288
4 days ago24gpl-3.0Python
Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
I2c Bus2802532162 years ago49April 29, 20211mitJavaScript
I2C serial bus access with Node.js
Onewirehub257
5 months ago46gpl-3.0C++
OneWire slave device emulator
Temperature Monitor227
9 months ago1JavaScript
Raspberry Pi-based home temperature monitoring network.
Bme680 Python208
a year ago11mit
Python library for the BME680 gas, temperature, humidity and pressure sensor.
Stressberry207
a year ago15January 19, 202123gpl-3.0Python
:sweat_smile: Stress tests for the Raspberry Pi
Alternatives To Rpi Home Sensors
Select To Compare


Alternative Project Comparisons
Readme

README

This is a Raspberry Pi temperature graphing PoC through Plotly (usually up to 200 points drawn) and persistant storage through Google Docs (Spreadsheet).

Plots CPU temperature (directly from RPI), environment temperature (BMP085), environment barometric pressure (BMP085), environment humidity (DHT22). and outdoor temperature (Weather Underground). It runs as a Unix daemon and preferably runs infinitely long.

If there is a LED available, it will pulse it in the background to indicate its running status.

Snapshot

/rpi-plot.png /rpi-board.png

Hardware requirements

Software Requirements

Important notes

  • Raspberry PI model A users need to edit Adafruit_I2C.py and do the following change:
    self.bus = smbus.SMBus(0);
  • You can store Weather Underground configuration in /root/.weather_underground.rc:
    {"wu_city": "Zagreb", "wu_state": "Croatia", "wu_key": "XXXX"}
  • Plotly configuration needs to be stored in /root/.plotly/.credentials

  • You can store Google Docs configuration in /root/.google_docs.rc:

    {"gdocs_email": "[email protected]", "gdocs_password": "secret password", "gdocs_sheet": "somesheet"}

Monitoring

Integration with Supervisor http://supervisord.org/ process control system is rather trivial. What is needed is a corresponding daemon configuration in /etc/supervisor/conf.d/rpi-plot.conf if the code has been placed at /home/pi/work/rpi-home-sensors:

    [program:rpi-plot]
    command=/home/pi/work/rpi-home-sensors/rpi-plot.py nodaemon
    stopsignal=INT
    autostart=true
    autorestart=true
    redirect_stderr=true
    stdout_logfile=/var/log/rpi-plot.log
    environment=HOME="/root"

Then the simple sequence of the following commands is enough to kickstart the process:

    supervisorctl update
    supervisorctl status

Copyright

Copyright (C) 2014 Dinko Korunic [email protected]

Popular Temperature Projects
Popular Raspberry Pi Projects
Popular Hardware Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Raspberry
Daemon
Temperature
Rpi
Plotly
Dht