Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: office_temp_sensor
- platform: ESP8266
- board: esp01_1m
- wifi:
- ssid: "*****"
- password: "*****************"
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- ota:
- # Example configuration entry
- dallas:
- - pin: GPIO02
- update_interval: 5s
- # Individual sensors
- sensor:
- - platform: dallas
- address: 0xAD0217B0683FFF28
- name: "Office Room Temperature"
- filters:
- #- offset: -5.0
- - calibrate_linear:
- # Map 0.0 (from sensor) to 0.0 (true value)
- - 0.0 -> 0.0
- - 22.8 -> 20.7
- - platform: adc
- pin: VCC
- name: "VCC Voltage"
- #Sleep between readings
- deep_sleep:
- run_duration: 6s
- sleep_duration: 2min
Advertisement
Add Comment
Please, Sign In to add comment