Commit Graph
7139 Commits
Author SHA1 Message Date
Ton Huisman 69cf6c1929 [Sysvars] Extend documentation for s_sunrise, m_sunrise, s_sunset and m_sunset 2021-05-30 16:36:47 +02:00
Ton Huisman db824c1b2b [Sysvars] Add %s_sunrise%, %m_sunrise%, %s_sunset% and %m_sunset% variables 2021-05-30 15:27:46 +02:00
TD-er 0d12e51748 Merge pull request #3655 from TD-er/bugfix/Uninitialized_variables
[Cleanup] Reduce build size + clean up loose ends
2021-05-28 22:12:37 +02:00
TD-er bfbabf791c [DeviceModel] Change to enum class to allow compiler help check usage
... And hopefully this may help in making Linux and Windows builds create more equal sized binaries.
2021-05-26 13:38:45 +02:00
TD-er 01404195cc Fix new introduced bug in htmlEscape function 2021-05-26 12:45:32 +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 1c7cd15c9e [Cleanup] Add wrapper to web_server.arg() with flash string arg 2021-05-26 02:51:14 +02:00
TD-er e73948639d [Cleanup] Add more functions with flash string as parameter to reduce size 2021-05-26 01:35:16 +02:00
TD-er 79a3271235 [Cleanup] Fix build issue on Serial Proxy 2021-05-26 01:16:39 +02:00
TD-er 3d8a5059ef [Cleanup] Reduce build size for Factory Default device name 2021-05-26 00:43:21 +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 cd35a3ed6b [Cleanup] Serialize JSON not using ArduinoJSON to reduce build size
Should be tested, as the numbers now no longer are wrapped in quotes.
2021-05-25 22:30:41 +02:00
TD-er 1f40cd1edf [Cleanup] Domoticz MQTT, generate own JSON, not using ArduinoJSON lib
Saves quite a bit from the binary size.
2021-05-25 21:36:25 +02:00
TD-er 8dfc246843 [Cleanup] Remove "new rules" from any build 2021-05-25 21:34:57 +02:00
TD-er b56a9193b9 [Cleanup] Remove unneeded String() wrappers 2021-05-25 20:40:00 +02:00
TD-er 3074df6dbc [Cleanup] Change return type of some commands to FlashString
To reduce build size as those do not have to be converted into a String type.
2021-05-25 20:39:14 +02:00
TD-er ba3e473402 [Cleanup] Fix build error due to missing change in commit. 2021-05-25 15:24:01 +02:00
TD-er be3e503338 [Cleanup] Reduce build size using flash strings in selectors 2021-05-25 15:01:41 +02:00
TD-er 62424b66a2 [Cleanup] Reduce build size of parseStandardConversions function
Macros including function calls with lots of variables tend to add quite a lot to the build size.
2021-05-25 13:24:14 +02:00
TD-er 99f72ccf64 [Cleanup] Change return type of static get string functions to flash string 2021-05-25 12:06:34 +02:00
TD-er 54bf060e4f [Cleanup] Add small optimisations to reduce build size 2021-05-25 01:15:59 +02:00
TD-er 9c363dcc05 [Serial log] Small optimization to reduce build size + process logs 2021-05-24 22:32:54 +02:00
TD-er dcaf9f3d3a [Cleanup] Add missing F() macro where applicable 2021-05-24 22:27:26 +02:00
TD-er 3965abc62d [Cleanup] Add FlashStringHelper function wrappers to reduce build size 2021-05-24 22:24:18 +02:00
TD-er a5fab90ebd [Cleanup] Optimise streaming JSON
Less memory allocations and streaming flash strings as such without converting to `String`
2021-05-24 20:12:32 +02:00
TD-er 92768a38d2 [Cleanup] Reduce build size by keeping flash strings as flash string
Each call to a function with a flash string, expecting `String` argument is adding a `String()` wrapper increasing build size.
2021-05-24 10:31:50 +02:00
TD-er 5ee2e33121 [Cleanup] Do not include DNS server in minimal OTA builds to reduce size 2021-05-23 00:49:40 +02:00
TD-er 113ec4689e [Cleanup] Stream JSON from PROGMEM LabelType::Enum array to reduce size
Remove some code duplication by streaming JSON from PROGMEM arrays of `LabelType::Enum`.
This makes the code more readable and also (slightly) reduces build size. (at least memory usage when serving JSON)
2021-05-23 00:48:47 +02:00
TD-er d21721d0bb [Cleanup] Remove code duplication to reduce build size
Wrapping functions to convert `LabelType::Enum` into String into separate function to reduce build size
2021-05-23 00:45:54 +02:00
TD-er ac5d0b9e3d [WiFi] Remove unneeded log connection status 2021-05-23 00:43:58 +02:00
TD-er 8b2942929f [Rules] Remove unused parameter & change event parameter to const 2021-05-23 00:43:22 +02:00
TD-er 0047e49743 [GPIO] Split duplicate code into shared function to reduce build size 2021-05-23 00:41:39 +02:00
TD-er 535e81c9ae [Cleanup] Reduce build size handle internal commands macros
By stripping of an extra parameter, the build size is reduced quite a lot.
2021-05-23 00:40:12 +02:00
TD-er d320092ed6 [Domoticz MQTT] Move JSON serialize/deserialize to helper .h/.cpp 2021-05-23 00:38:43 +02:00
TD-er 8d006a8e3e [Docs] Document %iswifi% system environment variable 2021-05-23 00:37:04 +02:00
TD-er 100d58831a [Cleanup] Fix warnings of some uninitialised variables. 2021-05-21 16:26:54 +02:00
TD-er f3ce88eaef Merge pull request #3650 from TD-er/bugfix/WiFi_not_reconnect
[WiFi] Fix issue where WiFi could not scan to reconnect
2021-05-21 15:38:49 +02:00
TD-er a2aad37358 [WiFi] Load known credentials right after loading settings 2021-05-21 15:33:44 +02:00
TD-er a78c3ebeac [WiFi] Fix issue where WiFi could not scan to reconnect 2021-05-21 12:46:21 +02:00
TD-er 6b913e474d Merge pull request #3621 from chri-kai-in/P039_MERGE_RTD
[P039] added support for RTD sensors to plugin P039
2021-05-20 22:54:47 +02:00
chri-kai-in eebe10478a Merge branch 'mega' into P039_MERGE_RTD 2021-05-20 00:32:44 +02:00
Christoph Kaiser d90881689b [P039] enhanced logfile formatting,; update of documentation; enhanced Voltage Modes for MAX 31856 2021-05-20 00:31:35 +02:00
TD-er 4a5eee8e5e Merge pull request #3648 from TD-er/bugfix/MQTT_check_connected
[MQTT] Check MQTT status before sending
2021-05-19 15:08:29 +02:00
TD-er 956c329843 [MQTT] Fix MQTT controller not (re)connecting
As reported here: https://github.com/letscontrolit/ESPEasy/issues/2684#issuecomment-843651864
2021-05-19 09:27:00 +02:00
chri-kai-in af30552cb7 Merge branch 'mega' into P039_MERGE_RTD 2021-05-18 22:47:53 +02:00
Christoph Kaiser 58534972c0 [P039] corrected log length reserve values and reworked fault logging 2021-05-18 22:47:30 +02:00
TD-er 4b20300ab5 [PubSubClient] Apply fixes related to crashes on connect to broker
Patches suggested in several PRs on original pubsubclient repository.
2021-05-18 21:51:43 +02:00
TD-er c91a4b15a6 [MQTT] Check MQTT status before sending 2021-05-18 20:17:52 +02:00
TD-er ebf610fc93 Merge pull request #3563 from heinemannj/AS7265X-Plugin
New plugin: AS7265x
2021-05-18 17:58:34 +02:00
TD-er 451e9590e8 Merge pull request #3639 from tonhuisman/feature/enable-logentry-for-other-levels-than-info
[Commands] Enable LogEntry to log for other level than INFO #3312
2021-05-18 17:56:36 +02:00