Browse Source

use home-assistant secrets.yaml

esphome
Hendrik Langer 3 years ago
parent
commit
5374b01153
  1. 20
      esp32weatherstation2.yaml

20
esp32weatherstation2.yaml

@ -11,7 +11,7 @@ esphome:
lib_ldf_mode: chain+ lib_ldf_mode: chain+
project: project:
name: "xd0.esp32weatherstation2" name: "xd0.esp32weatherstation2"
version: "0.0.1" version: "0.0.2"
# Enable logging # Enable logging
logger: logger:
@ -21,20 +21,20 @@ logger:
api: api:
ota: ota:
password: "123456789" password: !secret esphome_ota_password
wifi: wifi:
networks: networks:
- ssid: "ssid1" - ssid: !secret wifi_ssid
password: "password1" password: !secret wifi_passwd
- ssid: "ssid2" - ssid: !secret wifi_ssid2
password: "password2" password: !secret wifi_passwd2
power_save_mode: light power_save_mode: light
# Enable fallback hotspot (captive portal) in case wifi connection fails # Enable fallback hotspot (captive portal) in case wifi connection fails
ap: ap:
ssid: "Esp32Weatherstation2" ssid: "Esp32Weatherstation2"
password: "supersecret" password: "ucYwmU1xwUxh"
captive_portal: captive_portal:
@ -45,8 +45,8 @@ time:
#mqtt: #mqtt:
# broker: home.xd0.de # broker: home.xd0.de
# username: tasmota-login # username: !secret esphome_mqtt_user
# password: supersecret # password: !secret esphome_mqtt_passwd
i2c: i2c:
sda: 21 sda: 21
@ -152,7 +152,7 @@ sensor:
name: "ESP32 Hall Sensor" name: "ESP32 Hall Sensor"
update_interval: 60s update_interval: 60s
- platform: ble_rssi - platform: ble_rssi
mac_address: 11:22:33:44:55:66 mac_address: FA:4E:84:FF:4D:16
name: "MiBand Hendrik RSSI value" name: "MiBand Hendrik RSSI value"
# Example configuration entry # Example configuration entry

Loading…
Cancel
Save