};
static const struct attr attr_table[] = {
+ // Temperature sensors
{
.metric = "temp,where=loft",
.value_name = "t",
.value_name = "pa",
.topic = "burrow/pressure/clock"
},
+
+ // Air conditioning
{
.metric = "air,where=inside_intake",
.value_name = "t",
.value_name = "pwm",
.topic = "burrow/air/exchanger-fan"
},
+
+ // Ventilation of the loft
{
.metric = "loft_fan",
.value_name = "on",
.topic = "burrow/loft/fan"
},
+
+ // Hot water circulation
{
.metric = "water_circ",
.value_name = "on",
.topic = "burrow/loft/circulation"
},
+
+ // Power meter
{
.metric = "pm_voltage,phase=L1N",
.value_name = "V",
.value_name = "kVArh",
.topic = "burrow/power/reactive/energy",
},
+
+ // Quantities collected by bsb-daemon eavesdropping on regular BSB communication,
+ // which is scarce. So we need large timeouts.
{
.metric = "heating_water_pressure",
.value_name = "p",
.topic = "burrow/heating/water/active",
.timeout = 660,
},
- {
- .metric = "heating_hot_water_temp",
- .value_name = "t",
- .topic = "burrow/heating/water/temp",
- // No need to specify large timeout, this one is polled by bsb-daemon
- },
{
.metric = "heating_error",
.value_name = "err",
.timeout = 660,
.is_string = true,
},
+
+ // Quantities are polled by the bsb-daemon, so they don't need a large timeout
+ {
+ .metric = "heating_hot_water_temp",
+ .value_name = "t",
+ .topic = "burrow/heating/water/temp",
+ },
+ {
+ .metric = "heating_modulation",
+ .value_name = "pct",
+ .topic = "burrow/heating/modulation",
+ },
+ {
+ .metric = "heating_return_tem",
+ .value_name = "t",
+ .topic = "burrow/heating/return-temp",
+ },
+
+ // Sensors in the mill
{
.metric = "mill_temp,where=horni",
.value_name = "t",