Commit Graph
3370 Commits
Author SHA1 Message Date
TD-er 175bdfa074 [Cleanup] Split even more functions from Mist.cpp/.h 2020-09-25 22:58:49 +02:00
TD-er bc5abc5c3f [Cleanup] Split functions from Misc.cpp/.h
- Rules calculation functions
- PortStatus functions
- String Parser functions
2020-09-25 20:38:43 +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 4a7b4dbcc7 [Cleanup] Uncrustify Misc.h / Misc.cpp 2020-09-25 13:14:46 +02:00
TD-er 65ad01f175 [Cleanup] Convert Misc.ino to .h/.cpp 2020-09-25 13:10:34 +02:00
TD-er ebdd6968f3 Change CPlugin and NPlugin functions to enum class 2020-09-25 11:34:11 +02:00
TD-er 0b107c0fa2 [Storage] Make enums used for storage enum class
To let the compiler help check if enums are used where intended and to check if we're missing cases when adding new ones.
2020-09-25 11:07:42 +02:00
TD-er c144779d7e Merge branch 'mega' into bugfix/variable_valueCount 2020-09-24 13:12:56 +02:00
TD-er 334cba754e Merge pull request #3266 from thomastech/mega
Update P079 Motor Shield (Lolin V2 Support)
2020-09-24 13:12:16 +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 639d4a8d77 Document the DeviceStruct variables and update _Pxxx_PluginTemplate.ino 2020-09-24 10:20:00 +02:00
TD-er cc87d7dad6 Merge branch 'mega' into bugfix/variable_valueCount 2020-09-23 23:48:37 +02:00
TD-er 3e461b97f2 [ESPEasy p2p] Split p2p data structs into C++ objects (#3264)
As preparation of issue #3264
2020-09-23 14:55:48 +02:00
TD-er 59763dc602 Use more logical parameters to query task sensor VType 2020-09-23 14:04:29 +02:00
TD-er f248d73501 [Serial] Handle serial config from webpage devices handler
A lot of code duplication can be handled on a single place in the code.
2020-09-23 13:21:15 +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 686dd77493 Fix P015 TSL2561 PLUGIN_READ return success = true
As reported by @clumsy-stefan
2020-09-23 11:37:53 +02:00
Thomas 5510886c26 Update P079_Wemos_Motorshield
Change Log
Added:  Support for Lolin V2.0 Motor Shield. Plugin's Web GUI uses form selector to choose board type.
Added:  Command syntax checking. Basic Error msg is reported in browser. Expanded msg in info log.
Added:  LolinMotorShieldCMD command keyword is alias to WemosMotorShieldCMD.
Added:  Standby command (put board into low power idle).
Added:  Brake command (short brake).
Added:  I2C Communication test for Lolin V2; Use command "LolinMotorShieldCMD" without parameters.
Added:  Use default device name if user forgets to populate the name field on device creation.
Added:  New device now defaults I2C address field to "0x30" rather than "0x".
Fixed:  Eliminated "Invalid character in names" error message that appears in new plugin.
Change: Renamed plugin's title to "Motor - Wemos/Lolin Motorshield" (was "Motor - Wemos Motorshield").
2020-09-22 11:38:23 -07:00
TD-er 07cfaed366 Fix compiler issue C016 (incorrect find/replace) 2020-09-22 16:50:35 +02:00
TD-er 6933d1d3f3 [ExtraTaskSettings] Make sure the ExtraTaskSettings are active when used 2020-09-22 16:45:29 +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
TD-er 3527f89ae8 Merge pull request #3261 from TD-er/build/ReduceBuildSize
[build] Disable P092 and P093 on builds exceeding build size
2020-09-20 13:14:21 +02:00
TD-er 73d03d9419 [build] Disable P092 and P093 on builds exceeding build size 2020-09-20 13:13:55 +02:00
TD-er d819975ca9 Merge branch 'mega' into bugfix/WiFi_long_timers 2020-09-20 00:40:09 +02:00
TD-er 826cc515f6 Merge branch 'mega' into feature/ESP32_bootstates 2020-09-20 00:39:36 +02:00
TD-er 9f4bc10c66 Merge branch 'mega' into bugfix/WiFi_long_timers 2020-09-20 00:39:13 +02:00
TD-er c17db84145 Merge branch 'mega' into feature/ESP32_bootstates 2020-09-19 17:08:21 +02:00
TD-er 80f64b8247 [MQTT] Fix disregard retain flag using publish from rules (#3256)
The wrong controller settings were loaded.  (Commands/MQTT.cpp)
2020-09-19 16:35:46 +02:00
TD-er 492b1535ec Merge pull request #3257 from TD-er/feature/ds2423
[DS2423] Add 1-wire counter
2020-09-18 12:50:07 +02:00
TD-er dc56c03048 [WiFi] Fix some issues where timeouts were incorrectly evaluated
Left-over from changes adding LongTermTimer class
2020-09-18 12:12:55 +02:00
TD-er e88609d295 [WiFi] Fix issue where unit no longer considers connected > 25 days 2020-09-17 13:15:10 +02:00
TD-er 4b10be91b1 [DS2423] Add 1-wire counter
As made by @ToniA
See [the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=46736#p46736)
2020-09-16 13:58:25 +02:00
TD-er 85b4877dab [P012 LCD] Add characters used in Polish language 2020-09-14 18:40:26 +02:00
TD-er 506db9d4d1 [P013 HCSR04] Clarify filter setting in web config 2020-09-14 17:00:54 +02:00
TD-er 895c4222bf [Build] Fix compile time check for settings size ESP32 2020-09-14 16:48:41 +02:00
TD-er 91ca5a4351 Add ESP32 PinBootState options + ESP8266 gpio16 2020-09-14 16:40:58 +02:00
TD-er 9efa014a5c Merge branch 'mega' into feature/I2C_multi_instance 2020-09-13 01:04:29 +02:00
Gijs Noorlander 45395a6bca [VCC Build] Strip Servo, Blynk and Zabbix from test build to make it fit. 2020-09-11 13:28:00 +02:00
Gijs Noorlander 52ecb96977 [Cleanup] Reduce memory usage when using ControllerSettings struct 2020-09-11 12:15:47 +02:00
Gijs Noorlander 9b4c796062 [C011] Split multiline headers + also parse url
Allowing to use variables in the URL
2020-09-11 12:14:36 +02:00
Gijs Noorlander fcc6063264 [C011] Improve logging + connection tracking. 2020-09-10 00:09:15 +02:00
Gijs Noorlander c33e98f8d8 [C011] Fix build issue for older ESP8266 core versions 2020-09-09 16:01:07 +02:00
Gijs Noorlander 63c4dfddc0 [C011] Use ESP8266HTTPClient library 2020-09-09 15:16:51 +02:00
Gijs Noorlander 95bef799c1 [RN2483] Call LoRaWAN module reset when LoRaWAN stack hangs (#3225 )
See #3225
2020-09-09 00:01:39 +02:00
Gijs Noorlander 79856d8da1 [Cleanup] Reduce memory usage on load/save C018 LoRaWAN RN2483 controller 2020-09-08 23:59:56 +02:00
Gijs Noorlander cf4ef0b172 Merge remote-tracking branch 'origin/bugfix/controller_http_advanced' into bugfix/controller_http_advanced 2020-09-08 17:44:11 +02:00
Gijs Noorlander 09cc6b4fb1 [HTTP Advanced] Optimize load/save settings + add send binary option. 2020-09-08 17:43:52 +02:00
TD-er 89e848c576 Merge branch 'mega' into bugfix/controller_http_advanced 2020-09-08 13:23:44 +02:00
Gijs Noorlander 1ba290edc9 [HTTP Advanced] Do not percent-encode body (#1306)
The replaced values are percent-encoded, which causes issues like described here: https://github.com/letscontrolit/ESPEasy/issues/1306#
2020-09-08 13:21:27 +02:00