aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--kauf-plug-lite.yaml7
-rw-r--r--kauf-plug-minimal.yaml23
-rw-r--r--kauf-plug.yaml3
3 files changed, 24 insertions, 9 deletions
diff --git a/kauf-plug-lite.yaml b/kauf-plug-lite.yaml
index 868456d..d167993 100644
--- a/kauf-plug-lite.yaml
+++ b/kauf-plug-lite.yaml
@@ -15,7 +15,7 @@ substitutions:
# https://esphome.io/components/esphome.html#esphome-creators-project
project_name: Kauf.PLF10
- project_ver_num: "1.98"
+ project_ver_num: "1.983"
project_ver_let: l
# https://esphome.io/components/switch/gpio.html?highlight=restore_mode
@@ -149,7 +149,8 @@ wifi:
ap_timeout: 2147483647ms # maximum 32 bit value. About 3.5 weeks in milliseconds.
-captive_portal: # for fallback wifi hotspot
+# https://esphome.io/components/captive_portal.html
+captive_portal:
# https://esphome.io/components/logger.html
@@ -169,7 +170,7 @@ ota:
# https://esphome.io/components/web_server.html
web_server:
- local: true
+ # local: true
# https://esphome.io/components/binary_sensor/index.html
diff --git a/kauf-plug-minimal.yaml b/kauf-plug-minimal.yaml
index 48018d8..40a01bd 100644
--- a/kauf-plug-minimal.yaml
+++ b/kauf-plug-minimal.yaml
@@ -1,3 +1,4 @@
+# https://esphome.io/guides/configuration-types.html#substitutions
substitutions:
name: kauf-plug # **** CHANGE DEVICE NAME TO SOMETHING UNIQUE PER DEVICE. RENAME YAML FILE TO SAME NAME. ****
@@ -39,6 +40,8 @@ substitutions:
sub_red_led_pin: GPIO0
sub_relay_pin: GPIO4
+
+# https://esphome.io/components/esphome.html
esphome:
name: $name
@@ -48,11 +51,13 @@ esphome:
esp8266_restore_from_flash: true
+ # https://esphome.io/components/esphome.html#esphome-creators-project
project:
name: "Kauf.PLF10"
- version: "1.98(m)"
+ version: "1.983(m)"
+# https://esphome.io/components/wifi.html
wifi:
# **** ENTER WI-FI CREDENTIALS HERE, USING SECRETS.YAML RECOMMENDED ****
@@ -66,14 +71,17 @@ wifi:
# feel free to change or override.
fast_connect: true
+ ap:
-logger: # Enable logging
-
-api: # Enable Home Assistant API
-ota:
+captive_portal: # https://esphome.io/components/captive_portal.html
+web_server: # https://esphome.io/components/web_server.html
+logger: # https://esphome.io/components/logger.html
+api: # https://esphome.io/components/api.html
+ota: # https://esphome.io/components/ota.html
+# https://esphome.io/components/status_led.html
# red led, blink when not connected to wifi or Home Assistant
status_led:
pin:
@@ -81,9 +89,11 @@ status_led:
inverted: true
+# https://esphome.io/components/binary_sensor/index.html
binary_sensor:
# button input toggles relay and thereby blue led
+ # https://esphome.io/components/binary_sensor/gpio.html
- platform: gpio
id: button
name: $friendly_name Button
@@ -102,6 +112,8 @@ binary_sensor:
switch.toggle: relay
+# https://esphome.io/components/switch/index.html
+# https://esphome.io/components/switch/gpio.html
switch:
# blue LED follows relay power state
@@ -125,6 +137,7 @@ switch:
# clock input from Home Assistant used to calculate total daily energy
+# https://esphome.io/components/time.html#home-assistant-time-source
time:
- platform: homeassistant
id: homeassistant_time
diff --git a/kauf-plug.yaml b/kauf-plug.yaml
index 9975c6e..1dbc699 100644
--- a/kauf-plug.yaml
+++ b/kauf-plug.yaml
@@ -164,7 +164,8 @@ wifi:
global_addr: global_forced_addr
-captive_portal: # for fallback wifi hotspot
+# https://esphome.io/components/captive_portal.html
+captive_portal:
# https://esphome.io/components/logger.html