Skip to content

Instantly share code, notes, and snippets.

@fosron
Last active March 5, 2025 13:20
Show Gist options
  • Save fosron/8ecedc67a9fa402f2e86f56d5fd3b147 to your computer and use it in GitHub Desktop.
Save fosron/8ecedc67a9fa402f2e86f56d5fd3b147 to your computer and use it in GitHub Desktop.
Komfovent C8 Home Assistant Modbus basic integration
### Add this to your configuration.yaml
### Make sure to adjust the host IP address
modbus:
- type: tcp
host: 192.168.50.91
port: 502
name: komfovent
switches:
- name: "Komfovent Power"
slave: 254
address: 0
command_on: 1
command_off: 0
unique_id: "c8kp"
verify:
- name: "Komfovent ECO Mode"
slave: 254
address: 2
command_on: 1
command_off: 0
unique_id: "c8kem"
verify:
- name: "Komfovent Auto Mode"
slave: 254
address: 3
command_on: 1
command_off: 0
unique_id: "c8kam"
verify:
- name: "Komfovent Mode: Away"
slave: 254
address: 4
command_on: 1
command_off: 2
unique_id: "c8kma"
verify:
- name: "Komfovent Mode: Normal"
slave: 254
address: 4
command_on: 2
command_off: 1
unique_id: "c8kmn"
verify:
- name: "Komfovent Mode: Intensive"
slave: 254
address: 4
command_on: 3
command_off: 2
unique_id: "c8kmi"
verify:
- name: "Komfovent Mode: Boost"
slave: 254
address: 4
command_on: 4
command_off: 2
unique_id: "c8kmb"
verify:
sensors:
- name: "Komfovent Current Mode"
slave: 254
address: 4
data_type: uint16
unique_id: "c8kcm"
- name: "Komfovent Supply Temperature"
slave: 254
address: 901
data_type: uint16
unit_of_measurement: "°C"
scale: 0.1
precision: 1
unique_id: "c8kst"
- name: "Komfovent Extract Temperature"
slave: 254
address: 902
data_type: uint16
unit_of_measurement: "°C"
scale: 0.1
precision: 1
unique_id: "c8ket"
- name: "Komfovent Outdoor Temperature"
slave: 254
address: 903
data_type: uint16
unit_of_measurement: "°C"
scale: 0.1
precision: 1
unique_id: "c8kot"
- name: "Komfovent Supply Fan Intensivity"
slave: 254
address: 909
data_type: uint16
unit_of_measurement: "%"
scale: 0.1
precision: 1
unique_id: "c8ksfi"
- name: "Komfovent Extract Fan Intensivity"
slave: 254
address: 910
data_type: uint16
unit_of_measurement: "%"
scale: 0.1
precision: 1
unique_id: "c8kefi"
### Adding for reference, but i would suggest just creating it yourself using grid
cards:
- type: grid
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.komfovent_power
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.komfovent_eco_mode
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.komfovent_auto_mode
- square: true
type: grid
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.komfovent_mode_away
name: Away
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.komfovent_mode_boost
name: Boost
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.komfovent_mode_intensive
name: Intensive
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.komfovent_mode_normal
name: Normal
columns: 4
- type: grid
cards:
- graph: line
type: sensor
entity: sensor.komfovent_outdoor_temperature
detail: 1
name: Outdoor
- graph: line
type: sensor
entity: sensor.komfovent_supply_temperature
detail: 1
name: Supply
- graph: line
type: sensor
entity: sensor.komfovent_extract_temperature
detail: 1
name: Extract
- square: true
type: grid
cards:
- graph: line
type: sensor
entity: sensor.komfovent_extract_fan_intensivity
detail: 1
- graph: line
type: sensor
entity: sensor.komfovent_supply_fan_intensivity
detail: 1
columns: 2
grid_options:
rows: auto
columns: 1
title: Rekuperatorius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment