Skip to content

Commit

Permalink
Extend mqtt-hassio.cfg for Heat Recovery Units
Browse files Browse the repository at this point in the history
Heat Recovery Units (HRUs) from Brink Climate Systems are using ebusd protocol, and can be successfully integrated into home automations through ebusd. Their parameters and units are however different from the typical boilers or heat pumps, the ebusd is typically used for. This requires manual edits of mqtt-hassio.cfg even for the most basic operations, which makes the learning curve way steeper for new users.

This proposal adds the basic parameters and units typical for HRUs.
  • Loading branch information
pvyleta committed Mar 28, 2024
1 parent 033586c commit 7e0e04d
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions contrib/etc/ebusd/mqtt-hassio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ filter-seen = 5
#filter-non-circuit =
# include only messages having the specified name (partial match, alternatives and wildcard supported).
# HA integration: filter to some useful names for monitoring the heating circuit
filter-name = status|temp|humidity|yield|count|energy|power|runtime|hours|starts|mode|curve|^load$|^party$|sensor|timer
filter-name = status|temp|humidity|yield|count|energy|power|runtime|hours|starts|mode|curve|^load$|^party$|sensor|timer|co2|air|flow|filter|inlet|exhaust|pressure|reset
# exclude messages having the specified name (partial match, alternatives and wildcard supported).
#filter-non-name =
# include only messages having the specified level (partial match, alternatives and wildcard supported).
Expand Down Expand Up @@ -169,34 +169,37 @@ type_switch-names = type_topic,type_class,type_state,type_sub
# matches at all, the variable(s) are set to the empty string.
# HA integration: the mapping list for (potentially) writable number entities by field type, name, message, and unit.
type_switch-w-number =
number,temperature, = temp|,°C$
number,temperature, = temp|,K$
number,temperature, = temp|,°C$|,K$
number,, = integral|,°min$
number,power_factor, = power*%%
number,power, = power|,kW$|,W$
number,voltage, = volt|,V$
number,current, = current,|,A$
number,pressure, = bar$
number,gas, = gas*/min$
number,volume, = m³$
number,volume_flow_rate, = m³/h$
number,humidity, = humid*%%$
number,, = curve,
number,, =

# HA integration: the mapping list for numeric sensor entities by field type, name, message, and unit.
type_switch-number =
sensor,,total_increasing = poweron|count,
sensor,temperature,measurement = temp|,°C$
sensor,temperature,measurement = temp|,K$
sensor,temperature,measurement = temp|,°C$|,K$
sensor,power_factor,measurement = power*%%
sensor,power,measurement = power|,kW$|,W$
sensor,voltage,measurement = volt|,V$
sensor,current,measurement = current,|,A$
sensor,,measurement = integral|,°min$
sensor,energy,total_increasing = energy|,Wh$
sensor,yield,total_increasing = total*,Wh$
sensor,,total_increasing = hours|,h$
sensor,duration,total_increasing = hours|days|,h$
sensor,,total_increasing = starts*,$
sensor,pressure,measurement = bar$
sensor,gas,measurement = gas*/min$
sensor,pressure,measurement = bar$|Pa$
sensor,volume,total_increasing = total*,m³$
sensor,volume,measurement = m³$
sensor,volume_flow_rate,measurement = m³/h$
sensor,carbon_dioxide,measurement = CO2*,ppm$
sensor,humidity,measurement = humid*%%$
sensor,, =

Expand All @@ -214,12 +217,12 @@ type_switch-list =

# HA integration: the mapping list for (potentially) writable string entities containing a time value by field type, name, message, and unit.
type_switch-w-time =
text,,,time = from,|to,|time2,|timer
text,,,time3 = time,
text,,,time = from,|to,|time2,|timer
text,,,time3 = time,

type_switch-time =
sensor,,,time = from,|to,|time2,|timer
sensor,,,time3 = time,
sensor,,,time = from,|to,|time2,|timer
sensor,,,time3 = time,

# HA integration: currently unused mapping lists for non-numeric/non-binary entities.
#type_switch-string =
Expand Down Expand Up @@ -379,6 +382,7 @@ def_global_running-payload = %global_prefix,
"device_class":"running"%global_boolean_suffix
def_global_version-topic =
def_global_uptime-payload = %global_prefix,
"device_class":"duration",
"state_class":"total_increasing",
"unit_of_measurement":"s"
}
Expand Down

0 comments on commit 7e0e04d

Please sign in to comment.