esphome:
name: wavin9000
esp32:
board: nodemcu-32s
framework:
type: arduino
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
ota:
password: "78e75f9b6126ee57de681fd33aeba979"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Wavin9000 Fallback Hotspot"
password: "27GtPUNzkJCo"
captive_portal:
packages:
remote_package:
url: https://github.com/dkgof/esphome_components
ref: main
files:
- components/wavinahc9000v2/configs/basic.yaml # REQUIRED FOR WAVIN AHC 9000
- components/wavinahc9000v2/configs/channel_01.yaml
- components/wavinahc9000v2/configs/channel_02.yaml
- components/wavinahc9000v2/configs/channel_03.yaml
- components/wavinahc9000v2/configs/channel_04.yaml
- components/wavinahc9000v2/configs/channel_05.yaml
- components/wavinahc9000v2/configs/channel_06.yaml
- components/wavinahc9000v2/configs/channel_07.yaml
- components/wavinahc9000v2/configs/channel_08.yaml
- components/wavinahc9000v2/configs/channel_09.yaml
- components/wavinahc9000v2/configs/channel_10.yaml
- components/wavinahc9000v2/configs/channel_11.yaml
refresh: 0s
uart:
- id: uart_${device}
rx_pin: GPIO16
tx_pin: GPIO17
baud_rate: 38400
stop_bits: 1
parity: NONE
modbus:
- id: ${device}_modbus
uart_id: uart_${device}
modbus_controller:
id: ${device}_modbus_controller
address: 1
modbus_id: ${device}_modbus
update_interval: 30s
substitutions:
# UNIQUE NAME FOR THE DEVICE
device: wavin9000 # Case sensitive!!!
name: "Wavin 9000" # "Friendly name" - not case sensitive!!!
# CHANNEL friendly names (If using spaces remember to add ")
channel_01_friendly_name: "Bryggers"
channel_02_friendly_name: "Jens Værelse"
channel_03_friendly_name: "Gang"
channel_04_friendly_name: "Niels Værelse"
channel_05_friendly_name: "Køkken"
channel_06_friendly_name: "Køkken Dummy"
channel_07_friendly_name: "Kontor"
channel_08_friendly_name: "Soveværelse"
channel_09_friendly_name: "Stue"
channel_10_friendly_name: "Stort Badeværelse"
channel_11_friendly_name: "Lille Badeværelse"
# CHANNEL ID´S (ONLY LOWER CASE LETTERS, NO SPACES) used for entity ids
channel_01_id: bryggers
channel_02_id: jens
channel_03_id: gang
channel_04_id: niels
channel_05_id: kokken
channel_06_id: kokken_dummy
channel_07_id: kontor
channel_08_id: sove
channel_09_id: stue
channel_10_id: stort_bad
channel_11_id: lille_bad