Commit Graph

143 Commits

Author SHA1 Message Date
Theo Arends 1b69502d9b Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends 30adce5648 Revert "Code optimization - Change for(uint8_t in for (uint32_t"
This reverts commit 5e1eac3f74.
2019-06-30 15:56:55 +02:00
Theo Arends 5e1eac3f74 Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends 12da2fd6f9 Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
Theo Arends 48b96528fc Add more ES6 javascript
Add more ES6 javascript
2019-06-15 16:09:04 +02:00
Theo Arends 1effa25402 Fix javascript error
Fix javascript error
2019-06-15 15:20:31 +02:00
Theo Arends 9d706c9864 Start using optional ES6 saving code space
Start using optional ES6 saving code space
2019-06-12 17:32:25 +02:00
Theo Arends 8c473adc86 Update xdrv_01_webserver.ino 2019-06-11 16:53:03 +02:00
Theo Arends 3a3a26bf5e Add some ES6 comments
Add some ES6 comments
2019-06-11 16:19:56 +02:00
Theo Arends 50e4722873 Update xdrv_01_webserver.ino
Oneliner - more free bytes
2019-06-11 14:56:05 +02:00
Theo Arends 1748a2655c Update xdrv_01_webserver.ino
Adapt Monty Python: Every byte is sacred
2019-06-11 14:45:08 +02:00
Theo Arends 2b5c691041 6.5.0.16 Refactor TLS and Add visibility toggle to GUI password
6.5.0.16 20190611
 * Refactored TLS based on BearSSL, warning breaking change for fingerprints validation (see doc)
 * Add checkbox to GUI password field enabling visibility during password entry only (#5934)
2019-06-11 14:30:07 +02:00
Stephan Hadinger 006462f17e Refactored TLS based on BearSSL - cleaned 2019-06-10 12:06:03 +02:00
Theo Arends 53ecde7637 Add command SetOption65 0/1 and more Tuya Serial based device support
Add command SetOption65 0/1 and more Tuya Serial based device support (#5815)
2019-06-08 11:38:45 +02:00
Theo Arends aaacb20d55
Merge pull request #5815 from thirug010/development
New Tuya Serial Based Devices support
2019-06-08 11:17:27 +02:00
Theo Arends 7fdbd81def Fix setting seriallog using web gui (old) regression
Fix setting seriallog using web gui (old) regression
2019-06-03 17:05:09 +02:00
Theo Arends 7ce54debdc Fixed issue with incorrect displaying some of the translated strings to Bulgarian language
Fixed issue with incorrect displaying some of the translated strings to Bulgarian language (#5905)
2019-06-03 10:51:21 +02:00
Theo Arends ffd36e0b2d 6.5.0.14 Webserver HTML/Javascript changes
6.5.0.14 20190602
 * Change webserver HTML input, button, textarea, and select name based on id
 * Fix webserver multiple Javascript window.onload functionality
2019-06-02 16:44:02 +02:00
tammo0 8245321f86 fixes
fixes
2019-05-31 19:51:24 +02:00
tammo0 fefbada62d Update xdrv_01_webserver.ino 2019-05-31 18:36:56 +02:00
tammo0 6ee8d6be16 save space for web frontend
- changed <br/> to <br>
- "name" attributes of input, select, textarea, button items are removed and set by their id (only if ID is set and no name tag given)
2019-05-31 18:24:56 +02:00
Theo Arends f5fc4ae9dd Update HandleWifiConfiguration
Update HandleWifiConfiguration
2019-05-27 15:08:11 +02:00
Theo Arends 0c2d1323e7 Shrink HtmlEscape code size
Shrink HtmlEscape code size by 200 bytes
2019-05-27 14:09:33 +02:00
Tiberiu Ana e65790e55e
Add CORS preflight support to console URL
Please see #5847 for reference.
2019-05-23 12:21:08 +02:00
thirug010 c55ad6bd39
Merge branch 'development' into development 2019-05-22 01:30:43 -05:00
Theo Arends d599f21758 Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE
* Remove define USE_EMULATION from my_user_config.h (#5826)
 * Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE to my_user_config.h to control emulation features at compile time (#5826)
2019-05-20 15:09:42 +02:00
thirug010 6b013144ab Updated the code based on the feedback
* Updated xdrv_01_webserver.ino to show dimmer slider2 by default for Tuya Dimmer Module

 * Updated xdrv_16_tuyadimmer.ino remove the use of XdrvMailbox and removed the pow functions now the size for 6.5.0 build is 510kb

 * updated sonoff.ino to hold current device id
2019-05-18 18:13:57 -05:00
thirug010 d59d631e40 New Tuya Serial Based Devices support
Updated the Code to support most of the new Tuya Serial devices like 4Gang Serail switch, 1 Dimmer + 1 relay, 3 Gang  ...
2019-05-17 22:03:53 -05:00
Theo Arends ad54ece2fb 6.5.0.10 Enable ADC0 by default
6.5.0.10 20190513
 * Enable ADC0 by default in my_user_config.h (#5671)
 * Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671)
2019-05-13 15:56:01 +02:00
Theo Arends bbd23dd745 Fix missing sans-serif font (#5664)
Fix missing sans-serif font (#5664)
2019-04-18 10:34:55 +02:00
Theo Arends 2c6df2b86b Adding Analog Temperature support for Shelly 2.5
Adding Analog Temperature support for Shelly 2.5
2019-04-11 16:59:48 +02:00
Theo Arends aa91caa35e 6.5.0.6 Add WebColor parameters to Settings
6.5.0.6 20190409
 * Add WebColor parameters to Settings making them persistent and remove the need for using a rule
 * Add alternative IRSend command syntax IRSend raw,<freq>,<header mark>,<header space>,<bit mark>,<zero space>,<one space>,<bit stream> (#5610)
2019-04-09 13:56:19 +02:00
Theo Arends 3e3610efdc Consolidate Timer Active Tab Text color to Text color
Consolidate Timer Active Tab Text color to Text color eliminating command WebColor19
2019-04-09 10:24:00 +02:00
Theo Arends be385ecb5c Add command WebColor
* Add rule Http#Initialized
 * Add command WebColor to change non-persistent GUI colors on the fly
   Use a rule like:
   rule3 on http#initialized do webcolor {"webcolor":["#eeeeee","#181818","#4f4f4f","#000000","#dddddd","#008000","#222222","#ff0000","#008000","#ffffff","#1fa3ec","#0e70a4","#d43535","#931f1f","#47c266","#5aaf6f","#ffffff","#999999","#000000"]} endon
   or
   rule3 on http#initialized do webcolor {"webcolor":["#eee","#181818","#4f4f4f","#000","#ddd","#008000","#222"]} endon
   to make color changes persistent)
2019-04-08 22:37:39 +02:00
Theo Arends 7f903ac736 Only allow hex color values for future use
- Only allow hex color values (for future use)
- Change css background-color to background (saving code space)
2019-04-07 16:58:23 +02:00
Theo Arends 5ed3aeeb37 Update xdrv_01_webserver.ino
Fix unique html password id/name to satisfy pasword managers (#5589)
2019-04-07 16:36:54 +02:00
Theo Arends 387e3c5f99 Add more compile time GUI color options
Add more compile time GUI color options (#5586)
2019-04-06 19:19:46 +02:00
Theo Arends 43a61b3e24 6.5.0.5 Add compile time GUI color options
6.5.0.5 20190406
 * Add compile time GUI color options (#5586)
2019-04-06 18:25:26 +02:00
Theo Arends 5e1cbcf94f Make MI Desk Lamp optional
Make MI Desk Lamp optional
2019-04-05 15:27:06 +02:00
Theo Arends 2fd15c4633 Fix WifiManager Pop Up when no SSID is configured (#5575)
Fix WifiManager Pop Up when no SSID is configured (#5575)
2019-04-02 20:26:30 +02:00
Theo Arends 880bbe357d Change String to char
Change String to char
2019-03-31 17:57:28 +02:00
Theo Arends 8d8e060550 Revert "Test for easier MQTT reconnects"
This reverts commit b7adb10923.
2019-03-31 17:55:58 +02:00
Theo Arends b7adb10923 Test for easier MQTT reconnects
Test for easier MQTT reconnects
2019-03-31 17:51:05 +02:00
Theo Arends f7c30250c1 Change some more defines to const
Change some more defines to const
2019-03-31 11:59:04 +02:00
Theo Arends eb9617e3f9 Tune some functionality
Tune some functionality
2019-03-30 13:03:45 +01:00
Theo Arends e1c92b701b Change NULL to nullptr
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends 6922e657d9 Shrink code/flash space
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends 83188c926c Update GUI
Update GUI
2019-03-19 18:02:38 +01:00
Theo Arends b7f89c0a8c 6.5.0.1 Change GUI data collection
6.5.0.1 20190319
 * Change Web GUI sensor data collection
2019-03-19 17:31:43 +01:00
Theo Arends 99d20f803b More web chunks
More web chunks
2019-03-16 16:23:41 +01:00