From d4b78a0e1bf7d33d8f1a0a726270283011e1d887 Mon Sep 17 00:00:00 2001 From: Magnus Persson Date: Sun, 21 Aug 2022 18:48:08 +0200 Subject: [PATCH] Showing wifi ssid in config --- html/config.htm | 17 +++++++++++++++++ html/config.min.htm | 2 +- test/config.json | 2 ++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/html/config.htm b/html/config.htm index 3c7927f..78b6fa4 100644 --- a/html/config.htm +++ b/html/config.htm @@ -152,6 +152,21 @@
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
@@ -901,6 +916,8 @@ $("#angle").text(cfg["angle"]); $("#runtime-average").val(cfg["runtime-average"]); $("#water-angle").text( "(Water angle: " + cfg["formula-calculation-data"]["a1"] + ") - default off"); + $("#wifi-ssid").text(cfg["wifi-ssid"]); + $("#wifi-ssid2").text(cfg["wifi-ssid2"]); //$("#gravity").text(cfg["gravity"] + " SG"); }) .fail(function () { diff --git a/html/config.min.htm b/html/config.min.htm index eae23ba..1acaf32 100644 --- a/html/config.min.htm +++ b/html/config.min.htm @@ -1 +1 @@ -Beer Gravity Monitor

Temperature Format


(10-100) - default 50
(50-1000) - default 500
(1 - 10) - default 3 SG
(0 - 100) - default 20C/68F

(9 - 12) - default 9 bits

(1 - 60) - default 20 s
(10 - 240) - default 120 s

(0 - 5) - default 0
(0 - 5) - default 0
(0 - 5) - default 0
(0 - 5) - default 0
(0 - 5) - default 0
(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file +Beer Gravity Monitor

Temperature Format



(10-100) - default 50
(50-1000) - default 500
(1 - 10) - default 3 SG
(0 - 100) - default 20C/68F

(9 - 12) - default 9 bits

(1 - 60) - default 20 s
(10 - 240) - default 120 s

(0 - 5) - default 0
(0 - 5) - default 0
(0 - 5) - default 0
(0 - 5) - default 0
(0 - 5) - default 0
(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file diff --git a/test/config.json b/test/config.json index 35abbe8..af6a3e1 100644 --- a/test/config.json +++ b/test/config.json @@ -1,4 +1,6 @@ { + "wifi-ssid": "ssid 1", + "wifi-ssid2": "ssid 2", "mdns": "gravmon3", "id": "7376ef", "ota-url": "http://192.168.1.100:80/firmware/gravmon/",