From: Martin Mares Date: Thu, 16 Aug 2018 20:22:47 +0000 (+0200) Subject: Prometheus: Circulation and fan X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=548d62f3460bfd0cb300b2b8ce9128fc76d0ca64;p=home-hw.git Prometheus: Circulation and fan --- diff --git a/prometheus/burrow-prometheus.c b/prometheus/burrow-prometheus.c index 188af45..579d530 100644 --- a/prometheus/burrow-prometheus.c +++ b/prometheus/burrow-prometheus.c @@ -97,6 +97,18 @@ static const struct attr attr_table[] = { .type = "gauge", .topic = "burrow/pressure/clock" }, + { + .metric = "loft_fan", + .help = "Fan velocity in the loft (0-3)", + .type = "gauge", + .topic = "burrow/loft/fan" + }, + { + .metric = "loft_circulation", + .help = "Circulation pump in the loft (0-1)", + .type = "gauge", + .topic = "burrow/loft/circulation" + }, }; static char *attr_values[ARRAY_SIZE(attr_table)];