bash:mqtt:add_to_influxdb
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| bash:mqtt:add_to_influxdb [2017/09/27 12:37] – created biggi | bash:mqtt:add_to_influxdb [2017/11/29 23:06] (current) – biggi | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| echo " | echo " | ||
| # Get vars | # Get vars | ||
| - | SENSORNAME=`echo $line | cut -d'/' | + | SENSORNAME=`echo $line | cut -d'/' |
| SENSORTYPE=`echo $line | cut -d'/' | SENSORTYPE=`echo $line | cut -d'/' | ||
| - | SENSORDATA=`echo $line | awk {' | + | SENSORDATA=`echo $line | awk {' |
| # Insert data to influxdb | # Insert data to influxdb | ||
| curl -XPOST " | curl -XPOST " | ||
bash/mqtt/add_to_influxdb.1506508628.txt.gz · Last modified: 2017/09/27 12:37 by biggi
