Skip to content

This script tries to combine all the known methods to read sensors on the RPI

Notifications You must be signed in to change notification settings

syss/rpi_sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stefan Süss www.sysstem.at rpi_sensors.py - Version 0.1

This script tries to combine all the known methods to read sensors on the RPI Currently supported Sensors: DHT11, DHT22, AM2302, DS18B20 (1-wire), Ultrasonic Sensor(HR-04?)

Make sure to give the user (pi, nagios, ...) sudo-rights example: sudo visudo pi ALL=(ALL) NOPASSWD: ALL nagios ALL = NOPASSWD: /usr/bin/vcgencmd nagios ALL = NOPASSWD: /usr/bin/python /etc/nagios/nrpe.d/rpi_sensors.py nagios ALL = NOPASSWD: /etc/nagios/nrpe.d/Adafruit_DHT nagios ALL = NOPASSWD: /sbin/modprobe w1-gpio nagios ALL = NOPASSWD: /sbin/modprobe w1-therm

Parts from -Adafruit Industries - www.adafruit.com -Matt Hawkins - www.raspberrypi-spy.co.uk

About

This script tries to combine all the known methods to read sensors on the RPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages