Commit Graph

89 Commits

Author SHA1 Message Date
Theo Arends f88e87cfde Refactor and document power control
Refactor and document power control
2019-09-04 12:20:04 +02:00
Theo Arends c107864b92 Refactor RTC saving code space
Refactor RTC saving code space
2019-08-17 16:49:17 +02:00
Theo Arends 2d0143623d Refactor commands by processing optional prefix
Refactor commands by processing optional prefix
2019-08-11 18:12:18 +02:00
Theo Arends 3c166dec2c Add negative window offset when time is set within midnight minus window and midnight
Add negative window offset when time is set within midnight minus window and midnight
2019-08-09 14:07:35 +02:00
Theo Arends 62a516c3f2 Add some debug info
Add some debug info
2019-08-08 18:14:36 +02:00
Theo Arends 7336b2807f Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino
Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino (#6186)
2019-08-08 15:17:39 +02:00
Theo Arends e5ecffe4dd Refactor commands
Refactor commands
2019-08-03 13:01:34 +02:00
Theo Arends 8f2ddea708 Refactor Timer commands
Refactor Timer commands and fix random time trigger around midnight (#6169)
2019-08-02 15:13:51 +02:00
Stephan Hadinger 15e37ef0bb Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions. 2019-07-01 18:20:43 +02:00
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
Stephan Hadinger 5b524a2c95 More floats 2019-06-21 19:23:35 +02:00
Stephan Hadinger b0eaea45bc Changed from double to float, -3.4k 2019-06-21 16:57:42 +02:00
tammo0 2fc09530ac Update xdrv_09_timers.ino
replace <br/> with <br>
2019-06-03 15:41:32 +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 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
gemu2015 ba41a2ada5 update scripter 2019-05-18 09:45:04 +02:00
Theo Arends 0b6c62f5f9 Add support for Shelly 1PM Template
Add support for Shelly 1PM Template {"NAME":"Shelly 1PM","GPIO":[56,0,0,0,82,134,0,0,0,0,0,21,0],"FLAG":2,"BASE":18} (#5716)
2019-05-13 18:26:07 +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 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 8ff2759ccc 6.5.0.4 Fix Configure Timer Web GUI
6.5.0.4 20190402
 * Fix Configure Timer Web GUI (#5568)
 * Add validation check when loading settings from flash
2019-04-02 15:47:39 +02:00
Theo Arends 76eec9b8ab Fix Configure Timer Gui webinterface (#5568)
Fix Configure Timer Gui webinterface (#5568)
2019-04-02 11:26:55 +02:00
Theo Arends c58b40e838 Revert "Fix Configure Timer Gui webinterface (#5568)"
This reverts commit 7c31bedc9b.
2019-04-02 11:07:30 +02:00
Theo Arends 7c31bedc9b Fix Configure Timer Gui webinterface (#5568)
Fix Configure Timer Gui webinterface (#5568)
2019-04-02 10:35:19 +02:00
Theo Arends e1c92b701b Change NULL to nullptr
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends dcc69bdff0 Shrink code/flash space pt.2/2
Shrink code/flash space pt.2/2
2019-03-23 17:57:31 +01:00
Theo Arends 6922e657d9 Shrink code/flash space
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends 99d20f803b More web chunks
More web chunks
2019-03-16 16:23:41 +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
Laurent Dong b87afc3bcb Code review: Copy string with strlcpy() instead of snprintf()
Copying string with snprintf() is unsafy and slow because it check and replace plcaehold (%?)
2019-03-08 13:24:02 -05: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 280dd25a8b Optimize RAM for expression
Optimize RAM for expression and add two more constant variables (#5275)
2019-02-19 14:49:15 +01:00
Theo Arends 4e3d2c63db Fix timer GUI tab colors
Fix timer GUI tab colors
2019-02-13 17:30:07 +01:00
Theo Arends c39e2da6b5 Update GUI
Update GUI
2019-02-13 16:05:25 +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 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 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 c1102a4863 6.4.0.2 Fix possible dtostrf bos
6.4.0.2 20181221
 * Fix possible dtostrf buffer overflows by increasing buffers
2018-12-21 16:17:06 +01:00
Theo Arends 6c87ab205a Fix possible strncat buffer overflows
Fix possible strncat buffer overflows
2018-11-22 15:41:30 +01:00
andrethomas 4a7e7b0dbb Change C functions with () to (void) 2018-11-14 15:32:09 +02:00
Theo Arends 9fef82736d Prep drivers for management
Prep drivers for management
2018-11-07 10:30:03 +01:00