aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufHA <[email protected]>2024-06-19 14:16:47 -0700
committerKaufHA <[email protected]>2024-06-19 14:16:47 -0700
commit9e32218cdb6c5a99b2752535dba76a5b443a571f (patch)
tree7dfb05fddc655cab2db4d7a4e99a7dce6df1a7f9
parenta0b825e972562b78b38a7b85ea34b24f9052f9e7 (diff)
downloadPLF10-9e32218cdb6c5a99b2752535dba76a5b443a571f.tar.gz
PLF10-9e32218cdb6c5a99b2752535dba76a5b443a571f.zip
use non-local js for web server
-rw-r--r--config/kauf-plug-lite.yaml9
-rw-r--r--config/kauf-plug-minimal.yaml6
-rw-r--r--config/kauf-plug-update.yaml5
-rw-r--r--kauf-plug.yaml4
4 files changed, 19 insertions, 5 deletions
diff --git a/config/kauf-plug-lite.yaml b/config/kauf-plug-lite.yaml
index 5033ea5..01133df 100644
--- a/config/kauf-plug-lite.yaml
+++ b/config/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: "2.064"
+ project_ver_num: "2.068"
project_ver_let: l
# https://esphome.io/components/switch/gpio.html?highlight=restore_mode
@@ -130,6 +130,8 @@ esphome:
- script.execute: script_set_power_leds
- script.execute: on_wifi_connect
+ min_version: 2024.6.0
+
# https://esphome.io/components/wifi.html
wifi:
@@ -161,13 +163,16 @@ api:
# https://esphome.io/components/ota.html
ota:
+ platform: esphome
on_error:
- button.press: restart_button
+safe_mode:
+
+
# https://esphome.io/components/web_server.html
web_server:
- local: true
# https://esphome.io/components/binary_sensor/index.html
diff --git a/config/kauf-plug-minimal.yaml b/config/kauf-plug-minimal.yaml
index bd0f24e..79e821b 100644
--- a/config/kauf-plug-minimal.yaml
+++ b/config/kauf-plug-minimal.yaml
@@ -49,7 +49,9 @@ esphome:
# https://esphome.io/components/esphome.html#esphome-creators-project
project:
name: "Kauf.PLF10"
- version: "2.064(m)"
+ version: "2.068(m)"
+
+ min_version: 2024.6.0
# https://esphome.io/components/esp8266.html
@@ -77,6 +79,8 @@ 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
+ platform: esphome
+safe_mode:
# https://esphome.io/components/status_led.html
diff --git a/config/kauf-plug-update.yaml b/config/kauf-plug-update.yaml
index 5fa4940..f44fea9 100644
--- a/config/kauf-plug-update.yaml
+++ b/config/kauf-plug-update.yaml
@@ -21,3 +21,8 @@ esphome:
# Allows saving wifi credentials across update.
wifi:
forced_hash: 1432266978
+
+
+# embed the web server's js file for binary update files
+web_server:
+ local: true
diff --git a/kauf-plug.yaml b/kauf-plug.yaml
index f573790..5d44191 100644
--- a/kauf-plug.yaml
+++ b/kauf-plug.yaml
@@ -15,7 +15,7 @@ substitutions:
# https://esphome.io/components/esphome.html#esphome-creators-project
project_name: Kauf.PLF10
- project_ver_num: "2.067"
+ project_ver_num: "2.068"
project_ver_let: y
# https://esphome.io/components/switch/gpio.html?highlight=restore_mode
@@ -195,8 +195,8 @@ safe_mode:
# https://esphome.io/components/web_server.html
web_server:
- local: true
disable: $disable_webserver
+ js_url: https://kaufha.com/v2/www.js
# https://esphome.io/components/binary_sensor/index.html