This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add support for DS18B20 sensor. Works only on TTGO using GPIO 33. Shows in web browser and sends via MQTT with AutoDiscovery. Works only when the sensor is connected. - Number of active socket clients reduced to 5 to avoid hangs. Maybe #10 - Number of active socket clients now sends via MQTT with auto-discovery. Using MQTT Refresh Interval. #9 - Automatically reconnect to a Wi-Fi hotspot after being disconnected, but you still need the hotspot to be available during the gateway reboot, otherwise it will start its own hotspot. #8 - Add a checkbox to disable emergency mode in Wi-Fi settings. #11 0.6.2 - Set MQTT reconnect interval same as MQTT update interval to avoid web server freezing, while broker is unavailable. - Added web authentication. Issue #4 Set to OFF by default, enable on general settings page. - Blocking saving an empty hostname, login and password to the web interface. Replaced with standard values ( ZigStarGM / admin / admin )
- Loading branch information
Showing
11 changed files
with
191 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
.gcc-flags.json | ||
.clang_complete | ||
bin | ||
commit | ||
commit | ||
todo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,46 @@ | ||
; PlatformIO Project Configuration File | ||
; | ||
; Build options: build flags, source filter | ||
; Upload options: custom upload port, speed and extra flags | ||
; Library options: dependencies, extra library storages | ||
; Advanced options: extra scripting | ||
; | ||
; Please visit documentation for the other options and examples | ||
; https://docs.platformio.org/page/projectconf.html | ||
|
||
[platformio] | ||
default_envs = prod | ||
|
||
[env] | ||
framework = arduino | ||
|
||
platform = espressif32 | ||
|
||
lib_deps = | ||
lib_deps = | ||
bblanchon/ArduinoJson@^6.18.3 | ||
lorol/LittleFS_esp32@^1.0.6 | ||
rlogiacco/CircularBuffer@^1.3.3 | ||
plerup/EspSoftwareSerial@^6.13.2 | ||
knolleary/PubSubClient@^2.8 | ||
marian-craciunescu/ESP32Ping@^1.7 | ||
|
||
milesburton/DallasTemperature@^3.9.1 | ||
robtillaart/DS18B20@^0.1.11 | ||
board = esp32dev | ||
board_build.partitions = min_spiffs.csv | ||
|
||
monitor_filters = esp32_exception_decoder | ||
monitor_speed = 115200 | ||
|
||
|
||
[env:prod] | ||
build_flags = | ||
${env.build_flags} | ||
-D=${PIOENV} | ||
|
||
${env.build_flags} | ||
-D=${PIOENV} | ||
extra_scripts = | ||
pre:tools/version_increment_pre.py | ||
post:tools/build.py | ||
|
||
[env:debug] | ||
build_flags = | ||
${env.build_flags} | ||
-D=${PIOENV} | ||
${env.build_flags} | ||
-D=${PIOENV} | ||
-DDEBUG | ||
|
||
extra_scripts = | ||
pre:tools/version_increment_pre.py | ||
post:tools/debug_build.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
// AUTO GENERATED FILE, DO NOT EDIT | ||
#ifndef VERSION | ||
#define VERSION "0.6.2" | ||
#define VERSION "0.6.3" | ||
#endif | ||
#ifndef BUILD_TIMESTAMP | ||
#define BUILD_TIMESTAMP "2021-10-31 03:56:11.081030" | ||
#define BUILD_TIMESTAMP "2021-10-31 17:59:39.672556" | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.