Advertisement
seston

esphome max6675

May 11th, 2024 (edited)
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. esphome:
  2. name: "temp-leiliruumis"
  3. friendly_name: Temp1
  4.  
  5. esp32:
  6. board: esp32dev
  7. framework:
  8. type: arduino
  9.  
  10. # Enable logging
  11. logger:
  12.  
  13. # Enable Home Assistant API
  14. api:
  15. encryption:
  16. key: "PcOAp3OCjcRIkmXNz0ER9tu8UKJdh+jefPTuFDfE="
  17.  
  18. ota:
  19. password: "0a3b19a8de6384e6da763799c5171"
  20.  
  21. wifi:
  22. ssid: IOT
  23. password:
  24.  
  25. # Enable fallback hotspot (captive portal) in case wifi connection fails
  26. ap:
  27. ssid: "Temp1 Fallback Hotspot"
  28. password: "12345678"
  29.  
  30. captive_portal:
  31.  
  32. # Example configuration entry
  33. spi:
  34. miso_pin: GPIO32
  35. clk_pin: GPIO25
  36.  
  37. sensor:
  38. - platform: max6675
  39. name: "Leiliruumi temp"
  40. cs_pin: GPIO23
  41. update_interval: 60s
  42.  
  43. # SI7021 Temperature and Humidity Sensor
  44. - platform: dht
  45. pin: GPIO14
  46. model: SI7021
  47. temperature:
  48. name: "Dušširuumi temp"
  49. humidity:
  50. name: "Dušširuumi Humidity"
  51. update_interval: 60s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement