Commit Graph

317 Commits

Author SHA1 Message Date
Theo Arends 4390fe03fe Refactor web authentication
Refactor web authentication
2021-01-08 14:10:34 +01:00
Theo Arends ff631ac322
Merge pull request #10451 from gorootde/feature/basic-auth-support
Added support for basic auth
2021-01-08 10:07:27 +01:00
Michael Kolb 84a07ce664 Added support for basic auth 2021-01-07 18:47:25 +01:00
Theo Arends 9d0a7e9bc4 Update filesystem GUI 2021-01-06 17:54:03 +01:00
Theo Arends f8de9150d0 Add rotary No Pullup GPIO selection
Add rotary No Pullup GPIO selection ``Rotary A/B_n`` (#10407)
2021-01-06 12:51:12 +01:00
Stephan Hadinger d0b426b505 Disable `USE_LIGHT`` light support for ZBBridge (saves 17.6kb) 2021-01-02 19:26:24 +01:00
Theo Arends 2b7d605696 Changed maximum chars in AddLog_P logging
Changed maximum chars in AddLog_P logging reduced from 700 to 128 (LOGSZ) to enhance stability
2021-01-02 16:20:15 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Simon Hailes cb71466bd4 webserver - move all compressed scripts to subfolders /html_uncompressed and /htmlcompressed.
Add utility tools/unishox/compress-html-uncompressed.py to compress all files found in tasmota/html_uncompressed and write compressed version to tasmota/htmlcompressed
2020-12-29 09:53:15 +00:00
Theo Arends 83b3aa576d Add BSSID and Signal Strength Indicator to GUI wifi scan result (#10253)
Add BSSID and Signal Strength Indicator to GUI wifi scan result (#10253)
2020-12-27 16:25:34 +01:00
Stephan Hadinger 51d39798d4 Reduce tasmota-minmal
Making `WebColor` and `Template` commands read-only
Saves 4kb on tasmota-minimal. No changes for other versions.
2020-12-27 14:13:23 +01:00
Theo Arends 9747dd4b5c Logging optimizations 2020-12-24 11:42:59 +01:00
Theo Arends 244611f12f Add logging buffer management 2020-12-22 15:26:07 +01:00
Theo Arends 5f7aacf13c Refactor logging 2020-12-19 17:29:14 +01:00
Theo Arends 2eb4eef08c Rename web_log to log_buffer 2020-12-18 16:30:37 +01:00
Theo Arends b7af08c03b Redesign syslog and mqttlog using log buffer
Redesign syslog and mqttlog using log buffer (#10164)
2020-12-18 15:37:20 +01:00
Stephan Hadinger 1558f0c731 Zigbee add visual map of network 2020-12-12 19:05:47 +01:00
Theo Arends c624ac7044 Add transfer error codes
Add transfer error codes related to device file type
2020-12-08 17:24:52 +01:00
Theo Arends 6bbb5492f6 Change GUI right justified column with left justified text
Change GUI right justified column with left justified text
2020-12-02 10:44:28 +01:00
Theo Arends 328e47d66e Fix ESP32 upload progress dots 2020-11-28 18:12:29 +01:00
Theo Arends 17e6890809 Prep for ESP32-C3 ph2 2020-11-28 16:39:15 +01:00
Theo Arends 9433b691a4 Fix ESP32 TasmotaClient firmware upgrade
Fix ESP32 TasmotaClient firmware upgrade (#9218)
2020-11-25 14:58:18 +01:00
Theo Arends 7f581554a9 Fix ESP32 TasmotaClient support 2020-11-25 13:07:04 +01:00
Theo Arends e79b1dd248
Merge pull request #9970 from Staars/ccloader
Port of CCLoader as a utility driver
2020-11-24 21:30:34 +01:00
Staars b772ab468d port of CCLoader 2020-11-24 20:29:28 +01:00
Theo Arends 547e5d9c5d Fix command ``gpio``
Fix command ``gpio`` using non-indexed functions regression from v9.1.0 (#9962)
2020-11-24 15:14:22 +01:00
Theo Arends f5ad07fe5e Fix ESP32 flashwrites 2020-11-22 17:35:04 +01:00
Theo Arends 846c24fb5a Fix possible compilation error 2020-11-21 17:21:20 +01:00
Theo Arends 92a9d5cda0 Refactor WebGui fw upgrade 2020-11-21 17:12:17 +01:00
Theo Arends fab5f3ddc3 Refactor GUI fw upgrade 2020-11-21 14:45:58 +01:00
Theo Arends d8678d149d Refactor RF Bridge fw upload 2020-11-20 17:51:16 +01:00
Theo Arends a8dea00fce Fix zbbridge compilation 2020-11-19 15:59:19 +01:00
Theo Arends 4d8191d6b0 Refactor file upload 2020-11-19 15:43:47 +01:00
Theo Arends c580a9c387 Refactor MQTT and webserver 2020-11-17 17:15:29 +01:00
Theo Arends 92f067af59 Change Shelly Dimmer fw upgrade
Change Shelly Dimmer fw upgrade using WebGUI Firmware Upgrade and file from folder `tools/fw_shd_stm32/`
2020-11-17 12:25:48 +01:00
Theo Arends acf0e79acb Initial support for SHD web gui firmware upload
Initial support for Shelly Dimmer web gui firmware upload when #define SHELLY_FW_UPGRADE2 is enabled. #define SHELLY_FW_UPGRADE must be disabled at that time
2020-11-16 17:39:16 +01:00
Federico Leoni 61c5e3bc2c TuyaMCU Update 1/3 2020-11-07 18:08:07 -03:00
Theo Arends 138ddfb16e Removed version compatibility check
Removed version compatibility check
2020-11-07 15:43:52 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Christopher Tremblay b5b6b97295 Swapped strstr for strchr where applicable
strstr calls with a single character were changed to strchr which should be more efficient.
2020-11-04 02:20:17 -08:00
Theo Arends 57a3e7f88c Fix ESP32 issues 2020-10-31 17:28:33 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00
Theo Arends 3bebfb32d3 Use global struct 2020-10-29 12:21:24 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Stephan Hadinger 1af525619a Webserver->on() optimization phase 2 2020-10-20 18:56:18 +02:00
Stephan Hadinger d6de72f1e5 Code size optimization 2020-10-19 19:35:58 +02:00
Theo Arends 08438907ba Refactor webserver 2020-10-09 17:59:42 +02:00
Theo Arends d5b8d6ae24 Add support for analog buttons
Add support for analog buttons indexed within standard button range
2020-10-08 18:27:12 +02:00
Theo Arends 7a73dd7019 Merge branch 'development' into dev-gpio16 2020-09-30 14:54:29 +02:00
Theo Arends c00d7035d9 Redesign GPIO to 16-bit 2020-09-29 18:10:21 +02:00
Theo Arends 895ed2d041 Redesign GPIO to 16-bit 2020-09-29 14:41:45 +02:00
Theo Arends 805f93cfab Redesign GPIO to 16-bit 2020-09-29 14:08:48 +02:00
Theo Arends 9cbd2d531d Initial GPIO redesign 2020-09-25 18:15:31 +02:00
Stephan Hadinger 019e402fe7 Move IR from ArduinoJson to JSMN 2020-09-24 08:51:43 +02:00
Stephan Hadinger f3591b8419 Fix memory corruption 2020-09-23 19:38:24 +02:00
Stephan Hadinger 2ff756b3cc Change replace ArduinoJson with JSMN for JSON parsing 2020-09-21 21:49:32 +02:00
Federico Leoni 0bca9a2028 TuyaMCU update2
oops
2020-09-16 16:59:10 -03:00
Federico Leoni e45a5f3323 TuyaMCU Update 2020-09-16 15:45:56 -03:00
Theo Arends 146eb6654d Refactor gui upload 2020-09-04 12:49:57 +02:00
Theo Arends d49997fa01 Fix ESP32 TasmotaClient detection
Fix ESP32 TasmotaClient detection (#9218)
2020-09-03 14:29:08 +02:00
Theo Arends 73e49803cc Add better Zigbee firmware Upload Transfer GUI 2020-09-01 13:05:46 +02:00
Stephan Hadinger fa179ee296 Add ``SetOption109 1`` to force gen1 Alexa mode, for Echo Dot 2nd gen devices only 2020-08-27 18:54:53 +02:00
Stephan Hadinger ea0901b162 Add Zigbee battery icon 2020-08-24 21:07:03 +02:00
Stephan Hadinger b0188642b1 Change triple-mode TLS via configuration in a single firmware (TLS AWS IoT, Letsencrypt and No-TLS) 2020-08-12 17:20:37 +02:00
blakadder 30072de0f7
update CT slider to more accurate color allocation
tweaked slider colors to more realistic portrayal (but still not accurate! and will never be!)
2020-08-11 19:51:41 +02:00
Theo Arends 55d217429c Increase Zigbee transfer GUI update timeout 2020-08-08 14:43:56 +02:00
Theo Arends 0b4197232e Add firmware upload state message to GUI 2020-08-08 13:18:39 +02:00
Theo Arends a3445e5b5f Add ESP32 ADC framework 2020-08-03 18:21:34 +02:00
Theo Arends 6aee706f01 Fix ESP32 Zigbee compilation 2020-07-31 11:35:26 +02:00
Theo Arends 30d0f050c7 POC Zigbee EFR32 xmodem upload
POC Zigbee EFR32 xmodem upload (#8583)
2020-07-26 18:55:31 +02:00
Theo Arends 806a862cac Add EFR32 upload framework 2020-07-25 18:25:06 +02:00
Theo Arends eeed6768d0 Third try to fix counter interrupt storm 2020-07-20 11:20:58 +02:00
Theo Arends 8dbe3c90da Second try to fix counter interrupt storm
Second try to fix counter interrupt storm during OTA (#8928)
2020-07-17 16:18:07 +02:00
Theo Arends 25dcf447f3 First try to fix counter interrupt storm
First try to fix counter interrupt storm during OTA (#8928)
2020-07-17 12:49:42 +02:00
Theo Arends 934ca43463 Remove Arduino ESP8266 Core support before 2.7.1
Remove Arduino ESP8266 Core support for versions before 2.7.1
2020-07-17 11:49:56 +02:00
Theo Arends a05e939be9 Add some zigbee webinfo 2020-06-27 18:17:40 +02:00
Theo Arends ff327106be Refactor ESP32 support 2020-06-24 15:58:56 +02:00
Norbert Richter fc3d38bbe7
Add info display Ssid escape 2020-06-18 18:16:16 +02:00
Theo Arends c533eb1186 BLM certify part 2
- Change define USE_TASMOTA_SLAVE into USE_TASMOTA_CLIENT
- Change commands ``SlaveSend`` and ``SlaveReset`` into ``ClientSend`` and ``ClientReset``
2020-06-18 16:05:55 +02:00
Theo Arends 2af506e48b Change ESP32 USER GPIO template representation decreasing template message size
Change ESP32 USER GPIO template representation decreasing template message size
2020-06-18 12:55:10 +02:00
Theo Arends a1d8fa755c Fix ESP32 AP information 2020-06-17 10:39:05 +02:00
Theo Arends b8ab5b3d4e Add IP address info
Add IP address info (#8503)
2020-06-16 14:57:00 +02:00
Theo Arends c1d0d20996 Fix mdns related compile error 2020-06-15 22:10:49 +02:00
Theo Arends ef0b797686 Add basic support for ESP32 ethernet
Add basic support for ESP32 ethernet adding commands ``Wifi 0/1`` and ``Ethernet 0/1`` both default ON (#8503)
2020-06-15 18:27:04 +02:00
Staars 71d5ca5036 adding unishox compression to the webserver 2020-06-06 21:52:20 +02:00
Theo Arends 9d86c15685 Some webserver code saving 2020-06-05 11:53:53 +02:00
Theo Arends 371870a826 Fix ESP32 GUI template upload
Fix ESP32 GUI template upload (#8534)
2020-05-26 17:38:34 +02:00
Theo Arends 14807254ba Fix apostrophe regression 2020-05-21 18:03:05 +02:00
Theo Arends f1205385bd Fix the GUI display of apostrophe
Fix the GUI display of apostrophe in any name (#8489, #8323)
2020-05-21 17:49:59 +02:00
Theo Arends 4e38cb7ba9 Allow empty DeviceName 2020-05-17 17:55:36 +02:00
Theo Arends d7f6c78ed9 Add command ``DeviceName``
Add command ``DeviceName`` defaults to FriendlyName1 and replaces FriendlyName1 in GUI
2020-05-17 17:10:17 +02:00
gemu2015 d182817892 add psram to info page ESP32 2020-05-12 14:19:10 +02:00
Theo Arends 2a6de09396 Change ESP32 GUI GPIO index display 2020-05-07 18:10:54 +02:00
Stephan Hadinger 646f76e459 Minor size optimizations 2020-05-06 08:56:09 +02:00
Theo Arends 139d32a86d Optimize ESP32 webserver 2020-05-05 15:53:16 +02:00
Stephan Hadinger b07edd1d74 Move constants in PMEM 2020-05-04 20:00:05 +02:00
Theo Arends ec1913346c Fix ESP32 GPIO selection if Counters are disabled 2020-05-02 17:53:57 +02:00
Theo Arends 5d18ad1c74 Add experimental basic support for ESP32
- Add experimental basic support for Tasmota on ESP32 based on work by Jörg Schüler-Maroldt
- Bump version to 8.2.0.6
- This ESP32 upgrade breaks current ESP32 templates
2020-05-01 17:30:09 +02:00
Theo Arends 7177c7d8e0 Change ESP32 pin allocation part 4 2020-05-01 16:47:41 +02:00
Theo Arends 5b1df71de6 Fix ESP32 pin allocation part 3 regression 2020-05-01 11:48:12 +02:00
Theo Arends c0a05e9586 Change ESP32 pin allocation part 3 2020-04-30 18:47:34 +02:00
Theo Arends ef61668037 Change ESP32 pin allocation part 2 2020-04-29 17:44:03 +02:00
Theo Arends 76f9ebfb72 Attempt to fix ESP32 gui page load error
Attempt to fix ESP32 gui Configure Template page load error by switching large content from Ajax loading parameters to included parameters.
2020-04-25 15:34:18 +02:00
Theo Arends 123b90d665 Attempt to fix ESP32 gui page load error
Attempt to fix ESP32 gui Configure Module page load error by switching from Ajax loading parameters to included parameters.
2020-04-25 13:30:00 +02:00
Theo Arends 104e3c4838 Implement ARRAY_SIZE macro 2020-04-25 11:37:36 +02:00
Theo Arends 209c8f4eb7
Merge pull request #8270 from pcdiem/device-groups-10
Use defined mcast addr for device groups instead of sharing emuation
2020-04-25 09:35:22 +02:00
Theo Arends 9ed8e7c254 Fix internal array size checks 2020-04-24 17:39:26 +02:00
Paul C Diem 81a874ec72 Use defined mcast addr for device groups instead of sharing emuation's, Code size reductions 2020-04-24 09:12:43 -05:00
Theo Arends be1fb3756c Change ESP32 freeHeap to MaxAllocHeap 2020-04-22 16:07:52 +02:00
Theo Arends 7be570d060 Update ESP32 GPIO labelling 2020-04-20 10:40:54 +02:00
Theo Arends 19796a7f97 Refactor ESP32 code 2020-04-19 16:58:13 +02:00
Theo Arends e1d7416a36 Add features to ESP32
- Decided to support ONLY flash mode DOUT (no software change but allows for RX1/TX1)
- Add GPIO9 (RX1) and GPIO10 (TX1) for hardware serial support
- Add above two GPIOs to template
- Moved basic ADC0 support from GPIO36 to GPIO33
2020-04-18 18:10:41 +02:00
Theo Arends 09599bb4a1 Provide ESP32 base module support 2020-04-17 16:17:01 +02:00
Theo Arends d3b2f8c489 Add config version tag
- Add config version tag
- Bump version 8.2.0.4
2020-04-17 11:57:09 +02:00
Theo Arends 367658b75b More ESP32 compatibility 2020-04-16 18:33:26 +02:00
Theo Arends 538dfbef2e More ESP32 compatibility 2020-04-16 16:29:33 +02:00
Theo Arends 97abf68612 Fix HTTP authorization response code
Fix HTTP authorization response code (#8170)
2020-04-15 10:14:16 +02:00
Theo Arends 57f836cc9e Remove possible Webserver naming ambuigity 2020-04-15 09:58:38 +02:00
Theo Arends e46fddf3b7 More ESP compatibility 2020-04-14 17:21:39 +02:00
Theo Arends e8f3d1d986 Increase ESP32 compatibility
Increase ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-13 17:45:06 +02:00
Theo Arends ad1054a6ae Increase ESP32 compatibility
Increase ESP32 compatibility (breaks current ESP32 configuration!)
2020-04-12 18:17:35 +02:00
to-scho 771f53ddcd New shutter commands ShutterToggle, ShutterStopOpen, ShutterStopClose, ShutterStopToggle, ShutterStopPosition
ShutterToggle opens shutter when actual shutterposition <=50 and closes otherwise. ShutterStopXxx commands will stop shutter when shutter is currently moving and will be same as ShutterXxx otherwise.
2020-04-11 08:28:05 +02:00
Theo Arends 93fd5dd618 Add experimental minimal support for ESP32
Add experimental minimal support for ESP32 (#8110)
2020-04-10 18:24:08 +02:00
Theo Arends 17c605ac6a Make checkbox and radiobox label clickable
Make checkbox and radio label clickable (#8066)
2020-04-05 14:11:49 +02:00
Markus Peter a515a10c42
Use unicode decimal code for shutter buttons
Use unicode decimal code for up and down triangles in shutter button labels instead of unicode character
2020-03-31 18:04:32 +02:00
Theo Arends eccd5cdd19 Refactor web command history 2020-03-31 13:01:50 +02:00
Theo Arends 490a7f2d9f Turn browser autocomplete off whan arrow is pressed
Turn browser autocomplete off and use command history as soon as an arrow key is pressed allowing mobiles and tablets to keep using browser autocomplete. (#8015)
2020-03-30 17:11:07 +02:00
Theo Arends d713468c0c Add support for longer template names
Add support for longer template names
2020-03-29 17:41:31 +02:00
Theo Arends 257dd18796 Add console command history (#7483, #8015)
Add console command history (#7483, #8015)
2020-03-29 15:35:58 +02:00
Theo Arends 397fea3bb2 Add Console command history
Add Console command history (#8015)
2020-03-29 15:17:54 +02:00
Theo Arends e5a44e6326 Refactor template 2020-03-28 18:08:43 +01:00
Theo Arends dbc9f16ffc Add support for up to four MQTT GroupTopics
- Bump version to 8.2.0.2
- Add support for up to four MQTT GroupTopics using the same optional Device Group names (#8014)
2020-03-28 16:48:36 +01:00
Norbert Richter 898fff9dbc
Add multiple GroupTopic<x> (x=1-4) (default disabled)
grouptopic (1-4) subscription even when USE_DEVICE_GROUPS
is not used.
2020-03-28 11:17:16 +01:00
Theo Arends 0a0afe3615 Add Dew point to more sensors
Add Dew point to more sensors and refactor JSON Temperature and Humidity message
2020-03-17 16:29:59 +01:00
Paul C Diem fec34434a6 Merge branch 'development' of https://github.com/arendst/Tasmota into pwm-dimmer3 2020-03-15 18:26:46 -05:00
Theo Arends 528074090b Fix intermittent watchdog on Options save 2020-03-14 17:46:22 +01:00
Paul C Diem a72acf37fe Use Light module to manage PWM, Rework multi-button sequences 2020-03-13 12:08:44 -05:00
Theo Arends b0399a550e
Merge pull request #7893 from malbinola/development
New command ShutterInvertWebButtons
2020-03-12 10:03:09 +01:00
Theo Arends 2d6ced9521 Try to fix intermittent watchdog reset
Try to fix intermittent watchdog reset on GUI emulation change (#7886)
2020-03-10 16:11:34 +01:00
Matteo Albinola 2cab0d0539 New command ShutterInvertWebButtons 2020-03-10 08:41:37 +01:00
Theo Arends c52680f836 Fix -minimal compile error 2020-03-05 18:45:43 +01:00
Theo Arends f4047b4337 Fix GUI channel offset
Fix GUI channel offset when relays are present (#7855)
2020-03-05 14:53:51 +01:00
Theo Arends 0ce89e53e3 Fix Arduino IDE compile error 2020-03-02 17:48:19 +01:00
Theo Arends f2074932f7 Clean up wifi connection / disconnection 2020-02-26 15:29:13 -06:00
Paul Diem 67a32bcbdd
Merge branch 'development' into pwm-dimmer 2020-02-25 09:33:48 -06:00
Theo Arends 0475289532 Fix compilation when no emulation is selected
Fix compilation when no emulation is selected (#7790)
2020-02-25 11:52:52 +01:00
Paul C Diem d0bb1b36e4 Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 20:06:47 -06:00
Paul C Diem a550fe3ac7 Use newly allocated settings and flag 2020-02-24 16:34:45 -06:00