Advertisement
boelle11

Untitled

Mar 14th, 2021
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 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. dallas:
  32. - pin: GPIO5
  33.  
  34. sensor:
  35. - platform: dallas
  36. address: 0x6D00000C24013928
  37. name: "Measured temperature"
  38. id: t_room
  39. filters:
  40. - offset: 0.0
  41.  
  42.  
  43. switch:
  44. - platform: gpio
  45. pin: D8
  46. id: Relay
  47. name: "Heating Element Relay"
  48.  
  49. climate:
  50. - platform: thermostat
  51. name: "thermo_test"
  52. sensor: t_room
  53. id: climateid
  54. default_target_temperature_low: 30 °C
  55. heat_action:
  56. - switch.turn_on: Relay
  57. idle_action:
  58. - switch.turn_off: Relay
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement