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
Theo Arends
77c07a2e00
Change FallbackTopic
...
Change FallbackTopic from cmnd/<mqttclient>/ to cmnd/<mqttclient>_fb/ to discriminate from Topic (#1528 )
2018-12-23 14:48:57 +01:00
Theo Arends
e2cd656286
6.4.0.3 Hass and Alexa fixes
...
6.4.0.3 20181222
* Change Hass discovery to short MQTT messages as used by Hass 0.81 and up (#4711 )
* Change FallbackTopic detection (#4706 )
* Add define WIFI_SOFT_AP_CHANNEL in my_user_config.h to set Soft Access Point Channel number between 1 and 13 as used by Wifi Manager web GUI (#4673 )
* Fix Alexa "this value is outside the range of the device". Needs power cycle and Alexa deletion/discovery cycle. (#3159 , #4712 )
2018-12-22 16:13:07 +01:00
Joel Stein
9737ec560c
webserver: swap index and name in module configuration
2018-12-17 16:33:07 +01:00
Theo Arends
dfa0d2ef11
Add Domoticz Selector for Fanspeed
...
Add support for iFan02 Fanspeed in Domoticz using a selector (#4517 )
2018-12-06 10:49:49 +01:00
Theo Arends
c3f07f0bd2
Fix WifiManager functionality
...
Fix WifiManager functionality on initial installation (#4433 )
2018-11-26 17:00:18 +01:00
Theo Arends
9608bfd2e5
Update xdrv_01_webserver.ino
2018-11-24 12:04:30 +01:00
andrethomas
ef4e2b297c
Decrease update webui refresh to 5 seconds
...
Decrease update webui refresh to 5 seconds
2018-11-24 13:00:45 +02:00
andrethomas
a6983d52f7
Increase delays before web ui is refreshed
...
The current 5-second delay before refreshing web ui after settings were changed is not always sufficient as wifi can take up to 10 seconds to re-connect and be available on some wireless networks, depending on the device's RSSI.
This change increases the delay from 5 seconds to 10 seconds which have been tested down to RSSI levels of 25 to be sufficient.
This change also increases the refresh delay when a local OTA is uploaded to 20 seconds which allows enough time for the cp: process to complete and the device to reconnected to wifi under >= 25 RSSI conditions.
2018-11-24 12:46:32 +02:00
Theo Arends
23c16e58a9
Housekeeping
...
Housekeeping
2018-11-20 15:00:24 +01:00
Theo Arends
e34a1f0719
Add wifi network scan
...
* Add command SetOption56 0/1 to enable wifi network scan and select highest RSSI (#3173 )
2018-11-19 18:07:25 +01:00
Theo Arends
4899178362
6.3.0.10 Add command SetOption36
...
6.3.0.10 20181118
* Add command SetOption36 0..255 milliseconds (10 default) to tune main loop dynamic delay
2018-11-18 16:49:02 +01:00
Theo Arends
877771c90a
6.3.0.8 Stop enforcing dout
...
6.3.0.8 20181115
* Stop enforcing flashmode dout. Still mandatory but this a chk for possible future flash corruption
2018-11-15 14:55:45 +01:00
andrethomas
4a7e7b0dbb
Change C functions with () to (void)
2018-11-14 15:32:09 +02:00
Theo Arends
e2dd11b0bc
Consolidate LTrim into Trim
...
Consolidate LTrim into Trim
2018-11-12 12:33:49 +01:00