92 lines
1.5 KiB
YAML
92 lines
1.5 KiB
YAML
substitutions:
|
|
esp_name: "hvac-ir-sensor-display"
|
|
|
|
esphome:
|
|
name: ${esp_name}
|
|
comment: ${esp_name}
|
|
|
|
esp8266:
|
|
board: nodemcuv2
|
|
|
|
# Enable logging
|
|
logger:
|
|
baud_rate: 0
|
|
|
|
uart:
|
|
rx_pin: GPIO3
|
|
tx_pin: GPIO1
|
|
baud_rate: 9600
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: !secret hvac_woonkamer_api
|
|
|
|
ota:
|
|
password: !secret hvac_woonkamer_ota
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: ${esp_name} fallback
|
|
password: !secret fallback_password
|
|
|
|
time:
|
|
- platform: homeassistant
|
|
id: homeassistant_time
|
|
|
|
remote_transmitter:
|
|
pin: GPIO14
|
|
carrier_duty_percent: 50%
|
|
|
|
status_led:
|
|
pin: GPIO4
|
|
|
|
remote_receiver:
|
|
id: rcvr
|
|
pin:
|
|
number: GPIO5
|
|
inverted: true
|
|
# mode:
|
|
# input: true
|
|
# pullup: true
|
|
tolerance: 55%
|
|
dump: all
|
|
|
|
climate:
|
|
- platform: fujitsu_general
|
|
name: "Airco Woonkamer"
|
|
receiver_id: rcvr
|
|
# visual:
|
|
# min_temperature: 18
|
|
# max_temperature: 25
|
|
# temperature_Step: 1
|
|
|
|
#tuya:
|
|
# status_pin: GPIO16
|
|
# time_id: homeassistant_time
|
|
|
|
#sensor:
|
|
# - platform: "tuya"
|
|
# name: "Temperature"
|
|
# sensor_datapoint: 101
|
|
# unit_of_measurement: "°C"
|
|
# device_class: "temperature"
|
|
# state_class: "measurement"
|
|
# filters:
|
|
# - multiply: 0.1
|
|
# accuracy_decimals: 1
|
|
|
|
# - platform: "tuya"
|
|
# name: "humidity"
|
|
# sensor_datapoint: 102
|
|
# unit_of_measurement: "%rh"
|
|
# device_class: "humidity"
|
|
# state_class: "measurement"
|
|
# accuracy_decimals: 1
|
|
|
|
|
|
|