Commit Graph

350 Commits

Author SHA1 Message Date
Christian Baars bcba4cd4d9
Update xdrv_01_webserver.ino
call legacy driver too for OTA
2022-01-17 19:41:17 +01:00
Theo Arends 4df42a28f5 Add command ``WebTime <start_pos>,<end_pos>``
- Add command ``WebTime <start_pos>,<end_pos>`` to show part of date and/or time in web gui based on "2017-03-07T11:08:02-07:00"
- Bump version to v2022.01.3
2022-01-16 16:19:28 +01:00
Theo Arends 5163f6437e Fix GUI network information layout 2022-01-13 15:57:33 +01:00
Theo Arends e6e5d5174f Phase 2/2 Ethernet IP address config
Phase 2 of 2 Ethernet IP address config based on PR (#14385)
2022-01-13 15:27:24 +01:00
Theo Arends a26f2dbc28 Fix SPM power switching over 8 relays
Fix SPM power switching over 8 relays (#14281)
2022-01-05 10:44:58 +01:00
Theo Arends a92f2cb941 Refactor Tuya webbutton 2021-12-15 12:30:48 +01:00
Theo Arends 4f20e4f698 Refactor SonoffRfBridge Webcode 2021-12-15 12:14:52 +01:00
Theo Arends 9ed8fb717d Add webserver function FUNC_WEB_GET_ARG
- Add webserver function FUNC_WEB_GET_ARG allowing better modular support of web arguments
- Add gui function buttons to LSC MCL
2021-12-15 11:15:30 +01:00
Stephan Hadinger 00b0ae245a Add HTTPS support to ``WebQuery`` (ESP32x only) 2021-11-26 18:58:35 +01:00
Theo Arends aa79f73aa9 Remove TWDT remnants 2021-11-04 17:41:03 +01:00
Theo Arends 4c65de2561 Fix OTA watchdog caused by TWDTLoop() 2021-10-27 16:22:50 +02:00
Stephan Hadinger f4dc0090b0 Move TWDT watchdog from esp-idf to Tasmota 2021-10-19 21:00:48 +02:00
Theo Arends eaeacbfa93 Fix negative heap fragmentation 2021-10-08 11:52:50 +02:00
Theo Arends 7c71c3bdd8 Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>``
Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>`` to extent HTTP requests (#13209)
2021-09-24 11:34:44 +02:00
Stephan Hadinger b58958b8c6 ESP32 add GPIO 6/7/8/11 to template and remove GPIO 28-31 (remapping so backwards compatible) 2021-09-05 19:43:53 +02:00
Stephan Hadinger a0693c6ed1 Support for ESP32S2 GPIOs 2021-09-04 14:20:09 +02:00
Theo Arends 1c4bca8a8c Add command ``WebGetConfig <url>``
Add command ``WebGetConfig <url>`` if ``#define USE_WEBGETCONFIG`` is enabled to restore/init configuration from external webserver (#13034)
2021-09-02 10:46:29 +02:00
Barbudor 8d736b160d update logs 2021-09-01 21:37:21 +02:00
Barbudor cc51a37738 add command webgetconfig 2021-09-01 21:30:54 +02:00
Theo Arends 43642e0b8a Turn HTTP API (command ``SetOption128 1``) default on for backward compatibility 2021-08-20 15:54:26 +02:00
Theo Arends ae67c5fa57
Merge pull request #12900 from ascillato/WEBUI_HTTP-API-ENABLING
WebUI: Add option for enabling HTTP API
2021-08-20 15:25:23 +02:00
Adrian Scillato b50775bcf9
http referer error message 2021-08-17 13:48:41 -03:00
Adrian Scillato cbab3bdfb0
http referer error message 2021-08-17 13:45:30 -03:00
Adrian Scillato 079cd54088
Moved HTTP Referer Loglevel from 3 to 2 2021-08-17 13:23:49 -03:00
Adrian Scillato 8b3679a39b
Add SO128 to WebUI (HTTP API ENABLE) 2021-08-16 18:45:24 -03:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 4ed6335428 Add referer related debug info 2021-08-15 15:51:29 +02:00
Theo Arends 15312f8829 Add disabling web referer check default blocking HTTP web commands
Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)
2021-08-15 13:15:33 +02:00
Theo Arends 7380f85d8d Revert "Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)"
This reverts commit 996aaf26cc.
2021-08-15 13:04:57 +02:00
Theo Arends 996aaf26cc Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828) 2021-08-15 12:59:21 +02:00
Adrian Scillato 3d58912ef1
Set CORS as an optional feature in Webserver 2021-08-05 12:55:07 -03:00
Theo Arends 65b7034b0c Support for second DNS server 2021-07-29 16:57:04 +02:00
Theo Arends 3d37712b27 Change message ``Upload buffer miscompare`` into ``Not enough space`` 2021-07-22 15:14:58 +02:00
Stephan Hadinger 1682582bea Disable PSRAM on unsupported hardware
Either ESP32 rev1/2 that needs special fixes
`-DHAS_PSRAM_FIX -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround`
or ESP32-PICO-V3-02 that requires esp-idf 4.4
2021-07-18 19:43:33 +02:00
Theo Arends 6cd9a7d899 Add command ``SetSensor1..127 0|1`` to globally disable individual sensor driver 2021-07-14 14:20:50 +02:00
Adrian Scillato bb8e787947
Initial Wi-Fi Config: Fix Bug with SAVEDATA
In some conditions, if the save button is pressed more than once, or the page is refreshed several times, the Wi-Fi credentials checking routine was disabling SAVEDATA in flash. This Fixs that condition.
2021-07-09 13:27:47 -03:00
Adrian Scillato fb4aac574e
Wi-Fi Initial Setup: Workaround for 11n Only Routers
Workaround for the hardware limitation of ESP8266. In STA+AP mode it only supports 11b/g. In STA only mode it supports 11b/g/n.
2021-07-05 10:00:10 -03:00
Theo Arends 512d912b77 Change setting hostname to fixing ArduinoESP32 core 2.0.0 2021-07-05 14:50:33 +02:00
Theo Arends e02b58a6ed Refactor ShowFreeMem 2021-06-25 17:09:53 +02:00
Theo Arends 4187cc7818 Remove ProgramFlashSize from ESP32 Gui 2021-06-20 17:20:20 +02:00
Theo Arends 37d6548fd2 Speed up initial GUI console refresh 2021-06-19 15:22:17 +02:00
Adrian Scillato 35c0e991b6
Allow Captive Portal to be optional 2021-06-15 20:39:49 -03:00
Stephan Hadinger b622c53cdd Esp32c3 fix template command and Web UI 2021-06-14 21:32:07 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 446706f16d Prep for larger log buffer 2021-06-09 17:24:28 +02:00
Stephan Hadinger 0e3006c46f Add preliminary support for Esp32C3 - RiscV based 2021-06-08 20:31:01 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Theo Arends 4ad1c40a23 Refactor _WSContentSendBuffer 2021-06-04 17:16:04 +02:00
Adrian Scillato ae133f1933
Add actual Wi-Fi mode (b/g/n) to INFORMATION MENU
And some code cleaning
2021-06-04 09:54:26 -03:00