Ton Huisman
dd0df7dbaa
[Build] Rename USES_PLUGIN_STATS to FEATURE_PLUGIN_STATS and use 0/1 state
2022-07-27 20:46:52 +02:00
TD-er
ca63503f64
[Plugin Stats] Reduce memory usage when no stats are used.
2022-07-13 01:36:59 +02:00
TD-er
5bb92aba66
[PluginStats] Add build flags USES_PLUGIN_STATS and USES_CHART_JS
2022-07-10 15:32:40 +02:00
TD-er
e66dac1295
[Plugin Stats] Enable Plugin Stats for all plugins with task data
...
... and outputting float values
2022-07-09 00:35:05 +02:00
TD-er
580b8fbc83
[ADC] Add PluginStats to keep history of values
2022-07-07 23:37:21 +02:00
TD-er
fc04a084a0
Revert caching nr decimals due to strange issues.
2022-01-30 22:19:34 +01:00
TD-er
58bc8c8043
[Cache] Cache nr of task value decimals
...
This may reduce the number of loads of ExtraTaskSettings when only the nr of decimals is needed.
2022-01-30 00:26:31 +01:00
Ton Huisman
8805f98ece
Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix
2021-10-19 11:46:27 +02:00
TD-er
a8808c11d3
[Cleanup] Use PLUGIN_WEBFORM_SHOW_GPIO_DESCR to show all GPIO used
...
On the devices overview page, show per task which GPIO pins are assigned.
2021-10-12 20:35:15 +02:00
Ton Huisman
1ad21920ee
Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix
2021-07-03 21:34:48 +02:00
TD-er
a75cde2913
[Cleanup] Use of "byte" as a type. uint8_t or (C++17) std::byte are better
...
As discussed here: https://github.com/esp8266/Arduino/issues/8089#issuecomment-851430885
2021-07-03 00:49:15 +02:00
Ton Huisman
a21a25a292
[Helpers] Add helper getFormItemIntCustomArgName(int)
2021-06-15 23:11:47 +02:00
TD-er
41195a8405
[GPIO Selection] Filter possible GPIO pins based on needed properties
...
When selecting a GPIO pin from the web UI, one should only be allowed to select pins that can be used.
A pin will be disabled for selection if it is already used on I2C, serial, SPI or ethernet.
It is also displayed next to the GPIO description.
Pins that ar not usable at all, for example if you need an output pin, it makes no sense to show input-only pins on an ESP32.
Generating the pin selection combobox now also does not need to be allocated in memory anymore as it is streamed directly to the client.
2021-06-05 00:11:26 +02:00
TD-er
011fa33368
[Mem analysis] Log free memory during setup phase
2021-05-31 16:15:04 +02:00
TD-er
2dcdcc7e06
[Cleanup] Remove addLog macro and use separate functions per type
...
This gets rid of another rather big chunk of (generated) code which does add up to the binary size.
2021-05-26 12:22:19 +02:00
TD-er
e3f65c1ece
[Cleanup] Use EMPTY_STRING instead of F("") to reduce build size
2021-05-26 00:17:34 +02:00
TD-er
db02098c8e
[Cleanup] Uncrustify changed files of this PR
2021-01-12 12:39:55 +01:00
TD-er
5497aa9f3a
[Cleanup] Wrap <div> markup in a separate function
...
To reduce build size and make code better readable
2020-12-29 16:23:16 +01:00
TD-er
62d553eeeb
[Cleanup] Move enum/define only files to DataTypes & CustomBuild folder
2020-10-20 15:55:49 +02:00
TD-er
886cd9d294
[Cleanup] Strip almost all from ESPEasy_fdwdecl.h
2020-10-20 15:55:29 +02:00
TD-er
b03370536c
[Cleanup] Simplify functions to sync sensorType consistency
2020-10-02 00:01:40 +02:00
TD-er
7914924561
[Load] Fix high CPU load introduced by fixing sensorType consistency
...
See https://github.com/letscontrolit/ESPEasy/commit/33640451a520cdea3a883c853b42a2ea5768013a
2020-10-01 23:23:29 +02:00
TD-er
175bdfa074
[Cleanup] Split even more functions from Mist.cpp/.h
2020-09-25 22:58:49 +02:00
TD-er
2e8cb67cbb
[Cleanup] Remove fwdelc declarations of functions moved to .h/.cpp
...
This means lots of #includes were missing in files.
2020-09-25 14:34:56 +02:00
TD-er
627904b7f8
[Cleanup] Add EventStruct constructor with TaskIndex as parameter
...
This to make sure the TaskIndex and BaseVarIndex are always in sync.
BaseVarIndex was not always set, which may lead to strange results as it is mainly used to address UserVar entries.
2020-09-24 12:34:01 +02:00
TD-er
59763dc602
Use more logical parameters to query task sensor VType
2020-09-23 14:04:29 +02:00
TD-er
b9193de54b
Move output tyle selection load/save to device page handler
2020-09-23 12:24:17 +02:00
TD-er
8e66154e2f
Add function to ask task for VType instead of plugins
...
To allow a task to have a non-default VType, instead of shared among all instances of the same plugin.
2020-09-22 14:56:50 +02:00
TD-er
4a87dfaea6
Add function to ask task for valueCount instead of plugin
...
To fix issues with Sysinfo and dummy sharing the same number of output values.
2020-09-22 12:17:37 +02:00
Gijs Noorlander
6f1dcae5e1
[new new] Prepare for upcoming changes of 'new' in esp8266/Arduino
...
See https://github.com/esp8266/Arduino/pull/7536
2020-08-30 20:19:42 +02:00
Gijs Noorlander
2cba386e76
Fix build issue
2020-04-12 23:41:23 +02:00
Gijs Noorlander
f15d583b06
[Cleanup] Code formatting for Pulse Counter
2020-04-12 21:59:57 +02:00
Gijs Noorlander
a9f555538c
[PulseCounter] Add SetPulseCounterTotal command
...
As requested on the [forum](https://www.letscontrolit.com/forum/viewtopic.php?p=43922#p43922 )
2020-04-12 21:59:22 +02:00
Gijs Noorlander
b33033e107
[CUL Reader] Fix bug in save/load settings
2020-04-08 23:26:27 +02:00
Gijs Noorlander
f07017f3aa
[I2C UART] Speed up reading from I2C Serial
2020-03-10 01:50:50 +01:00
Gijs Noorlander
5eccf7a70b
[clangtidy] Address some warnings reported by CLangTidy
2019-10-31 01:13:34 +01:00
Gijs Noorlander
f8168e9fe9
[Cleanup] Use taskIndex_t everywhere where a task index is used.
2019-10-23 17:07:52 +02:00
Gijs Noorlander
3c090f14f3
[Cleanup] Make use of consistent names for DeviceIndex ( #2676 )
...
See #2676
The use of DeviceIndex was not consistent, which may lead to strange issues.
DeviceIndex is the translation between the vector of included plugins and IDs of plugins available.
2019-10-22 16:23:21 +02:00
Gijs Noorlander
cc5543ba1c
Move Settings from ESPEasy-Globals.h to Globals/Settings.h
2019-09-25 00:46:04 +02:00
Gijs Noorlander
421631c9f1
Move Plugin administration from ESPEasy-Globals.h to Globals/Plugin.h
2019-09-25 00:46:04 +02:00
Gijs Noorlander
4cb60c0dad
[cleanup] make it compile again on ArduinoIDE
...
Changes to file locations to make it compile again under Arduino IDE.
Basically `#include ""` and file locations have been fixed.
2019-09-25 00:46:04 +02:00
Gijs Noorlander
beb7fee65b
[Cleanup] Move structs to separate .h/.cpp files
2019-09-04 02:23:31 +02:00