Skip to content

Instantly share code, notes, and snippets.

View jjmckain's full-sized avatar

James McKain jjmckain

View GitHub Profile
@jjmckain
jjmckain / Raspi-Sump InfluxDB and Grafana Integration
Last active March 5, 2020 11:59
Raspi-Sump InfluxDB and Grafana Integration
# This is a change to the project's crontab. As soon as the rsump.py completes, take a brief snooze
(purely for good measure, so the file can be written), then invoke the Telegraf script.
# m h dom mon dow command
*/1 * * * * sudo /usr/local/bin/rsump.py && sleep 2s && sudo /home/pi/raspi-sump/telegraf-logger.sh