nvsch

Untitled

Oct 10th, 2022
1,249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.96 KB | None | 0 0
  1. esphome:
  2.   name: esp-hvac-woonkamer
  3.   platform: ESP8266
  4.   board: esp12e ##You might need to change this to the type of board you are using. I am using a custom dongle designed by Sergey Dudanov
  5.  
  6. # Enable Home Assistant API
  7. api:
  8. ota:
  9. wifi:
  10.   ssid: !secret iotwifi_ssid
  11.   password: !secret iotwifi_pass
  12.   manual_ip:
  13.     static_ip: 192.168.1.110
  14.     gateway: 192.168.1.1
  15.     subnet: 255.255.255.0
  16.  
  17.   # Enable fallback hotspot (captive portal) in case wifi connection fails
  18.   ap:
  19.     ssid: "ESP-HVAC-Woonkamer"
  20.     password: !secret iotwifi_passfallback
  21.  
  22. captive_portal:
  23. remote_transmitter:
  24.   pin: GPIO13
  25.   carrier_duty_percent: 100%
  26.   id: tsop
  27.  
  28. logger:
  29.   baud_rate: 0
  30.   level: DEBUG
  31.  
  32. uart:
  33.   tx_pin: GPIO1
  34.   rx_pin: GPIO3
  35.   baud_rate: 9600
  36.  
  37. climate:
  38.   - platform: midea
  39.     name: "AC Woonkamer"
  40.     beeper: false
  41.     transmitter_id: tsop
  42.  
  43.     # Optional if dongle responds slowly
  44.     period: 1s                  
  45.     timeout: 3s                
  46.     num_attempts: 5
  47.  
  48.     # Aria Multisplit does not support autoconf, Single split unknown
  49.     autoconf: true
  50.     # supported_modes:
  51.     #  - FAN_ONLY
  52.     #  - COOL
  53.     #  - HEAT
  54.     #  - DRY
  55.     #  - HEAT_COOL
  56.     # supported_presets:
  57.     #  - BOOST
  58.     #  - SLEEP    
  59.  
  60. #Outdoor unit temperature sensor readout
  61.     outdoor_temperature:
  62.       name: "hvac_outdoortemp"
  63.  
  64. sensor:
  65.   - platform: homeassistant
  66.     entity_id: sensor.tado_woonkamer_temp
  67.     id: zbtemp
  68.     internal: true
  69.     filters:
  70.       - throttle: 10s
  71.       - heartbeat: 2min          
  72.       - debounce: 1s
  73.     on_value:
  74.       midea_ac.follow_me:
  75.         temperature: !lambda "return x;"
  76.         beeper: false              
  77.  
  78. button:
  79.   - platform: template
  80.     name: AC Woonkamer display
  81.     icon: mdi:theme-light-dark
  82.     on_press:
  83.       midea_ac.display_toggle:
  84.   - platform: template
  85.     name: AC Woonkamer horizontal swing
  86.     icon: mdi:tailwind
  87.     on_press:
  88.      midea_ac.swing_step:
Advertisement
Add Comment
Please, Sign In to add comment