Skip to content

Commit

Permalink
Merge pull request adonno#137 from adonno/adonno-update-2021.11
Browse files Browse the repository at this point in the history
Update for ESPHome  2021.11
  • Loading branch information
adonno authored Nov 18, 2021
2 parents e793e46 + 9a65b93 commit ccfe7f6
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions tagreader.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
# Insert your SSID and Your PWD after inital setup
wifi:
networks:
# networks:
# - ssid: 'REPLACEME' # Enter your WiFi SSID here. Example: `ssid: 'your_network_name'`
# password: 'REPLACEME' # Enter your wifi password here. Example: `password: 'abcde123456'`
ap:
ssid: ${devicename}
ssid: ${name}

# Enable the captive portal for inital WiFi setup
captive_portal:

dashboard_import:
package_import_url: github://adonno/tagreader/tagreader.yaml

improv_serial:


substitutions:
devicename: tagreader
name: tagreader
friendly_name: TagReader

esphome:
name: $devicename
name: $name
platform: ESP8266
board: d1_mini

Expand Down Expand Up @@ -55,13 +59,14 @@ switch:
icon: mdi:volume-high
optimistic: true
restore_state: true
entity_category: config
- platform: template
name: "${friendly_name} LED enabled"
id: led_enabled
icon: mdi:alarm-light-outline
optimistic: true
restore_state: true

entity_category: config
# Enable logging
logger:
# level: VERY_VERBOSE
Expand Down Expand Up @@ -199,6 +204,23 @@ output:
binary_sensor:
- platform: status
name: "${friendly_name} Status"
entity_category: diagnostic


text_sensor:
- platform: version
hide_timestamp: true
name: "${friendly_name} ESPHome Version"
entity_category: diagnostic
- platform: wifi_info
ip_address:
name: "${friendly_name} IP Address"
icon: mdi:wifi
entity_category: diagnostic
ssid:
name: "${friendly_name} Connected SSID"
icon: mdi:wifi-strength-2
entity_category: diagnostic

# Define buzzer as output for RTTTL
rtttl:
Expand Down

0 comments on commit ccfe7f6

Please sign in to comment.