Skip to content

IA7 RRD Configuration

hplato edited this page Jul 5, 2017 · 3 revisions

In order to generate RRD graphs, you first need to enable the relevant code in MisterHouse.

With Version 1.0.800 IA7 there is support for dynamic graphing of RRDs, Weather Station v2.

ia7_rrd_config.json

Currently the following configuration settings are available.

NOTE: the file needs to be formatted correctly. Missing a bracket or comma will result in an incorrect configuration. Fortunately, MH will log if the file is incorrect.

{ 
"prefs" : {
     "default_cf" : "AVERAGE",            // default CF to pull from
     "uom" : "celsius",                   // MH Stores everything as Fahrenheit, so convert if needed
     },
"options" : {                             // RRD graph options
    },
"periods" : {                             // time periods for the graphs
    },
"ds" : {                                  // All the defined data sources in the RRD
    },
"ds.SOURCE" : {                           // 4.3, DS in an external source (as defined in config_parms{rrd_source_SOURCE})
    "temp" : {
  	"type" : "temperature",
  	"label" : "Test",
  	"color" : "#330099",
  	"round" : "1",
  	"group" : "temp"
  	}
    },   	  
}
Clone this wiki locally