Commit Graph

233 Commits

Author SHA1 Message Date
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
Paul C Diem c0a5156d8f Initial pwm dimmer support 2020-02-24 07:19:15 -06:00
Paul C Diem 8182d6ef7b Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-21 09:15:47 -06:00
Paul C Diem f409d7258e Initial device groups support (power and light) 2020-02-21 09:09:21 -06:00
Theo Arends 5e4d8e5641 Fix relation between RSSI and signal strength
Fix relation between RSSI and signal strength
2020-02-20 10:07:00 +01:00
Theo Arends 7cc783a532 Add another new DHT driver based on ESPEasy
Add another new DHT driver based on ESPEasy. The old driver can still be used using define USE_DHT_OLD. The previous new driver can be used with define USE_DHT_V2 (#7717)
2020-02-13 17:02:07 +01:00
Theo Arends f0272b339c Fix compile error 2020-02-10 14:24:53 +01:00
Theo Arends 3de74e8850 Add optional Wifi AccessPoint passphrase
Add optional Wifi AccessPoint passphrase define WIFI_AP_PASSPHRASE in my_user_config.h (#7690)
2020-02-10 13:54:27 +01:00
Theo Arends a6e95211cc Add more web page sliders
Add web page sliders when ``SetOption37 128`` is active allowing control of white(s)
2020-01-16 14:22:39 +01:00
Theo Arends fe17be62cc Add user control over vertical console size
Add user control over vertical console size (#7507)
2020-01-14 15:38:16 +01:00
Theo Arends 81d58d69b6 Revert "Add user control over vertical console size"
This reverts commit 423b6f251b.
2020-01-14 14:42:30 +01:00
Theo Arends 423b6f251b Add user control over vertical console size
Add user control over vertical console size (#7507)
2020-01-14 14:33:27 +01:00
to-scho bc83aad8bd Show webbutton label '-' when shutter is locked 2020-01-14 11:00:22 +01:00
to-scho 8cf411a1c3 New command ShutterLock
Command shutterlock<x> 1 locks shutter <x> movement. Any ongoing movement is still finished when called. Subsequent calls of shutter commands about movement, web buttons and shutter buttons  are blocked when shutter is locked. shutterlock<x> 0 unlocks shutter <x>.
2020-01-12 14:18:15 +01:00
Theo Arends 0e0d8190fa Change some commands displaying all items
Change commands ``Prefix``, ``Ssid``, ``StateText``, ``NTPServer``, and ``FriendlyName`` displaying all items
2020-01-12 13:10:21 +01:00
Theo Arends 250e3f3dc4 Fix display of wifi scan signal strength
Fix display of wifi scan signal strength
2020-01-09 14:35:03 +01:00
Theo Arends d0774995de Allow duplicate names but different channel in wifi scan
Allow duplicate names but different channel in wifi scan
2020-01-09 14:19:19 +01:00
to-scho 2c6659fca4 Fix labeling of web buttons for shutters
Instead of switching power of the shutter relais web buttons will issue shutter commands to work right when in shuttermode 1. Up down labels arrow up/down fixed for more than one shutter.
2020-01-09 09:17:39 +01:00
Theo Arends 1c0db7e689 Refactor version compatibility 2020-01-07 17:01:48 +01:00
Theo Arends 95fc96d563 Add support for gzipped binaries
Add support for gzipped binaries
2020-01-06 14:52:04 +01:00
Hadinger aa665c1439 Add SetOption82 to limit the CT range for Alexa to 200..380 2020-01-04 11:01:44 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Adrian Scillato 96842eed73
Better Button Spacing 2019-12-25 22:13:17 -03:00
Adrian Scillato aa155f9a52
AP MODE: Added Restore Config Button 2019-12-25 21:59:42 -03:00
Theo Arends b66cc3479f Add support for user defined GUI button text
Add commands ``WebButton1`` until ``WebButton16`` to support user defined GUI button text (#7166)
2019-12-24 17:10:50 +01:00
Theo Arends a2478f9569 Change number of ``FriendlyName``s from 4 to 8
Change number of ``FriendlyName``s from 4 to 8
2019-12-24 15:06:19 +01:00
Theo Arends ad4a7e91ac Add support for max 150 characters
Add support for max 150 characters in most command parameter strings (#3686, #4754)
2019-12-22 15:23:52 +01:00
Theo Arends 42f25b1cfb Update xdrv_01_webserver.ino 2019-12-20 18:37:14 +01:00
Theo Arends 7e24ed9c2c Fix error message 2019-12-20 18:24:20 +01:00
Theo Arends 7459a8a424 Add restriction if fallback firmware is incompatible
Add restriction if fallback firmware is incompatible with settings resulting in unreachable device
2019-12-20 15:12:44 +01:00
Theo Arends aae86a6718 Add fallback functionality
Add fallback functionality from next version 7.1.2.7
2019-12-16 15:13:57 +01:00
Bastian Urschel 27dd251fc3 IPv6 global unique address is now displayed at webinterface "information" above IPv4 address and also mentioned in the initial MQTT message if WebServer is active. 2019-12-11 15:53:19 +01:00
Theo Arends 407935efc4 Change GUI Shutter button text
Change GUI Shutter button text to Up and Down Arrows based on PR by Xavier Muller (#7166)
2019-12-10 12:33:45 +01:00
Shantur Rathore 6c3d029286 Implement capability for setting CORS to a specific website instead of just enable for all websites 2019-12-08 21:07:39 +00:00
Andreas Schultz 46566952a0 report Signal Strength in dBm over MQTT
Also include dBm in debug log and in WebIf information display.
2019-12-08 19:42:08 +01:00
Theo Arends 5524075b04 Fix slider for devices without RGB
Fix slider for devices with one or two channels like only white or white/yellow
2019-11-30 16:05:09 +01:00
Theo Arends ac065867d3 Add command ``SetOption77 0/1``
Add command ``SetOption77 0/1`` to keep power on when slider is far left
2019-11-29 13:11:35 +01:00
Jason2866 67aa76ed78
Align slider behaviour with mqtt...
commands. Via slider it was NOT possible to set ```{"POWER1":"OFF","Dimmer1":0,"POWER2":"OFF","Dimmer2":100,"Color":"000000FF","HSBColor":"0,0,0","Channel":[0,0,0,100]}```
min value was before the change
```{"POWER1":"ON","Dimmer1":1,"POWER2":"OFF","Dimmer2":100,"Color":"030303FF","HSBColor":"1,1,1","Channel":[1,1,1,100]}```
2019-11-27 18:14:12 +01:00
Theo Arends 8f27e2cd02 Fix channel sliders 2019-11-25 19:29:11 +01:00
Theo Arends 44f44bb6d5 Add optional debug info 2019-11-25 17:58:37 +01:00
Theo Arends 150b26faf8 Fix USE_SCRIPT_WEB_DISPLAY error
Fix USE_SCRIPT_WEB_DISPLAY error (#7021)
2019-11-25 17:21:31 +01:00
Theo Arends a76a79a413 Refactor sliders 2019-11-25 15:20:44 +01:00
Theo Arends a0a819718b Tweak sliders 2019-11-24 15:13:07 +01:00
Theo Arends fd9971c20c Change GUI saturation from grey to white
Change GUI saturation from grey to white
2019-11-24 12:59:55 +01:00
Theo Arends 7b24b67606 Refactor shutter slider 2019-11-22 17:24:56 +01:00
Theo Arends c550af0175 Colorize sliders 2019-11-22 17:01:11 +01:00
Theo Arends eca39bfed1 Update Hue colorpicker 2019-11-22 13:06:38 +01:00
Theo Arends 9b921c28e6 Colorpicker CSS updated 2019-11-22 12:25:55 +01:00
Theo Arends 6c7bc96109 Fix colorpicker regression 2019-11-22 11:15:52 +01:00
Theo Arends 0d03c1c260 Update xdrv_01_webserver.ino 2019-11-22 10:57:12 +01:00
Theo Arends 1ed0a372c6 Fix colorpicker when using USE_JAVASCRIPT_ES6
Fix colorpicker when using USE_JAVASCRIPT_ES6 (#6994)
2019-11-22 10:49:15 +01:00
Staars d214974b1c include light_type 3 and up 2019-11-22 09:08:15 +01:00
Staars 51f6b211cb remove some #ifdef stuff 2019-11-21 19:17:57 +01:00
Staars 9bba95a7cc responsive color update, fix scaling 2019-11-21 18:02:58 +01:00
Staars a1dc8465bb Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into colorpicker 2019-11-21 16:16:34 +01:00
Theo Arends 7777fa08b0 Sanitize code 2019-11-20 20:53:12 +01:00
Staars 50a919c094 fix saturation slider scaling 2019-11-19 21:41:42 +01:00
Staars 56ccbc5216 Web-GUI color picker 2019-11-19 21:22:45 +01:00
Theo Arends e099ebe7b6 Bump version to 7.0.0.4
Add command WifiPower 0 .. 20.5 to set Wifi Output Power which will be default set to 17dB
2019-11-08 13:00:32 +01:00
Theo Arends 8711ad00ad Visual tweaks of Dark UI
Visual tweaks of Dark UI (#6844)
2019-11-06 11:16:43 +01:00
Theo Arends 4891bad69a Change sonoff references to tasmota 2019-11-03 15:37:33 +01:00
Theo Arends 4b49979274 Add SetOption comments to code 2019-11-03 13:51:22 +01:00
Theo Arends 5f4e38023d Add SetOption comments to code 2019-11-03 12:33:36 +01:00
Theo Arends 57e62b1e68 Bump version 7.0.0.2
Add command WebColor19 to control color of Module and Name (#6811)
2019-11-02 13:25:23 +01:00
localhost61 d6115b7dd1 Add COLOR_TITLE as WebColor19 2019-11-02 05:33:40 +01:00
Theo Arends e497421ace Add command SetOption75 0/1 to switch between grouptopic
Add command SetOption75 0/1 to switch between grouptopic (0) using fulltopic replacing %topic% or (1) is cmnd/<grouptopic> (#6779)
2019-10-31 17:24:06 +01:00
Theo Arends 2dabaa3d20 Add command SetOption73 0/1 to re-enable CORS
Add command SetOption73 0/1 to re-enable HTTP Cross-Origin Resource Sharing (CORS) now default disabled (#6767)
2019-10-28 13:36:04 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00