Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: thermostat
- platform: ESP8266
- board: nodemcuv2
- esp8266_restore_from_flash: True
- on_boot:
- priority: 500
- then:
- - climate.control:
- id: climateid
- mode: "HEAT"
- wifi:
- ssid: !secret wifi_ssid
- password: !secret wifi_password
- ap:
- ssid: thermostat
- password: !secret ap_password
- web_server:
- port: 80
- logger:
- api:
- ota:
- captive_portal:
- dallas:
- - pin: GPIO5
- sensor:
- - platform: dallas
- address: 0x6D00000C24013928
- name: "Measured temperature"
- id: t_room
- filters:
- - offset: 0.0
- switch:
- - platform: gpio
- pin: D8
- id: Relay
- name: "Heating Element Relay"
- climate:
- - platform: thermostat
- name: "thermo_test"
- sensor: t_room
- id: climateid
- default_target_temperature_low: 30 °C
- heat_action:
- - switch.turn_on: Relay
- idle_action:
- - switch.turn_off: Relay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement