initial commit
This commit is contained in:
75
esphome/hvac-ir-slaapkamer.yaml
Normal file
75
esphome/hvac-ir-slaapkamer.yaml
Normal file
@@ -0,0 +1,75 @@
|
||||
substitutions:
|
||||
esp_name: "hvac-ir-slaapkamer"
|
||||
|
||||
esphome:
|
||||
name: ${esp_name}
|
||||
|
||||
esp8266:
|
||||
board: nodemcuv2
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: !secret hvac_slaapkamer_api
|
||||
|
||||
ota:
|
||||
password: !secret hvac_slaapkamer_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
|
||||
|
||||
i2c:
|
||||
- id: bus_a
|
||||
sda: GPIO4
|
||||
scl: GPIO0
|
||||
scan: false
|
||||
|
||||
remote_transmitter:
|
||||
pin: GPIO14
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
#status_led:
|
||||
# pin: GPIO2
|
||||
|
||||
remote_receiver:
|
||||
id: rcvr
|
||||
pin:
|
||||
number: GPIO5
|
||||
inverted: true
|
||||
# mode:
|
||||
# input: true
|
||||
# pullup: true
|
||||
tolerance: 55%
|
||||
dump: all
|
||||
|
||||
sensor:
|
||||
- platform: sht3xd
|
||||
temperature:
|
||||
name: "Temperatuur slaapkamer (airco)"
|
||||
id: sht_temp
|
||||
humidity:
|
||||
name: "Humidity slaapkamer (airco)"
|
||||
address: 0x44
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: fujitsu_general
|
||||
name: "Airco Slaapkamer"
|
||||
receiver_id: rcvr
|
||||
sensor: sht_temp
|
||||
# visual:
|
||||
# min_temperature: 18
|
||||
# max_temperature: 25
|
||||
# temperature_Step: 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user