X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=influx%2Fburrow-influx.c;h=611f8da064f4b48a26a804cc8d21d6f782a26c16;hb=79b8ce624eb72198697c1bb0a7eda4747cf14fb6;hp=6894062fc8e4ae80ab7a844a56a89f3e75357939;hpb=14f825fa3aa4a7a912454d50fceb2b566abf4527;p=home-hw.git diff --git a/influx/burrow-influx.c b/influx/burrow-influx.c index 6894062..611f8da 100644 --- a/influx/burrow-influx.c +++ b/influx/burrow-influx.c @@ -194,7 +194,7 @@ static const struct attr attr_table[] = { .metric = "heating_outside_temp", .value_name = "t", .topic = "burrow/heating/outside-temp", - .timeout = 300, + .timeout = 660, }, { .metric = "heating_room_temp,circuit=1", @@ -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 = "heating_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 ***/