Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: temhum
- 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:
- sensor:
- - platform: dht
- pin: D3
- temperature:
- name: "Temperature"
- id: tempid
- humidity:
- name: "Humidity"
- id: humiid
- model: DHT11
- update_interval: 10s
- light:
- - platform: rgb
- name: "Test LED"
- red: output_component1
- green: output_component2
- blue: output_component3
- id: ledlight
- output:
- - platform: esp8266_pwm
- id: output_component1
- pin: D5
- - platform: esp8266_pwm
- id: output_component2
- pin: D6
- - platform: esp8266_pwm
- id: output_component3
- pin: D7
- climate:
- - platform: thermostat
- name: "thermo_test"
- sensor: tempid
- id: climateid
- default_target_temperature_low: 30 °C
- heat_action:
- - light.turn_on: ledlight
- idle_action:
- - light.turn_off: ledlight
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement