Commit Graph
5059 Commits
Author SHA1 Message Date
Ton Huisman ccddfce4e3 Merge branch 'mega' into feature/taskvalueset_by_name 2020-07-04 12:21:53 +02:00
Gijs Noorlander 67e729e4b5 [ESP32 ETH] Fix build issue due to recent changes 2020-07-03 15:19:35 +02:00
TD-er 5ae9038982 Merge pull request #3139 from TD-er/bugfix/ModbusRTU_h_cpp
Convert code from .ino to .cpp/.h
2020-07-03 14:02:17 +02:00
TD-er 18bd6f5692 Merge branch 'mega' into bugfix/ModbusRTU_h_cpp 2020-07-03 13:16:55 +02:00
TD-er 904f72bdc5 automatically updated release notes for mega-20200703 mega-20200703 2020-07-03 13:15:58 +02:00
TD-er cb0ff5a9c1 Merge pull request #3037 from tonhuisman/feature/apds_9960_parameters
[P064] Gesture - APDS-9960 plugin: Added switching plugin mode and se…
2020-07-03 12:10:55 +02:00
TD-er d907dcf9b0 Merge pull request #3137 from tonhuisman/feature/transformation_password2
[Transformation] Optimizations for Password transformation
2020-07-03 12:09:18 +02:00
TD-er 70d41e5631 Merge pull request #3142 from pm-cz/mega-IP-fix
Fixed IP address range checking
2020-07-03 12:07:52 +02:00
TD-er ac42e4fe9d Merge pull request #3143 from Beziu/mega
Update _P047_i2c-soil-moisture-sensor.ino
2020-07-03 12:07:29 +02:00
Grzegorz Dziubak 78fbe22c23 Merge branch 'mega' into mega 2020-07-03 11:23:07 +02:00
Pavel Moravec 3b147fc08e Fixed IP address range checking 2020-07-03 10:09:19 +02:00
Gijs Noorlander 7fba7f07eb Make delay queue macro a bit more logical 2020-07-01 09:15:02 +02:00
Gijs Noorlander 0e7e54c8f9 [Build] Fix build error for C018, due to removed forward declaration 2020-06-30 12:08:51 +02:00
Gijs Noorlander fac54d6e54 [Build] Fix missing include building ESP32 2020-06-30 10:33:03 +02:00
Gijs Noorlander 07efc9d078 Convert scheduler from .ino to .cpp/.h
Also converted:
- StringConverter.ino
- Scheduler.ino
- ESPEasyStorage.ino
- Hardware.ino
- ESPEasy_checks.ino
- Convert.ino


Plus some clean up of now made obsolete forward declarations in ESPEasy_fwddelcs.h
2020-06-30 00:10:52 +02:00
Gijs Noorlander a4b384fcae [Modbus RTU] Move Modbus code to .h/.cpp file to reduce size 2020-06-29 10:51:03 +02:00
TD-er 2da0835893 Merge pull request #3132 from TD-er/bugfix/syslog_stackusage
[Syslog] Fix high stack usage for Syslog (#3128)
2020-06-28 23:17:53 +02:00
Gijs Noorlander ac129d128a [Documentation] Add documentation on the log settings. 2020-06-28 23:17:22 +02:00
Gijs Noorlander 1bfffd931b [Syslog] Fix high stack usage for Syslog (#3128)
Fixes: #3128
2020-06-28 20:00:21 +02:00
TD-er 2ea6b4c426 Merge pull request #3138 from TD-er/bugfix/3113_rules_login
[Rules] Fix rules handling of set 2...4 when using admin login (#3113)
2020-06-28 19:51:13 +02:00
Gijs Noorlander db94b4c6fd [Rules] Fix rules handling of set 2...4 when using admin login (#3113)
Fixes #3113
2020-06-28 17:33:14 +02:00
tonhuisman 16318a74b1 [Transformation] Optimizations for Password transformation 2020-06-28 13:45:38 +02:00
TD-er ce317f7207 Merge pull request #3134 from TD-er/bugfix/c011_advhttp_stack
[C011] Generic HTTP Advanced Reduce stack usage (#3123)
2020-06-27 16:43:08 +02:00
Gijs Noorlander 81a870821c [Web interface] Fix bug in I2C address selector 2020-06-27 14:29:20 +02:00
Gijs Noorlander c1f21d1eba [Domoticz HTTP] Make sending slightly more efficient 2020-06-27 12:39:20 +02:00
Gijs Noorlander c978db2aef [Frontend] Use stringProvider on some more strings 2020-06-27 12:38:16 +02:00
Gijs Noorlander a6f029793f [Build] Allow building using SD support for special debug builds 2020-06-27 12:37:31 +02:00
Grzegorz Dziubak 65c138f97a Update _P047_i2c-soil-moisture-sensor.ino
added new version; tested on 0x26
2020-06-27 08:52:28 +02:00
Ton Huisman 8e8edce5b0 Merge branch 'mega' into feature/apds_9960_parameters 2020-06-25 20:32:58 +02:00
Gijs Noorlander af86858495 [HTTP controller] Memory optimization, prevent copy queue element 2020-06-25 19:39:31 +02:00
Gijs Noorlander aa5634bf78 [Controller] Check success of controller settings allocation processing queue 2020-06-25 19:39:31 +02:00
Gijs Noorlander 93ad416834 [C011] Generic HTTP Advanced Reduce stack usage (#3123)
Fixes: #3123 

ControllerSettings and (large) struct for the controller config were active at the same time while it is not needed.

Also the host to send data to was connected twice, which may also lead to strange results.
2020-06-25 19:39:31 +02:00
TD-er 775a961fe6 Merge pull request #3133 from TD-er/bugfix/stackusage_i2cformselector
addFormSelectorI2C Fix high stack usage (#3130)
2020-06-25 19:38:31 +02:00
Gijs Noorlander 53d6d5cc8a [build] Exclude function from build for minimal OTA 2020-06-25 11:40:25 +02:00
Gijs Noorlander 9362371552 [Build] Add LittleFS to lib_ignore 2020-06-25 11:39:39 +02:00
Gijs Noorlander e1640546a3 Minimize stack allocation in plugins 2020-06-25 11:38:43 +02:00
Gijs Noorlander 50b032881f addFormSelectorI2C Fix high stack usage (#3130)
Fixes: #3130
2020-06-24 13:37:17 +02:00
TD-er f1b2f16d1c Merge pull request #3122 from TD-er/bugfix/memory_optimizatons
Reduce RAM usage considerably on controllers
2020-06-23 13:42:42 +02:00
TD-er cd9edd6c6f Merge branch 'mega' into bugfix/memory_optimizatons 2020-06-23 12:05:54 +02:00
Gijs Noorlander 586d956ab8 [Python] Update package versions in requirements.txt 2020-06-23 09:11:38 +02:00
Gijs Noorlander 41666156d6 [Web Frontend] Reduce stack usage on DST configuration 2020-06-23 00:57:43 +02:00
Gijs Noorlander 6408849967 [Blynk] Reduce stack usage on Blynk_get
There is still room for improvement as we still try to create the entire string in a fixed size buffer.
Maybe we can also send out the data in chunks?
Or determine the needed array size at runtime.
2020-06-23 00:56:57 +02:00
Gijs Noorlander 71dc108eda [P001 Switch] Reduce stack usage on PLUGIN_WEBFORM_LOAD 2020-06-23 00:55:05 +02:00
Gijs Noorlander 2fe22afd3b Fix merge issue WiFiConnected changed to NetworkConnected 2020-06-22 15:50:00 +02:00
Gijs Noorlander b3574a7706 [MQTT import] Check if MakeControllerSettings failed due to out of RAM 2020-06-22 15:49:43 +02:00
Gijs Noorlander 21f0cb7fe9 [Controller] Check if MakeControllerSettings failed due to low RAM
Add checks to see if allocating the relative large ControllerSettingsStruct failed.
This can be caused by either running out of memory or when memory gets fragmented.
2020-06-22 15:49:43 +02:00
Gijs Noorlander 6fc8642e04 [MQTT] More efficient MQTT copy incoming messages 2020-06-22 15:49:43 +02:00
Gijs Noorlander 15af201bb9 [Controller] Cache needed controller info to reduce memory usage 2020-06-22 15:49:43 +02:00
Gijs Noorlander 33291eac11 [Cleanup] Try to use move constructor when adding to controller queue
Still to do: create a proper move operator for queue_element_single_value_base
2020-06-22 15:49:43 +02:00
Gijs Noorlander 08dc4a81df [Cleanup] Free ControllerSettings as soon as possible to free memory
Quote often the ControllerSettings are only used to get one or two values.
No need to keep this ~800 bytes large object allocated for more than absolutely needed.
2020-06-22 15:49:43 +02:00