Configuration, action scripts and lovelace cards source codes.
Wafe 350EFS2 is standalone recuperation unit driven by RasPi controller with ModBus. Unit can be controlled by online web application.
Homeassistant can communicate with ModBus protocol. Homeassistant can easily connect via TCP protocol and interface can be easily configured for given unit.
Software setup is very easy:
- Copy
src/configuration.yaml
to homeassistant configuration file a sethost
to your local IP address of Wafe350 unit.
modbus:
- name: Wafe
type: tcp
host: 10.0.0.76
port: 502
- Copy
src/scripts.yaml
to homeassistant scripts file. - Check syntax of configuration file and restart homeassistant.
- Check
Developer Tools
to unsure that sensors work properly.
- Configure lovelace card as usual, for example:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: entity
entity: sensor.indoor_air
name: Inside
- type: entity
entity: sensor.outside_air
name: Outside
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.humidity_inside_out
min: 0
max: 100
name: Humidity
severity:
green: 40
yellow: 60
red: 80
- type: gauge
entity: sensor.fresh_air_fan_perc
min: 0
max: 100
name: Ventilation
severity:
green: 30
yellow: 60
red: 90
- type: gauge
entity: sensor.co2_inside
min: 0
max: 2000
severity:
green: 500
yellow: 1000
red: 1500
name: CO2
Now you are ready to configure custom cards, using sensors, binary sensors and action scripts to controll recuperation unit modes.
Overview card with all available input sensors:
type: entities
entities:
- entity: sensor.indoor_air
secondary_info: last-updated
- entity: sensor.outside_air
secondary_info: last-updated
- entity: sensor.fresh_air
secondary_info: last-updated
- entity: sensor.waste_air
secondary_info: last-updated
- entity: sensor.humidity_inside_out
icon: hass:water-percent
secondary_info: last-updated
- entity: sensor.humidity_outside_in
icon: hass:water-percent
secondary_info: last-updated
- entity: sensor.co2_inside
icon: hass:air-filter
secondary_info: last-updated
- entity: sensor.fresh_air_fan_flow
icon: hass:fan
secondary_info: last-updated
- entity: sensor.fresh_air_fan_perc
icon: hass:fan
secondary_info: last-updated
- entity: sensor.exhaust_air_fan_flow
icon: hass:fan
secondary_info: last-updated
- entity: sensor.exhaust_air_fan_perc
icon: hass:fan
secondary_info: last-updated
- entity: sensor.fresh_filter_status
secondary_info: last-updated
- entity: sensor.exhaust_filter_status
secondary_info: last-updated
title: Params
state_color: true
show_header_toggle: false