From 77cdbf7649f9b131d00bed17204bd5d9ea919bcb Mon Sep 17 00:00:00 2001 From: Magnus Persson Date: Thu, 3 Feb 2022 20:33:20 +0100 Subject: [PATCH] Updated bootstrap to 4.6.1 --- html/calibration.htm | 4 ++-- html/calibration.min.htm | 2 +- html/config.htm | 4 ++-- html/config.min.htm | 2 +- html/device.htm | 4 ++-- html/device.min.htm | 2 +- html/format.htm | 4 ++-- html/format.min.htm | 2 +- html/index.htm | 4 ++-- html/index.min.htm | 2 +- html/upload.htm | 4 ++-- html/upload.min.htm | 2 +- test/configure.py | 6 ++++++ 13 files changed, 24 insertions(+), 18 deletions(-) diff --git a/html/calibration.htm b/html/calibration.htm index 7a8bf2d..57a6999 100644 --- a/html/calibration.htm +++ b/html/calibration.htm @@ -5,9 +5,9 @@ Beer Gravity Monitor - + - + diff --git a/html/calibration.min.htm b/html/calibration.min.htm index a8e3579..2a16576 100644 --- a/html/calibration.min.htm +++ b/html/calibration.min.htm @@ -1,4 +1,4 @@ -Beer Gravity Monitor

Here you can create your gravity formula by entering angles/tilt and the corresponding gravity. These values will be saved for future use. Angles with 0 (zero) will be skipped. The values below will be used to check the formula and if the deviation is more than 1.5SG / 0.38P on any of the provided points then the forumla will be rejected. On the bottom of the page you can see a graph over the entered values + values calcualated by the formula.



Here you can create your gravity formula by entering angles/tilt and the corresponding gravity. These values will be saved for future use. Angles with 0 (zero) will be skipped. The values below will be used to check the formula and if the deviation is more than 1.5SG / 0.38P on any of the provided points then the forumla will be rejected. On the bottom of the page you can see a graph over the entered values + values calcualated by the formula.


- + diff --git a/html/config.min.htm b/html/config.min.htm index 5a5e869..9bb68cc 100644 --- a/html/config.min.htm +++ b/html/config.min.htm @@ -1 +1 @@ -Beer Gravity Monitor

Temperature Format:





Gravity Format:


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

Temperature Format:





Gravity Format:


(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file diff --git a/html/device.htm b/html/device.htm index 32397e5..e73c74d 100644 --- a/html/device.htm +++ b/html/device.htm @@ -6,9 +6,9 @@ Beer Gravity Monitor - + - + diff --git a/html/device.min.htm b/html/device.min.htm index 04c2d57..943809c 100644 --- a/html/device.min.htm +++ b/html/device.min.htm @@ -1 +1 @@ -Beer Gravity Monitor

Current version:
Loading...
Host name:
Loading...
Device ID:
Loading...
Average runtime:
Loading...

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

Current version:
Loading...
Host name:
Loading...
Device ID:
Loading...
Average runtime:
Loading...

(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file diff --git a/html/format.htm b/html/format.htm index c19070d..ec33329 100644 --- a/html/format.htm +++ b/html/format.htm @@ -5,9 +5,9 @@ Beer Gravity Monitor - + - + diff --git a/html/format.min.htm b/html/format.min.htm index b1a97fb..728726d 100644 --- a/html/format.min.htm +++ b/html/format.min.htm @@ -1,2 +1,2 @@ -Beer Gravity Monitor


(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file diff --git a/html/index.htm b/html/index.htm index d95548b..38ff4c7 100644 --- a/html/index.htm +++ b/html/index.htm @@ -5,9 +5,9 @@ Beer Gravity Monitor - + - + diff --git a/html/index.min.htm b/html/index.min.htm index 0d8f6a6..5e8ad5a 100644 --- a/html/index.min.htm +++ b/html/index.min.htm @@ -1 +1 @@ -Beer Gravity Monitor

Gravity:
Loading...
Temperature:
Loading...
Angle/Tilt:
Loading...
Battery:
Loading...

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

Gravity:
Loading...
Temperature:
Loading...
Angle/Tilt:
Loading...
Battery:
Loading...

(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file diff --git a/html/upload.htm b/html/upload.htm index a4e416b..6a4f0fb 100644 --- a/html/upload.htm +++ b/html/upload.htm @@ -5,9 +5,9 @@ Beer Gravity Monitor - + - + diff --git a/html/upload.min.htm b/html/upload.min.htm index 4998a81..90edfc6 100644 --- a/html/upload.min.htm +++ b/html/upload.min.htm @@ -1 +1 @@ -Beer Gravity Monitor

The listed files below needs to be uploaded to the FileSystem in order for the GUI to work. You can also flash the LittleFS filesystem but in that case you will loose your device settings. An OTA upgrade will automatically download the files if they are found in the same location as the firmware.bin. This page is a fallback option.

Once all the files are confirmed, please reboot the device for normal operation.
index.min.htm
Checking...
device.min.htm
Checking...
config.min.htm
Checking...
calibration.min.htm
Checking...
format.min.htm
Checking...
about.min.htm
Checking...

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

The listed files below needs to be uploaded to the FileSystem in order for the GUI to work. You can also flash the LittleFS filesystem but in that case you will loose your device settings. An OTA upgrade will automatically download the files if they are found in the same location as the firmware.bin. This page is a fallback option.

Once all the files are confirmed, please reboot the device for normal operation.
index.min.htm
Checking...
device.min.htm
Checking...
config.min.htm
Checking...
calibration.min.htm
Checking...
format.min.htm
Checking...
about.min.htm
Checking...

(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file diff --git a/test/configure.py b/test/configure.py index c9deb7f..0d9bd41 100644 --- a/test/configure.py +++ b/test/configure.py @@ -30,8 +30,13 @@ set_config( url, json ) # url = "http://" + host + "/api/config/push" json = { "id": id, + "token": "", "http-push": "http://192.168.1.1/ispindel", # HTTP endpoint "http-push2": "", # HTTP endpoint2 + "http-push-h1": "Content-Type: application/json", + "http-push-h2": "", + "http-push2-h1": "Content-Type: application/json", + "http-push2-h2": "", "brewfather-push": "", # Brewfather URL "influxdb2-push": "", # InfluxDB2 settings "influxdb2-org": "", @@ -51,6 +56,7 @@ set_config( url, json ) url = "http://" + host + "/api/config/gravity" json = { "id": id, "gravity-formula": "", # If you want to set the gravity formula + "gravity-format": "G", "gravity-temp-adjustment": "off" # on or off } set_config( url, json )