Created
December 7, 2021 17:45
-
-
Save rfb/e114433a8035cf8cc366640574fa95bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> rrdcreate temp.rrd DS:temp:GAUGE:30:-100:100 RRA:AVERAGE:0.5:1:1000 | |
> rtl_433 -F "mqtt://localhost" | |
> mosquitto_sub -h localhost -t 'rtl_433/barley/events' | jq --unbuffered 'select(.id == 56 and .model == "Acurite-606TX") | .temperature_C' | xargs -I{} rrdtool update temp.rrd N:{} | |
> rrdtool graph temp.png DEF:temp=temp.rrd:temp:AVERAGE:step=1200 LINE1:temp#FF00FF:"Temp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment