From: Martin Mares Date: Fri, 6 Mar 2020 20:38:30 +0000 (+0100) Subject: Influx: More BSB attributes X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1fa8331fd79919aad8fed447f53c1313f5c1d1ce;p=home-hw.git Influx: More BSB attributes --- diff --git a/influx/burrow-influx.c b/influx/burrow-influx.c index 5334d67..5fb683e 100644 --- a/influx/burrow-influx.c +++ b/influx/burrow-influx.c @@ -214,12 +214,36 @@ static const struct attr attr_table[] = { .topic = "burrow/heating/circuit1/mix-valve", .timeout = 300, }, + { + .metric = "heating_active,circuit=1", + .value_name = "x", + .topic = "burrow/heating/circuit1/active", + .timeout = 660, + }, + { + .metric = "pump_active,circuit=1", + .value_name = "x", + .topic = "burrow/heating/circuit1/pump", + .timeout = 300, + }, { .metric = "heating_room_temp,circuit=2", .value_name = "t", .topic = "burrow/heating/circuit2/room-temp", .timeout = 300, }, + { + .metric = "heating_active,circuit=2", + .value_name = "x", + .topic = "burrow/heating/circuit2/active", + .timeout = 660, + }, + { + .metric = "heating_active,circuit=water", + .value_name = "x", + .topic = "burrow/heating/water/active", + .timeout = 660, + }, }; /*** MQTT ***/