Last active
May 13, 2021 23:52
-
-
Save yanfali/31166ace87a713dd16b5d773533b6024 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: temp_sensor | |
| platform: ESP8266 | |
| board: nodemcuv2 | |
| wifi: | |
| ssid: "myssd" | |
| password: "myssdpass" | |
| captive_portal: | |
| # Enable logging | |
| logger: | |
| # Enable Home Assistant API | |
| api: | |
| password: "sekritpass" | |
| ota: | |
| password: "sekritpass" | |
| i2c: | |
| sda: 4 | |
| scl: 5 | |
| scan: True | |
| id: bus_a | |
| sensor: | |
| # Uptime sensor | |
| - platform: uptime | |
| name: temp_sensor_uptime | |
| # WiFi Signal sensor | |
| - platform: wifi_signal | |
| name: temp_sensor_wifi_signal | |
| update_interval: 10s | |
| - platform: htu21d | |
| temperature: | |
| name: "sensor Temperature" | |
| humidity: | |
| name: "sensor Humidity" | |
| update_interval: 60s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment