Skip to content

Commit

Permalink
esp 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dontsovcmc committed Nov 13, 2023
1 parent 726ac44 commit 7ef93a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 9 additions & 2 deletions ESP8266/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
;extra_configs = secrets.ini
default_envs = esp01_1m ; nodemcuv2 ;


[libraries]
arduinojson = ArduinoJson@6.18.3
pubsubclient = PubSubClient@2.8
blynk = Blynk@0.6.1
blynk = Blynk@0.6.1
espasyncwebserver = https://github.com/waterius/ESPAsyncWebServer.git#20230926

[env:esp01_1m]
Expand Down Expand Up @@ -141,4 +142,10 @@ build_flags =
; Просмотр стэка при падении прошивки
; -------------------
;
; /waterius/ESP8266/.pio/build/esp01_1m/firmware.elf
; /waterius/ESP8266/.pio/build/esp01_1m/firmware.elf


;
; cp .pio/build/esp01_1m/firmware.elf ./../esp8266-1.0.1.elf
; cp .pio/build/esp01_1m/firmware.bin ./../esp8266-1.0.1.bin
; cp .pio/build/esp01_1m/littlefs.bin ./../esp8266-fs-1.0.1.bin
2 changes: 1 addition & 1 deletion ESP8266/src/portal/active_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ void start_active_point(Settings &sett, const SlaveData &data, CalculatedData &c
server->onNotFound(onNotFound);

// Главная страница
server->on("/", HTTP_GET, onRoot); //.setFilter(ON_AP_FILTER);
server->on("/", HTTP_GET, onRoot).setFilter(ON_AP_FILTER);

// CaptivePortal
// https://github.com/CDFER/Captive-Portal-ESP32/blob/main/src/main.cpp#L50C11-L50C25
Expand Down
2 changes: 2 additions & 0 deletions ESP8266/src/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
1.0.1 - 2023.11.02 - dontsovcmc
1. Тип входа сразу сохраняется (улучшение)
2. добавил в JSON wifi_phy_mode, wifi_phy_mode_s, ch0_start, ch1_start
3. captive portal работает
4. во время настройки терялись импульсы
1.0.0 - 2023.10.29 - dontsovcmc, neitri
1. WiFiManager заменён на ESPAsyncWebServer
Expand Down

0 comments on commit 7ef93a8

Please sign in to comment.