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
Theo Arends
3dbd49f9b7
Update GUI template screen
...
Update GUI template screen
2019-03-15 14:10:42 +01:00
Theo Arends
2959ec9341
Prep for release with fix some warnings
...
Prep for release with fix some warnings
2019-03-14 16:50:56 +01:00
Theo Arends
baa5825569
Free some flash
...
Free some flash
2019-03-11 10:38:41 +01:00
Theo Arends
d0ac200a78
Replace webserver flash string to char
...
Replace webserver flash string to char
2019-03-10 15:36:34 +01:00
Theo Arends
8a43cfb3e6
Add headers to status update data
...
Add headers to status update data (#5410 )
2019-03-09 15:51:16 +01:00
Theo Arends
ecbe6ac618
6.4.1.21 Fix exception on GUI
...
6.4.1.21 20190309
* Fix exception on GUI Configure Logging and Configure Other (#5424 )
2019-03-09 14:39:48 +01:00
Theo Arends
06a9fbd792
Changed logging message handling
...
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends
89f55563f7
Add secure test
...
Add secure test
2019-03-07 18:59:24 +01:00
Theo Arends
58fe50d81a
Update webserver layout
...
Update webserver layout
2019-03-07 18:18:30 +01:00
Theo Arends
b393cdc9f1
Replace menu button list
...
Replace menu button list
2019-03-04 18:32:23 +01:00
Theo Arends
d790b1cfca
6.4.1.20 Webserver uses chunks
...
6.4.1.20 20190304
* Changed webserver content handling from single String to small Chunks increasing RAM
2019-03-04 18:16:07 +01:00
Theo Arends
3e1e565dff
Update xdrv_01_webserver.ino
...
Fix webpage redirect
2019-03-04 12:36:44 +01:00
Theo Arends
d70ed77f1a
Update xdrv_01_webserver.ino
...
Prep for chunks
2019-03-01 18:25:46 +01:00
Theo Arends
9e8ed1ae79
Kudos and houskeeping
...
Kudos and houskeeping
2019-03-01 15:37:22 +01:00
Theo Arends
f0a7a1f2a1
Fix Energy TotalStartTime
...
Fix Energy TotalStartTime when commands EnergyReset0 and/or EnergyReset3 used (#5373 )
2019-03-01 12:08:41 +01:00
Theo Arends
1d0348e636
Update xdrv_01_webserver.ino
...
Optimizations
2019-02-24 15:32:54 +01:00
Theo Arends
9b6e5bd122
Webserver Ajax optimizations
...
Webserver Ajax optimizations
2019-02-24 15:05:18 +01:00
Theo Arends
93d07c1acc
Webserver memory optimizations
...
Webserver memory optimizations
2019-02-23 18:38:36 +01:00
Theo Arends
19bdf7e803
Free flash space (WSSend)
...
Free flash space (WSSend)
2019-02-23 15:29:42 +01:00
Theo Arends
1cb956b541
Free flash space
...
Free flash space
2019-02-23 13:17:02 +01:00
Theo Arends
5d8ae266d0
Fix RemoveSpace and tune Websend
...
Fix RemoveSpace and tune Websend
2019-02-23 12:48:39 +01:00
Theo Arends
e315be0619
Fix command WebSend
...
Fix command WebSend when using a port number as regression from 6.4.1.17 (#5304 )
2019-02-22 15:19:59 +01:00
Theo Arends
49f0b514eb
Fix some exceptions and watchdogs
...
* Fix some exceptions and watchdogs due to lack of stack space - part 2
* Add command SetOption62 0/1 to disable retain on Button or Swith hold messages (#5299 )
* Add option WifiConfig 7 to allow reset of device in AP mode without admin password (#5297 )
2019-02-22 12:04:05 +01:00
netpok
e2bcef16bf
Merge remote-tracking branch 'upstream/development' into wificonfig-7
2019-02-21 19:45:34 +01:00
netpok
731154cc9b
Handle authentication on reset/restart
2019-02-21 19:45:03 +01:00
netpok
4993d16ecb
Implement WifiConfig 7
2019-02-21 17:49:11 +01:00
netpok
e035a3253a
Add password validation to WebUI
2019-02-21 15:58:37 +01:00
Theo Arends
95da493325
Update xdrv_01_webserver.ino
...
Fix compile error
2019-02-21 14:56:39 +01:00
Theo Arends
05b0280019
6.4.1.18 - Fix some exceptions and watchdogs
...
6.4.1.18 20191221
* Fix some exceptions and watchdogs due to lack of stack space - part 1 (#5215 )
2019-02-21 14:31:31 +01:00
Theo Arends
cfd3f3f4f5
Fix WebSend compile warning
...
Fix WebSend compile warning
2019-02-21 09:48:58 +01:00
Theo Arends
06c97c4e19
Fix command WebSend
...
Fix command WebSend intermittent results (#5273 )
2019-02-19 12:51:38 +01:00
Theo Arends
a6c7e3b5f4
Update xdrv_01_webserver.ino
...
Force restart on any template change to fix page refresh hang (#5222 )
2019-02-18 15:13:37 +01:00
Theo Arends
483eb4dd44
Change Flags to Options
...
Change Flags to Options and enforce Activate for already active template (#5256 )
2019-02-18 13:10:10 +01:00
Theo Arends
8d2b9e4734
Update xdrv_01_webserver.ino
...
Tune webserver
2019-02-18 11:35:49 +01:00
Theo Arends
a201dd1222
Remove command SetOption62
...
Remove command SetOption62 as it's functionality is replaced by user changing the device template (#5255 )
2019-02-17 16:05:53 +01:00
Theo Arends
3f6db36187
Update xdrv_01_webserver.ino
...
Fix 404 error
2019-02-17 14:43:07 +01:00
Theo Arends
577791440e
Add Configure Template menu option
...
Add Configure Template menu option to GUI (#5222 )
2019-02-17 11:32:53 +01:00
Jason
e6029e18be
Fix typos.
2019-02-16 12:51:43 +00:00
Jason
02f1052440
Amended wifi password UI to show "****".
...
Only store passwords which are not equal to "****".
Removes previous behaviour where wifi password with an asterisk was
ignored.
2019-02-16 12:48:16 +00:00
Theo Arends
4e3d2c63db
Fix timer GUI tab colors
...
Fix timer GUI tab colors
2019-02-13 17:30:07 +01:00
Theo Arends
74affa1440
Fix Edge and Safari margins
...
Fix Edge and Safari margins
2019-02-13 16:26:16 +01:00
Theo Arends
c39e2da6b5
Update GUI
...
Update GUI
2019-02-13 16:05:25 +01:00
Theo Arends
567bc93623
Add Template GUI update
...
Initial support for online template change using command Template or GUI Configure Other (#5177 )
2019-02-12 11:55:47 +01:00
Theo Arends
98ae3eaf54
6.4.1.16 Online template change
...
6.4.1.16 20190211
* Initial support for online template change using command Template (#5177 )
2019-02-11 19:21:49 +01:00
Theo Arends
ae277f59cf
Change image defines
...
6.4.1.15 20190208
* Change image name BE_MINIMAL to FIRMWARE_MINIMAL (#5106 )
* Change image names USE_xyz to FIRMWARE_xyz (#5106 )
2019-02-08 14:55:45 +01:00
Erik
afe797fd6e
Improve weblog robustness
2019-02-07 20:42:46 +01:00
Theo Arends
b839d7e80e
Add user configuration of MCP39F501
...
Add user configuration of MCP39F501 Energy Monitoring as used in Shelly2
2019-02-04 18:18:47 +01:00
Theo Arends
48faabc1cf
Revert "Add user configuration of MCP39F501"
...
This reverts commit c340e2b8bd
.
2019-02-04 18:17:50 +01:00
Theo Arends
c340e2b8bd
Add user configuration of MCP39F501
...
Add user configuration of MCP39F501 Energy Monitoring as used in Shelly2
2019-02-04 18:17:17 +01:00
Theo Arends
0c747a7499
Split module and GPIO ajax list
...
Split module and GPIO ajax list
2019-02-02 15:16:35 +01:00
Theo Arends
304ac6fe44
6.4.1.12 code changes (byte/boolean)
...
6.4.1.12 20190128
* Change code use of boolean to bool and byte to uint8_t
* Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends
2e101839a4
Change web authentication
...
Change web authentication (#4865 )
2019-01-10 12:57:42 +01:00
Theo Arends
a23f01080b
6.4.1.8 Add template flags
...
6.4.1.8 20190107
* Change sonoff_template.h layout regarding optional module flags like ADC0
* Add command SetOption62 1 to force no Button/Switch pullup on dedicated modules. Currently only supported on Shelly2 (#4841 )
2019-01-07 16:33:18 +01:00
Theo Arends
f66de3111e
Housekeeping
2019-01-03 18:07:03 +01:00
Theo Arends
447ec6256e
6.4.1.4 Update Copyright (C) 2019
...
6.4.1.4 20190101
* Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Theo Arends
7ebb7a6067
6.4.1.3 Change sonoff_template.h
...
6.4.1.3 20181229
* Change sonoff_template.h module lay-out by removing non-configurable GPIOs
2018-12-29 19:46:28 +01:00
Theo Arends
afe83a3460
Prep for template tuning
2018-12-29 17:19:13 +01:00
Theo Arends
0b10f48e41
6.4.1.1 Fix most compiler warnings
...
6.4.1.1 20181224
* Fix most compiler warnings
2018-12-24 18:14:25 +01:00