ESPEasy release bot
8ae51cda1c
automatically updated release notes for mega-20181203
mega-20181203
2018-12-03 04:00:11 +01:00
Gijs Noorlander and GitHub
ebe11246a1
Merge pull request #1813 from workgroupengineering/feature/Issue_1771
...
Increase the rule speed
2018-12-02 23:39:17 +01:00
Gijs Noorlander
43dfa03f2f
[HLW8012] Make reading Sonoff POW non blocking ( #2097 )
...
See #2097
Timings are now less than a msec per iteration and interrupt driven.
Also settings are no longer saved every time the plugin gets initialized. (flash wear out)
2018-12-02 23:13:20 +01:00
Gijs Noorlander
ce1ab3e718
[HLW8012] Update library to 1.1.1
2018-12-02 23:11:05 +01:00
Gijs Noorlander
c9fa53914a
[webserver CORS] #2119 Allow commands to be scripted
...
See #2119
2018-12-02 21:21:00 +01:00
Gijs Noorlander
4acedced42
[PWM] #2117 PWM stops after about 80 msec in core 2.4.1
...
See #2117
2018-12-02 16:41:51 +01:00
Gijs Noorlander
dd8a67adcd
[ESP32] Disable RTOS Multitasking option (multi_heap_poisoning)
...
When enabled, we now get crashes and CORRUPT HEAP messages.
2018-12-02 12:15:56 +01:00
Gijs Noorlander
ab893a7d14
[Rules] GetArgv should clear the return string before filling it
...
The `GetArgv` function should clear the return string, since it is re-used in `parseCommandString`
See: https://github.com/letscontrolit/ESPEasy/issues/2112#issuecomment-443494191
2018-12-02 11:07:52 +01:00
Gijs Noorlander
aaae79c8d9
[Memory] Pass String as reference or const reference, not deepcopy
...
A number of functions was given a String parameter as a deepcopy instead of a (const) reference.
This will use a lot more memory and time, where it isn't needed.
Also those deepcopy actions may fail silently and thus lead to crashes.
2018-12-02 01:25:32 +01:00
Gijs Noorlander
6ae627b32a
[Uncrustify] Make rules source code files better readable
...
Since the `ESPEasyRules.ino` file is newly introduced in this branch, now is the best moment to tidy up the source code.
Also included the used Uncrustify.cfg file.
2018-12-02 00:35:00 +01:00
Gijs Noorlander
8369c330de
[Stack] P035_IRTX reduction of memory usage & speed improvement
...
- Parsed commands or IR codes now only use amount of memory needed, no fixed allocation on the stack.
- Strings passed to functions via const reference instead of deepcopy
- Massive checks for brand name is now done on lower case, to improve speed.
2018-12-02 00:31:57 +01:00
Gijs Noorlander
2290de3c98
[Stack] Optimize GetArgv to only allocate what is needed.
...
And also only allocate on the heap, not on the stack.
2018-12-01 22:51:43 +01:00
ESPEasy release bot
3f00ef5dde
automatically updated release notes for mega-20181201
mega-20181201
2018-12-01 04:00:09 +01:00
Gijs Noorlander
afeed445ca
[Stack] Make IP-address formatting simpler
2018-11-30 22:41:56 +01:00
Gijs Noorlander
b76e8b4e8b
[Stack] Reduce allocations on stack
2018-11-30 17:32:38 +01:00
Gijs Noorlander
84a31c0af9
[Rules engine] Set UseOldRulesEngine as default
...
Changed to use one of the VariousBits in the settingsfile, not adding an extra bit.
2018-11-30 14:13:53 +01:00
Saverio Cisternino and Gijs Noorlander
bdfa4b7eec
Adding flag to settings for switch from old to new rules engine (Default engine old).
2018-11-30 13:51:09 +01:00
Saverio Cisternino and Gijs Noorlander
99a77ad343
Fixed ESP32 build
2018-11-30 13:51:09 +01:00
Saverio Cisternino and Gijs Noorlander
0b4c605f43
Change menu url from relative to absolute
2018-11-30 13:51:09 +01:00
Saverio Cisternino and Gijs Noorlander
eabf79be54
Redefine Rules WebUi
2018-11-30 13:51:09 +01:00
Saverio Cisternino and Gijs Noorlander
b14fe5de32
Added addButton, addFormTextBox overload and addSaveButton, AddDeleteButton functions
2018-11-30 13:51:09 +01:00
Saverio Cisternino and Gijs Noorlander
ed3d8f5371
implement matching of rule file
2018-11-30 13:51:09 +01:00
Saverio Cisternino and Gijs Noorlander
459e103a73
Moved the rules related functions from Misc.ino to ESPEasyRules.ino
2018-11-30 13:51:09 +01:00
Gijs Noorlander and GitHub
c62fab5eec
Merge pull request #2110 from TD-er/bugfix/1970_remove_newline_HTTP_header
...
[#1970 ] Fix: HTTP Header broken in 'Generic HTTP Advanced' controller
2018-11-30 12:20:04 +01:00
Gijs Noorlander
ecba3c79e2
[ #1970 ] Fix: HTTP Header broken in 'Generic HTTP Advanced' controller
...
Also replaced a number of short strings not to use F() macro to reduce binary footprint.
2018-11-30 11:34:53 +01:00
Gijs Noorlander
5146803833
[Docs] Update to Sphinx 1.8.2
2018-11-30 11:33:34 +01:00
ESPEasy release bot
2b5a822cd5
automatically updated release notes for mega-20181130
mega-20181130
2018-11-30 04:00:11 +01:00
Gijs Noorlander and GitHub
5ee53a49f5
Merge pull request #2106 from TD-er/feature/espeasy_p2p_protocol
...
[Docs] Document ESPeasy p2p controller
2018-11-30 00:18:17 +01:00
Gijs Noorlander and GitHub
b49921eb9a
New data structures for P001, P019, P009, etc. plugins
...
See #2057
Currently this version works with P001 and P019.
Main changes:
Added a new command to SWITCH 001: unmonitor,pcf,port#
Added two new commands to PCF 019: monitor,pcf,port# and unmonitor,pcf,port#
Added two new http commands: monitor and unmonitor
Added a new rules command: logPortStatus that will print the port status
Added the "SafeButton" functionality to 001 and 019 that will avoid false positives
Added more checks to all commands in WRITE function to avoid possible overflows
Added two more PIN STATUS: OFFLINE and INPUT_PULLUP
Modified SendStatus function so that it will be called only when needed (#1593 )
Redesign of the pinstate page
Optimized the WRITE function, changing the serie of 'if' with 'else if'
2018-11-30 00:05:57 +01:00
Gijs Noorlander
b9f999d79f
[Docs] Split Sphinx plugin substitutions to speed-up build
...
Split the plugin related substitutions into separate files (per 10) to speed-up building docs.
Please note the use of indirect paths used in includes, needed to link those replacements from other directories.
2018-11-29 23:55:22 +01:00
Gijs Noorlander
776277b179
[Docs] Move Sphinx substitutions to separate file to speed-up build
2018-11-29 22:37:58 +01:00
Gijs Noorlander
56fb47b6a8
[Docs] Document ESPeasy p2p controller
...
And renamed some structs
2018-11-29 18:41:36 +01:00
Plebs
6d9ea14d6c
final cleanup
...
removed debug strings and functions.
2018-11-29 15:44:59 +01:00
Gijs Noorlander and GitHub
f74ea5f8c8
[Readme] Add badge for ReadTheDocs build status
2018-11-29 09:30:56 +01:00
ESPEasy release bot
ee1a9f7cef
automatically updated release notes for mega-20181129
mega-20181129
2018-11-29 04:00:15 +01:00
Gijs Noorlander and GitHub
c3b1247f9d
Merge pull request #2099 from workgroupengineering/feature/embed_files_enhanced
...
Embed files enhanced
2018-11-29 00:35:48 +01:00
Gijs Noorlander and GitHub
742aec9598
Merge pull request #2100 from clumsy-stefan/patch-1
...
Allow for duplicate task names again
2018-11-29 00:33:53 +01:00
Grovkillen and GitHub
496e9443b0
Merge pull request #2101 from Grovkillen/DocumentationUpdate
...
[docs] Small update, fixed some typos
2018-11-28 14:47:29 +01:00
Grovkillen
3f1deeef96
[docs] Small update, fixed some typos
2018-11-28 14:45:19 +01:00
clumsy-stefan and GitHub
385bb23484
Allow for duplicate task names again
...
Only warn if a task name is duplicate but allow it to be saved without clearing the value-names of that task.
2018-11-28 14:22:57 +01:00
Saverio Cisternino
f30977f6f3
[Embed Files] Avoid redirect http to https of minify_html_css
2018-11-28 13:26:34 +01:00
Saverio Cisternino
a3aa944988
[Embed Files] Append zero termination
2018-11-28 13:26:34 +01:00
Saverio Cisternino
52c1e1243e
[Embed Files] Add exit code 1 when minify failed
2018-11-28 13:26:24 +01:00
ESPEasy release bot
12852c39d6
automatically updated release notes for mega-20181128
mega-20181128
2018-11-28 04:00:07 +01:00
Gijs Noorlander and GitHub
35b7f586d1
Merge pull request #2089 from TD-er/bugfix/stop_serial_output
...
[Serial] Redirect all Serial.print/println to a buffer
2018-11-28 00:14:24 +01:00
Gijs Noorlander and GitHub
4f08ebbf1a
Merge pull request #2096 from TD-er/bugfix/MQTT_clientID_setting
...
[MQTT] change client-id at reconnect - #1918
2018-11-28 00:13:13 +01:00
Gijs Noorlander and GitHub
45e302c4ee
Merge pull request #2095 from TD-er/cleanup/Sonoff_POW_build_merges
...
[Sonoff POW] Merge POW r1/r2 in the same build
2018-11-27 23:48:09 +01:00
Gijs Noorlander
fd6ba18c36
[MQTT] change client-id at reconnect - #1918
...
As discussed here: https://github.com/letscontrolit/ESPEasy/issues/1918#issuecomment-441203285
2018-11-27 23:45:19 +01:00
Gijs Noorlander
f008accd4e
[Sonoff POW] Merge POW r1/r2 in the same build
...
Sonoff POW build now is usable for both POW and POW r2.
Use the Reset Factory default to select proper pre-defined setup for keys and relay.
Both power sensors are included as plugin.
2018-11-27 23:05:06 +01:00
Gijs Noorlander
24f661f80a
[Serial] Remove code to detect if serial port is read
...
See discussion here: https://github.com/letscontrolit/ESPEasy/pull/2089#issuecomment-442066980
2018-11-27 22:10:26 +01:00