LowPowerLab Forum

Software support => Pi Gateway => Topic started by: Kilo95 on September 27, 2017, 01:10:55 PM

Title: Weathershield Pressure Graph
Post by: Kilo95 on September 27, 2017, 01:10:55 PM
I thought I would like to be able to see a graph of the barometric pressure in order to quickly see whether it's trending up or down so I commented out the line for the pressure metrics in the metrics.js file under "Weathershield Metrics" and added a new line right below it (in case i messed up, i could uncomment easily).

P : { name:'P', regexp:/\bP\:([\d\.]+)\b/i, value:'', duplicateInterval:3600, unit:'"',  pin:1, graph:1, graphOptions:{ legendLbl:'Pressure', lines: { lineWidth:1}}},

just wanted to share in case anyone else was interested