Advertisement
boelle11

Untitled

Mar 14th, 2021
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. esphome:
  2. name: temhum
  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: D3
  34. temperature:
  35. name: "Temperature"
  36. id: tempid
  37. humidity:
  38. name: "Humidity"
  39. id: humiid
  40. model: DHT11
  41. update_interval: 10s
  42.  
  43. light:
  44. - platform: rgb
  45. name: "Test LED"
  46. red: output_component1
  47. green: output_component2
  48. blue: output_component3
  49. id: ledlight
  50.  
  51. output:
  52. - platform: esp8266_pwm
  53. id: output_component1
  54. pin: D5
  55. - platform: esp8266_pwm
  56. id: output_component2
  57. pin: D6
  58. - platform: esp8266_pwm
  59. id: output_component3
  60. pin: D7
  61.  
  62. climate:
  63. - platform: thermostat
  64. name: "thermo_test"
  65. sensor: tempid
  66. id: climateid
  67. default_target_temperature_low: 30 °C
  68. heat_action:
  69. - light.turn_on: ledlight
  70. idle_action:
  71. - light.turn_off: ledlight
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement