Commit Graph
69 Commits
Author SHA1 Message Date
Ton Huisman 31653e8b41 [P026] Add Get Config feature for all values 2023-09-24 19:49:24 +02:00
Ton Huisman 4e0ac295aa [P026][Sysvars] Feedback and fixes 2023-09-23 23:15:17 +02:00
Ton Huisman 4aa94015b0 [P026][Sysvars] Add Internal temperature sensor value for ESP32 2023-09-23 22:01:37 +02:00
TD-er a8dfc009c0 [Cleanup] Add macro NR_ELEMENTS for array counting 2023-09-05 16:52:03 +02:00
TD-er 185db71794 [Cleanup] Speedup frequent calls + reduce build size 2023-06-28 18:32:11 +02:00
TD-er 70a93de905 [Cleanup] Reduce resouces used on Dallas, Sysinfo and Dummy tasks 2023-06-24 10:51:42 +02:00
TD-er a81200fd76 [Cleanup] Simplify weblog buffer 2023-06-23 14:32:36 +02:00
TD-er 5bd4150936 Merge branch 'mega' into build/reduce_minimal_bin_size 2023-04-01 23:13:37 +02:00
TD-er 11e72e3e28 Fix using wrong index from string array in sysinfo and SenseAir plugin 2023-04-01 17:33:06 +02:00
TD-er de51d70b04 [Cleanup] Reduce bin size on minimal builds. 2023-03-03 17:39:34 +01:00
TD-er e412faaec7 Merge branch 'mega' into build/reduce_minimal_bin_size 2022-11-25 13:08:27 +01:00
TD-er 4453bd63b4 [Taskvalue Select] Fix showing taskvalue config for some plugins 2022-11-24 22:19:47 +01:00
TD-er 38414ca0b6 Merge branch 'mega' into build/reduce_minimal_bin_size 2022-11-24 10:26:42 +01:00
TD-er 104fcb033e [ADXL345] Add output of values in g with self calibration 2022-11-22 18:23:05 +01:00
TD-er b0f6c0f988 [Cleanup] Reduce bin size by stripping unused code 2022-11-10 00:05:38 +01:00
TD-er 91abe4bb65 [Cleanup] Remove MCP/PCF related code when plugins not included 2022-08-20 13:25:16 +02:00
Ton Huisman d6d7a73ec5 [Build] Rename USES_PACKED_RAW_DATA to FEATURE_PACKED_RAW_DATA and use 0/1 state 2022-07-28 21:15:09 +02:00
TD-er ac6e0e9a78 [Plugin Stats] Fix strange issues PLUGIN_INIT
There was a different code path for PLUGIN_INIT_ALL compared to starting a task via PLUGIN_INIT after boot.
2022-07-13 15:50:06 +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 f27e4b44d0 [Plugin Stats] Enable Stats for Sysinfo tasks 2022-07-12 13:38:43 +02:00
TD-er 9b7ff0c232 [PVS Studio] Fix a number of issues reported by PVS Studio (#4066) 2022-05-18 16:46:53 +02:00
TD-er 10cca9ca72 [Log] Call addLogMove where log Strings can be moved instead of copied
This is a macro for:
```
#define addLogMove(L, S)  addToLogMove(L, std::move(S))
```

This will then try to move the constructed string to the log buffer.
If it cannot be moved (e.g. log level is not active), the string will be cleared to free up memory.
2022-02-09 22:28:18 +01:00
TD-er 7769b6810d [Low Mem] Add checks for successful String memory allocation 2022-02-04 13:28:29 +01:00
TD-er bec61ca54a Merge branch 'mega' into feature/build_core_3_0_0 2021-07-03 21:18:46 +02:00
TD-er 19979fd8b5 [Cleanup] Don't use "byte" as type anymore (.ino files) 2021-07-03 00:50:17 +02:00
TD-er 102c1a953d [Cleanup] Don't use "byte" as type anymore (.ino files) 2021-07-02 10:37:27 +02:00
TD-er fe330b275b [ESP32] Fix build issues 2021-06-24 09:22:14 +02:00
TD-er aa747bbe10 [Memory] Do not switch heap from .ino or .h files. 2021-06-24 00:47:57 +02:00
TD-er 81510035fb [Memory] Fix crashes using IRAM 2nd heap 2021-06-23 15:24:13 +02:00
TD-er 888a0230f6 [Log] Prevent generating logs if loglevel not enabled
Done till plugin 50.
2021-05-30 14:13:49 +02:00
TD-er be3e503338 [Cleanup] Reduce build size using flash strings in selectors 2021-05-25 15:01:41 +02:00
TD-er 7e0463c73e [WiFi Setup] Make WiFi setup more intuitive 2021-04-13 12:45:09 +02:00
TD-er 3dfd365cf2 [WiFi] Cleanup code + add settings transition for new parameters
Also added the current WiFi TX power to the sysinfo plugin.
2021-01-27 14:18:10 +01:00
TD-er 13a790ef43 [Logs] Format task values in logs with set nr of decimals
As reported here: https://github.com/letscontrolit/ESPEasy/pull/3439#issuecomment-758908074 by @tonhuisman
2021-01-13 10:47:46 +01:00
TD-er 3386806af7 [Minimal OTA] Make minimal OTA build fit again 2021-01-12 16:54:09 +01:00
TD-er 8c0e586c68 [Cleanup] Make sure _Plugin_Helper.h is included before #ifdef USES_xxx (2) 2020-10-20 15:55:49 +02:00
TD-er 7f6044db46 [Cleanup] Convert LoRa TTN .ino to .cpp/.h 2020-10-20 15:55: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 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 fd157c6a6f [Cleanup] Mark floating point numbers with f to reduce resource usage
See: https://github.com/esp8266/Arduino/commit/953dfd945f03816db1943fa1345a9550fe61b422
2020-08-30 00:21:31 +02:00
Peter Kretz 6632dec482 ESP32 with Ethernet or Wifi, not both at the same time configurable via Hardware Page.
- ESP P2P is working
- Only ETH.beginPacket() with Standard Parameter is working at the moment, configuration will follow.
- Network.in not cpp/h files but this will be changed in future
- Some TODO: PKR: comments will be removed in the future, too
2020-04-26 22:29:56 +02:00
Gijs Noorlander 1de135001b [Cleanup] Include _Plugin_Helper.h in all plugin INO files
This does include almost all needed for a plugin.
So it will make intellisense highlighting useful as otherwise almost each line in a plugin file will be marked red.
2020-03-03 16:42:07 +01:00
Gijs Noorlander beb7fee65b [Cleanup] Move structs to separate .h/.cpp files 2019-09-04 02:23:31 +02:00
stefan 24e9244dca Reduce bin size by excluding unneded parts
Trying to reduce size of the compiled binaries by  excluding certain parts of the code if not needed.

See definitions at the end of  'define_plugin_sets.h'
 Currently done:
- Casting all controllers that are not included
- Casting all MQTT related code
- Casting all Domoticz related code
2019-08-28 07:54:51 +02:00
TD-er d8e7fbf284 [LoRa] Keep out LoRa code if no supported controller is used
Building for core 2.6.0 was next to impossible with the LoRa related code to create packed raw data streams was included.
2019-08-25 23:58:24 +02:00
Gijs Noorlander 49a7b541f8 [LoRa/TTN] Correct decoder example in comments 2019-08-15 15:56:44 +02:00
Gijs Noorlander 2a30651a7f [LoRa/TTN] Add raw encoder/decoder for sysinfo plugin
This does send out all 11 values of the sysinfo plugin.
2019-08-15 14:18:42 +02:00