Advertisement
boelle11

Untitled

Mar 14th, 2021
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. esphome:
  2. name: thermostat
  3. platform: ESP8266
  4. board: nodemcuv2
  5. esp8266_restore_from_flash: True
  6. on_boot:
  7. priority: 500
  8. then:
  9. - climate.control:
  10. id: climateid
  11. mode: "HEAT"
  12.  
  13. wifi:
  14. ssid: !secret wifi_ssid
  15. password: !secret wifi_password
  16. ap:
  17. ssid: thermostat
  18. password: !secret ap_password
  19.  
  20. web_server:
  21. port: 80
  22.  
  23. logger:
  24.  
  25. api:
  26.  
  27. ota:
  28.  
  29. captive_portal:
  30.  
  31. sensor:
  32. - platform: dht
  33. pin: D5
  34. temperature:
  35. name: "Test Room Temperature"
  36. id: test_id
  37. humidity:
  38. name: "Test Room Humidity"
  39. update_interval: 60s
  40. switch:
  41. - platform: gpio
  42. pin: D8
  43. id: Relay
  44. name: "Heating Element Relay"
  45. climate:
  46. - platform: thermostat
  47. name: "thermostat_test"
  48. sensor: test_id
  49. id: climateid
  50. default_target_temperature_low: 30 °C
  51. heat_action:
  52. - switch.turn_on: Relay
  53. idle_action:
  54. - switch.turn_off: Relay
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement