periodic push
This commit is contained in:
@@ -1,75 +1,55 @@
|
||||
substitutions:
|
||||
esp_name: "hvac-ir-slaapkamer"
|
||||
device_name: "hvac-ir-slaapkamer"
|
||||
friendly_name: "HVAC-IR-RGB slaapkamer"
|
||||
comment: "esp8266, blue ESP12 module, IR, RGBW"
|
||||
location: "Slaapkamer"
|
||||
api_password: !secret hvac_slaapkamer_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret hvac_slaapkamer_ip
|
||||
pin_ir_tx: GPIO14
|
||||
pin_ir_rx: GPIO5
|
||||
pin_button: GPIO13
|
||||
pin_leds: GPIO03
|
||||
pin_status: GPIO4
|
||||
|
||||
esphome:
|
||||
name: ${esp_name}
|
||||
packages:
|
||||
board: !include boards/esp12f.yaml
|
||||
ir: !include interfaces/ir.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
device_base: !include common/common.yaml
|
||||
climate: !include templates/climate_nosens.yaml
|
||||
#status: !include templates/status.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
button: !include templates/button.yaml
|
||||
|
||||
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
|
||||
light:
|
||||
- platform: neopixelbus
|
||||
id: leds
|
||||
method:
|
||||
type: esp8266_dma
|
||||
type: GRBW
|
||||
variant: WS2812X
|
||||
pin: ${pin_leds}
|
||||
num_leds: 114
|
||||
name: "NeoPixel Light"
|
||||
effects:
|
||||
- random:
|
||||
name: "Random"
|
||||
transition_length: 4s
|
||||
update_interval: 5s
|
||||
- addressable_rainbow:
|
||||
name: Rainbow Effect
|
||||
speed: 20
|
||||
width: 17
|
||||
|
||||
|
||||
|
||||
#GPIO4 - status
|
||||
#GPIO5 - IR rcvr
|
||||
#GPIO14 - IR tx
|
||||
#GPIO13 - button
|
||||
#GPIO15 - connect to GND
|
||||
#GPIO03 - WS2812 LEDS
|
||||
|
||||
Reference in New Issue
Block a user