Skip to content

Home Assistant Package based integration

Jasper Slits edited this page Nov 20, 2022 · 1 revision

Integration with Home Assistant via packages

Why packages?

Home Assistant support packages to split configuration. This keeps it tidy and allows you to easy disable or enable a complete set of related configuration items

Summary

The below steps covers the extraction of sample configuration for the HRU-350 WTW:

  • binary sensor for the bypass position
  • MQTT fan definition
  • MQTT sensor for actual mode, supply fan, exhaust fan

Itho WTW

Requirements.

  1. Itho add-on MQTT set up has "ithohru" instead of "itho" as prefix.
    So ithohru/state vs itho/state as this allows to mix multiple Itho devices like the WPU heat pump and HRU-350 Heat exchanger.
  2. Access to the command-line

Configuration steps.

  1. Add the following to configuration.yaml
homeassistant: 
 packages: 
   wpu: !include packages/hru/hru.yaml
  1. Create folder via the command line:
mkdir /usr/share/homeassistant/packages/hru
  1. Unzip the sample configuration
cd /usr/share/homeassistant/packages/hru
wget https://blabla/hru.zip
  1. Check structure.
    This should look something like this:
you@ha:/usr/share/hassio/homeassistant/packages/hru$ ls -al
total 24
drwxr-xr-x 5 root root 4096 Nov 20 15:41 .
drwxr-xr-x 4 root root 4096 Oct 27 10:14 ..
drwxr-xr-x 2 root root 4096 Oct 27 19:35 binary_sensor
-rw-r--r-- 1 root root  144 Oct 27 19:36 hru.yaml
drwxr-xr-x 3 root root 4096 Oct 27 19:35 mqtt

If you restart or reload Home Assistant you should have the following entities:

  • fan.itho_hru_350
  • sensor.itho_hru_actual_exhaust_fan
  • sensor.itho_hru_actual_supply_fan
  • sensor.itho_actual_hru_mode

Add them to the dashboard