LowPowerLab Forum

Software support => Pi Gateway => Topic started by: tunkmountainman on May 17, 2019, 03:28:48 PM

Title: Dashboard node
Post by: tunkmountainman on May 17, 2019, 03:28:48 PM
      Does anyone know where in the index.html file is the section for adding an additional node Type?
Title: Re: Dashboard node
Post by: Felix on May 17, 2019, 09:35:51 PM
Stock node types are defined in metrics.js (https://github.com/LowPowerLab/RaspberryPi-Gateway/blob/master/metrics.js)

I recommend you add your custom node and metrics in the userMetrics (https://github.com/LowPowerLab/RaspberryPi-Gateway/tree/master/userMetrics) folder, following the example there.

When you make edits to metrics you must restart the Gateway software for changes to take effect.