Compare commits

...
Author SHA1 Message Date
TD-er 9d46d4d34d automatically updated release notes for mega-20220328 2022-03-28 09:02:48 +02:00
TD-erandGitHub fa2f148848 Merge pull request #3962 from lrizzi/patch-1
Typo in comment of P074
2022-02-20 18:49:29 +01:00
Leonardo RizziandGitHub de1a66f4d7 Typo in comment of P074
The plugin P074 comment is defined as TSL2561 instead of TSL2591
2022-02-20 14:53:23 +01:00
TD-erandGitHub 9d3b80225b Merge pull request #3957 from clumsy-stefan/ESP32_GPIO_37_38
[ESP32] Add GPIO37/38 as input
2022-02-17 23:49:06 +01:00
stefan e62d2c5b60 [ESP32] Add GPIO37/38 as input
There are a number of boards (eg. from Heltec) that support GPIO37 and GPIO38 at least as ADC1 input. So enable them here.
2022-02-17 22:55:54 +01:00
TD-erandGitHub 8c75f0959e Merge pull request #3953 from TD-er/bugfix/serve_gzip_files
[Webserver] Fix serving GZipped files
2022-02-15 16:45:53 +01:00
TD-er 3f053fac92 [Webserver] Fix serving GZipped files
Did send content type twice.
2022-02-15 15:31:29 +01:00
TD-erandGitHub 2f4a76e9b5 Merge pull request #3952 from TD-er/build/reduce_GitHubActions_buildsize
[Build] Make sure SDFS and LittleFS are not linked in the build
2022-02-14 23:05:06 +01:00
TD-er 4b08a1afd7 [Notifiers] Fix NPlugins not showing up in build. 2022-02-14 22:42:15 +01:00
TD-er c760a054d4 [PVS-Studio] Fix some tricky code noticed by PVS Studio 2022-02-14 22:07:12 +01:00
TD-er 6f6605e908 [Build] Clean-up PlatformIO ESP32 build envs 2022-02-14 21:04:25 +01:00
TD-er 0379fa40bb [Build] Make minimal IRext 1M build fit again 2022-02-14 20:44:28 +01:00
TD-er 5bd9ca5252 [Build] Also include previous lib name SD(esp8266) for lib_ignore 2022-02-14 19:51:58 +01:00
TD-er 5cede1fbe3 [Build] Fix IR builds and ESP32 builds due to missing includes. 2022-02-14 17:51:25 +01:00
TD-er 981af66379 [Build] fix build issue using fs:: namespace 2022-02-14 16:29:13 +01:00
TD-er f527ea7800 [Build] Fix ESP32 build 2022-02-14 16:16:07 +01:00
TD-er 1a09f8ce50 [Build] Remove PlatformIO LDF deep+ mode 2022-02-14 15:36:22 +01:00
TD-er 50f0ca0b9a [Build] Update changed lib_ignore SD library name (from SD(esp8266) ) 2022-02-14 15:35:56 +01:00
TD-er ba5f631a19 [Build] ignore SD(esp8266), SDFS and LittleFS(esp8266) for 'normal' 2022-02-14 14:13:02 +01:00
TD-er 533890ac1f [Build] Using PlatformIO Espressif32 v3.3.2 2022-02-14 11:40:55 +01:00
TD-er 7bc5e21d62 [Build] Add missing #include <vector> 2022-02-14 11:12:56 +01:00
TD-er d830551d11 Fix build errors due to fwd declaration and typo 2022-02-14 10:54:08 +01:00
TD-er 5127db1809 Use FS_NO_GLOBALS only on esp8266/Arduino v3.0.x 2022-02-14 10:18:08 +01:00
TD-er 36b30a8b7d [Build] Make sure SDFS and LittleFS are not linked in the build
See: https://github.com/esp8266/Arduino/issues/8483
2022-02-14 09:58:24 +01:00
TD-erandGitHub 779ae24a79 Merge pull request #3946 from TD-er/bugfix/RAMtracker
[RAM tracker] fix potential multiple calls to std::move on the same string
2022-02-11 14:46:30 +01:00
TD-er e6d0d8b702 [RAM tracker] fix potential multiple calls to std::move on the same str 2022-02-11 14:22:22 +01:00
TD-erandGitHub acb2c9e695 Merge pull request #3945 from TD-er/feature/optimize_log
[Log] Prevent String copy when adding log
2022-02-10 23:10:13 +01:00
TD-er 80cf72fbcb [Web UI] Serve web p[age template based on head or footer part of page 2022-02-10 21:42:46 +01:00
TD-er 9d44fad64c [Sysinfo] Fix strange ESP Chip ID on sysinfo web page 2022-02-10 20:34:00 +01:00
TD-er 74b52850d2 [ESP8266 2nd heap] Reduce nr of mem allocations and use 2nd heap 2022-02-10 17:43:26 +01:00
TD-er bb3d60e3a7 [Cleanup] Simple fixes to prevent String reallocation. 2022-02-10 16:11:29 +01:00
TD-er 71963c60e3 [Memory] Free allocated memory in Strings .clear() does not free it
See: https://github.com/esp8266/Arduino/issues/8485
2022-02-10 12:20:15 +01:00
TD-er f27ac68a62 [Log] Fix freeing memory in the log struct. 2022-02-10 11:33:50 +01:00
TD-er 84854ae50c [Log] Fix cleaning up Web log buffers + buffer efficiency 2022-02-10 10:44:50 +01: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 ea2cc6ae0f [Log] Make sure to allocate 2nd heap when available 2022-02-09 22:25:27 +01:00
TD-er 68147368f3 [Log] Prevent String copy when adding log
By allowing to use `std::move` a number of copy operations can be reduced when handling log.
2022-02-09 15:37:02 +01:00
TD-erandGitHub 71cbd1d3a7 Merge pull request #3680 from TD-er/feature/build_core_3_0_0
[Core 3.0.0] Allow building using esp8266/Arduino core 3.0.0
2022-02-08 12:14:37 +01:00
TD-er dbadb03be7 Disable P118 Itho for 2nd heap builds to make it fit 2022-02-08 00:01:49 +01:00
TD-er a9055aa11e [P118 ltho] Fix some very basic const issues. 2022-02-07 23:58:36 +01:00
TD-er c936e525f1 [Cleanup] Uncrustify P118 ltho 2022-02-07 23:21:08 +01:00
TD-er 4a3476e4a0 [Webserver] Fix crashes on 1 heap setups with serving flash strings. 2022-02-07 19:44:41 +01:00
TD-er 14df8e2081 [Webserver] Use move operator when possible to prevent copy strings 2022-02-07 16:33:34 +01:00
TD-er 5dd0a4b292 [PLUGIN_READ] Do not call PLUGIN_READ when not enabled. 2022-02-07 16:32:37 +01:00
TD-er 544c889bc9 [RAM tracker] Not logging ram tracker when not enabled. 2022-02-07 16:31:27 +01:00
TD-er 4252d7a316 [Build] Fix build error after change to use flash string 2022-02-07 12:13:49 +01:00
TD-er 01f5183eb7 [WebServer] Tune to faster serving pages using less memory
Less flash string to String conversions and flush early to prevent re-allocations
2022-02-07 11:56:41 +01:00
TD-er c9fefa8174 [Cleanup] Use F() macro where possible and less String conversions 2022-02-07 11:53:56 +01:00
TD-er 812485a1bb [Cleanup] Change NULL to nullptr 2022-02-07 11:52:44 +01:00
TD-er 6b0924d252 [WebServer] Do not use substring to serve larger strings
It may need more memory than needed, or cause unneeded memory (re)allocations.
2022-02-07 00:44:55 +01:00
TD-er 74fd30a9d8 Fix build error on ESP32 2022-02-05 17:17:47 +01:00
TD-er e6300c7a2b [Build Flag] Add -s flag on ESP8266 to explicit strip unused parts
On Windows, this does not seem to do a lot, maybe on Linux it does?
2022-02-05 17:07:39 +01:00
TD-er 189d37b3da [WiFi] No longer destruct and recreate WiFi object on init
Looks like this is no longer needed as work-around
2022-02-05 17:06:26 +01:00
TD-er 6e352277c6 [Cleanup] Misc cleanup to reduce build size 2022-02-05 17:05:45 +01:00
TD-erandGitHub 64dc155255 Merge branch 'mega' into feature/build_core_3_0_0 2022-02-05 11:24:29 +01:00
TD-erandGitHub 2a1b368b84 Merge pull request #3944 from tonhuisman/feature/P073-refactoring-and-de-duplication
[P073] Code de-duplication and optimization
2022-02-05 11:22:50 +01:00
TD-er 3e214da975 [Cleanup] Direct initialise selection options where possible 2022-02-05 10:57:51 +01:00
TD-er 4a9d0bcaae [Cleanup] Use flash strings where needed or chars for single char string 2022-02-05 10:40:46 +01:00
TD-er 401de1f492 [Cleanup] Do not generate temp strings that can be streamed to client 2022-02-05 01:41:07 +01:00
TD-er 3215a9a205 [Cleanup] Write single char units as char instead of flash string 2022-02-05 01:38:22 +01:00
TD-er 5f72c06718 [Cleanup] Replace empty string assignment with .clear() 2022-02-05 00:39:50 +01:00
TD-er f7c9b722d0 [CSV] Stream CSV directly to the client, not using RAM
There was unneeded RAM allocation, where the content could be streamed directly to the client.
2022-02-05 00:39:00 +01:00
TD-er 5b3dda1e65 Fix build error WiFiClient doesn't have getTimeout() 2022-02-04 23:42:05 +01:00
TD-er d58c7544a4 [RAM Tracking] Disable detailed RAM tracking + make it a setting
This RAM tracking was hardly ever used, but it is taking quite a hit on performance and memory usage.
Disabled by default.
2022-02-04 22:51:04 +01:00
TD-er f0c4438da6 [WebServer] Speed up serving pages and slight reduction of RAM usage 2022-02-04 22:49:13 +01:00
Ton Huisman c897535627 [P073] Code de-duplication and optimization 2022-02-04 22:04:15 +01:00
TD-er 7769b6810d [Low Mem] Add checks for successful String memory allocation 2022-02-04 13:28:29 +01:00
TD-er d29fb124e9 [Webserver] Fix "Templ: Unknown Var : content" 2022-02-03 10:30:50 +01:00
TD-er a3e8e8fbfa [2nd Heap] Disable using 2nd heap for non-String objects
See discussion: https://github.com/letscontrolit/ESPEasy/pull/3680#issuecomment-1026522467
2022-02-03 10:30:06 +01:00
TD-er 084b83a5fd [SendToHTTP] Add some checks for timeout to send to HTTP 2022-02-02 17:19:35 +01:00
TD-er aa576d1261 [Build] Unflag -fexceptions and build flag -Os to reduce bin size
Linux builds are still significant larger than Windows builds.
The ESP8266 "test-A" build differs over 35k compared to being built on Windows or Linux.
2022-01-31 14:51:39 +01:00
TD-er d7ed47cec0 [INO to CPP] Fix missing forward declarations in C018.cpp 2022-01-31 12:42:31 +01:00
TD-er 5c898ff71b [INO to CPP] Rename Nxxx.ino to .h/.cpp 2022-01-31 12:13:10 +01:00
TD-er 50f7968f3c [INO to CPP] Adapt __NPlugin.ino to .h/.cpp 2022-01-31 12:05:22 +01:00
TD-er e474253f7e [INO to CPP] Mark ESP8266/ESP32 specific plugins in _Plugin_init.h/.cpp 2022-01-31 11:02:49 +01:00
TD-er 1cfd75d6bf [INO to CPP] Rename Cnnn.ino to Cnnn.cpp
This way we know for sure the Arduino typical build issues will be affecting building controllers.
2022-01-31 11:01:41 +01:00
TD-er e9715d5e67 [INO to CPP] Adapt __CPlugin.ino to .h/.cpp 2022-01-31 09:46:31 +01:00
TD-er faae87e013 [INO to CPP] Adapt __Plugin.ino to .h/.cpp
To prevent strange build issues
2022-01-31 09:24:51 +01:00
TD-er cff054ffb1 Keep "getDeviceIndex error in Device Vector" check 2022-01-31 00:14:15 +01:00
TD-er 51a0b5a905 [Cleanup] Replace some short flash strings with chars 2022-01-30 22:21:37 +01:00
TD-er 3188994655 [JSON] Remove some code duplication generating JSON 2022-01-30 22:20:58 +01:00
TD-er fc04a084a0 Revert caching nr decimals due to strange issues. 2022-01-30 22:19:34 +01:00
TD-er 086deec1e0 [Cleanup] Slightly reduce bin size using chars instead of flash strings 2022-01-30 20:36:33 +01:00
TD-er bee9f8abc6 [JSON] Improve speed serving JSON + make parsing numericals better 2022-01-30 20:35:57 +01:00
TD-er bebc3a07f2 [Cleanup] Reduce bin size on longTermTimer by implementing in .cpp 2022-01-30 20:33:27 +01:00
TD-er e50f17ecf4 [Cleanup] Reduce bin size handling large switch statement 2022-01-30 20:32:25 +01:00
TD-er 2217809bef [SSDP] reduce memory usage on SSDP schema
Don't allocate memory, just serve it direct to the client.
2022-01-30 20:31:43 +01:00
TD-er 5f4ce82b0d [SDK3.0] Disable normal_302_ESP8266_1M due to build size 2022-01-30 14:41:18 +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
TD-er 2245fadf3f [Cleanup] Fix signed/unsigned compare warning 2022-01-29 17:31:37 +01:00
TD-er 7eab7d9aec [Cleanup] Serve 2 char flash strings as 2 chars on web pages
Results in faster page serving as the flash string doesn't need to be parsed for length.
Also results in slightly smaller compiled code.
2022-01-29 17:31:15 +01:00
TD-er d4d4494ce1 Do include degree symbol on limited build sizes
That symbol is used a lot on displays.
2022-01-29 16:30:20 +01:00
TD-er 4bf2b31f97 [Static files] Update link to CDN delivered content to latest build 2022-01-29 16:29:38 +01:00
TD-erandGitHub 2398d54f27 Merge branch 'mega' into feature/build_core_3_0_0 2022-01-29 15:43:33 +01:00
TD-erandGitHub fb03dca5e3 Merge pull request #3935 from TD-er/bugfix/64bit_micros
[usec timing] Use 64 bit variables when comparing usec timing
2022-01-29 15:40:20 +01:00
TD-erandGitHub cbac54370f Merge pull request #3915 from tonhuisman/bugfix/p022-correct-dot-handling-in-command-parsing
[P022] Correct dot handling in command parsing
2022-01-29 15:38:46 +01:00
Ton Huisman 3afb6e24bc Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p022-correct-dot-handling-in-command-parsing 2022-01-29 14:52:56 +01:00
TD-er 26a91039bd [HCSR04] Remove loglevel depending timing showing useless log
The most useless log entry possible, also causing a delay of 100 msec when LOG_LEVEL_INFO is active.
2022-01-28 11:03:07 +01:00
TD-er a0b584c79a [usec timing] Use 64 bit variables when comparing usec timing
Calling `getMicros64()` takes less resources than `micros()`.
Actually using 64 bit variables prevents strange overflow issues after 35 minutes.
2022-01-28 11:01:35 +01:00
TD-erandGitHub 8c17616688 Merge branch 'mega' into feature/build_core_3_0_0 2022-01-27 23:37:02 +01:00
TD-erandGitHub bed5edeff2 Merge pull request #3658 from TD-er/feature/PWM_motor
PWM controlled motor controller plugin
2022-01-27 23:33:45 +01:00
TD-erandGitHub dd9b363086 Merge pull request #3932 from TD-er/bugfix/P016_crash_load
[P016] Reduce memory usage during load/save (#3930)
2022-01-27 23:33:01 +01:00
TD-er ac54c80b69 [Web] Add missing include 2022-01-27 20:30:48 +01:00
TD-erandGitHub 2f84028646 Merge branch 'mega' into feature/PWM_motor 2022-01-27 15:46:20 +01:00
TD-er 6ed8b39bd5 [Web UI] Serve web template immediately to client (less RAM usage) 2022-01-27 02:23:16 +01:00
TD-er 0ea2b53ad3 [Web UI] Serve web template immediately to client (less RAM usage) 2022-01-27 02:11:20 +01:00
TD-er 4ba7b45f9b [Task Save] Make sure to explicitly PLUGIN_EXIT on saving settings 2022-01-26 14:44:36 +01:00
TD-er 57f16f72d7 [Task Save] Delete task data before saving when possible 2022-01-26 14:10:03 +01:00
TD-er 0452ffc302 [P016] Uncrustify P016_data_struct 2022-01-26 10:26:55 +01:00
TD-er 2e92282262 [P016] Make sure to always convert settings on load 2022-01-26 10:24:41 +01:00
TD-er db71ffdf58 [P016] Cleanup settings convert and save routine 2022-01-26 10:00:35 +01:00
TD-er c255accd1d [P016] Convert settings on the fly, using less memory 2022-01-26 09:34:04 +01:00
TD-er dcb783d0ab [P016] Reduce memory usage during load/save 2022-01-26 01:06:23 +01:00
TD-er 2403d2381b [I2Cdev lib] Change byte to uint8_t 2022-01-25 17:09:40 +01:00
TD-er b6ab97cd1b [Cleanup] Fix merge issue, remove forward declaration duplicate 2022-01-25 00:04:49 +01:00
TD-er dc308329aa [Cleanup] Improve readability for lowest memory usage
Only available in "non-testing" builds.
2022-01-24 02:52:16 +01:00
TD-er 402a9b4085 [2nd heap] Load webpage template and string load in 2nd heap 2022-01-24 02:12:09 +01:00
TD-er 66a793150c [ESP8266 2nd Heap] Store log buffers in 2nd heap 2022-01-24 01:39:30 +01:00
TD-er c7e28f8951 [Cleanup] Fix define paths on .h files 2022-01-24 01:01:42 +01:00
TD-er 2215f4dec5 [Cleanup] Fix missing paths on #include statements + update I2Cdev lib 2022-01-24 01:01:28 +01:00
TD-er 20c7c665e8 [ESP8266 v3.0.2] Update lib_deps 2022-01-24 00:58:59 +01:00
Ton HuismanandGitHub ce7739af98 Merge branch 'mega' into bugfix/p022-correct-dot-handling-in-command-parsing 2022-01-23 22:40:55 +01:00
TD-erandGitHub 7e683b0545 Merge branch 'mega' into feature/build_core_3_0_0 2022-01-23 22:22:11 +01:00
TD-erandGitHub e5c0d462bc Merge pull request #3924 from TD-er/bugfix/crash_print_float
[Bugfix] Fix possible crash when printing floating point values
2022-01-23 22:19:16 +01:00
TD-er 0968e773c6 [Cleanup] Remove some unneeded conversion to float P073 7DGT 2022-01-23 21:34:28 +01:00
Ton HuismanandGitHub 0f74eb53f2 Merge branch 'mega' into bugfix/p022-correct-dot-handling-in-command-parsing 2022-01-23 13:16:53 +01:00
TD-er c497770c56 [Bugfix] Fix possible crash when printing floating point values
As implemented for ESP32, but not (yet) for ESP8266.
See: https://github.com/espressif/arduino-esp32/pull/6138
2022-01-22 01:00:33 +01:00
TD-erandGitHub 34103ec734 Merge branch 'mega' into feature/build_core_3_0_0 2022-01-21 22:38:41 +01:00
TD-erandGitHub 46f2d20fb7 Merge pull request #3923 from tonhuisman/bugfix/numeric-formatting-unexpected-leading-space
[Formatting] Fix issue with unexpected leading space
2022-01-21 22:38:16 +01:00
TD-erandGitHub a44f3c18d7 Merge pull request #3893 from tonhuisman/feature/p062-add-panel-sensitivity-option
[P062] Add Panel sensitivity option
2022-01-21 21:56:32 +01:00
TD-erandGitHub 7771f2043f Merge pull request #3907 from tonhuisman/feature/build-change-test_e-set
[Build] Move [P119] ITG3205, [P121] HMC5883 and [P125] ADXL345 SPI to TEST_E build set
2022-01-21 21:56:11 +01:00
Ton Huisman aec20efc72 [Formatting] Fix issue with unexpected leading space 2022-01-21 21:26:45 +01:00
TD-erandGitHub 77eda62647 Merge pull request #3916 from uwekaditz/UweKaditz
[P016] Accept decode_type_t::UNKNOWN as valid IR code
2022-01-21 20:56:00 +01:00
uwekaditzandGitHub 56dafa104c Merge branch 'mega' into UweKaditz 2022-01-16 19:27:33 +01:00
uwekaditz 9ce31fab58 [P016] Accept decode_type_t::UNKNOWN as valid IR code
In order to use cheap Chinese IR remote controls accept IR code that can not be decoded by the IR library funtions as valid IR code for P016 commands.
An additional checkbox is added to the web interface of the [P016] device.
If this checkbox is checked the decode_type is changed to RAW before calling P016_data->AddCode() or  P016_data->ExecuteCode().
2022-01-16 19:20:07 +01:00
Ton Huisman 9e6b33f1d1 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/build-change-test_e-set 2022-01-14 21:52:36 +01:00
Ton Huisman 5ea19a70ba Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p062-add-panel-sensitivity-option 2022-01-14 21:36:45 +01:00
Ton Huisman edf1b5b288 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p022-correct-dot-handling-in-command-parsing 2022-01-14 21:33:55 +01:00
TD-erandGitHub 69875807f6 Merge pull request #3911 from tonhuisman/feature/p035-enable-multi-instance-use
[P035] Enable multi-instance use for IR Transmit
2022-01-14 21:21:36 +01:00
Ton Huisman df91e521b8 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p035-enable-multi-instance-use 2022-01-14 20:50:25 +01:00
Ton Huisman 2a4433f75b Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p022-correct-dot-handling-in-command-parsing 2022-01-14 20:49:59 +01:00
Ton Huisman a8aa45658f [P022] Correct dot handling in command parsing 2022-01-14 20:33:30 +01:00
TD-erandGitHub 45e91cd6bf Merge pull request #3913 from tonhuisman/bugfix/display_build_set-limit_build_size-also-for-esp32
[Build] Set LIMIT_BUILD_SIZE also for ESP32 on DISPLAY builds (and pre-IDF4.x)
2022-01-14 20:26:17 +01:00
Ton Huisman c5cc5497fb [Build] IRext 1M build: had to disable P088 Heatpump IR because of max. bin size 2022-01-14 19:38:28 +01:00
Ton Huisman beeaa28c17 [P035] Make some parts optional at compiletime to save a few bytes 2022-01-14 19:36:49 +01:00
uwekaditz 4e147ae92c Merge remote-tracking branch 'upstream/mega' into UweKaditz 2022-01-14 19:22:06 +01:00
Ton Huisman 91e8d34b8b [Build] Enhanced condition 2022-01-14 15:58:37 +01:00
Ton Huisman 074cfcfbbb [Build] Set LIMIT_BUILD_SIZE also for ESP32 on DISPLAY builds (and pre-IDF4.x) to fix build-size issue 2022-01-14 15:43:22 +01:00
Ton Huisman f895b9403a [P035] Correct struct init (also needs lib fix) 2022-01-14 15:07:59 +01:00
Ton HuismanandGitHub fa503d6b0e Merge branch 'mega' into feature/p035-enable-multi-instance-use 2022-01-14 09:58:13 +01:00
TD-erandGitHub 99df4eaca3 Merge pull request #3912 from tonhuisman/feature/lib-irremoteesp8266-update-to-2-8-1
[LIB] IRremoteESP8266 update to v2.8.1
2022-01-14 09:44:56 +01:00
Ton Huisman efd3df9bb5 [LIB] IRremoteESP8266 update to v2.8.1 2022-01-13 20:32:17 +01:00
Ton Huisman 2d94f5d400 [P035] Review corrections 2022-01-12 22:22:07 +01:00
Ton Huisman e5ab885a00 [P035] Enable multi-instance use for IR Transmit 2022-01-12 21:17:20 +01:00
Ton Huisman 3581c5303d [Build] Move P119 ITG3205, P121 HMC5883 and P125 ADXL345 SPI to TEST_E set 2022-01-10 20:31:34 +01:00
TD-erandGitHub aab7f53f02 Merge branch 'mega' into feature/PWM_motor 2022-01-09 22:28:06 +01:00
TD-erandGitHub d4c4ba91a6 Merge branch 'mega' into feature/build_core_3_0_0 2022-01-09 22:27:10 +01:00
TD-erandGitHub f3e949beac Merge pull request #3891 from tonhuisman/bugfix/p021-save-config-and-improvements
[P021] Fix config-save issue and some improvements
2022-01-09 21:47:41 +01:00
TD-erandGitHub 983dec5882 Merge pull request #3823 from tonhuisman/feature/p119-p120-plugin-itg3205-and-adxl345-development
[P119] Development for ITG3205 Gyro plugin
2022-01-09 21:47:13 +01:00
TD-erandGitHub f295b68ba7 Merge branch 'mega' into feature/p119-p120-plugin-itg3205-and-adxl345-development 2022-01-09 21:47:02 +01:00
TD-erandGitHub 5178cd5195 Merge pull request #3832 from tonhuisman/feature/p120-development-adxl345-accelerometer-sensor
[P120]/[P125] Development for ADXL345 Accelerometer sensor
2022-01-09 21:44:11 +01:00
TD-erandGitHub a8ffc8122f Merge branch 'mega' into feature/p120-development-adxl345-accelerometer-sensor 2022-01-09 21:43:55 +01:00
TD-erandGitHub 921dd89a5f Merge pull request #3852 from svn2208/mega
Development/Test Version for HMC5883L
2022-01-09 21:42:13 +01:00
TD-erandGitHub 9e95707fec Merge branch 'mega' into mega 2022-01-09 21:41:52 +01:00
TD-erandGitHub 87c167cea8 Merge pull request #3853 from tonhuisman/bugfix/p008-fix-casting-issue
[P008] Wiegand bugfix for 32 bit or larger frames and swapped GPIOs
2022-01-09 21:24:30 +01:00
Ton Huisman 7c98d70d7c Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2022-01-08 16:54:48 +01:00
Ton Huisman c6ffdde060 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p021-save-config-and-improvements 2022-01-08 16:52:16 +01:00
Ton Huisman ceb3af2d89 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p062-add-panel-sensitivity-option 2022-01-08 16:06:22 +01:00
Ton Huisman 89833e3e3d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p008-fix-casting-issue 2022-01-08 16:05:44 +01:00
Ton Huisman 9a43062f74 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p120-development-adxl345-accelerometer-sensor 2022-01-08 14:51:33 +01:00
TD-erandGitHub 41b58b2a2d Merge pull request #3885 from soif/Fix/embed_files
embed_files.sh Fixes
2022-01-08 12:51:50 +01:00
soif c449256cf8 Merge branch 'mega' into Fix/embed_files 2022-01-08 12:46:49 +01:00
TD-erandGitHub e0df496008 Merge branch 'mega' into feature/build_core_3_0_0 2022-01-07 13:47:20 +01:00
TD-erandGitHub af305d0bf7 Merge pull request #3902 from tonhuisman/bugfix/p073-fix-rounding-errors
[P073] Fix rounding errors on 7dt and 7ddt commands
2022-01-07 10:35:33 +01:00
Ton Huisman 3293eec69b [P073] Fix rounding errors on 7dt and 7ddt commands 2022-01-06 20:58:27 +01:00
moi eb7148d2f6 Merge branch 'mega' into Fix/embed_files 2022-01-04 10:23:14 +01:00
Ton HuismanandGitHub e2d7b7fa81 Merge branch 'mega' into feature/p119-p120-plugin-itg3205-and-adxl345-development 2022-01-03 13:12:02 +01:00
TD-erandGitHub bb8907ee87 Merge pull request #3896 from letscontrolit/bugfix/MissingIncludes
[Cleanup Cleanup] Add missing include
2022-01-01 21:10:34 +01:00
TD-erandGitHub e692fab82d Merge pull request #3897 from tonhuisman/feature/build-increase-plugin-max-to-135
[Build, MAX] Increase max. plugin count from 125 to 135
2022-01-01 21:08:19 +01:00
Ton Huisman 9cdd9bf2f5 [Build, MAX] Increase max. plugin count from 125 to 135 2021-12-31 16:07:33 +01:00
TD-erandGitHub 2af24fca64 [Cleanup Cleanup] Add missing include
As pointed out here: https://github.com/letscontrolit/ESPEasy/commit/175bdfa07428bd456f5fafeb83ea9fb1e628978e#r62705970
2021-12-30 22:27:48 +01:00
Ton Huisman 22ec02fb4a [P062] Add documentation 2021-12-30 14:29:15 +01:00
Ton Huisman d30571e2df [P062] Uncrustify source 2021-12-29 20:40:27 +01:00
Ton Huisman c29d85ee48 [P062] Add Panel sensitivity option 2021-12-29 20:37:10 +01:00
soif 2aec702c95 Merge branch 'mega' into Fix/embed_files 2021-12-29 19:54:53 +01:00
Ton Huisman be8bf170d3 [P021] Updated changelog in source 2021-12-29 17:00:32 +01:00
Ton Huisman 6becb3beaf [P021] Add setting for saving during config change, update docs 2021-12-29 16:57:29 +01:00
Ton Huisman c32a65cbfc [P021] Add documentation (partially migrated from the wiki) 2021-12-28 21:59:28 +01:00
Ton Huisman 2af0efbcf5 [P021] Fix config-save issue and some improvements 2021-12-28 20:13:04 +01:00
Ton Huisman aa1ec37587 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p008-fix-casting-issue 2021-12-28 14:55:59 +01:00
Ton Huisman 9eb2dc9052 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-12-28 14:40:26 +01:00
Ton Huisman 7311ca32a9 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p120-development-adxl345-accelerometer-sensor 2021-12-28 14:19:52 +01:00
TD-erandGitHub bd5c46768e Merge branch 'mega' into feature/PWM_motor 2021-12-28 00:05:27 +01:00
TD-erandGitHub b689be2f0d Merge branch 'mega' into feature/build_core_3_0_0 2021-12-27 23:58:46 +01:00
TD-erandGitHub 973f02c724 Merge pull request #3878 from TD-er/bugfix/serve_files_memory_reduction
[Cleanup] Use less resources serving files from FS
2021-12-27 16:51:17 +01:00
TD-erandGitHub f7815acb4c Merge pull request #3888 from svollebregt/mega
[P118] Add documentation
2021-12-27 16:41:58 +01:00
svollebregt a9941c513d [P118] Add documentation
Brief documentation on the settings and use of the P118 plugin. Tested by building it locally with Atom.
2021-12-27 11:36:48 +01:00
soif 5b75371de9 Merge commit 'f162ebf3fa4caadb7c6f398ef4077f39bf34fdc1' into Fix/embed_files 2021-12-26 16:39:49 +01:00
uwekaditz 6e7ae1afc9 Merge tag 'mega-20211224' into UweKaditz 2021-12-26 11:14:17 +01:00
Ton HuismanandGitHub 43a5db7071 Merge branch 'mega' into feature/p120-development-adxl345-accelerometer-sensor 2021-12-24 16:01:18 +01:00
Ton HuismanandGitHub 62f5e86486 Merge branch 'mega' into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-12-24 15:59:01 +01:00
TD-er f162ebf3fa automatically updated release notes for mega-20211224 2021-12-24 14:20:43 +01:00
soif 3b08a1fe44 CSS now use cssminifier (instead of html-minifier) and results in smaller minified CSS files 2021-12-23 12:32:06 +01:00
soif 61629f7025 Udate minifiers site URLs, as announced at https://html-minifier.com/ 2021-12-23 12:15:49 +01:00
soif b5417410a8 Separate generated variables by blank lines in data_h_temp (to ease copy/paste) 2021-12-23 12:05:24 +01:00
soif 03c3c71585 keeps minified version of css file (to get the espeasy_default.min.css up to date) 2021-12-23 12:03:24 +01:00
TD-er f2d470f0f2 [Cleanup] Cache some more constant flash chip values 2021-12-21 23:41:56 +01:00
Ton Huisman 359c921329 [P125] Add documentation (also mostly shared with P120 I2C plugin) 2021-12-14 22:36:38 +01:00
Ton Huisman 0b0d833c87 [P125] Add ADXL345 SPI plugin, sharing most code with P120 I2C plugin 2021-12-14 22:35:03 +01:00
Ton Huisman b7d17d9aff [P120] Minor documentation corrections 2021-12-14 22:33:25 +01:00
TD-erandGitHub 677f31e86e Merge branch 'mega' into feature/PWM_motor 2021-12-14 12:56:43 +01:00
Ton Huisman c0e626bcd3 [P120] Move to TEST_E build, prepare for P125 2021-12-13 22:25:08 +01:00
Ton Huisman 4f2bff4c57 [Build] Add TEST_E set of build configurations, update plugin doc and readme.md 2021-12-13 22:20:35 +01:00
Ton Huisman d6c0458d6d [P120] Disable SPI init in library, small code optimization 2021-12-13 21:10:07 +01:00
TD-er 5a3fb76a48 [Dashboard] Use less resources when serving dashboard.esp
No need to load the entire dashboard.esp file in memory.
Just replace the things that can be replaced per line and serve it directly to the client.
2021-12-13 18:19:20 +01:00
TD-er 8c884618ae [Webserver] Reduce resources when serving file from file system
Cache some time consuming file system calls and read from file system in chunks instead of per byte.
2021-12-13 17:31:30 +01:00
TD-er f2b3d7c7fd [Web] Allow to stream from file system (e.g. CSS inline)
This may prevent additional calls to load the CSS from the file system in a separate HTTP GET call and also not loading the file into memory when streaming.
2021-12-13 00:28:17 +01:00
TD-er 4fabbb1722 [Webserver] Fix serving CSS
I made an error in previous commit for this PR
2021-12-13 00:28:08 +01:00
TD-er b7f9c96250 [Web UI] Small tweaks improving speed serving pages 2021-12-13 00:27:52 +01:00
TD-er 1279229bd4 [Webserver] Change chunked buffer size to 1360 bytes 2021-12-13 00:27:40 +01:00
Ton Huisman 6dd1a45616 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p120-development-adxl345-accelerometer-sensor 2021-12-12 21:07:22 +01:00
Ton HuismanandGitHub 055c973075 Merge branch 'mega' into bugfix/p008-fix-casting-issue 2021-12-12 20:58:21 +01:00
Ton Huisman f7db6ba6df Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-12-12 20:56:54 +01:00
TD-erandGitHub b31cde7635 Merge branch 'mega' into feature/build_core_3_0_0 2021-12-12 20:16:19 +01:00
TD-er a4ad1e3b54 [GCC] Use GCC 10.3 bugfix for ESP8266 core 3.0.2 2021-12-12 19:23:08 +01:00
TD-erandGitHub 2f8bfca88e Merge pull request #3851 from tonhuisman/feature/p124-i2c-multi-relay-plugin
[P124] Add plugin I2C Multi Relay
2021-12-12 19:15:16 +01:00
TD-erandGitHub aad8e44cc9 Merge branch 'mega' into feature/p124-i2c-multi-relay-plugin 2021-12-12 19:14:13 +01:00
TD-erandGitHub 5f055eb8c2 Merge pull request #3867 from TD-er/feature/password_reset
[Password] Add clearPassword command
2021-12-12 19:13:23 +01:00
TD-erandGitHub f881a22cd1 Merge pull request #3801 from svollebregt/mega
[P118] Moving Itho plugin the main repo
2021-12-12 19:12:36 +01:00
TD-er f8d3fcfc4c [PIO] Restore default envs 2021-12-12 18:39:53 +01:00
TD-erandGitHub aa712b9112 Merge branch 'mega' into feature/build_core_3_0_0 2021-12-12 17:16:16 +01:00
Ton Huisman 7d6947009b Merge branch 'feature/p124-i2c-multi-relay-plugin' of https://github.com/tonhuisman/ESPEasy-1 into feature/p124-i2c-multi-relay-plugin 2021-12-12 17:16:05 +01:00
Ton Huisman 016b4065bf Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p124-i2c-multi-relay-plugin 2021-12-12 17:13:08 +01:00
Ton Huisman 1d7dd3c042 [P120] Fix some comment typos 2021-12-12 16:56:13 +01:00
Ton Huisman 631afb63f6 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p120-development-adxl345-accelerometer-sensor 2021-12-12 16:55:24 +01:00
TD-erandGitHub 12c032dd8c Merge branch 'mega' into mega 2021-12-12 16:31:07 +01:00
TD-erandGitHub 876fcf69bd Merge branch 'mega' into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-12-12 16:30:03 +01:00
TD-erandGitHub eab627a857 Merge branch 'mega' into feature/p124-i2c-multi-relay-plugin 2021-12-12 16:26:23 +01:00
TD-erandGitHub 4f29777eed Merge pull request #3876 from TD-er/bugfix/extensa_gcc
GCC 10.3 Bugfix 1 - Constant literal address fix
2021-12-12 16:20:52 +01:00
TD-erandGitHub 7059f81f8a Merge pull request #3862 from tonhuisman/feature/P016-change-title
[P016] Change plugin title Communication - IR Receive (TSOP4838)
2021-12-12 16:19:28 +01:00
TD-erandGitHub fbc4fd5ce6 Merge branch 'mega' into feature/password_reset 2021-12-12 16:17:08 +01:00
TD-er e19df0879f [ClearPassword] Fix typo in command 2021-12-12 16:16:42 +01:00
svollebregtandGitHub cde83261a9 Merge branch 'letscontrolit:mega' into mega 2021-12-12 14:55:11 +01:00
TD-erandGitHub eceb8ea6a0 Merge pull request #3835 from TD-er/bugfix/Virt_dtor_p095_p096
[P095 P096] Convert to use PluginDataStruct
2021-12-12 13:54:03 +01:00
svollebregtandGitHub d8462d8daa Merge branch 'letscontrolit:mega' into mega 2021-12-12 13:53:30 +01:00
TD-erandGitHub 49c9a2ddcd Merge pull request #3784 from tonhuisman/feature/how-to-guide-for-new-developers
[Docs] How To guide for (new) developers
2021-12-12 13:53:21 +01:00
svollebregtandGitHub b383e5e40f Merge branch 'mega' into mega 2021-12-12 13:53:03 +01:00
TD-erandGitHub c1c1cb49e4 Merge pull request #3335 from StefanNetzer/mega
Update _P043_ClkOutput.ino
2021-12-12 13:49:27 +01:00
TD-erandGitHub 46b5e581ea Merge branch 'mega' into mega 2021-12-12 13:43:51 +01:00
TD-er d9925f1ede GCC 10.3 Bugfix 1 - Constant literal address fix
See: https://github.com/xoseperez/espurna/commit/4d04125eb67e87f137bd88ad7026f439373b518e
See: https://github.com/esp8266/Arduino/pull/8393
2021-12-12 11:49:36 +01:00
TD-erandGitHub ea320d4afe Merge branch 'mega' into feature/build_core_3_0_0 2021-12-12 11:01:50 +01:00
TD-erandGitHub f6de0fdde5 Merge pull request #3854 from tonhuisman/feature/p117-scd30-co2-humidity-temperature-sensor
[P117] Add SCD30 CO2, humidity and temperature sensor
2021-12-12 10:32:00 +01:00
TD-erandGitHub 25568268c5 Merge pull request #3874 from TD-er/bugfix/parse_empty_command
[dashboard] Fix crash on parsing empty command {} (#3873)
2021-12-11 23:36:22 +01:00
TD-er 079744f9dd [dashboard] Fix parsing {} and leaving the braces when not a command
See: https://github.com/letscontrolit/ESPEasy/issues/3873#issuecomment-991730910
2021-12-11 22:27:10 +01:00
TD-er 404b7affff [dashboard] Fix crash on parsing empty command {} (#3873)
Fixes: #3873
2021-12-11 17:49:13 +01:00
Ton Huisman 7432c3f68f [P120] Refactor to enable I2C and SPI implementation (in plugin P125) 2021-12-10 21:30:14 +01:00
TD-erandGitHub da218e5525 Merge branch 'mega' into feature/build_core_3_0_0 2021-12-06 00:54:30 +01:00
TD-er 74c311ef95 [Doc] Add Notepad++ colourise ESPEasy Rules language 2021-12-03 16:14:25 +01:00
TD-er 6fcbdeb461 [Password] Add clearPassword command
As suggested here: https://github.com/letscontrolit/ESPEasy/issues/3860
2021-12-03 16:13:20 +01:00
Ton Huisman 58803c1c06 [P124] Add get command and looping that, fix a small settings bug 2021-11-29 21:36:23 +01:00
svollebregt fa4b849fa8 Remove noInterrupts() and Itho library improvements
Related to #3801:
- Removed all noInterrupts(); code -> not needed and tested stable
- Initialize CC1101 packet
- Removed not used defines from IthoCC1101.ccp
2021-11-25 17:02:17 +01:00
svn2208 cdf62a0816 Change Category to position
Change input to degree and add formula to convert to rand
2021-11-25 10:49:40 +01:00
svn2208 c3238a7dcd Change Inputvalue from Radian to Degree 2021-11-25 08:54:54 +01:00
Ton Huisman 673928661c [P016] Change plugin title Communication - IR Receive (TSOP4838) 2021-11-24 21:43:04 +01:00
svn2208 c5eabb7ed9 Simplify Logentry
Add pluginsubpage to pluginpage.
2021-11-24 15:57:09 +01:00
svn2208 637262a794 Extend DeclinationAngle to 5 decimal places. 2021-11-24 14:03:41 +01:00
Sven Briesen 42be3ed425 Add docs for the lib 2021-11-24 11:25:42 +01:00
Ton Huisman b134d8c0bd [P120] Add to TEST_D builds 2021-11-23 21:22:15 +01:00
Ton Huisman 8bae6542b0 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p120-development-adxl345-accelerometer-sensor 2021-11-23 21:21:12 +01:00
Ton Huisman 616029ab1b [P120] Move from Development to Testing, some corrections 2021-11-23 21:20:18 +01:00
Ton Huisman fbe84c30b6 [P120] Add documentation 2021-11-23 21:19:42 +01:00
uwekaditz c57e35f52c Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-11-23 20:16:07 +01:00
svollebregt d953f68981 Further code improvements
-Moved noInterrupts() part to Itho library
- Reduced length of status log message
- Reduced noInterrupts() blocked code in ITHOCheck function (handles received RF packages) and made log more efficient
2021-11-23 13:17:58 +01:00
Ton Huisman cdaf1a1615 [P119] Move from Development to Testing 2021-11-22 20:32:22 +01:00
Ton Huisman 4b2f02c180 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-11-22 19:44:33 +01:00
svn2208 3a11a836ec Wrap Logentry in condition
Add taskindex instead of hardcoded sensorid
2021-11-22 10:56:27 +01:00
svollebregtandGitHub ed29991d2d Merge branch 'letscontrolit:mega' into mega 2021-11-22 10:42:04 +01:00
Ton Huisman 21360c48bf [P124] Include in TEST_D build, aad missed documentation file 2021-11-21 21:57:08 +01:00
Ton Huisman e2f445c0bf [P124] Add documentation 2021-11-21 21:53:30 +01:00
Ton Huisman 1c3adb9e0e [P124] Add configurable I2C addresses, add relay state on exit
[P114] Add VEML6075 to I2C scanner
2021-11-21 21:51:20 +01:00
Ton Huisman 49af08aba8 [P117] Fix compilation issue error: narrowing conversion of '2415919104' from 'unsigned int' to 'int' [-Wnarrowing] 2021-11-20 19:36:28 +01:00
Ton Huisman 75c5beb6d6 [P117] Add documentation 2021-11-20 17:38:27 +01:00
Ton Huisman f9d0cabcdb [P117] Adjust ClockStrechLimit message 2021-11-20 17:37:52 +01:00
Ton Huisman 06ab680627 [P117] Add to TEST_D set 2021-11-20 15:07:43 +01:00
Ton Huisman 1a2253d550 [P117] Correct slash/backslash confusion/typo 2021-11-20 14:42:37 +01:00
Ton Huisman 0c1a715a22 [P117] Add SCD30 CO2, humidity and temperature sensor 2021-11-20 14:18:53 +01:00
Ton Huisman bc5aeb8f08 [P008] Update documentation 2021-11-20 11:31:44 +01:00
Ton Huisman 5121d2e96a [P008] Update documentation 2021-11-20 11:02:34 +01:00
Ton Huisman 94c0b6b99b [P008] Add compatibility mode for swapped GPIOs, use 'ull' postfix instead of static_cast for uint64_t values 2021-11-20 11:02:06 +01:00
Ton Huisman 00116e81e5 [P008] Wiegand bugfix for swapped GPIO mapping 2021-11-19 22:02:22 +01:00
Ton Huisman 5842483b40 [P008] Wiegand bugfix for 32 bit or larger frames (casting issue) 2021-11-19 21:29:03 +01:00
Ton Huisman f54e85c118 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-11-19 21:04:15 +01:00
Ton Huisman 11ea3d5584 [P124] Add optional initialization 'protection' 2021-11-19 20:38:46 +01:00
Ton Huisman 74a1057752 merge mega with conflict resolutions 2021-11-19 20:38:30 +01:00
svn2208 3a1c668b99 Remove debug statement; shotens float faction to 2 2021-11-19 13:47:44 +01:00
svn2208 64744303c1 Usage of proper storage of a float conf value 2021-11-19 12:43:17 +01:00
svn2208 ea68b81095 Merge branch 'mega' of https://github.com/svn2208/ESPEasy into mega 2021-11-19 10:42:25 +01:00
svn2208 269be21e44 Improvements due to code review 2021-11-19 10:42:10 +01:00
svn2208 6e96b99d13 Improve code, because of code review 2021-11-19 10:41:20 +01:00
Ton HuismanandGitHub bbe13378c3 Merge branch 'mega' into feature/how-to-guide-for-new-developers 2021-11-19 10:25:34 +01:00
svn2208andGitHub d09664cd65 Merge branch 'mega' into mega 2021-11-19 08:46:32 +01:00
svn2208 a9332978db ready to use commit 2021-11-19 08:43:47 +01:00
TD-erandGitHub 549f76e23f Merge pull request #3846 from TD-er/bugfix/check_controller_linked_to_task
[Domoticz] Only incoming MQTT on tasks with controller linked (#3829)
2021-11-18 23:42:35 +01:00
TD-erandGitHub 19a069988b Merge pull request #3842 from tonhuisman/bugfix/p053-fix-support-for-PMS5003T
[P053] Fix support for PMS5003T
2021-11-18 23:33:26 +01:00
TD-erandGitHub a55f092edf Merge pull request #3849 from TD-er/feature/GPS_power_save
[GPS] Add power save commands (Ublox specific) (#3799)
2021-11-18 23:32:12 +01:00
TD-erandGitHub 52e155095b Merge pull request #3844 from tonhuisman/feature/build-enable-dummy-device-and-neopixel-on-ESP32-custom-script
[Build] Enable Dummy device and Neopixel on ESP32 Custom (script)
2021-11-18 23:31:56 +01:00
TD-erandGitHub 431d843c4d Merge branch 'mega' into feature/build_core_3_0_0 2021-11-18 23:27:13 +01:00
Ton Huisman 26caea93b8 [P124] Add plugin Output - I2C Multi Relay 2021-11-18 23:13:08 +01:00
TD-er 89184b2908 [GPS] Document GPS plugin 2021-11-17 17:35:39 +01:00
TD-er 8ccf361fb8 [GPS] For now, disable U-blox specific settings
Somehow it doesn't seem to work reliable. It even may turn the GPS off when it shouldn't.
2021-11-17 14:49:55 +01:00
TD-er 97edd4a6fa [GPS] Add more U-blox specific features
Needs some more testing, as it is not running very predictable.
Looks like the GPS may disable RX sometimes (as is shown in the logs), but still need to detect this in ESPEasy.
2021-11-16 12:41:57 +01:00
TD-er adb3e9d1d0 [GPS] Add power save commands (Ublox specific) 2021-11-15 15:09:58 +01:00
svollebregtandGitHub 64d29f1e11 Merge branch 'letscontrolit:mega' into mega 2021-11-14 11:36:15 +01:00
Ton Huisman 92988988a0 Merge branch 'mega' of https://github.com/tonhuisman/ESPEasy-1 into mega 2021-11-14 10:01:37 +01:00
TD-er a308b0b651 [Domoticz] Only incoming MQTT on tasks with controller linked (#3829)
As described on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8825)

Fixes: #3829
2021-11-14 01:02:43 +01:00
Ton Huisman 4b498c8652 [P119] Fix some missed replacements 2021-11-12 21:52:08 +01:00
Ton Huisman 70cb514e09 [P053] Leave out invalid event-values for PMS5003T 2021-11-12 17:20:55 +01:00
Ton Huisman 9391498f7e [Build] Enable Dummy device and Neopixel on ESP32 Custom (script) 2021-11-11 22:20:24 +01:00
uwekaditz 2b00c61189 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-11-11 22:00:59 +01:00
Ton Huisman c0fa458752 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-11-09 20:22:37 +01:00
Ton Huisman bfe0ffb4fc [P053] Remove unneeded #define, minor source formattings 2021-11-08 22:21:27 +01:00
Ton Huisman cb5696926d [P053] Fix support for PMS5003T 2021-11-08 21:48:49 +01:00
TD-erandGitHub 70a1eaf591 Merge pull request #3837 from tonhuisman/bugfix/p111-add-virtual-destructor-for-mfrc522
[P111] Add virtual destructor to MFRC522 library to fix compiler warning
2021-11-06 23:00:04 +01:00
Ton Huisman 9b0754dbde [P111] Add virtual destructor to MFRC522 library to fix compiler warning 2021-11-06 14:11:37 +01:00
Ton Huisman e9968a44ed [P119] Add documentation 2021-11-06 13:54:13 +01:00
Ton Huisman 117d68360b [P119] Add to TESTING_C set, fix some compilation issues 2021-11-06 13:53:41 +01:00
TD-erandGitHub cddcdd11bb Merge branch 'mega' into feature/PWM_motor 2021-11-05 23:16:17 +01:00
TD-erandGitHub b4a84e042c Merge branch 'mega' into feature/build_core_3_0_0 2021-11-05 23:15:35 +01:00
TD-erandGitHub bccc524350 Merge branch 'mega' into bugfix/Virt_dtor_p095_p096 2021-11-05 23:11:47 +01:00
Ton HuismanandGitHub 199766cad6 Merge branch 'mega' into feature/how-to-guide-for-new-developers 2021-11-05 15:16:39 +01:00
Ton HuismanandGitHub 9a2e00e6fe Merge branch 'mega' into feature/p120-development-adxl345-accelerometer-sensor 2021-11-05 15:14:44 +01:00
Ton HuismanandGitHub 5b55010e4f Merge branch 'mega' into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-11-05 15:14:32 +01:00
TD-erandGitHub cc718179a3 Merge pull request #3834 from TD-er/bugfix/missing_delete_calls
[Cleanup] Fix lots of missing delete calls to free memory
2021-11-05 12:11:30 +01:00
TD-er c79d67529f automatically updated release notes for mega-20211105 2021-11-05 11:10:12 +01:00
TD-er 890871b8a6 [ThermoOLED] Check for successful allocation of display object 2021-11-05 09:46:44 +01:00
TD-erandGitHub 0cef4a7683 Merge branch 'mega' into mega 2021-11-05 09:37:28 +01:00
TD-er 78b8fec88b Revert changes to P095 and P096 Moved to PR #3835
As requested by @tonhuisman
2021-11-05 09:16:41 +01:00
TD-er 59da395604 [P095 P096] Convert to use PluginDataStruct
Split from PR #3834 as requested by @tonhuisman
2021-11-05 09:13:28 +01:00
TD-er ed139c61c8 [Build] Correct correct include path depth 2021-11-05 01:41:30 +01:00
TD-er ea0e17a839 [Build] Fix case sensitive mixup in include path 2021-11-05 01:31:40 +01:00
TD-er 47cfa79a6a [P096 E-ink] Convert to use PluginDataStruct
This is the only way we can have dynamic behavior for the display without virtual destructors in the libraries.
2021-11-05 01:23:20 +01:00
TD-er 9885cb976a [P095 ILI9341] Renamed functions in P095 plugin 2021-11-05 00:48:35 +01:00
TD-er 9dc9d2e3de [P095 ILI9341] Convert to use PluginDataStruct
This is the only way to have a dynamic configurable TFT configuration, without having a memory leak due to missing virtual destructors.
2021-11-05 00:43:50 +01:00
TD-er 94221de5f6 [Cleanup] Fix lots of missing delete calls to free memory
In a lot of places an object was allocated on the heap, but not always it was deleted thus leading to memory leaks.
2021-11-04 12:19:00 +01:00
Ton Huisman 42b8b25c7a [P120] Add ADXL345 Accelerometer plugin 2021-11-02 21:43:33 +01:00
svn2208 670f70fd35 Init commit. Add support for HMC5883 2021-11-02 11:01:05 +01:00
Ton Huisman 5abee46683 [Misc.cpp/h] Add get/set 3 and 3 bits from/to UL support functions, uncrustify Misc.cpp 2021-11-01 21:41:26 +01:00
Ton Huisman 105dacebe3 [P120] Sparkfun ADXL345 library fix compiler warning (cast) 2021-10-31 15:18:03 +01:00
Ton Huisman 49f2b7e19d [P120] Sparkfun ADXL345 library add powerOff() (from github pull request) 2021-10-31 15:01:11 +01:00
Ton Huisman c230e4b197 [P120] Sparkfun ADXL345 library add getDevID() (from github pull request) 2021-10-31 14:58:01 +01:00
Ton Huisman 08856c5cd9 [P120] Sparkfun ADXL345 library add getDevID() (from github pull request) 2021-10-31 14:57:06 +01:00
Ton Huisman 5fb7889549 [P120] Sparkfun ADXL345 library source formatted (uncrustify) 2021-10-31 14:52:26 +01:00
Ton Huisman 9af6f01903 [P120] Add Sparkfun ADXL345 library to enable secondary I2C address 2021-10-31 14:40:34 +01:00
Ton Huisman 6141049507 [P120] Add ADXL345 to I2CScanner 2021-10-31 14:38:19 +01:00
Ton Huisman 51fc2d76a5 [P120] ADXL345 Accelerometer basic plugin structure 2021-10-31 14:37:46 +01:00
Ton Huisman c331732cc4 [P119] Use intialized() function where possible 2021-10-30 17:04:34 +02:00
Ton Huisman 2e51ad7ff8 [P119] Eliminate unneeded variable 2021-10-29 22:26:04 +02:00
Ton Huisman e1fe479249 [P119] Improvements as suggested in feedback 2021-10-29 22:17:25 +02:00
Ton Huisman 3ab04ce0b2 [P119] Fix ESP32 build issue 2021-10-29 20:51:07 +02:00
Ton Huisman 0bd16fa46e [P119] Fix ESP32 build issue 2021-10-29 20:50:46 +02:00
Ton Huisman 041095ec1a [P119] Add plugin for ITG3205 gyro sensor 2021-10-29 20:31:28 +02:00
Ton Huisman 332dd8872f [P119] Improvements and fixes for ITG3205 library, source reformatted 2021-10-29 20:30:23 +02:00
uwekaditz 05dc378c37 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-10-27 21:05:04 +02:00
Ton Huisman 6ab1f87441 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-10-26 19:24:34 +02:00
TD-erandGitHub 57e58740f2 Merge pull request #3826 from TD-er/feature/WebFlasher
[Webflasher] Generate html page for web flasher
2021-10-26 10:11:46 +02:00
TD-er 5205d59da9 [Webflasher] Do not create index.html during build
It can only be used when served from a web server, so no need to include it in the ZIP file.
It has to be created manually on a server.
2021-10-26 09:46:46 +02:00
TD-er dd6cc78812 [Build] Include flash size on all PlatformIO envs 2021-10-26 09:21:46 +02:00
TD-er 8d1a76202f [Webflasher] Add groups in selection combobox 2021-10-25 22:37:32 +02:00
TD-er 6f5965ce23 [build] Make sure Python requirements are installed
And do not generate manifest for ESP32 bin files which are not "factory" bins.
2021-10-25 17:47:59 +02:00
TD-er f911c3d6d6 [Build] Add option "esp8266" to be the same as "esp82xx"
It is a bit confusing to (only)  have "esp82xx" as I made the mistake a few times myself.
2021-10-25 17:17:04 +02:00
TD-er 5471e21a82 [Webflasher] Generate html page for web flasher 2021-10-25 17:05:29 +02:00
TD-er 77197c8e88 [WebFlasher] Generate manifest.json file per build 2021-10-25 00:50:34 +02:00
TD-erandGitHub 82e26a8ca5 Merge branch 'mega' into feature/PWM_motor 2021-10-24 22:06:20 +02:00
TD-erandGitHub 676d055373 Merge branch 'mega' into feature/build_core_3_0_0 2021-10-24 22:04:10 +02:00
Ton Huisman 8c719c4dd2 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-10-24 21:13:46 +02:00
TD-erandGitHub 439779b37d Merge pull request #3825 from TD-er/bugfix/compile_defines
[Build] Fix compiletime defines
2021-10-24 21:02:17 +02:00
TD-er a5628b8ea2 [WiFi] Add note about minimal WPA key length
See: #3818
2021-10-24 19:55:51 +02:00
TD-er a66f91bead [Build] Cleanup of Compile time defines scripts 2021-10-24 19:44:01 +02:00
TD-er 219c24c9e2 [Build] Fix quotes issue on compile time defines 2021-10-24 19:17:13 +02:00
TD-er 0d10401c1d [Build] Fix CompiletimeDefines
The patched files were still in `src/Helpers/` but that's now concatenated, thus the `CompiletimeDefines.cpp` file was not compiled anymore.
2021-10-24 18:14:59 +02:00
Ton Huisman fa9e32a456 [P119] Add ITG3205 to I2C scanner 2021-10-24 15:00:42 +02:00
Ton Huisman 394396d7c5 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p119-p120-plugin-itg3205-and-adxl345-development 2021-10-24 14:29:50 +02:00
TD-erandGitHub b3a21df1c7 Merge pull request #3822 from tonhuisman/feature/p119-and-p120-itg3205-and-adxl345-sensors
[P119][P120] Plugins for ITG3205 Gyro and ADXL345 Acceleration / Gravity
2021-10-24 14:27:04 +02:00
Ton Huisman bbafdadb64 [P119] Add library for ITG3205 2021-10-24 14:04:35 +02:00
Ton Huisman 027574d9c1 [P119][P120] Register plugin IDs for ITG3205 and ADXL345 2021-10-24 13:53:54 +02:00
Ton HuismanandGitHub f0899db98e Merge branch 'mega' into feature/how-to-guide-for-new-developers 2021-10-23 10:15:44 +02:00
TD-erandGitHub dff0ceab01 Merge pull request #3748 from kretzp/feature/AtlasEZOPlugins_pH_EC_ORP_DO
[P103: Atlas EZO pH ORP EC DO] Added DO sensor
2021-10-22 22:23:42 +02:00
TD-erandGitHub 8dc5506218 Merge branch 'mega' into mega 2021-10-22 20:28:10 +02:00
TD-erandGitHub 4888c7d938 Merge branch 'mega' into feature/PWM_motor 2021-10-22 20:27:08 +02:00
TD-erandGitHub 75eeb6c6bf Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC_ORP_DO 2021-10-22 20:26:09 +02:00
Ton HuismanandGitHub e846853549 Merge branch 'mega' into feature/how-to-guide-for-new-developers 2021-10-22 17:14:22 +02:00
TD-erandGitHub 1a38a6e735 Merge branch 'mega' into feature/build_core_3_0_0 2021-10-22 12:03:28 +02:00
TD-erandGitHub f268d21763 Merge pull request #3817 from TD-er/build/fix_Windows_max_LittleFS_build
[Build] Fix build on Windows for ESP32 Max LittleFS builds
2021-10-22 10:37:31 +02:00
TD-er 3ccd3cb7ec [Build] Fix build fail due to warnings 2021-10-21 17:41:41 +02:00
TD-er e160a8114b [Python] Update Python packages + missing Ubuntu packages 2021-10-21 17:02:54 +02:00
TD-er 7d2788643e [PVS Studio] Fix some warnings made by PVS Studio. 2021-10-21 16:00:43 +02:00
TD-er c86dcb3022 [Python] Update Python packages due to Sphinx build error on Python 3.10 2021-10-21 14:39:33 +02:00
TD-er 245f9c64c9 [PVS Studio] Fix "dangerous" macros in IRremoteESP8266 library
@jimmys01 Can you make a PR for this to the original library?
2021-10-21 11:20:59 +02:00
TD-er b7097d3699 [PVS Studio] Fix issues reported by PVS Studio 2021-10-21 11:18:51 +02:00
TD-er 7e67765fc9 [PVS Studio] Test using ESP32 max build + some suggested fixes 2021-10-21 09:59:29 +02:00
TD-er 84d8855a88 Fix missing lib_debs 2021-10-21 00:05:39 +02:00
TD-er ee9a903141 [Build] Concat Globals .cpp files to help building in Windows 2021-10-20 23:44:26 +02:00
TD-er e28da82cbc [Build] Fix build on Windows for ESP32 Max LittleFS builds
Needed to add another folder to concatenate .cpp files to allow linking to work again after upgrade of the IR library.
2021-10-20 22:34:50 +02:00
svollebregt 73ccb60ad2 Merge branch 'mega' of https://github.com/svollebregt/ESPEasy into mega 2021-10-20 21:02:01 +02:00
svollebregt 4361ad35d3 Update _P118_Itho.ino
Code clean-up following suggestions of TD-er.
2021-10-20 21:01:57 +02:00
svollebregtandGitHub 41bbbc77c5 Merge branch 'letscontrolit:mega' into mega 2021-10-20 21:00:43 +02:00
TD-erandGitHub 0852f8ddf5 Merge branch 'mega' into feature/build_core_3_0_0 2021-10-20 15:57:21 +02:00
TD-erandGitHub e41a6f07f8 Merge pull request #3816 from letscontrolit/bugfix/PCF_pinrange
[GPIO] Fix [Plugin#PCF#PinRange#x-y] (#3815)
2021-10-20 00:56:50 +02:00
TD-erandGitHub 0a814e88a7 [GPIO] Fix [Plugin#PCF#PinRange#x-y] (#3815)
Fixes: #3815
2021-10-19 23:03:21 +02:00
TD-erandGitHub 24fa7dc972 Merge pull request #3814 from letscontrolit/bugfix/Ventus_binary_UV
[P046 Ventus] Fix UV only "binary" (#3073)
2021-10-19 16:56:12 +02:00
TD-er d010e0c63f [P046 Ventus] Minor cleanup of strange float casts 2021-10-19 16:16:54 +02:00
TD-erandGitHub 4be69a2358 [P046 Ventus] Fix UV only "binary" (#3073)
See #3073
The read UV value was only converted to float after it was divided by an integer, thus only showing 0 or 1.
2021-10-19 15:31:42 +02:00
TD-erandGitHub 912c4fe44f Merge pull request #3811 from jimmys01/Ir-update
[IR] Update IR library to the latest build
2021-10-19 15:22:37 +02:00
TD-erandGitHub a74e1f4eab Merge pull request #3688 from tonhuisman/feature/p104-new-plugin-max7219-dotmatrix
[P104] New plugin: MAX7219 dot matrix display
2021-10-19 12:21:26 +02:00
Ton HuismanandGitHub 2cc4d1c909 Merge branch 'mega' into feature/how-to-guide-for-new-developers 2021-10-19 11:49:04 +02:00
Ton HuismanandGitHub 8805f98ece Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-10-19 11:46:27 +02:00
TD-erandGitHub 7465585f57 Merge pull request #3813 from TD-er/feature/ESP32_bootstrappins
[ESP32] Update GPIO description docs & add event to get boot strap pins
2021-10-18 22:37:16 +02:00
TD-erandGitHub 6034dadf41 Merge branch 'mega' into feature/ESP32_bootstrappins 2021-10-18 14:55:12 +02:00
TD-erandGitHub 2ab0420974 Merge pull request #3812 from TD-er/feature/remove_periodicalScanWiFi
[Cleanup] Remove PeriodicalScanWiFi
2021-10-18 14:54:54 +02:00
TD-er 80163a1743 Reset former PeriodicalScanWiFi bit to 0
As reported by @tonhuisman
2021-10-18 14:07:19 +02:00
TD-er 617c4d1ac8 [ESP32] Update GPIO description docs & add event to get boot strap pins
ESP32 can keep track of the pin state of a number of pins at boot.
With this update these pin states will be send at boot as an event, so one may act on it during boot.

Possible use case:
Detect voltage and immediately go to sleep again.
Later features may use these too to enter for example a service mode.
2021-10-18 13:18:11 +02:00
TD-er e9853b87b8 [Cleanup] Fix compile warning and failed build on ESP8266 beta builds 2021-10-18 12:22:22 +02:00
TD-er 85e43abe6d [Cleanup] Remove PeriodicalScanWiFi
It caused quite a lot of unforeseen issues.
Thus remove the setting.
2021-10-18 11:21:58 +02:00
Ton HuismanandGitHub e15e011f04 Merge branch 'mega' into feature/how-to-guide-for-new-developers 2021-10-16 17:56:46 +02:00
uwekaditz 9049047b47 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-10-16 15:39:37 +02:00
svollebregt 1a82e80ba4 Merge branch 'mega' of https://github.com/svollebregt/ESPEasy into mega 2021-10-16 15:03:15 +02:00
svollebregt 377dd940d3 Update _P118_Itho.ino
Incorporated and tested all changes suggested by tonhuisman:
- Moved ifdef to start
- Changed plugin name
- Adjusted timer options
- Switch statement using Par1
2021-10-16 15:03:05 +02:00
svollebregtandGitHub ca5273adf3 Merge branch 'letscontrolit:mega' into mega 2021-10-16 14:11:13 +02:00
TD-erandGitHub 990ece28a0 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC_ORP_DO 2021-10-16 12:37:55 +02:00
TD-erandGitHub 285fe16d03 Merge branch 'mega' into feature/PWM_motor 2021-10-16 12:36:36 +02:00
TD-erandGitHub 39fb02965e Merge branch 'mega' into feature/build_core_3_0_0 2021-10-16 12:34:17 +02:00
TD-erandGitHub 3550f4c261 Merge pull request #3804 from TD-er/feature/PMSx003_pwr
[PMSx003] Cleanup + add PWR management (#3798)
2021-10-16 12:31:32 +02:00
TD-erandGitHub 80b988984d Merge branch 'mega' into feature/PMSx003_pwr 2021-10-16 11:42:36 +02:00
TD-erandGitHub 40d7f157f9 Merge pull request #3807 from TD-er/bugfix/ESP32_serial
[ESPEasySerial] Fix issues on ESP32 with serial (restart serial)
2021-10-16 11:42:10 +02:00
TD-er 18db034609 [PMSx003] Make 1M builds fit again 2021-10-16 11:41:33 +02:00
TD-er 3312b7d61e [PMSx003] Add proper defaults when creating new task or loading old conf
Added PWR pin, so settings need to be patched to set PWR SET pin to  -1 as default.
2021-10-15 16:40:23 +02:00
TD-er 72d0b4426a [PMSx003] Add sensor init time option after wake up sensor 2021-10-15 15:48:38 +02:00
jimmys01 e4e3e5a2a5 Fix String ambiguous conversions in the lib 2021-10-15 16:32:05 +03:00
jimmys01 808d70336a [IR] Update IR library to the latest build 2021-10-15 15:42:09 +03:00
TD-er 05ae9ba4b8 [PMSx003] Document new Data Processing features. 2021-10-14 16:16:12 +02:00
TD-er c81d8660ad [PMSx003] Add oversampling to average readings
Oversampling does average all readings between 2 calls of `PLUGIN_READ`.
N.B. if the sensor is put to sleep, any collected samples will be flushed by scheduling a `PLUGIN_READ`.
When waking up, any stored data in the averaging buffer is flushed.
2021-10-14 16:01:57 +02:00
TD-er de7bb5dd81 [PMSx003] Add option to split counted data in bins
Count values reported by the sensor represent particles of at least the given size.
However, it makes more sense to have the values representing their binned values.
For example, `cnt1.0` should represent counted particles of size 1.0 ... 2.5 micron.
2021-10-14 13:09:08 +02:00
TD-er 13dfe6d514 [ESPEasySerial] Include v2.0.7 in the ESPEasy libs dir too
Arduino IDE builders may not use the PlatformIO versioning, so also include it in the libs folder.
2021-10-14 08:23:09 +02:00
TD-er 38604e5e03 [PMSx003] Document new pmsx003,wake & pmsx003,wake commands 2021-10-14 00:30:32 +02:00
TD-er b3b8eb120b [ESPEasySerial] Fix issues on ESP32 with serial (restart serial)
ESP32 does have an issue with restarting serial communication.
Calling `end()` followed by `begin()` on the serial port, may render the port unusable.

This work-around is to keep track of the last used pins and do not call `end()` and `begin()` if the pins have not changed.

It is a really dirty hack, but it does work.

The serial port may be stopped/started when updating a setting on a task, so this was for sure a big issue on ESP32.
2021-10-14 00:07:37 +02:00
TD-er 313144ca85 [ESPEasySerial] Fix issues on ESP32 with serial (restart serial)
ESP32 does have an issue with restarting serial communication.
Calling `end()` followed by `begin()` on the serial port, may render the port unusable.

This work-around is to keep track of the last used pins and do not call `end()` and `begin()` if the pins have not changed.

It is a really dirty hack, but it does work.

The serial port may be stopped/started when updating a setting on a task, so this was for sure a big issue on ESP32.
2021-10-14 00:06:41 +02:00
TD-er 6c1fc2c2d9 [PMSx003] Ignore incompatible event out selections 2021-10-13 16:59:27 +02:00
TD-er 70c6d2ebf7 [PMSx003] Update documentation 2021-10-13 16:42:18 +02:00
TD-er 6d9ad02a35 [PMSx003] Simplify event generation + update task value names 2021-10-13 16:41:54 +02:00
TD-er afe3b3a4f1 [PMSx003] Add explanation on particles measurement 2021-10-13 13:56:45 +02:00
TD-er 506c740d1c [PMSx003] Add output selection for counted small particles 0.3 ... 2.5 u 2021-10-12 20:36:33 +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
TD-er 3925bfa27b [PMSx003] Add commands for reset/sleep/wake + document them 2021-10-12 15:01:41 +02:00
TD-er 0f7d9dfed3 [PMSx003] Make output/event selector enums a bit more readable 2021-10-12 12:05:33 +02:00
TD-er 4aec34c266 [PMSx003] Add check for duplicate messages
Actual reading interval appears to be 2.3 sec. even though the sensor may output readings at a shorter interval.
2021-10-12 11:55:27 +02:00
TD-er 1cff1ac51c [PMSx003] Use enum class for event output selector
To allow the compiler check for compatible types
2021-10-12 11:39:09 +02:00
TD-er d8206b6431 [PMSx003] Use defines when interpreting received data
Makes it easier to check for errors when interpreting data in the received packet.
2021-10-12 10:51:15 +02:00
TD-er 3707d2f324 [Serial] Make serial selection more intuitive 2021-10-12 00:30:03 +02:00
Ton Huisman 4f4e6bce00 [Docs] How To: Extend the text and some corrections 2021-10-11 21:46:37 +02:00
Ton Huisman 34a37aa155 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/how-to-guide-for-new-developers 2021-10-11 20:35:36 +02:00
TD-erandGitHub 2d4f20b440 Merge branch 'mega' into feature/PMSx003_pwr 2021-10-11 14:41:04 +02:00
TD-er b4ca57a36b [PMSx003] Add pin selection for PWR Set pin 2021-10-11 14:38:20 +02:00
uwekaditz b824a704e1 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-10-11 12:23:56 +02:00
TD-er e6607f417f [PMSx003] Cleanup by turning sensor type into enum class 2021-10-11 12:11:41 +02:00
TD-erandGitHub fcd69eaf58 Merge branch 'mega' into mega 2021-10-11 09:49:14 +02:00
TD-erandGitHub 661b14bc0e Merge pull request #3800 from tonhuisman/bugfix/re-enable-ir-in-custom_ir-builds
[Build] Enable IR plugins in custom_IR and MAX ESP32 builds
2021-10-11 09:44:44 +02:00
TD-erandGitHub 32a8d240d5 Merge pull request #3797 from tonhuisman/feature/p073-add-7output-command
[P073] Add 7output command
2021-10-11 09:44:24 +02:00
TD-erandGitHub df76d26c2f Merge pull request #3802 from TD-er/bugfix/ESP32_login
[ESP32] Revert to PlatformIO platform 3.3.0 to fix web login
2021-10-11 09:42:17 +02:00
TD-er 44215c092f [ESP32] Revert to PlatformIO platform 3.3.0 to fix web login
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=4&t=8786)

Apparently the latest ESP32 code does have something broken regarding web UI login.
2021-10-10 23:57:29 +02:00
svollebregt b9673d4255 [P118] Adding Itho plugin to main reposity""
Adding P145 from the plugin playground as P118 to the main repo. Tested compiling of test_D and it seems to fit.
2021-10-10 20:24:15 +02:00
svollebregt ffac89221d Revert "Adding Itho library to main reposity"
This reverts commit 1cfdd9e8b4.
2021-10-10 20:20:48 +02:00
svollebregt 1cfdd9e8b4 Adding Itho library to main reposity
Moving P145 from the playgorund to the main repo as P118.
2021-10-10 20:17:13 +02:00
Ton Huisman d78e15cca2 [Docs] IR plugins are not in normal builds (for a long time) 2021-10-09 17:51:00 +02:00
Ton Huisman b34e63007c [Docs] IR plugins are not in normal builds (for a long time) 2021-10-09 17:49:22 +02:00
Ton Huisman bde8725cf1 [Docs] IR plugins are not in normal builds (for a long time) 2021-10-09 17:44:56 +02:00
Ton Huisman 79d211d93b [Docs] IR plugins are not in normal builds (for a long time) 2021-10-09 17:42:19 +02:00
TD-er c0766d0064 [PMSx003] Cleanup naming of types and variables 2021-10-09 16:27:44 +02:00
TD-er 0c655e6e33 [PMSx003] Uncrustify .ino file 2021-10-09 15:37:52 +02:00
TD-er 05adb430c3 [PMSx003] Convert plugin into using multiple instances data_struct 2021-10-09 15:36:24 +02:00
Ton Huisman 91e6e6187f [Build] Enable Blynk controller in MAX ESP32 builds 2021-10-09 14:59:58 +02:00
Ton Huisman b1f27b61d8 [Build] Enable IR plugins in MAX ESP32 builds 2021-10-09 14:59:22 +02:00
Ton Huisman 7fe11d8d14 [Build] Re-enable IR plugins in custom_IR builds 2021-10-09 14:57:33 +02:00
uwekaditz 1d0990c76b Merge tag 'mega-20211005' into UweKaditz 2021-10-08 15:53:27 +02:00
Ton Huisman 05e991734f [P073] Reformat source (uncrustify and some manual adjustments) 2021-10-06 20:57:21 +02:00
Ton Huisman c74d12dc3e [P073] Store via commands changes settings but not save them yet 2021-10-06 20:20:46 +02:00
TD-erandGitHub da458385f7 Merge branch 'mega' into feature/build_core_3_0_0 2021-10-06 14:14:26 +02:00
Ton Huisman 549e247833 [P073] Add 7output command 2021-10-05 22:44:32 +02:00
Ton Huisman 0c04386fd6 Merge branch 'feature/how-to-guide-for-new-developers' of https://github.com/tonhuisman/ESPEasy-1 into feature/how-to-guide-for-new-developers 2021-10-05 21:06:05 +02:00
Ton HuismanandGitHub 8c49344c3c Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-10-05 21:03:14 +02:00
Ton HuismanandGitHub f172051375 Merge branch 'mega' into feature/how-to-guide-for-new-developers 2021-10-05 21:02:19 +02:00
TD-er 3897e45b32 automatically updated release notes for mega-20211005 2021-10-05 15:25:23 +02:00
TD-erandGitHub 6da69e72fb Merge pull request #3795 from tonhuisman/feature/small-improvements
Small improvements & fixes
2021-10-05 14:54:09 +02:00
TD-erandGitHub 612bdc9dd3 Merge pull request #3747 from tonhuisman/feature/p007-enable-selectable-number-of-output-values
[P007] PCF8591 Allow multiple output values in task
2021-10-05 08:57:36 +02:00
TD-erandGitHub 789f1399a5 Merge pull request #3794 from tonhuisman/bugfix/supply-all-gpios-on-touch-and-halleffect-selection-esp32
[PinSelect] Bugfix missing last GPIO in Touch and Hall Effect selector (ESP32)
2021-10-05 08:56:08 +02:00
Ton Huisman 8c9761c119 [I2C Scanner] Fix device descriptions for 0x38 and 0x39 addresses 2021-10-04 23:16:10 +02:00
Ton Huisman 3a4ab985bc [ESP32S2] Only show CPU0 reboot reason on single-core ESP32 S2 2021-10-04 20:01:24 +02:00
Ton Huisman 93d08d0425 [P017] Add warning for I2C Clockstretching to documentation 2021-10-04 20:00:08 +02:00
Ton Huisman fe68b22074 [PinSelect] Bugfix missing last GPIO in Touch and Hall Effect selector (ESP32) 2021-10-04 19:55:08 +02:00
Ton Huisman 24498888a6 [P007] Remove unneeded cast 2021-10-04 19:43:48 +02:00
Ton Huisman d400b8968f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p007-enable-selectable-number-of-output-values 2021-10-04 19:37:04 +02:00
Ton Huisman 88f63d6f17 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/how-to-guide-for-new-developers 2021-10-04 19:23:34 +02:00
Ton Huisman c2d4db32dc Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-10-04 19:19:50 +02:00
TD-erandGitHub b7bf5fff29 Merge pull request #3732 from tonhuisman/feature/p008-add-option-for-reversed-decoding
[P008] Allow selection of 26..64 bits receive format
2021-10-04 14:52:05 +02:00
Ton HuismanandGitHub 68727e2bc9 Merge branch 'mega' into feature/p008-add-option-for-reversed-decoding 2021-10-04 14:49:25 +02:00
TD-erandGitHub ab569e40f6 Merge pull request #3783 from TD-er/feature/Blynk2.0
[Blynk] Add ESP32 support for Blynk
2021-10-04 14:44:54 +02:00
TD-erandGitHub 86544753f0 Merge branch 'mega' into feature/build_core_3_0_0 2021-10-04 00:02:29 +02:00
TD-erandGitHub c7b8f62af6 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC_ORP_DO 2021-10-04 00:01:10 +02:00
TD-erandGitHub d69a138bb1 Merge branch 'mega' into feature/p007-enable-selectable-number-of-output-values 2021-10-04 00:00:03 +02:00
TD-erandGitHub 54f20ac313 Merge pull request #3738 from tonhuisman/feature/p009-add-easier-address-and-port-selection
[P009] MCP23017 Add easier I2C Address and port selection options
2021-10-03 23:59:11 +02:00
TD-erandGitHub 09d07c75f6 Merge pull request #3735 from tonhuisman/feature/p019-add-easier-address-and-port-selection
[P019] PCF8574 Add easier I2C Address and port selection options
2021-10-03 23:58:36 +02:00
TD-erandGitHub 26fa12ec13 Merge pull request #3678 from TD-er/bugfix/I2C_freeze
[I2C] Add recovery to an I2C bus that hangs.
2021-10-03 23:56:59 +02:00
Ton Huisman 2c239c3fba [P104] Add Inverted option (dark on light), incl. docs 2021-10-03 20:31:44 +02:00
Ton Huisman cba5f7deca [P104] Minor improvements, memory handling 2021-09-26 21:52:39 +02:00
Ton Huisman e157c8625f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-09-26 14:55:17 +02:00
Ton Huisman eb8c870ba2 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-09-26 14:08:54 +02:00
Ton Huisman 21a4c5d839 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/how-to-guide-for-new-developers 2021-09-26 14:08:31 +02:00
TD-erandGitHub 19fd1fee03 Merge branch 'mega' into feature/Blynk2.0 2021-09-26 10:36:00 +02:00
TD-er 173388e07d [P103] Perform manual merge of P103...ino 2021-09-26 09:19:59 +02:00
TD-er bfe40ac90d [P103] Perform manual merge of conflicting files 2021-09-26 09:19:59 +02:00
Peter KretzandTD-er c230d9747b Rename Plugin 103 : Atlas Scientific EZO pH ORP EC DO 2021-09-26 09:19:59 +02:00
Peter KretzandTD-er 4e4e356ef8 Update _P103_Atlas_EZO_pH_ORP_EC.ino 2021-09-26 09:19:59 +02:00
Peter KretzandTD-er c04162a2da Update platformio_esp32_envs.ini 2021-09-26 09:19:59 +02:00
Peter KretzandTD-er a516f363bd [P103 AtlasEZO] Added Dissolved Oxygen Sensor DO 2021-09-26 09:19:59 +02:00
TD-er 2d9c1cfc31 [I2C] Document the new feature to clear a stuck I2C bus. 2021-09-26 02:18:11 +02:00
TD-er cb72f99765 [I2C] Only perform reset I2C bus during scan when enabled by user 2021-09-26 02:06:47 +02:00
TD-er a596257fdc [I2C] Clarify error on I2C scan 2021-09-26 01:56:46 +02:00
TD-er a93251fcf3 [I2C] Do not run I2C tasks when bus is in error. 2021-09-26 01:07:22 +02:00
TD-er 62e2b1e64c [I2C] Make clearing hung I2C bus optional 2021-09-26 00:23:00 +02:00
TD-er f9913c88b4 [Cleanup] Get rid of global dummyString 2021-09-26 00:22:32 +02:00
TD-erandGitHub 1632fabd28 Merge branch 'mega' into feature/PWM_motor 2021-09-25 23:37:12 +02:00
TD-erandGitHub 2a90b02098 Merge branch 'mega' into bugfix/I2C_freeze 2021-09-25 23:36:07 +02:00
TD-erandGitHub 782add0768 Merge pull request #3782 from letscontrolit/bugfix/P013_Ultrasonic_no_echo
[P013 sr04] Hangs on HI in state mode when NO_ECHO
2021-09-25 23:35:25 +02:00
TD-erandGitHub 8a7e483af1 Merge pull request #3775 from TD-er/bugfix/ESP32_eth_no_DNS
[ESP32 ETH] Fix not getting DNS from DHCP at boot
2021-09-25 23:34:43 +02:00
TD-erandGitHub ec20607db3 Merge pull request #3787 from TD-er/bugfix/I2C_init_RTC
[I2C] Fix switching low/high clock + fix PCF8563 ext. RTC
2021-09-25 21:17:46 +02:00
TD-er db623be270 [I2C] Fix switching low/high clock + fix PCF8563 ext. RTC
`initI2C()` did not setup I2C due to inverted check if enabled.

Also made code for switching I2C frequency a bit more readable.

PCF8563 was not running reliable on ESP32, since I2C was initialized after the ext. RTC was tried to read.
2021-09-25 20:49:19 +02:00
Ton Huisman c288e4a9ea [Docs] How To guide: textual improvements and additions 2021-09-25 16:38:41 +02:00
Ton Huisman de6558400b [P009] Fix compilation error (type) 2021-09-20 21:32:43 +02:00
Ton Huisman bddd240b55 Merge branch 'feature/p019-add-easier-address-and-port-selection' of https://github.com/tonhuisman/ESPEasy-1 into feature/p019-add-easier-address-and-port-selection 2021-09-20 21:20:25 +02:00
Ton Huisman 00039f5f26 [P019] Fix compilation error (type) 2021-09-20 21:19:36 +02:00
Ton Huisman 6fac56b7f5 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p019-add-easier-address-and-port-selection 2021-09-20 21:18:26 +02:00
Ton Huisman 87b2871a59 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p009-add-easier-address-and-port-selection 2021-09-20 21:13:37 +02:00
Ton Huisman ad64dda5d5 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p007-enable-selectable-number-of-output-values 2021-09-20 21:10:03 +02:00
Ton HuismanandGitHub d3d3f59615 Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-09-20 13:11:54 +02:00
Ton HuismanandGitHub ef1dbf5056 Merge branch 'mega' into feature/p008-add-option-for-reversed-decoding 2021-09-20 13:10:29 +02:00
Ton HuismanandGitHub 0aaef3dd94 Merge branch 'mega' into feature/p019-add-easier-address-and-port-selection 2021-09-20 13:09:51 +02:00
Ton Huisman b8b5f8bc7e Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/how-to-guide-for-new-developers 2021-09-19 22:00:16 +02:00
Ton Huisman e1317ecf86 [Docs] Development guide restrucured and extended 2021-09-19 22:00:03 +02:00
Ton Huisman b30f1a6531 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-09-19 17:13:04 +02:00
Ton Huisman 803a89bd86 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-09-19 17:03:50 +02:00
TD-erandGitHub d25ecff2c8 Merge branch 'mega' into bugfix/P013_Ultrasonic_no_echo 2021-09-19 15:44:41 +02:00
TD-erandGitHub cf639a0a6d Merge branch 'mega' into feature/PWM_motor 2021-09-19 15:44:16 +02:00
TD-erandGitHub 0dcc99cbfb Merge branch 'mega' into feature/build_core_3_0_0 2021-09-19 15:39:44 +02:00
TD-erandGitHub f6dd7f850e Merge branch 'mega' into bugfix/ESP32_eth_no_DNS 2021-09-19 15:34:07 +02:00
TD-erandGitHub 6829d88adb Merge branch 'mega' into feature/Blynk2.0 2021-09-19 15:29:51 +02:00
TD-erandGitHub f95cbaa44c Merge pull request #3579 from TD-er/feature/ESP32_S2_support
[ESP32S2] Support ESP32S2 platform
2021-09-19 15:29:26 +02:00
TD-er 6f9f3c5bd7 [Docs] Add some description of ESP82xx/ESP32/ESP32-S2 2021-09-19 15:23:34 +02:00
TD-er 081cf6e6e9 [NeoPixel] Update to latest Adafruit Neopixel library
To fix support for NeoPixel in ESP32/ESP32-s2
2021-09-19 14:30:20 +02:00
TD-er 8d8572970e [Cleanup] Clean up of double includes + pio.ini description 2021-09-19 14:18:28 +02:00
Ton Huisman 5aa6911776 [Docs] How To: fix some sphinx syntax issues 2021-09-18 23:32:44 +02:00
Ton Huisman b6858b6757 [Docs] How To fix some typos 2021-09-18 23:27:44 +02:00
Ton Huisman c3e9e6f1a4 [Docs] Add How To for starting development on ESPEasy 2021-09-18 23:22:28 +02:00
Ton Huisman eacede669b [Docs] Add How To for starting development on ESPEasy 2021-09-18 22:57:05 +02:00
TD-er e58fd4ca5b Fix build error on limited build size builds 2021-09-17 01:43:18 +02:00
TD-er c4a2fa825c [P109 ThermOLED] Fix array bound error 2021-09-17 01:27:38 +02:00
TD-er 08ab773f3b [ESP32 IDF4.x] Fix build issue with ESP32 IDF 4.x 2021-09-17 01:17:52 +02:00
TD-erandGitHub 416aaf4e5d Merge branch 'mega' into feature/ESP32_S2_support 2021-09-17 01:08:38 +02:00
TD-er 00479c1c01 [PSRAM] Add preliminary support for PSRAM
This will later be used just like the 2nd heap on core 3.0.0 for ESP8266.
For now just getting the info and it will be used as extra for heap allocation when needed.
2021-09-17 01:04:52 +02:00
TD-er 43ba035443 [ESP32-S2] Mark ESP32-s2 and ESP32-c3 as ESPEasy platforms 2021-09-17 00:47:41 +02:00
TD-er 5c2fb6609d [ESP32-S2] Use latest ESP32 core 2.0.0 + IDF4.4 + I2C fix
See: https://github.com/espressif/arduino-esp32/issues/5636
2021-09-17 00:46:45 +02:00
Ton Huisman 1bf397d688 Merge commit 'refs/pull/3783/head' of https://github.com/letscontrolit/ESPEasy into mega 2021-09-15 19:22:02 +02:00
TD-erandGitHub 73c283e981 [Docs] Add note to rename the CSS file to esp.css
As reported [on the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=54850#p54850)
2021-09-14 13:09:26 +02:00
TD-er 70d285b3c3 [Blynk] Update to library v 1.0.1
Fixes: #3776
2021-09-14 12:56:47 +02:00
TD-er 844915618f [Blynk] ESPEasy patched files Blynk lib 1.0.1
The files patched for ESPEasy.
2021-09-14 12:31:58 +02:00
TD-er 6412378b2d [Blynk] Add ESP32 support for Blynk
Still using the 0.6.1 library.

ToDo:
- [ ] Update to 1.0.1 version
2021-09-14 12:06:49 +02:00
TD-er 19555b6dcc [Cleanup] Uncrustify _P013_HCSR04.ino 2021-09-14 10:57:07 +02:00
TD-erandGitHub b5a33cd013 [P013 sr04] Hangs on HI in state mode when NO_ECHO
As proposed on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=54824#p54824)
2021-09-14 10:25:43 +02:00
TD-erandGitHub 77dc0f4fba Merge branch 'mega' into feature/ESP32_S2_support 2021-09-13 11:40:46 +02:00
TD-erandGitHub ad384f25bf Merge branch 'mega' into feature/PWM_motor 2021-09-13 11:40:05 +02:00
TD-erandGitHub c1c87b686f Merge branch 'mega' into feature/build_core_3_0_0 2021-09-13 11:39:48 +02:00
TD-erandGitHub b631acdc18 Merge branch 'mega' into bugfix/ESP32_eth_no_DNS 2021-09-13 11:39:20 +02:00
Ton Huisman c273b8eb76 [P104] Code improvements as suggested in reviews (nullptr checks, unneeded array, destructor, comparison) 2021-09-12 15:09:22 +02:00
Ton Huisman dbf5762b3d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-09-11 18:33:17 +02:00
TD-erandGitHub c37fa66831 Merge pull request #3773 from tonhuisman/feature/SPI-user-defined-pins
[SPI][ESP32] User-defined GPIO pins for SCLK, MISO and MOSI
2021-09-11 18:05:57 +02:00
Ton Huisman 314fbef22b [SPI][ESP32] Remove redundant 'default' 2021-09-11 15:28:16 +02:00
uwekaditz 630413814e Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-09-11 14:23:06 +02:00
Ton Huisman 7a290e235d [P104] Code improvements and small optimizations 2021-09-11 13:53:31 +02:00
Ton Huisman 9460cdff17 [P104] Update and improve documentation 2021-09-11 13:52:51 +02:00
Ton Huisman e61a1e44df [P104] Add missing slash in numeric doubleheight font 2021-09-11 13:52:06 +02:00
Ton Huisman d79d6ccd2d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-09-10 22:22:06 +02:00
Ton Huisman 8bb4722598 [SPI][ESP32] Remove unneeded include 2021-09-10 22:14:25 +02:00
Ton Huisman ebd5267771 [SPI][ESP32] Small cleanup, remove unneeded includes 2021-09-10 22:11:19 +02:00
Ton Huisman 1bb66a7670 [SPI][ESP32] Make SPI options explicit 2021-09-10 21:16:45 +02:00
Ton Huisman 553c06fdc9 [SPI][ESP32] Refactor use of enum for SPI options 2021-09-08 20:40:40 +02:00
Ton Huisman eea94fca80 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/SPI-user-defined-pins 2021-09-08 20:27:23 +02:00
TD-erandGitHub dd2b63ab8e Merge pull request #3780 from tonhuisman/bugfix/p105-type-error
[P105] Correct type error
2021-09-07 14:24:17 +02:00
Ton Huisman 2e71df57ba [P105] Correct type error 2021-09-07 13:06:52 +02:00
TD-erandGitHub d019bf6bbd Merge branch 'mega' into feature/PWM_motor 2021-09-07 10:14:40 +02:00
TD-erandGitHub 485ff05da0 Merge pull request #3772 from crnjan/feature/support_for_operating
[P093] Added support for operating and compressor frequency
2021-09-07 09:59:25 +02:00
TD-erandGitHub 93ab7e3c56 Merge pull request #3778 from TD-er/bugfix/float_double_promotion
[Cleanup] Prevent float to double promotion
2021-09-07 09:58:15 +02:00
TD-erandGitHub 25398800d3 Merge branch 'mega' into feature/ESP32_S2_support 2021-09-07 09:56:42 +02:00
TD-erandGitHub 9f53d6df24 Merge branch 'mega' into feature/build_core_3_0_0 2021-09-07 09:56:06 +02:00
TD-erandGitHub 20060823ea Merge pull request #3753 from letscontrolit/build/ArduinoIDE_compile_error
Add 'client' to http.begin call
2021-09-07 09:54:05 +02:00
TD-erandGitHub cff66642ee Merge pull request #3762 from TD-er/feature/I2C_address_8bit
[I2C] Use 8 bit for I2C address selection
2021-09-07 09:53:24 +02:00
TD-erandGitHub 69f7d42fa8 Merge pull request #3755 from giig1967g/patch_for_safe_button
patch for Safe Button and FHEM (#3739)
2021-09-07 09:52:37 +02:00
TD-erandGitHub 0843092641 Merge pull request #3767 from TD-er/bugfix/memory_leak_dmxPlugin
[DMX512] Fix memory leak when exiting P054 DMX512 task
2021-09-07 09:51:24 +02:00
TD-erandGitHub 8edf46dfc9 Merge branch 'mega' into bugfix/memory_leak_dmxPlugin 2021-09-07 09:51:16 +02:00
TD-erandGitHub 5697746b75 Merge branch 'mega' into bugfix/ESP32_eth_no_DNS 2021-09-07 09:50:30 +02:00
TD-er b7b69622b7 [Cleanup] Prevent float to double promotion
May reduce code slightly, but at least it makes execution faster.
2021-09-07 09:33:41 +02:00
Ton Huisman 9d0c89e65e Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/SPI-user-defined-pins 2021-09-06 22:21:58 +02:00
Ton Huisman 8308697feb [SPI][ESP32] Use enum for SPI options 2021-09-06 22:21:51 +02:00
TD-er 745ff17ef3 [ESP32] Allow to compile using staging branch ESP32 2021-09-06 21:02:24 +02:00
TD-er aa4891ef56 [ESP32] Force SDK log level to NONE 2021-09-06 18:40:18 +02:00
TD-er 5c3e0c9c6e [WiFi] Try connect to hidden SSID without explicit BSSID + channel 2021-09-06 18:36:49 +02:00
TD-er d24ab196bf [WiFi] Only check WiFi connection timeouts if they are started. 2021-09-06 18:24:49 +02:00
TD-er b636e0a095 [WiFi] Only set WiFi initialised when connected & got IP 2021-09-06 16:37:31 +02:00
TD-er 3a23f2abbe [WiFi] Clear IP config on disconnect 2021-09-06 16:36:26 +02:00
TD-er bf32fd672a [WiFi] Only set WiFi initialised when connected & got IP 2021-09-06 16:35:23 +02:00
TD-er 0a5b435e51 [ESP32-s2] Fix crash when scanning I2C bus
See: https://github.com/espressif/arduino-esp32/issues/5636
2021-09-06 12:00:14 +02:00
TD-er 9bf8961a5b [ESP32-s2] Suppress SDK info/debug logs on Serial0 2021-09-06 11:59:38 +02:00
TD-erandGitHub 20269d5f2a Merge pull request #3770 from tonhuisman/feature/p033-dummy-make-interval-optional
[P033] Dummy device - make 'Interval' optional
2021-09-05 21:23:31 +02:00
Ton Huisman 942080ef15 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p033-dummy-make-interval-optional 2021-09-05 19:40:27 +02:00
Ton Huisman 5967fe8e7c Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/SPI-user-defined-pins 2021-09-05 19:39:33 +02:00
TD-erandGitHub a27b6a6fc1 Merge pull request #3724 from tonhuisman/feature/p105-move-aht10-from-playground
[P105] Move AHT10/20/21 plugin from Playground
2021-09-05 17:50:29 +02:00
TD-er 9b82c0c16e [ESP32-S2] Switch platform packages for ESP32s2 to improve build success
As suggested here: https://github.com/letscontrolit/ESPEasy/pull/3579#issuecomment-912620988 by @Jason2866
2021-09-05 00:29:49 +02:00
TD-erandGitHub 835938db91 Merge branch 'mega' into feature/ESP32_S2_support 2021-09-03 22:50:33 +02:00
TD-er 35b46eb9ea [ESP32] Switch to PlatformIO ESP32 core 3.3.2 2021-09-02 16:52:36 +02:00
TD-er 06096957a9 [ESP32 ETH] Fix not getting DNS from DHCP at boot
The WiFi radio was started too soon, which probably let parts of the DHCP request be stored in the wrong network settings.
2021-09-02 16:50:45 +02:00
TD-er d9bee26eaf [Web UI] Suggest reset flash write count command in error message 2021-09-02 15:24:47 +02:00
TD-er ab4a977ba8 [Web UI] Update tasks with no configurable interval every 1 second 2021-09-02 15:23:54 +02:00
TD-er ffab96bb3f [PWM motor] Add configurable duty cycle 2021-09-02 15:18:07 +02:00
TD-er 6d8d398d63 [PWM motor] Add PWM soft start/stop 2021-09-02 12:45:41 +02:00
TD-er 88bc49c80f [PWM motor] Add encoder timeout
Consider timeout of encoder pulses as a virtual limit switch.
At least let the movement stop.
2021-09-02 00:47:16 +02:00
TD-er 062117108d [PWM motor] Add plugin to "testing D" 2021-09-01 20:04:51 +02:00
TD-erandGitHub 46cbad5859 Merge branch 'mega' into feature/PWM_motor 2021-09-01 19:57:15 +02:00
Ton Huisman 8bd930787a [P007] Cast measured value to double instead of float, update docs with Slow I2C Clock requirement 2021-08-27 15:18:49 +02:00
Ton Huisman 9c789344ea [P104] Simplify SPI pin display, small formatting changes (uncrustify) 2021-08-27 14:13:10 +02:00
Ton Huisman 566c57a9f8 [SPI][ESP32] User-defined GPIO pins for SCLK, MISO and MOSI 2021-08-27 12:32:48 +02:00
Ton Huisman 5ac08ecfef [P008] Reverted previous mod. Changed to allow 26..64 bits receive format. Updated documentation 2021-08-23 10:53:05 +02:00
Ton Huisman d983bf5bc7 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p008-add-option-for-reversed-decoding 2021-08-22 22:48:44 +02:00
Ton Huisman 05a5bc714a Merge branch 'feature/p104-new-plugin-max7219-dotmatrix' of https://github.com/tonhuisman/ESPEasy-1 into feature/p104-new-plugin-max7219-dotmatrix 2021-08-22 22:24:10 +02:00
Ton HuismanandGitHub 81f7fb167e Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-08-22 22:23:55 +02:00
Ton Huisman 197b9f32e7 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-08-22 22:17:36 +02:00
Ton HuismanandGitHub 61f84a0c4b Merge branch 'mega' into feature/p105-move-aht10-from-playground 2021-08-22 22:16:36 +02:00
Ton Huisman 8c632edaa4 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p009-add-easier-address-and-port-selection 2021-08-22 15:23:58 +02:00
Ton Huisman 9befd57497 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p019-add-easier-address-and-port-selection 2021-08-22 15:21:57 +02:00
Ton Huisman 8191bdce43 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p007-enable-selectable-number-of-output-values 2021-08-22 15:08:22 +02:00
Ton Huisman 2a216dd432 [P033] Migrate documentation from Wiki and update 2021-08-22 15:00:11 +02:00
Ton Huisman 208b0202d9 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p033-dummy-make-interval-optional 2021-08-22 14:14:37 +02:00
uwekaditz 8967d22396 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-08-22 12:06:27 +02:00
TD-erandGitHub 8c7b49520c Merge pull request #3771 from Micha-he/patch-1
Docs corrected - P051 (AM2320) is TESTING not NORMAL
2021-08-20 23:12:16 +02:00
Boris Krivonog 79d66bb70c Make sure ESPeasy serial can be allocated if P093 data struct was allocated (embed it). 2021-08-20 22:03:45 +02:00
Boris Krivonog 8077659552 Make AC status additional info configurable. 2021-08-20 21:16:59 +02:00
Michael SchröderandGitHub 2d598cb17b P051 (AM2320) is TESTING not NORMAL 2021-08-20 12:47:34 +02:00
TD-erandGitHub a846ed323c Merge pull request #3750 from immiimmi/mega
p20 ser2net added option fo chosing reset pin (bugfix for esp8266)
2021-08-19 22:53:37 +02:00
immiimmiandGitHub 0ccc2a8526 Merge branch 'mega' into mega 2021-08-19 19:53:52 +02:00
Ton Huisman 0f7e358e9d [P033] Remove default Interval 2021-08-18 20:06:25 +02:00
Ton Huisman ee4d309079 [P033] Dummy device - make Interval optional 2021-08-18 13:48:18 +02:00
TD-er 27821e93d6 [DMX512] Fix memory leak when exiting P054 DMX512 task 2021-08-17 22:43:21 +02:00
TD-erandGitHub b708a419b4 Add custom_ESP8266_2M256 PlatformIO build env 2021-08-17 20:14:51 +02:00
uwekaditz 6a530c887f Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-08-17 20:01:36 +02:00
TD-erandGitHub bf6a06920e Merge branch 'mega' into feature/build_core_3_0_0 2021-08-17 14:47:47 +02:00
TD-erandGitHub eb2a47bef9 Merge pull request #3766 from mcspr/patch-1
[Build] Use up-to-date platformio/toolchain-xtensa for the esp8266
2021-08-17 14:44:32 +02:00
Max ProkhorovandGitHub cead017f0a [Build] Revert to platformio/toolchain-xtensa for the esp8266
Up-to-date for the 3.0.2 release
2021-08-17 01:36:19 +03:00
TD-erandGitHub ab66ff3686 Merge branch 'mega' into feature/ESP32_S2_support 2021-08-16 23:58:50 +02:00
TD-er 2b662b2cbc [PIO] adafruit/Adafruit BusIO @ ~1.9.0 2021-08-16 00:10:43 +02:00
TD-erandGitHub 375cf978b9 Merge branch 'mega' into feature/build_core_3_0_0 2021-08-15 23:49:12 +02:00
TD-erandGitHub e60b20d46b Merge pull request #3765 from TD-er/build/Aliasing
[Aliasing] Prevent aliasing issues + remove C-style casts
2021-08-15 23:48:50 +02:00
TD-er 0844b7604a [Cleanup] Change some short strings to just a char. 2021-08-15 22:35:06 +02:00
TD-er 15d85dc3ce [Docs] Update README.md about newer build sets 2021-08-15 22:05:39 +02:00
immiimmiandGitHub db182b0835 Update _P020_Ser2Net.ino 2021-08-15 09:55:21 +02:00
immiimmiandGitHub e78bbfd591 Update _P020_Ser2Net.ino 2021-08-15 09:46:17 +02:00
TD-er af8aa7e833 [Casts] Change C-style casts (int) and (float) into static_casts 2021-08-14 23:48:34 +02:00
TD-er 62964fee1c [Casts] Change C-style (uint8_t*) casts into reinterpret_cast 2021-08-14 23:47:43 +02:00
Ton Huisman c33de42468 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-08-14 19:40:02 +02:00
Ton Huisman 7641a9a362 [P105] Fix I2Cscanner merge issue 2021-08-14 19:37:46 +02:00
Ton Huisman 3dc383675b Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p105-move-aht10-from-playground 2021-08-14 19:27:56 +02:00
immiimmiandGitHub a90d07e13f Update _P020_Ser2Net.ino 2021-08-14 17:05:00 +02:00
TD-er dfd4276a27 [Cleanup] Replace reinterpret_cast + fix compiler warning. 2021-08-14 16:51:28 +02:00
immiimmiandGitHub 23318726c1 Merge branch 'mega' into mega 2021-08-14 14:26:01 +02:00
TD-er 7ab21e6b4c [Build] Add -fno-strict-aliasing as build flag make builds more stable
It may prevent optimisations where the compiler may cause issues when allocated memory is not aligned for 4-byte access when storing/reading int from a `char array` allocated memory block for example.
2021-08-14 12:07:44 +02:00
TD-er a181c2fe73 [I2C] Use 8 bit for I2C address selection
This may reduce build size slightly.
2021-08-14 12:01:19 +02:00
TD-er 6b4282d9c8 [Build] Add -fno-strict-aliasing as build flag make builds more stable
It may prevent optimisations where the compiler may cause issues when allocated memory is not aligned for 4-byte access when storing/reading int from a `char array` allocated memory block for example.
2021-08-14 01:56:16 +02:00
TD-erandGitHub 934c241e5c Merge branch 'mega' into feature/build_core_3_0_0 2021-08-14 01:42:37 +02:00
TD-erandGitHub 87a9c08bdc Merge pull request #3653 from tonhuisman/bugfix/p016-correct-signed-conversion-to-unsigned
[P016] Correct hex value conversions to unsigned and support 64 bit IR codes
2021-08-13 22:11:28 +02:00
Ton HuismanandGitHub ed5a24b3f3 Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-08-13 09:29:33 +02:00
TD-erandGitHub 035d6274eb Merge branch 'mega' into feature/build_core_3_0_0 2021-08-12 22:45:55 +02:00
TD-erandGitHub 3b082ff4df Fix missing include in ConfigPage.cpp
As reported here: https://github.com/letscontrolit/ESPEasy/commit/593899d081bd1c17de996db1ecc97354a07a9efd#r54808848
2021-08-12 22:38:29 +02:00
TD-erandGitHub 41c315a0bf Accidentally removed extra check in isLoggedIn() 2021-08-12 22:36:02 +02:00
TD-erandGitHub 363efa7e1c Merge pull request #3760 from TD-er/bugfix/access_rules_passwd
[Web Login] Fix file access with password set (#3759 )
2021-08-12 22:29:22 +02:00
TD-er 393282b888 [Dashboard] Do not check for loggedIn() on dashboard.esp 2021-08-12 20:59:18 +02:00
TD-er 5634f4eabf [Web UI] Do not POST rules parameters to save memory
The `rules` parameter is disabled when changing the rules set.
Otherwise it might create a POST request the size of the current rule page, which does consume at least twice the size of it in RAM.
2021-08-12 20:07:04 +02:00
TD-er ca778ad788 [Web UI] Fix handling rules switching 2021-08-12 15:28:43 +02:00
TD-er b10b1f8e37 [Web Login] Fix file access with password set (#3759 )
Fixes: #3759
2021-08-12 14:26:55 +02:00
TD-erandGitHub fa9d4aa99c Merge pull request #3758 from TD-er/feature/randomize_NTP_interval
[NTP] Use random interval for NTP sync interval
2021-08-11 22:30:13 +02:00
TD-erandGitHub a02b76dbb1 Merge branch 'mega' into feature/randomize_NTP_interval 2021-08-11 22:23:57 +02:00
TD-er 93c2c41dc6 [docs] Describe all fields on the sysinfo page. 2021-08-11 22:23:22 +02:00
immiimmiandGitHub 21b01cba43 Merge branch 'mega' into mega 2021-08-11 21:35:46 +02:00
TD-erandGitHub d05fcc2c3b Merge pull request #3757 from TD-er/bugfix/duplicate_MQTT
[MQTT] Fix duplicate call task PLUGIN_READ at MQTT connect (#3754)
2021-08-11 20:44:58 +02:00
TD-er edc17528ab [docs] Add documentation on on the time wander info 2021-08-11 16:11:10 +02:00
TD-er 44b8429c4c [NTP] Use random interval for NTP sync interval
This will be easier on pool.ntp.org.
For example after a power outage, lots of nodes may use the same sync interval and thus perform a small DDoS like attack to the NTP pool servers as they may request several requests at the same time from the same public IP address.

By randomising this interval this will unlikely cause a peak.

Also added a time wander indicator, to get some idea of the stability of the used crystal in the ESP.
Typically this wander should be less than 0.010 msec/sec (< 10 ppm)
2021-08-11 16:01:33 +02:00
TD-erandGitHub 2434135bff Merge branch 'mega' into feature/build_core_3_0_0 2021-08-11 13:01:18 +02:00
TD-er 5231ba5c12 [Scheduler] Rename SchedulerTimerType_e to what it is calling 2021-08-11 01:51:37 +02:00
TD-er 4fb8feb1aa [Uncrustify] Scheduler.cpp/.h 2021-08-11 01:31:16 +02:00
TD-er c3e869dfeb [MQTT] Fix duplicate call task PLUGIN_READ at MQTT connect 2021-08-11 01:29:30 +02:00
TD-er baae9d1fd9 [Scheduler] Convert defines into SchedulerTimerType_e enum class 2021-08-11 01:28:37 +02:00
TD-erandGitHub 569442e527 Merge pull request #3756 from TD-er/feature/CacheController_localTime
[Cache Controller] Allow to save sample time in local time
2021-08-10 22:51:27 +02:00
TD-er cc190a06ef [docs] Update Cache Controller docs to mention different time exports 2021-08-10 22:51:12 +02:00
TD-er cc058affdd [Cache Controller] Update dump.htm to not check for valid timestamp
When used on a node that cannot have its time set to a proper time, the `dump5.htm` would not export any data in the export CSV file.
This because of a very simple check for a valid time stamp where the Unix Time had to be > 1.5 billion.
However on a node which doesn't have any time set, you can't check for this.
2021-08-10 22:50:20 +02:00
Ton Huisman e8be772e2e [P104] Reduce flashcounter on save, use LIMIT_BUILD_SIZE to fit in more features 2021-08-10 10:48:43 +02:00
Ton Huisman 830698531f [Build] Apply LIMIT_BUILD_SIZE for ESP8266 Display build to fit in more plugins 2021-08-10 10:37:07 +02:00
Ton Huisman 72ff62937a [P104] Updates to documentation 2021-08-09 21:29:18 +02:00
Ton Huisman a9faa407d1 [P104] Reworked saving and loading settings resolving stack issues 2021-08-09 17:16:23 +02:00
TD-er 03d430d64b [RTC lib] Makecentury bit unambiguous in C++ terms 2021-08-09 03:05:46 +02:00
TD-er 961a69a2e9 [Cache Controller] Allow to save sample time in local time
Default is to save it using Unix Time, but that may be hard to use later if you need local time.
2021-08-09 03:04:41 +02:00
Plebs da8027dcad patch for Safe Button and FHEM (#3739)
Patch for #3739.

Removed EVENT=4 for P001, P009 and P019
If an EVENT is needed, the pin should have MONITOR active.

SHOULD BE TESTED BEFORE MERGING.
2021-08-08 18:10:43 +02:00
TD-erandGitHub ddd7eb92ac Add 'client' to http.begin call
This is also present as function signature in core 2.5.0.
See: 
https://github.com/esp8266/Arduino/blob/951aeffa765605f30ae144a1075fac9c93fa199e/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h#L151
2021-08-08 16:42:34 +02:00
Ton Huisman e0758aeec9 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-08-08 16:36:17 +02:00
TD-erandGitHub 0d119d2c61 Merge pull request #3752 from letscontrolit/bugfix/RTClib_month
Fix setting month + century bit RTC lib
2021-08-08 14:47:05 +02:00
TD-erandGitHub a006edf5f4 Fix setting month + century bit RTC lib
As suggested by @uzi18
2021-08-08 11:45:06 +02:00
immiimmiandGitHub 266f5df241 Update P020_data_struct.cpp 2021-08-08 02:35:10 +02:00
immiimmiandGitHub 99fea60ac3 Update P020_data_struct.h 2021-08-08 02:34:12 +02:00
immiimmiandGitHub d29a2deabb Update _P020_Ser2Net.ino 2021-08-08 02:32:34 +02:00
TD-erandGitHub a437d2318a Merge pull request #3751 from tonhuisman/bugfix/rtc-ds3231-write-month-correctly
[RTClib] (Bugfix) Write month correctly to DS3231 (#3749)
2021-08-08 00:03:06 +02:00
immiimmiandGitHub d1bf817ec0 Update _P020_Ser2Net.ino 2021-08-07 19:59:09 +02:00
uwekaditz f3021d5834 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-08-07 19:05:52 +02:00
Ton Huisman 2d18d264e4 [RTClib] (Bugfix) Write month correctly to DS3231 (#3749) 2021-08-07 17:43:44 +02:00
Ton Huisman 56f72faaf5 [P104] Bugfixes, optimizations and phase 1 of improvements 2021-08-07 16:39:49 +02:00
immiimmiandGitHub fe2992f7e0 P020 bigger buffer needed
messages (e.g. from power metters) are longer than 256 bytes 
P020_DATAGRAM_MAX_SIZE  inncreased to 1024
2021-08-07 16:09:31 +02:00
immiimmiandGitHub 92e31957ae p20 fixed for esp8266; the pin will be resetted only if requested in the menu
serialhardware of esp8266
added menu for pin reset option
2021-08-07 16:05:26 +02:00
Ton Huisman 899acd7588 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-08-07 09:38:05 +02:00
Ton Huisman 71a2b19625 [P009] Code optimizations, remove duplicate 2021-08-07 09:36:54 +02:00
Ton Huisman 7b459472bd Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p007-enable-selectable-number-of-output-values 2021-08-07 08:52:31 +02:00
Ton Huisman bd341e2099 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p019-add-easier-address-and-port-selection 2021-08-07 08:52:16 +02:00
Ton Huisman 2be2ea04fb Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p009-add-easier-address-and-port-selection 2021-08-07 08:52:00 +02:00
Ton Huisman f336900452 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p008-add-option-for-reversed-decoding 2021-08-07 08:51:41 +02:00
Ton Huisman 46e5ade33a Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p105-move-aht10-from-playground 2021-08-07 08:51:03 +02:00
TD-erandGitHub d8bdcb4efb Merge branch 'mega' into feature/build_core_3_0_0 2021-08-07 02:25:07 +02:00
TD-erandGitHub 1e1435aaee Merge pull request #3708 from TD-er/cleanup/C014_Homie
Cleanup C014 Homie
2021-08-07 00:13:39 +02:00
TD-erandGitHub 713c345083 Merge pull request #3743 from TD-er/feature/taskvalueset_all_plugins
[TaskValueSet] Allow TaskValueSet on non-Dummy tasks (setting)
2021-08-07 00:06:06 +02:00
TD-erandGitHub 4f76677d88 Merge pull request #3744 from TD-er/bugfix/RFC952_hostname
[Hostname] Make generated hostname RFC952 compliant (#3723)
2021-08-07 00:05:34 +02:00
TD-erandGitHub 0d48bb55a4 Merge pull request #3615 from tonhuisman/feature/P065-add-mode-and-repeat-commands
[P065] Add mode and repeat commands
2021-08-06 23:10:12 +02:00
Ton Huisman a376277679 Merge branch 'feature/p104-new-plugin-max7219-dotmatrix' of https://github.com/tonhuisman/ESPEasy-1 into feature/p104-new-plugin-max7219-dotmatrix 2021-08-06 21:18:36 +02:00
Ton Huisman b86b9d79b0 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p016-correct-signed-conversion-to-unsigned 2021-08-06 21:16:25 +02:00
Ton Huisman 685283742a Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p008-add-option-for-reversed-decoding 2021-08-06 21:15:21 +02:00
Ton Huisman d7a29f5942 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p105-move-aht10-from-playground 2021-08-06 21:10:03 +02:00
Ton HuismanandGitHub d5123aa312 Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands 2021-08-06 20:50:23 +02:00
Ton Huisman 51ede14b08 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p009-add-easier-address-and-port-selection 2021-08-06 20:35:05 +02:00
Ton Huisman 1c807e89eb Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p007-enable-selectable-number-of-output-values 2021-08-06 20:28:01 +02:00
Ton Huisman 57789892eb Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p019-add-easier-address-and-port-selection 2021-08-06 20:27:32 +02:00
TD-erandGitHub 4b3d15aa46 Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-08-06 20:21:20 +02:00
TD-er f0faebcbd2 [Cleanup] Replace single character flash strings 2021-08-06 20:18:29 +02:00
Ton Huisman 136dc41a2d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p019-add-easier-address-and-port-selection 2021-08-06 20:17:11 +02:00
TD-erandGitHub 179091bc76 Merge branch 'mega' into cleanup/C014_Homie 2021-08-06 20:00:56 +02:00
TD-erandGitHub e25c7246d1 Merge pull request #3745 from TD-er/bugfix/format_decimals_formula
[Formula] Use correct nr of decimals in formula (#3721)
2021-08-06 20:00:14 +02:00
Ton Huisman 970bf8672b [P007] Updated documentation 2021-08-06 16:53:48 +02:00
TD-er df2312d611 [docs] Fix wrong topic length in docs. 2021-08-06 16:37:20 +02:00
TD-er a86a5330e9 [Formula] Add more documentation for formulas + examples 2021-08-06 16:28:24 +02:00
TD-er 6e591548fe [Formula] Allow using standard conversions and task values in formula 2021-08-06 16:28:06 +02:00
Ton Huisman a42fc2b862 [P007] PCF8591 Allow multiple output values in task 2021-08-06 15:22:14 +02:00
TD-er 9aa2d9d8bc [Formula] Use correct nr of decimals in formula (#3721)
Fixes: #3721
2021-08-06 13:12:38 +02:00
TD-erandGitHub 202a6af615 Merge branch 'mega' into feature/taskvalueset_all_plugins 2021-08-06 12:22:04 +02:00
TD-er 10569fad83 [Docs] Document "Allow TaskValueSet on all plugins" checkbox 2021-08-06 12:21:32 +02:00
TD-erandGitHub 01a46e4e50 Merge pull request #3734 from tonhuisman/feature/p007-add-easier-address-and-port-selection
[P007] PCF8591 Add easier I2C Address and port selection options
2021-08-06 12:11:44 +02:00
TD-erandGitHub f5f9f471e9 Merge pull request #3733 from tonhuisman/feature/i2c-scanner-show-plugin-name
[I2C Scanner] Show available device(s) for detected addresses
2021-08-06 12:09:21 +02:00
TD-er 064599db0f [Cleanup] Use Arduino isDigit and isAlphaNumeric functions 2021-08-06 12:05:10 +02:00
TD-er 593899d081 [Hostname] Make generated hostname RFC952 compliant (#3723)
Fixes: #3723
2021-08-06 12:03:43 +02:00
Ton Huisman 07f2d1c6c1 [I2C Scanner] Also check I2C Low Speed (is used by scanner) 2021-08-06 11:26:28 +02:00
Ton Huisman a7a8874b60 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/i2c-scanner-show-plugin-name 2021-08-06 11:23:04 +02:00
Ton Huisman 6dd0b99a9d [P065] Adjust documentation on mode command not always working as advertised 2021-08-06 11:16:44 +02:00
Ton Huisman 57d02a395b Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P065-add-mode-and-repeat-commands 2021-08-06 11:14:33 +02:00
TD-erandGitHub c05b239011 Merge pull request #3742 from clumsy-stefan/fix_metrics_build
Exclude not needed parts for USES_MQTT and WEBSERVER_METRICS
2021-08-06 10:17:43 +02:00
Ton Huisman 0117242bb5 Merge branch 'feature/P065-add-mode-and-repeat-commands' of https://github.com/tonhuisman/ESPEasy-1 into feature/P065-add-mode-and-repeat-commands 2021-08-06 09:30:50 +02:00
Ton Huisman bf4861d8bf Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P065-add-mode-and-repeat-commands 2021-08-06 09:30:29 +02:00
Ton Huisman 31963bd130 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-08-06 09:25:57 +02:00
Ton Huisman 19f1ccfd96 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p008-add-option-for-reversed-decoding 2021-08-06 09:25:41 +02:00
Ton Huisman 5f15c8576f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p105-move-aht10-from-playground 2021-08-06 09:25:31 +02:00
Ton Huisman 697a1e8973 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p009-add-easier-address-and-port-selection 2021-08-06 09:25:03 +02:00
Ton Huisman 0cd60ff55d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p016-correct-signed-conversion-to-unsigned 2021-08-06 09:24:39 +02:00
Ton Huisman 57170a5b94 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/i2c-scanner-show-plugin-name 2021-08-06 09:15:42 +02:00
stefan 39e6b8a351 Cleanup webserver_metrics
Remove unneeded lines
2021-08-06 09:15:41 +02:00
Ton Huisman 55fca7a6a3 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p019-add-easier-address-and-port-selection 2021-08-06 09:13:06 +02:00
TD-erandGitHub 57c1485310 Merge pull request #3740 from tonhuisman/bugfix/p108-correct-2-complement-values
[P108] DDS238 Fix 2-complement values (#3662)
2021-08-06 00:50:02 +02:00
TD-erandGitHub 0df609e285 Merge pull request #3737 from giig1967g/bugfix/3736
Fixed #3736
2021-08-06 00:49:06 +02:00
TD-er 054159efda [TaskValueSet] Allow TaskValueSet on non-Dummy tasks (setting)
As reported [here](https://github.com/TD-er/ESPEasy/commit/92f9006de6710c6b21eb71d60b089e7d9ed966be#r54477663) by @clumsy-stefan
2021-08-05 23:53:51 +02:00
Ton Huisman f029212b0a [I2C Scanner] Move refactored check into Settings struct 2021-08-05 22:07:10 +02:00
Ton Huisman 4e81dde351 [P108] Code improvements 2021-08-05 21:48:13 +02:00
Ton Huisman 1eff2fbcdf [P016] Remove unneeded #define, update change history 2021-08-05 21:07:33 +02:00
Ton Huisman 39d508d0a8 [IRremoteESP8266] Remove unneeded library files 2021-08-05 20:25:38 +02:00
stefan ea43d4e7ed Exclude not needed parts for USES_MQTT and WEBSERVER_METRICS
Exclude not needed code to save space (USES_MQTT) and make it compile again (WEBSERVER_METRICS).
2021-08-05 19:33:46 +02:00
Ton Huisman 4c5b516ad6 [P016] Fix memory allocation issues 2021-08-05 17:43:50 +02:00
Ton Huisman 54e207b930 [IRremoteESP8266] Update library to 2.7.19 (from 2.7.13) 2021-08-05 17:29:48 +02:00
Plebs 7fd9895b87 Updated plugin documentation 2021-08-05 15:50:49 +02:00
Ton Huisman d723b6fc5e Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p016-correct-signed-conversion-to-unsigned 2021-08-05 12:55:37 +02:00
Ton Huisman b2cf8ae560 [P108] DDS238 Fix 2-complement values (#3662) 2021-08-05 11:58:57 +02:00
Ton Huisman 4e6a68371b [P103] Fix silly typo :-( 2021-08-05 11:39:12 +02:00
Ton Huisman c86bf71599 [P103] Remove unsupported devices from I2C selection list 2021-08-05 11:00:12 +02:00
Ton Huisman 5b54527658 [I2C Scanner] Adjust errormessage, refactor checks into isI2CEnabled() 2021-08-05 10:55:28 +02:00
Ton Huisman d07758015c [P009] Correct off-by-1 error for Port setting (copy/paste error) 2021-08-04 22:04:22 +02:00
Ton Huisman 8213f26176 [I2C Scanner] Show proper message if no I2C pins configured 2021-08-04 22:01:34 +02:00
Ton Huisman 39a7200e14 [P009] Add documentation 2021-08-04 21:42:37 +02:00
Ton Huisman 5442467bd6 [P009] MCP23017 Add easier I2C Address and port selection options 2021-08-04 21:11:20 +02:00
Ton Huisman 437956d3a5 [I2C Scanner] Restore leaving most of feature out of OTA builds 2021-08-04 16:41:30 +02:00
Ton Huisman 7208eb86be [P109] Moved I2C address setting to designed plugin event, cleanup to use macros where appropriate 2021-08-04 16:25:34 +02:00
Ton Huisman f0f02052ec [P103] Moved I2C address setting to designed plugin event 2021-08-04 16:24:44 +02:00
Ton Huisman 591258a92c [I2C Scanner] Reworked to minimize use of Strings 2021-08-04 16:23:21 +02:00
Ton Huisman b3872fffef [P007] Avoid unneeded flash-string 2021-08-03 22:14:22 +02:00
Ton Huisman c7c3837b83 [P019] Avoid unneeded flash-string 2021-08-03 22:08:58 +02:00
Ton Huisman 988917089e [P019] Add documentation 2021-08-03 22:06:26 +02:00
Boris Krivonog 0c999a3b28 Fixed link to source, removed links to obsoleted urls, added simple changelog ... 2021-08-03 20:50:14 +02:00
Ton Huisman 230a514ee6 [P007] Add documentation 2021-08-03 20:40:44 +02:00
Plebs a62bdb84d9 Fixed #3736
Longpress for PCF8574 was working only once.
Longpress timer was not reset.
2021-08-03 18:47:58 +02:00
Ton Huisman 7eafab81c2 [P019] PCF8574 Add easier I2C Address and port selection options 2021-08-03 17:06:28 +02:00
Ton Huisman 983d6b5109 [P007] Correct off-by-1 error for Port setting 2021-08-03 17:02:59 +02:00
Ton Huisman d20d6b0b50 [P007] Add easier I2C Address and port selection options 2021-08-03 15:16:11 +02:00
Ton Huisman 5bc390670b [P105] Small improvements 2021-08-03 13:07:58 +02:00
Ton Huisman e2ebe041ca [I2C Scanner] Fix typo (swapped lines) 2021-08-03 11:34:25 +02:00
Ton Huisman eb5168692d [I2C Scanner] Show available device(s) for detected addresses 2021-08-03 11:20:39 +02:00
TD-er 625f973841 [SD log] Fix merge issue on log to SD 2021-08-02 22:14:23 +02:00
TD-erandGitHub 04e0416eca Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands 2021-08-02 21:53:38 +02:00
TD-erandGitHub d45c0f0600 Merge branch 'mega' into feature/build_core_3_0_0 2021-08-02 21:42:52 +02:00
Boris Krivonog 4896605961 Fixed json output. 2021-08-02 21:10:01 +02:00
Boris Krivonog 7728c2317c Added support for operating and compressor frequency. 2021-08-02 20:58:49 +02:00
Ton Huisman 6237247fb1 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p105-move-aht10-from-playground 2021-08-02 20:18:38 +02:00
TD-er 6829f22dd5 automatically updated release notes for mega-20210802 2021-08-02 16:16:24 +02:00
TD-erandGitHub 68d92bbf0a Merge pull request #3730 from tonhuisman/bugfix/task-commands-check-enabled
[Task commands] Check if task enabled before action (bugfix)
2021-08-02 16:10:46 +02:00
TD-er 1b022aa31d [Commands] Don't use newline in JSON value 2021-08-02 15:51:48 +02:00
Ton Huisman c04cb635c4 [P008] Format code minor improvement 2021-08-02 15:24:54 +02:00
Ton Huisman dd206c05d3 [P008] Format code using Uncrustify 2021-08-02 15:04:22 +02:00
Ton Huisman f76afa5128 [P008] Add 'Alternative decoding' option 2021-08-02 14:38:15 +02:00
Ton Huisman c7e0471b12 [Commands] Revert Failed to original case 2021-08-02 12:15:28 +02:00
Ton Huisman de1916a6f0 [Commands] Change OK, FAILED and new error messages to uppercase 2021-08-02 12:06:16 +02:00
Ton Huisman 2ec2b64369 [Commands] Fix camelcase typo 2021-08-02 10:17:47 +02:00
Ton Huisman 2ae6911c9d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/task-commands-check-enabled 2021-08-02 10:01:34 +02:00
Ton Huisman 3f0bfe88ce Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p105-move-aht10-from-playground 2021-08-02 09:58:41 +02:00
TD-er ade9968491 [Commands] Add feedback on other task commands 2021-08-02 02:30:03 +02:00
TD-er c47df642c4 [Commands] Output proper feedback on command execution 2021-08-02 02:13:17 +02:00
TD-er 70e78a5b86 Rename getDevicePluginID_from_TaskIndex to getPluginID_from_TaskIndex
Function name a bit more in line with similar functions.
2021-08-02 00:43:48 +02:00
TD-erandGitHub e6284e8cba Merge pull request #3729 from tonhuisman/bugfix/p033-return-true-on-plugin_init
[PLUGIN_INIT] Return true on PLUGIN_INIT so TaskEnable returns OK
2021-08-02 00:16:24 +02:00
Ton Huisman 08fb45f38e [PLUGIN_INIT] Fix remaining plugins missing the PLUGIN_INIT case 2021-08-01 23:37:03 +02:00
Ton Huisman 2a00905edc [Task commands] Check if task enabled before action 2021-08-01 23:29:24 +02:00
Ton Huisman 4220c6d34b [P033] Return true on PLUGIN_INIT so TaskEnable returns OK 2021-08-01 22:33:22 +02:00
Ton Huisman 49e04ee564 [P105] Small code improvement 2021-08-01 22:31:07 +02:00
Ton Huisman eac0dc00c0 [P104] Code optimizations 2021-08-01 21:53:32 +02:00
Ton Huisman d54fd366c2 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-08-01 21:03:43 +02:00
Ton Huisman 8b0a46af65 [P105] Update I2C Scanner to include AHT20/AHT21 2021-08-01 20:47:50 +02:00
Ton Huisman 11af99286f [P105] Code improvements, based on feedback 2021-08-01 20:10:39 +02:00
TD-er 019feedfbf [Cleanup] Do not use const char* as function argument for URLEncode 2021-08-01 18:20:44 +02:00
TD-er 8962407e11 [Framed OLED] Fix build issues with PLUGIN_036_DEBUG defined 2021-08-01 18:19:23 +02:00
TD-er a43531f6a1 [Logging] Don't use const char* as function argument
This has become quite complex now with flash strings and possible 2nd heap.
Both may need special care to parse characters, so better convert them to `String` before parsing char arrays so we know the correct memory access functions will be used.
2021-08-01 17:04:06 +02:00
Ton Huisman ba50f8f133 [P105] Replaced code by the 'other' AHT plugin from Playground, updated documentation, some other doc. fixes 2021-08-01 16:29:49 +02:00
TD-er 105bc22ad6 [Commands] Make sure commands are converted to String before executing
Otherwise one may get strange crashes when part of the command was run from 2nd heap.
2021-08-01 15:43:23 +02:00
TD-er 392eba68d6 [ser2net] Remove tricky temp char pointer use 2021-08-01 15:41:32 +02:00
TD-erandGitHub 1b140ba611 Merge branch 'mega' into feature/build_core_3_0_0 2021-08-01 14:30:06 +02:00
Ton Huisman e706b0fd5a Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p105-move-aht10-from-playground 2021-08-01 13:56:51 +02:00
TD-erandGitHub 61f50ad0a1 Merge branch 'mega' into cleanup/C014_Homie 2021-08-01 13:23:58 +02:00
TD-erandGitHub 8dee3a1a0d Merge pull request #3711 from Tall-Paul/feature-add-prometheus-exporter
added prometheus exporter on /metrics path
2021-08-01 13:23:23 +02:00
unknown a6346a3030 removed unused string definition 2021-08-01 12:04:13 +01:00
unknown a7a7f597ef Added ifdef, updated image name as per PR comments 2021-08-01 11:41:00 +01:00
unknown 566a2e22ea Added prometheus documentation 2021-08-01 11:30:49 +01:00
uwekaditz e1e720e98c Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-08-01 11:59:16 +02:00
Tall-PaulandGitHub d173af6147 Merge branch 'letscontrolit:mega' into feature-add-prometheus-exporter 2021-08-01 10:56:19 +01:00
TD-erandGitHub 04cbbe3dee Merge pull request #3681 from tonhuisman/bugfix/trigonometric-functions-in-normal-1M
[Build] Include Trigonometric functions also in 1M Normal builds
2021-07-31 22:56:38 +02:00
TD-erandGitHub 9fe9495323 Merge branch 'mega' into bugfix/trigonometric-functions-in-normal-1M 2021-07-31 22:54:37 +02:00
TD-erandGitHub 5235149a12 Merge pull request #3707 from tonhuisman/feature/p053-add-support-for-pms5003st-pms2003-pms3003
[P053] Add support for PMS5003ST, PMS2003 and PMS3003
2021-07-31 22:47:00 +02:00
Ton HuismanandGitHub b9796649fd Merge branch 'mega' into feature/p105-move-aht10-from-playground 2021-07-31 21:13:55 +02:00
TD-erandGitHub 32a7483876 Merge pull request #3714 from tonhuisman/feature/show-release-date-in-header
[UI] Show build (date) in footer (or header)
2021-07-31 21:09:25 +02:00
TD-erandGitHub 24174f2c93 Merge branch 'mega' into feature/show-release-date-in-header 2021-07-31 21:08:31 +02:00
TD-erandGitHub 5f1aa7fb94 Merge pull request #3710 from Tall-Paul/fix-post-esp32
fix for building esp32 firmware from directory with space in name
2021-07-31 21:02:01 +02:00
TD-erandGitHub 72dbb10158 Merge pull request #3727 from TD-er/build/Exclude_RTC_small_builds
[Custom build] Make external RTC optional via USE_EXT_RTC define
2021-07-31 20:59:46 +02:00
TD-erandGitHub 600420df0d Merge branch 'mega' into build/Exclude_RTC_small_builds 2021-07-31 20:59:36 +02:00
TD-erandGitHub 88ec6e672c Merge pull request #3725 from kretzp/feature/AtlasEZOPlugins_pH_EC_ORP
[Atlas EZO EC pH ORP] added device name to I2C address scan, reorgani..
2021-07-31 20:59:03 +02:00
TD-erandGitHub b19bbb5a97 Merge pull request #3726 from tonhuisman/bugfix/taskvalueset-only-for-dummy-device
[TaskValueSet] Only allowed for Dummy Device (bugfix)
2021-07-31 20:58:37 +02:00
Ton Huisman 02e38ecb84 [P105] Add AHT10 to I2C scanner 2021-07-31 19:45:26 +02:00
Ton Huisman 155955c525 [TaskValueSet] Remove not needed include 2021-07-31 18:07:03 +02:00
Ton Huisman f03a4e5f4c [TaskValueSet] Rename and move new support function to Plugin.h/cpp 2021-07-31 18:04:25 +02:00
Ton Huisman f070812813 [P105] Update Custom-sample.h plugin comment 2021-07-31 17:03:21 +02:00
TD-er 57a9c38833 [Custom build] Make external RTC optional via USE_EXT_RTC define
Saves almost 5k in build size when not used.
2021-07-31 16:56:05 +02:00
Ton Huisman b760fd139a [UI] Move Github Releases link define to ESPEasyDefaults.h 2021-07-31 16:55:41 +02:00
Ton Huisman 92f9006de6 [TaskValueSet] Only allowed for Dummy Device (bugfix) 2021-07-31 16:48:35 +02:00
Peter KretzandGitHub ff37bd32b8 Commented Atlas EZO Plugin in Custom sample 2021-07-31 15:17:29 +02:00
Peter Kretz 2fedaac363 [Atlas EZO EC pH ORP] added device name to I2C address scan, reorganized plugin in Custom build 2021-07-31 14:58:32 +02:00
Ton Huisman 1b6d5ebac0 [P105] Complete the documentation 2021-07-31 14:03:41 +02:00
Ton Huisman 0bb0d93f4a [P105] Check for other I2C devices and show warning on device settings 2021-07-31 14:02:52 +02:00
Ton Huisman b5cc9cd718 [UI] Fix compiler warning 2021-07-31 10:57:13 +02:00
Ton HuismanandGitHub b2ae0d446b Merge branch 'mega' into feature/show-release-date-in-header 2021-07-31 10:53:51 +02:00
Ton Huisman ebf117b9b2 [UI] Small source improvement 2021-07-31 10:49:27 +02:00
Ton Huisman dbca412019 [UI] Open Releases link in new tab, show tooltip on hover 2021-07-31 10:36:09 +02:00
Ton Huisman 53450f6d30 [UI] Build name/date is link to Github Releases page 2021-07-30 20:17:14 +02:00
Ton Huisman 4df4d77e8b [P105] Move AHT10 plugin from PlayGround 2021-07-29 22:41:08 +02:00
TD-er e8f733c153 [Core 3.0.x] Update all references to core_3_0_2 2021-07-29 02:54:00 +02:00
TD-er 2540bc5a22 Let toString(UnaryOperator op) output FlashString
Otherwise crash may occur due to accessing wrong memory area.
2021-07-29 02:23:17 +02:00
TD-erandGitHub 3089db70ae Merge branch 'mega' into feature/ESP32_S2_support 2021-07-29 00:59:05 +02:00
TD-erandGitHub 2b418f6673 Merge pull request #3720 from tonhuisman/bugfix/esp32-deepsleep-max-duration
[ESP32] Fix maximum deepsleep time for ESP32
2021-07-29 00:36:21 +02:00
TD-er 1ab187e4a3 [Cleanup] Include ESPEasyLimits.h where MAX_GPIO is used 2021-07-28 23:54:07 +02:00
TD-er 1e8a434d40 [Cleanup] Check for validGpio using new function
Better to have a single function to check for valid GPIO pin instead of all kinds of checks like `!= -1` or `>= 0` or `> -1` etc.
2021-07-28 22:38:52 +02:00
TD-er 617d855229 [ESP32-S2] Use proper WiFi event ids for IDF > 3 2021-07-28 22:27:25 +02:00
Ton Huisman bdb4f7be53 [UI] Show build date in header, add build date to build filename in footer 2021-07-28 21:23:58 +02:00
TD-er 135810746c [ESP32-S2] Add touch pins to ESP32Touch plugin + check valid GPIO I2C 2021-07-28 20:34:36 +02:00
TD-er c81249f40e [ESP32-S2] Fix build warnings + set ESPEasySerial lib to 2.0.6 for ESP32 2021-07-28 11:15:41 +02:00
Ton Huisman 6664ad92c9 [P053] Minor improvements 2021-07-27 22:28:00 +02:00
Ton Huisman f06af40b78 [ESP32] Fix maximum deepsleep time for ESP32 2021-07-27 21:26:10 +02:00
TD-er 853dff15af [PIO] Force ESPEasySerial to update to @ 2.0.6 2021-07-27 21:15:42 +02:00
TD-er d1ca7f3b60 [core 3.0.2] Update to esp8266/Arduino 3.0.2 2021-07-27 21:00:24 +02:00
TD-erandGitHub f2c6db1507 Merge branch 'mega' into feature/build_core_3_0_0 2021-07-27 20:47:55 +02:00
Ton Huisman 1c6075b423 [P053] Correct reading from PMS2003/PMS3003, minor improvements 2021-07-27 20:14:10 +02:00
TD-er 6674c968b5 ESPEasySerial to 2.0.6 to support ESP32-S2 2021-07-27 17:37:13 +02:00
TD-er 8937bf6b81 [ESP32-S2] Add GPIO definitions for ESP32-S2 2021-07-27 00:38:20 +02:00
Ton Huisman 11224371ab [UI] Only show Build in footer 2021-07-26 22:28:41 +02:00
Ton Huisman 06b88e1c67 [UI] Allow Build date/name in either Header or Footer 2021-07-26 21:54:38 +02:00
TD-er c7551f63d5 [ESP32-S2] Compute LogStruct size for new String size
Apparently the `String` object now is 4 bytes larger compared to before.
2021-07-26 21:53:30 +02:00
Ton Huisman 3ac0bf75af Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/show-release-date-in-header 2021-07-26 20:31:55 +02:00
Ton Huisman 7dc66aca7c Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p053-add-support-for-pms5003st-pms2003-pms3003 2021-07-26 20:27:09 +02:00
Ton Huisman dbbc992cd7 [P053] Limit disabling new features to 1M OTA builds 2021-07-26 20:26:51 +02:00
TD-er 501055bcf1 [ESP32-S2] Changed struct sizes for esp32-2.0.0-pre 2021-07-26 20:16:22 +02:00
TD-er fea939b423 [ESP32-S2] Add missing includes 2021-07-26 20:15:47 +02:00
TD-er ffe20ee16c [ESP32-S2] Make it compile against esp32-2.0.0-pre 2021-07-26 20:15:09 +02:00
uwekaditz d88fab7dc9 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-07-26 20:10:09 +02:00
TD-erandGitHub db4cb4459d Merge branch 'mega' into feature/ESP32_S2_support 2021-07-26 18:17:56 +02:00
TD-er 5c92cfa7d7 [Prometheus] Add text/plain as header 2021-07-26 16:14:35 +02:00
TD-erandGitHub 6d9bb18718 Merge branch 'mega' into mega 2021-07-26 02:56:13 +02:00
TD-erandGitHub 0e8f5330d2 Merge pull request #3718 from TD-er/bugfix/P109_SPIFFS
[P109] Fix issue with SPIFFS vs LittleFS
2021-07-26 02:55:37 +02:00
TD-er 4fac4ab49d [P109] Disabled also for "testing B" builds due to size. 2021-07-26 02:38:30 +02:00
TD-er 89781aa52d [P109] Remove it from "display" build due to build size 2021-07-26 02:21:11 +02:00
TD-er 5e279c38ec [P109] Uncrustify ThermoOLED plugin 2021-07-26 02:08:48 +02:00
TD-er baa3a0bca4 [P109] Fix issue with SPIFFS vs LittleFS 2021-07-26 02:07:08 +02:00
TD-erandGitHub b3aff785cb Merge branch 'mega' into mega 2021-07-26 01:40:05 +02:00
TD-erandGitHub 2e79682265 Merge pull request #3393 from TD-er/feature/Playground_P168_ThermoOLED
[Playground] Move P168_ThermoOLED.ino to main repo
2021-07-26 01:27:39 +02:00
TD-erandGitHub 07da8cf923 Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands 2021-07-26 01:22:33 +02:00
Ton Huisman e8e65ad049 [UI] Show release date in header 2021-07-25 16:18:52 +02:00
Ton Huisman 716f9b9266 [P053] Correct typos in the measurement units 2021-07-25 15:06:30 +02:00
Ton Huisman 93d50fca79 [P053] Update documentation 2021-07-25 14:23:14 +02:00
Ton Huisman 6792f31b90 [P053] Correct unit terminology, improvements and fixes 2021-07-25 14:22:42 +02:00
Ton Huisman ef66d732f1 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p053-add-support-for-pms5003st-pms2003-pms3003 2021-07-25 13:17:02 +02:00
TD-erandGitHub f9b59bbc1c Merge pull request #3713 from TD-er/build/missing_includes
[TimeSource] Move ExtTimeSource_e to TimeSource.h to fix includes
2021-07-24 22:18:12 +02:00
Ton Huisman e80c7e41d7 [P053] Add count of particles per 0.1L options to plugin, update documentation 2021-07-24 22:02:41 +02:00
TD-er 1182309674 [TimeSource] Move ExtTimeSource_e to TimeSource.h to fix includes 2021-07-24 21:55:15 +02:00
TD-er 8c6cb293df [PIO] Fix merge issue 2021-07-24 21:16:48 +02:00
TD-erandGitHub 1e056ab494 Merge branch 'mega' into feature/build_core_3_0_0 2021-07-24 14:31:15 +02:00
Ton Huisman 07cc839e7d [P053] Documentation (partly transplanted from the wiki) 2021-07-23 21:31:20 +02:00
Ton Huisman 1d090b632f [P053] Only generate events when Rules enabled 2021-07-23 21:29:04 +02:00
Ton Huisman d7e83f7660 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p053-add-support-for-pms5003st-pms2003-pms3003 2021-07-23 21:28:20 +02:00
TD-erandGitHub 0f3f2d5cdb Merge pull request #3712 from tonhuisman/feature/add-urlencode-function-and-dns1-dns2-sysvars
[Sysvars] Add %dns1% and %dns2% sysvars and urlencode stringfunction
2021-07-22 21:53:07 +02:00
Ton Huisman 9ea0ab7c38 [Sysvars] Correct typo in documentation 2021-07-22 20:50:29 +02:00
Ton Huisman 47cbc0c131 [Sysvars] Add %dns1% and %dns2% sysvars and urlencode stringfunction 2021-07-22 20:45:39 +02:00
unknown 8d0e2aa8e5 Merge branch 'feature-add-prometheus-exporter' of https://github.com/Tall-Paul/ESPEasy into feature-add-prometheus-exporter 2021-07-22 17:28:36 +01:00
unknown d8922118f7 more PR fixes 2021-07-22 17:27:52 +01:00
Tall-PaulandGitHub 04ddd93bc1 Merge branch 'mega' into feature-add-prometheus-exporter 2021-07-22 16:22:10 +01:00
unknown 5035b6efe8 Merge branch 'feature-add-prometheus-exporter' of https://github.com/Tall-Paul/ESPEasy into feature-add-prometheus-exporter 2021-07-22 16:19:02 +01:00
Paul Berryandunknown f102556b54 added prometheus exporter on /metrics path
shows basic info (load, wifi strength, free memory etc) and device values

fixes from PR
2021-07-22 16:18:36 +01:00
unknown 6d45da561a fixes from PR 2021-07-22 16:17:40 +01:00
Paul Berryandunknown d26d27ac8b added prometheus exporter on /metrics path
shows basic info (load, wifi strength, free memory etc) and device values
2021-07-22 14:20:51 +01:00
TD-erandGitHub 39ccd0d74e Merge pull request #3709 from TD-er/feature/DS1307_RTC
[DS1307] Add support for external RTC clock DS1307
2021-07-22 11:33:05 +02:00
unknown 59fc7da2f9 fix for building esp32 firmware from directory with space in name 2021-07-21 21:19:09 +01:00
TD-erandGitHub c404d519ab Merge branch 'mega' into feature/DS1307_RTC 2021-07-21 00:37:13 +02:00
TD-er 4a4aa2dc08 [Ext. RTC] Document external RTC chip support 2021-07-21 00:36:35 +02:00
TD-er 8bf8653d16 [Ext.RTC] Make sure time is set immediately when received from ext. src 2021-07-21 00:06:36 +02:00
Ton Huisman 97698fd030 [P016] Reformatted source (uncrustify) 2021-07-20 23:03:09 +02:00
Ton Huisman 5e7601d40b Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p016-correct-signed-conversion-to-unsigned 2021-07-20 21:38:30 +02:00
Ton Huisman 60d43fb7d8 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-07-20 20:11:14 +02:00
TD-erandGitHub c057a602f8 Fix TSL2591 overflow at high Lux values
See [forum](https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=8652&p=53935#p53935)
2021-07-20 19:53:20 +02:00
TD-er 5c5a3590f4 [Ext. RTC] Fix some library bugs and add some validity checks 2021-07-20 19:44:38 +02:00
TD-er 4b79de94f7 [Ext. RTC] Show time source + I2C scan result 2021-07-20 18:17:59 +02:00
TD-er b0c695941f [Ext. RTC] Fix reading from RTC module 2021-07-20 16:39:21 +02:00
TD-er 73db556269 [Build] Do not use PIO library finder for RTClib (TinyWireM issues) 2021-07-20 00:25:32 +02:00
TD-er bdbe9e7200 [Build] Lib_ignore TinyWireM for all envs 2021-07-20 00:13:40 +02:00
TD-er 3e74fde010 [RTClib] Remove TinyWireM from depends 2021-07-20 00:01:02 +02:00
TD-er e9c5389446 [Build] Add TinyWireM to lib_ignore to prevent build issues. 2021-07-19 23:26:43 +02:00
TD-er 366ba13f11 [RTClib] Add lib/Adafruit_RTClib 2021-07-19 22:52:07 +02:00
TD-er 2451fe56f2 [Ext. RTC] Use Adafruit library to support DS1307/DS3231/PCF8523 2021-07-19 22:36:46 +02:00
Ton Huisman d23c242e3b [P104] Fix compilation error after merge 2021-07-19 22:21:30 +02:00
Ton HuismanandGitHub 045af68740 Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-07-19 22:11:07 +02:00
TD-erandGitHub bb45fa84a3 Merge pull request #3641 from tonhuisman/feature/ui-add-optional-tooltip-for-input-controls
[UI] Enable optional tooltip for most input controls
2021-07-19 20:49:47 +02:00
Ton HuismanandGitHub cd186a86fe Merge branch 'mega' into feature/ui-add-optional-tooltip-for-input-controls 2021-07-19 20:22:14 +02:00
TD-er 047042cf51 [DS1307] Add support for external RTC clock DS1307
ToDo:

- [ ] Test
- [ ] Document
2021-07-19 02:51:18 +02:00
TD-erandGitHub 7f75c70ecb Merge pull request #3706 from tonhuisman/bugfix/domoticz-mqtt-svalue-needs-quoted-value
[Domoticz MQTT] Always wrap svalue with quotes
2021-07-19 00:19:52 +02:00
TD-er 5d5a0dee34 [C014] Cleanup calls to CPlugin_014_sendMQTTnode not using F() 2021-07-19 00:11:35 +02:00
TD-er 37d4dc0450 [C014] Cleanup calls to CPlugin_014_sendMQTTdevice not using F() 2021-07-18 23:33:47 +02:00
Ton HuismanandGitHub 0b9a9cc40f Merge branch 'mega' into bugfix/trigonometric-functions-in-normal-1M 2021-07-18 23:06:13 +02:00
Ton Huisman 7e2dfb62e3 [P104] Reformatted source (uncrustify needed an update) 2021-07-18 22:03:02 +02:00
Ton Huisman 26ebdcd318 [P104] Suggested small code optimizations 2021-07-18 20:20:15 +02:00
Ton Huisman 3dbc2d6a8e [P104] Small improvements, check modules count on save 2021-07-18 14:12:18 +02:00
TD-er 89030efc3a [Cleanup] C014 Log entries using F() 2021-07-18 13:48:10 +02:00
TD-er 8c1a205c63 [Cleanup] Uncrustify C014 Homie 2021-07-18 13:24:55 +02:00
Ton Huisman 159d2fbcaf Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/ui-add-optional-tooltip-for-input-controls 2021-07-18 12:57:05 +02:00
TD-erandGitHub 960512a66e Merge branch 'mega' into feature/ESP32_S2_support 2021-07-18 12:42:48 +02:00
Ton Huisman 2dd18003b1 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-07-17 20:23:18 +02:00
Ton Huisman 2b195b43fb Merge branch 'bugfix/domoticz-mqtt-svalue-needs-quoted-value' of https://github.com/tonhuisman/ESPEasy-1 into bugfix/domoticz-mqtt-svalue-needs-quoted-value 2021-07-17 20:22:04 +02:00
Ton Huisman 4df8e94a8c Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/domoticz-mqtt-svalue-needs-quoted-value 2021-07-17 20:21:40 +02:00
Ton Huisman cbf8fa4b73 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p053-add-support-for-pms5003st-pms2003-pms3003 2021-07-17 20:20:09 +02:00
TD-er d29e398867 Fix build issue with updated Adafruit BusIO library 2021-07-17 20:09:55 +02:00
TD-erandGitHub c7e4d3a96b Merge branch 'mega' into feature/build_core_3_0_0 2021-07-17 19:24:41 +02:00
Ton Huisman 9aa9d94ae1 [P053] Add support for PMS5003ST, PMS2003 and PMS3003 2021-07-17 19:24:03 +02:00
TD-erandGitHub 57097b1017 Merge pull request #3684 from tonhuisman/feature/p026-add-send-events-option
[P036] Add Generate Events option for Display and Contrast and shave off a few .bin bytes
2021-07-17 19:05:47 +02:00
TD-erandGitHub 7e32cae3a0 Merge pull request #3683 from tonhuisman/feature/p057-support-period-to-display
[P057] Add support for periods in display
2021-07-17 19:04:53 +02:00
Ton HuismanandGitHub 911d71c287 Merge branch 'mega' into bugfix/domoticz-mqtt-svalue-needs-quoted-value 2021-07-17 17:09:01 +02:00
Ton HuismanandGitHub ebaddc9561 Merge branch 'mega' into feature/p026-add-send-events-option 2021-07-17 15:54:41 +02:00
Ton HuismanandGitHub 51b5e0b9c1 Merge branch 'mega' into feature/p057-support-period-to-display 2021-07-17 15:46:17 +02:00
TD-er 5842889b08 [Tooltips] Fix merge issues 2021-07-17 15:35:46 +02:00
TD-erandGitHub a40213d39d Merge branch 'mega' into feature/ui-add-optional-tooltip-for-input-controls 2021-07-17 14:37:20 +02:00
TD-erandGitHub 37eac30d93 Merge pull request #3702 from TD-er/bugfix/WiFi_connect
[WiFi] Fix scan issue, causing failed connections
2021-07-17 14:28:52 +02:00
Ton Huisman 7ec426231d [Domoticz MQTT] Always wrap svalue with quotes 2021-07-16 20:54:40 +02:00
Ton Huisman 4e24e4f0e7 [P104] Bugfixes, add Text reverse option, update documentation 2021-07-14 21:56:49 +02:00
Ton Huisman 7dd7235966 [P104] Documentation - Add font overviews 2021-07-13 22:14:37 +02:00
TD-er f17f0dea95 [WiFi] Fix build issue 2021-07-13 00:51:47 +02:00
Ton Huisman 366271bec6 [P104] Small optimizations, resolve some typos, documentation improvements 2021-07-12 22:19:20 +02:00
TD-er 4069b26a34 [WiFi] Try to connect right after WiFi scan found known APs 2021-07-12 22:00:58 +02:00
TD-er e9859e9352 [Security Settings] Add alignment checks at compile time. 2021-07-12 22:00:11 +02:00
TD-er 620b02a119 [WiFi] Clear wifiConnectInProgress when prepare WiFi failed 2021-07-12 14:35:33 +02:00
TD-er 7e94aeb4e0 [WiFi] No need to disable interrupts when connecting WiFi
As it is already done in the Arduino code calls
2021-07-12 12:17:04 +02:00
TD-er e675e833b6 [WiFi] Fix WiFi need to connect flag not always set 2021-07-12 11:42:45 +02:00
TD-er 5ef6eefd4c [WiFi] Fix scan issue, causing failed connections 2021-07-12 11:42:34 +02:00
Ton Huisman fb086ca555 [P104] Add documentation for Max7219 Dot matrix display 2021-07-11 20:30:46 +02:00
Ton Huisman 473e8bec19 [P104] Add 'p', comma and dash to num. double height font, some UI improvements 2021-07-11 19:37:01 +02:00
Ton Huisman 3c7a70fdf6 [P104] Limit settxt and setbar commands to max. input length 2021-07-11 15:02:30 +02:00
Ton Huisman 805e9b3a79 [P104] Allow up to 255 modules per zone. 2021-07-11 14:33:04 +02:00
TD-er 702885cd9a Add custom_beta_IR_ESP8266_4M1M build env 2021-07-09 11:25:46 +02:00
TD-erandGitHub 6ad58484a7 Merge branch 'mega' into feature/build_core_3_0_0 2021-07-09 11:22:41 +02:00
Ton Huisman d8c454c2ca [P104] Bugfixes and improvements 2021-07-08 21:25:51 +02:00
Ton Huisman 6ab1a31ac8 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-07-08 20:51:34 +02:00
TD-erandGitHub 2c6a742205 [TinyGPS] TinyGPSCustom::valid was not initialized 2021-07-07 20:04:51 +02:00
TD-erandGitHub e11cab8167 [Bug] EnableTimingStats DoNotStartAP used same bit
The new EnableTimingStats used the same bit as DoNotStartAP.
2021-07-07 19:47:05 +02:00
Ton HuismanandGitHub d528a28375 Merge branch 'mega' into bugfix/trigonometric-functions-in-normal-1M 2021-07-06 20:32:20 +02:00
Ton Huisman 901d930005 Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-07-05 21:23:00 +02:00
Ton Huisman 5dab932c9e [P104] Bugfixes and minor improvements 2021-07-05 21:21:44 +02:00
uwekaditz 1c58c455e5 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-07-05 17:41:47 +02:00
TD-erandGitHub 25132ef18d Merge pull request #3699 from TD-er/feature/ESP32_pio_3.3.0
[ESP32 3.3.0] Update to PlatformIO ESP32 3.3.0
2021-07-05 10:31:13 +02:00
TD-erandGitHub 42c60b55ea Merge branch 'mega' into feature/ESP32_S2_support 2021-07-05 09:52:46 +02:00
TD-erandGitHub 5bd975bed3 Merge branch 'mega' into bugfix/I2C_freeze 2021-07-05 09:48:14 +02:00
TD-erandGitHub 3845aa359b Merge branch 'mega' into feature/PWM_motor 2021-07-05 09:48:00 +02:00
TD-er 92e5ba82d3 [ESP32 3.3.0] Update to PlatformIO ESP32 3.3.0
+ prepare to be able to build stage code for IDF 4.3.0
2021-07-05 01:26:49 +02:00
Ton HuismanandGitHub 1ad21920ee Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-07-03 21:34:48 +02:00
TD-erandGitHub bec61ca54a Merge branch 'mega' into feature/build_core_3_0_0 2021-07-03 21:18:46 +02:00
TD-erandGitHub 74901b1573 Merge pull request #3698 from TD-er/bugfix/byte_uint8_t
[Cleanup] Use of "byte" as a type. uint8_t or (C++17) std::byte are better
2021-07-03 21:16:47 +02:00
Ton Huisman 2d6a3440f2 [P104] Add Actions column, add Zone order, many bugfixes and improvements 2021-07-03 21:08:23 +02:00
Ton Huisman 5c74cbb0ad Merge branch 'mega' into feature/p104-new-plugin-max7219-dotmatrix 2021-07-03 17:28:00 +02:00
TD-er 1341d7c706 [ESP32] Fix merge issue 2021-07-03 01:07:10 +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 4e35f412e6 [Libs] Don't use "byte" as type anymore 2021-07-03 00:49:41 +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
TD-erandGitHub 105a6eaa4e Merge branch 'mega' into feature/build_core_3_0_0 2021-07-03 00:45:24 +02:00
TD-erandGitHub 8cea0af578 Merge pull request #3697 from TD-er/bugfix/Fixes_core_300_pr
Fixes taken from 'core 3.0.0' PR
2021-07-03 00:40:55 +02:00
TD-er 0332362166 [Mutex] Fix no longer using fishy assembly for ESP8266 mutex 2021-07-02 21:20:24 +02:00
TD-er 66a01b901a Fix build issue on ESP32 (ETS_UART_INTR_DISABLE is ESP8266 only) 2021-07-02 21:16:42 +02:00
TD-er c9079140c8 Fix merge issues 2021-07-02 19:40:30 +02:00
TD-er be96a97bb6 [Framed OLED] Reduce memory usage slightly. 2021-07-02 19:29:50 +02:00
TD-er 64e3c4a58a [Memory] Allow to disable collecting timing stats to save RAM 2021-07-02 19:29:38 +02:00
TD-er 71fcf791c4 Fix uninitialised members of RegExp 2021-07-02 19:29:30 +02:00
TD-er d831a6e573 [LoRaWAN] Fix crash when LoRa or serial could not be allocated 2021-07-02 19:29:20 +02:00
TD-er 4a0d1a04d9 [Cleanup] Fix return value in MQTT Publish command 2021-07-02 19:29:10 +02:00
TD-er 22e74f4774 [Cleanup] Fix bugs reported by PVS Studio 2021-07-02 19:28:55 +02:00
TD-er d1aa4a39ab [Cleanup] Fix some possible uninitialised members & other loose ends 2021-07-02 19:28:39 +02:00
TD-er ff28408388 [WebUI] Allow slightly longer flash strings to be sent in a single chunk 2021-07-02 19:25:55 +02:00
TD-er 605558bc82 [Web UI] Update served static files 2021-07-02 19:25:33 +02:00
TD-er b0022f6dbf [Cleanup] Wrap strings in F() 2021-07-02 19:25:22 +02:00
TD-er 3104d3c603 [Numerical] Fix bug where "-" is considered numerical 2021-07-02 19:25:05 +02:00
TD-er 8d3126f31e [Cleanup] Keep flash string when executing internal commands
This did cause a crash when fetching an event from the 2nd heap.
2021-07-02 19:22:56 +02:00
TD-er 92f2ee1440 [WiFi] Allow longer scan time per channel 2021-07-02 19:22:14 +02:00
TD-er b6da32a7ff [Framed OLED] Reduce memory usage slightly. 2021-07-02 19:18:44 +02:00
TD-er b596799ec8 [Memory] Allow to disable collecting timing stats to save RAM 2021-07-02 14:41:18 +02:00
Ton HuismanandGitHub 2b3e2b0856 Merge branch 'mega' into feature/p026-add-send-events-option 2021-07-02 13:45:29 +02:00
TD-er 8a394ef4b1 Fix uninitialised members of RegExp 2021-07-02 10:46:57 +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 3634365ae4 [Libs] Don't use "byte" as type anymore 2021-07-02 09:57:03 +02:00
TD-er 989bf74d50 [LoRaWAN] Fix crash when LoRa or serial could not be allocated 2021-07-02 09:18:21 +02:00
TD-er 17e7d68fa0 [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-02 09:01:17 +02:00
TD-er 92ca4d578a [Cleanup] Fix return value in MQTT Publish command 2021-07-02 08:43:05 +02:00
TD-er bebdfd124d [Memory] Fix reboot on 2nd heap sorting plugins 2021-07-01 01:10:39 +02:00
TD-er bef55f6927 [Cleanup] Fix bugs reported by PVS Studio 2021-07-01 00:39:54 +02:00
TD-er 6abcb71756 [Cleanup] Fix some possible uninitialised members & other loose ends 2021-06-30 23:12:43 +02:00
TD-er 729e7e29cb Move to esp8266/Arduino @ 3.0.1 2021-06-30 16:43:28 +02:00
TD-er 4188181491 [Memory] Store more runtime data in 2nd heap 2021-06-30 16:42:40 +02:00
TD-er 45e6b53f0d [Memory] Fix web log buffer using 2nd heap
No need to wait till after setup(), those crashes were cause by building issues
2021-06-30 12:56:20 +02:00
TD-er 6c2dc74bdb [PIO] Cleanup use of build_unflags 2021-06-30 09:42:46 +02:00
TD-er 5a7ac1625e [WebUI] Allow slightly longer flash strings to be sent in a single chunk 2021-06-30 09:33:55 +02:00
TD-er 613a9a2a43 [PIO] Set build_unflags for all esp8266 build envs 2021-06-30 09:32:58 +02:00
Ton Huisman 069a81a13e [P104] Re-enble commands for 'display' build, many bugfixes 2021-06-29 22:32:00 +02:00
TD-erandGitHub 426fc36173 Merge branch 'mega' into feature/build_core_3_0_0 2021-06-29 13:03:52 +02:00
TD-er 0298946a4c [Memory] Core 3.0.0 = SDK3, Beta = staging + 2nd heap 2021-06-29 11:32:38 +02:00
TD-er 931c55d907 [Memory] Fix crashes on serving flash strings with 2nd heap active 2021-06-29 11:15:20 +02:00
TD-er 86e3670b1a [Web UI] Update served static files 2021-06-29 10:46:58 +02:00
TD-er 5790fc0480 [Cleanup] Wrap strings in F() 2021-06-29 10:45:57 +02:00
TD-er 132e42c4bb [Numerical] Fix bug where "-" is considered numerical 2021-06-29 00:00:46 +02:00
TD-er e2f5bb42c2 [Framed OLED] Fix crashes when using 2nd heap 2021-06-28 13:34:39 +02:00
TD-er d27b2a8e67 [WiFi scan] Push scans to temp list first to store in 2nd heap
Eliminating the need for a lock
2021-06-28 12:07:46 +02:00
TD-er 40e9e9d25e [2nd heap] Make sure DRAM heap is selected when making [CN]Plugin calls 2021-06-28 11:22:22 +02:00
TD-er 0a48496bfc [PIO libs] Update Adafruit BusIO to 1.8.1
Otherwise linker issues may occur if the 1.7.5 was still present
2021-06-28 11:21:22 +02:00
Ton Huisman 2ed7eb489c [P104] Implement 'direction' and 'barType' options for Bar-graph, many bugfixes 2021-06-27 21:38:24 +02:00
Ton Huisman 63adf8e7b9 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-06-27 20:16:30 +02:00
uwekaditz 271477ba8c Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-06-27 17:37:24 +02:00
TD-erandGitHub 167383a523 Merge pull request #3691 from TD-er/bugfix/deepsleep
[DeepSleep] Turn off WiFi before DeepSleep + limit max. deepsleep
2021-06-27 15:34:06 +02:00
Ton Huisman a522575389 [P104] Add update command, bugfixes and improvements 2021-06-26 10:57:50 +02:00
TD-er e8a3e94d8b [Mutex] Fix no longer using fishy assembly for ESP8266 mutex 2021-06-26 02:16:09 +02:00
Ton Huisman 369c3c5c26 [P104] Add Bar-graph support and bar/setbar commands 2021-06-25 22:24:47 +02:00
Ton Huisman 514cdbc198 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-06-25 20:17:16 +02:00
TD-erandGitHub 5879d3c449 Merge pull request #3694 from TD-er/bugfix/reduce_mem_size
Reduce build size (PSTR alignment) & memory usage web server
2021-06-25 20:07:29 +02:00
TD-er fb77967150 [Webserver] Fix unneeded copy of object when serving data(#3693) 2021-06-25 19:31:53 +02:00
TD-er 381fde76e2 [Reduce size] Add build flag to remove the 4-bytes alignment for PSTR() 2021-06-25 19:30:51 +02:00
TD-er ef052d9124 [Webserver] Fix unneeded copy of object when serving data(#3693)
Fixes: #3693
2021-06-25 16:37:20 +02:00
TD-er c3e684a383 [Reduce size] Add build flag to remove the 4-bytes alignment for PSTR() 2021-06-25 12:48:38 +02:00
TD-er 247db6e772 [Memory] Switch to DRAM heap on every loop and when adding plugins 2021-06-25 12:14:53 +02:00
TD-er c934304871 [Memory] Fix strange crashes due to not using correct heap 2021-06-24 14:34:09 +02:00
TD-er e12a78468a [Cleanup] Keep flash string when executing internal commands
This did cause a crash when fetching an event from the 2nd heap.
2021-06-24 11:19:23 +02:00
TD-er ac715a9d40 [Libs] Explicit define Adafruit BusIO library + version 2021-06-24 11:17:21 +02:00
TD-er 0ba93deba5 [Memory] Fix build issues when using 2nd heap (PIO define issue) 2021-06-24 11:16:31 +02:00
TD-er fe330b275b [ESP32] Fix build issues 2021-06-24 09:22:14 +02:00
TD-er 2d569df795 [memory] Store p2p Nodes information in 2nd heap 2021-06-24 01:14:42 +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 425f19c914 [Memory] Move web log entries to IRAM 2nd heap 2021-06-23 02:03:23 +02:00
TD-er bae016f20e [Memory] Store event queue in IRAM 2nd heap 2021-06-23 01:50:53 +02:00
TD-er 535d4e35c6 [Memory] Move controller queue elements to IRAM heap 2021-06-23 01:07:54 +02:00
TD-er dd59fa9966 [WiFi] Allow longer scan time per channel 2021-06-23 01:02:55 +02:00
Ton Huisman 9def20bd2c [P104] Adjust Custom-sample.h 2021-06-21 20:56:53 +02:00
Ton Huisman fc0ad7af2e [P104] Added time/date configuration options 2021-06-21 20:33:32 +02:00
TD-erandGitHub 1f67d7397a Merge branch 'mega' into feature/build_core_3_0_0 2021-06-21 17:11:57 +02:00
TD-er 9126be32a3 [WiFi] Make reconnect to last from RTC optional 2021-06-20 22:25:40 +02:00
Ton Huisman e3211f2f18 [P104] Try to make build fit in ESP8266 display configuration 2021-06-19 19:27:48 +02:00
Ton Huisman 34f21775ec [P104] Try to make build fit in ESP8266 display configuration 2021-06-19 18:48:53 +02:00
Ton Huisman 742f646bba [P104] Try to make build fit in ESP8266 display configuration 2021-06-19 17:34:43 +02:00
Ton Huisman 6d2ec362e3 [P104] Try to make build fit in ESP8266 display configuration 2021-06-19 17:20:35 +02:00
Ton Huisman c67e369064 [P104] Try to make build fit in ESP8266 display configuration 2021-06-19 17:00:41 +02:00
Ton Huisman 5c0b5ae6cb [P104] Format source 2021-06-19 15:58:11 +02:00
Ton Huisman a28a51d60a [P104] Implement Repeat delay, add settxt command, edit active settings, update source doc, some source reorg. 2021-06-19 15:57:53 +02:00
Ton Huisman b52e41c789 [P104] Revert addition to MD_Parola made earlier 2021-06-19 15:55:24 +02:00
Ton Huisman 0a7caee8e4 [P104] Fix issue with MD_Parola update 2021-06-19 09:51:17 +02:00
Ton Huisman 43a7f03204 [P104] Implement PLUGIN_WRITE commands, add fonts, many improvements 2021-06-18 21:53:23 +02:00
Ton Huisman f046fe1a94 [P104] Update MD_Parola library 2021-06-18 21:52:01 +02:00
TD-er 2330982bb5 [DeepSleep] Turn off WiFi before DeepSleep + limit max. deepsleep 2021-06-18 12:13:17 +02:00
Ton Huisman c55dc10f9b Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-06-17 22:51:17 +02:00
Ton Huisman 60f2fb23b0 [P104] Get settings defaults right 2021-06-17 22:51:04 +02:00
Ton Huisman d334efb976 [P104] Use compiletime defines where appropriate 2021-06-17 22:41:16 +02:00
TD-erandGitHub 166b721e47 Merge branch 'mega' into feature/PWM_motor 2021-06-17 09:36:14 +02:00
TD-erandGitHub 21e77c27bf Merge pull request #3690 from lekv/patch-1
Fix small typos in heatpumpir documentation (P088)
2021-06-17 07:38:18 +02:00
Lars VolkerandGitHub 506f08bfed Fix small typos in heatpumpir documentation (P088) 2021-06-16 16:55:59 -07:00
Ton Huisman 9ca0c7a8a7 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-06-16 22:29:28 +02:00
Ton Huisman 2ba7b79b39 [P104] Implement Clock and Date content, clear on plugin exit 2021-06-16 22:29:17 +02:00
TD-erandGitHub bd2de4af44 Add link to experimental web flash page 2021-06-16 01:13:30 +02:00
Ton Huisman 73845473bc [P057] Add extra check to avoid reading past string length 2021-06-15 23:16:46 +02:00
Ton Huisman 7ea57a306a [P104] Code improvements and optimizations 2021-06-15 23:12:27 +02:00
Ton Huisman a21a25a292 [Helpers] Add helper getFormItemIntCustomArgName(int) 2021-06-15 23:11:47 +02:00
Ton Huisman 58c87b4891 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-06-15 21:36:58 +02:00
Ton Huisman 77ab0f47af Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p057-support-period-to-display 2021-06-15 21:15:33 +02:00
Ton Huisman 48a77a532d [P057] Improve dot display, code optimizations 2021-06-15 21:15:23 +02:00
TD-erandGitHub 61d848b66b Merge pull request #3687 from tonhuisman/feature/p068-add-temperature-offset-setting
[P068] Add temperature offset setting, with humidity compensation
2021-06-14 22:51:10 +02:00
Ton HuismanandGitHub fc7eab2249 Merge branch 'mega' into feature/p068-add-temperature-offset-setting 2021-06-14 22:15:14 +02:00
Ton Huisman b73a16ac31 [P104] Code improvements 2021-06-14 22:13:42 +02:00
Ton Huisman a2bf30e7fd Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix 2021-06-14 21:47:27 +02:00
Ton Huisman 97f755ddd9 [P104] Fixed zone initialization and brightness setup 2021-06-14 21:47:02 +02:00
Ton Huisman a0aa539504 [P068] Reverse inverted calculation 2021-06-14 19:29:23 +02:00
uwekaditz cfb8cb6c38 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-06-14 18:26:19 +02:00
TD-erandGitHub fbb5308b85 Merge pull request #3676 from TD-er/bugfix/wifi_not_reconnect
[WiFi] Make sure to clear pending WiFi events on reconnect
2021-06-14 16:11:53 +02:00
TD-er 74ed93b44d [WiFi] Handle slow connect to WiFi AP
As discussed in this [forum topic](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8575)
2021-06-14 14:56:53 +02:00
Ton Huisman c1af4e916a [P104] Include plugin in Display builds 2021-06-13 21:34:11 +02:00
Ton Huisman c5b0983374 [P104] New plugin: MAX7219 dot matrix display 2021-06-13 19:54:40 +02:00
Ton Huisman 73946ec88e [UI] Add extra definition of addSelector() with tooltip support 2021-06-12 19:18:59 +02:00
Ton Huisman f18d776343 [P068] Simplify float-comparison 2021-06-12 17:05:57 +02:00
Ton Huisman 1043d2b3de [P068] Use proper float-comparison functions 2021-06-12 16:55:12 +02:00
Ton Huisman 1344c1c192 [P068] Add temperature offset setting, with humidity compensation 2021-06-12 15:52:44 +02:00
Ton Huisman 0e6457293d [P036] Updated documentation (and a small textual improvement in the setting) 2021-06-12 12:10:29 +02:00
Ton Huisman 6c8bf4ae43 [P036] Make Frame & Line events optional, introduce #defines for flags 2021-06-12 11:50:11 +02:00
Ton Huisman cb1ca253d8 [P036] Add events for Frame and Line, reduce code size 2021-06-11 22:13:47 +02:00
Ton Huisman 66ee20d2d2 [P036] Eliminate a few unneeded variables, saving a little .bin size 2021-06-10 21:57:32 +02:00
Ton Huisman 0593a54a78 [P036] Add Generate Events option for Display and Contrast 2021-06-10 21:53:30 +02:00
uwekaditz a9a2547c87 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-06-10 20:41:30 +02:00
Ton Huisman 77b23f58a3 [P057] Add support for periods in display 2021-06-09 22:03:08 +02:00
Ton Huisman bdac81836f [UI] Correct manual merge error 2021-06-09 16:36:37 +02:00
Ton Huisman 9fdd288930 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/ui-add-optional-tooltip-for-input-controls 2021-06-09 15:51:54 +02:00
Ton Huisman b3922eee17 [Build] Keep trigonometric stuff out of MINIMAL_OTA builds 2021-06-09 09:36:00 +02:00
Ton Huisman 742bda2856 [Doc] Correct function names for asin, acos, atan and friends 2021-06-08 21:35:45 +02:00
Ton Huisman b3fd24c70a [Build] Include Trigonometric functions also in 1M Normal builds 2021-06-08 21:30:50 +02:00
TD-erandGitHub 463ab05a6e Merge branch 'mega' into feature/PWM_motor 2021-06-08 00:03:43 +02:00
TD-erandGitHub f767f5eedb Merge branch 'mega' into bugfix/I2C_freeze 2021-06-08 00:01:12 +02:00
TD-erandGitHub 56c4ca1ca6 Merge branch 'mega' into bugfix/wifi_not_reconnect 2021-06-07 23:59:54 +02:00
TD-er b02fa47460 [Core 3.0.0] Rename deprecated ICACHE_RAM_ATTR to IRAM_ATTR
Allow for backwards compatibility define for older core builds.
2021-06-07 23:56:37 +02:00
TD-er a5efd4c46b [Core 3.0.0] Allow building using esp8266/Arduino core 3.0.0 2021-06-07 23:56:29 +02:00
Ton Huisman 2f76071a41 Merge branch 'mega' of https://github.com/tonhuisman/ESPEasy-1 into bugfix/p016-correct-signed-conversion-to-unsigned 2021-06-07 20:31:03 +02:00
TD-er ae45fe1b44 [WiFi] Small flash string optimisation 2021-06-07 19:59:28 +02:00
TD-erandGitHub f93e035555 Merge pull request #3642 from mcspr/some-more-action
CI: build & release actions fixes
2021-06-07 19:25:33 +02:00
TD-er 360b339c19 [WiFi] Only store last used AP in RTC when connection is stable 2021-06-07 19:21:52 +02:00
TD-er f9b27744b4 Add Mac_address object to simplify handling MAC addresses 2021-06-07 18:44:23 +02:00
TD-erandGitHub 44ede042d7 Merge branch 'mega' into bugfix/wifi_not_reconnect 2021-06-07 16:26:40 +02:00
TD-er 733d809ca1 [WiFi] Clear WiFi events when turning off WiFi 2021-06-07 16:26:19 +02:00
TD-erandGitHub dd5eb418dd Merge pull request #3677 from TD-er/bugfix/deepsleep_revert
[Deep Sleep] Revert default deep sleep call & make it optional
2021-06-07 16:23:57 +02:00
TD-er 3a5d200ed9 [I2C] Add recovery to an I2C bus that hangs.
Based on [this example code](http://www.forward.com.au/pfod/ArduinoProgramming/I2C_ClearBus/index.html) to reset an I2C bus that hangs.
2021-06-07 15:25:31 +02:00
TD-er 59837c489d [Deep Sleep] Revert default deep sleep call & make it optional
Reverting this commit for default behaviour: https://github.com/letscontrolit/ESPEasy/commit/c70e54c03e99776dedc705a452066bc63cc60374

Fixes: #3638
2021-06-07 11:29:46 +02:00
Maxim Prokhorov aa1b1fef5b ci: build documentation for push & pr
also fixing cache entry for docs/requirements.txt vs. normal requirements.txt
2021-06-06 19:24:41 +03:00
Maxim Prokhorov fc21df68c6 ci: bump python version for actions 2021-06-06 19:00:06 +03:00
Ton Huisman 69f32b8711 [UI] Fix manual merge typo 2021-06-06 17:29:36 +02:00
Ton Huisman 4718439ac6 [UI] Rename title argument to tooltip 2021-06-06 17:18:58 +02:00
TD-er 41321fa104 [PWM Motor] Simplify processing debounce on limit switches
Turning the ISR function into a very basic state machine.
2021-06-06 14:40:45 +02:00
Ton Huisman db7d327af4 Merge branch 'mega' of https://github.com/tonhuisman/ESPEasy-1 into feature/ui-add-optional-tooltip-for-input-controls 2021-06-06 13:43:15 +02:00
TD-er c0b1e0f4d9 [PWM Motor] Fix crash on handling limit switch pulse 2021-06-06 13:22:01 +02:00
TD-er f9f86f5e4d [WiFi] Make sure to clear pending WiFi events on reconnect
Apparently this wasn't enough: https://github.com/letscontrolit/ESPEasy/pull/3650

Fix intended for [this report on the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=53062#p53062)
2021-06-06 12:05:02 +02:00
Ton HuismanandGitHub ee5f2745d0 Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-06-06 11:31:17 +02:00
TD-erandGitHub 7512f5d14f Merge branch 'mega' into feature/ESP32_S2_support 2021-06-06 11:11:31 +02:00
TD-erandGitHub 333f3c325f Merge branch 'mega' into feature/PWM_motor 2021-06-06 10:20:19 +02:00
TD-erandGitHub 98c584abcb Merge branch 'mega' into some-more-action 2021-06-06 10:17:38 +02:00
TD-erandGitHub 71387cb62e Merge pull request #3663 from tonhuisman/bugfix/include-all-testing-plugins-when-limit-build-size
[Build] Include all TESTING plugins even when using LIMIT_BUILD_SIZE
2021-06-06 10:17:05 +02:00
TD-erandGitHub fe8e4d2bcf Merge pull request #3670 from letscontrolit/dependabot/pip/urllib3-1.26.5
Bump urllib3 from 1.25.10 to 1.26.5
2021-06-06 10:11:27 +02:00
TD-er f9d414dd08 [Docs Build] Update to Sphinx 4.0.2 2021-06-06 09:26:17 +02:00
TD-er af013438e4 [Build] Update Python packages
Not all packages are set to newer versions, as it is impossible to find matching combinations setting all to their latest versions.
2021-06-06 09:25:45 +02:00
Ton HuismanandGitHub a8bf0f6d01 Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-06-05 22:11:04 +02:00
Ton Huisman c48d5e00f6 [P016] Refactored settings conversion into constructor and other improvements 2021-06-05 22:09:22 +02:00
TD-erandGitHub f970d72497 Merge branch 'mega' into feature/PWM_motor 2021-06-05 19:01:47 +02:00
TD-erandGitHub 0e0afb5613 Merge pull request #3673 from TD-er/bugfix/pulseCounter_update
[Pulse counter] Fix values not being updated on Devices tab
2021-06-05 18:59:57 +02:00
TD-erandGitHub 67d4663674 Merge branch 'mega' into bugfix/pulseCounter_update 2021-06-05 18:59:49 +02:00
TD-erandGitHub 28b240929c Merge pull request #3674 from TD-er/bugfix/ESP32_PWM_mode_change
[ESP32] Fix PWM not cleared when changing pin mode (#3671)
2021-06-05 18:59:35 +02:00
Ton HuismanandGitHub 4e9711d180 Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands 2021-06-05 17:43:25 +02:00
Ton Huisman 9895dcbb75 [P016] Refactor using vectors instead of arrays, load/save settings in chunks 2021-06-05 17:27:27 +02:00
TD-er 52c08a1846 [Pulse] Fix copy/paste error in pulse counter plugin 2021-06-05 14:04:40 +02:00
TD-er bc28d42ba6 [ESP32] Fix PWM not cleared when changing pin mode (#3671)
Fixes: #3671
2021-06-05 13:59:26 +02:00
TD-er 82c61bb259 [Pulse counter] Fix values not being updated on Devices tab 2021-06-05 13:58:51 +02:00
Ton HuismanandGitHub b4c1c758a6 Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-06-05 11:49:56 +02:00
dependabot[bot]andGitHub 88c1f35390 Bump urllib3 from 1.25.10 to 1.26.5
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.10 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.10...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-05 07:47:32 +00:00
TD-erandGitHub 186f1a9c1c Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-06-05 09:20:39 +02:00
TD-erandGitHub 855b7c5fdb Merge branch 'mega' into bugfix/include-all-testing-plugins-when-limit-build-size 2021-06-05 08:53:29 +02:00
TD-erandGitHub 3c49aeed20 Merge branch 'mega' into feature/PWM_motor 2021-06-05 08:52:34 +02:00
TD-erandGitHub f25fa16d7d Merge pull request #3669 from TD-er/feature/GPIO_markup
[GPIO Selection] Filter possible GPIO pins based on needed properties
2021-06-05 08:52:14 +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 8a7504ad2c [GPIO selection] Filter possible GPIO pins based on needed properties 2021-06-05 00:02:51 +02:00
TD-er cce722a662 [PWM Motor] Temp disable interrupts when processing ISR
Plus use time in microseconds to avoid conversion back to msec.
2021-06-04 15:30:29 +02:00
TD-er b2b3342403 [PWM Motor] Fix setting GPIO state when start/stop motor 2021-06-04 13:17:41 +02:00
TD-erandGitHub 0956024611 Merge branch 'mega' into feature/PWM_motor 2021-06-04 12:45:02 +02:00
TD-erandGitHub 9964d9f992 Merge pull request #3667 from TD-er/bugfix/CaptivePortal_LAN
[CaptivePortal] Fix root page redirect when connected via LAN
2021-06-03 22:08:17 +02:00
TD-er eea56eb75d [CaptivePortal] Fix root page redirect when connected via LAN
Use case: Connected via LAN, then you don't need WiFi credentials.
However in this use case the client gets redirected to the local IP.
Still not a real problem, unless you got connected through a VPN.... Ooopsie
2021-06-03 16:33:47 +02:00
Ton Huisman 93c490c1ea [Markup] Introduce delay(0) during addSelector_options for longer option lists 2021-06-02 22:11:52 +02:00
Ton Huisman 22a01cec19 [P016] Update logging for memory analysis 2021-06-02 22:09:07 +02:00
uwekaditz 1064f310da Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-06-01 20:59:47 +02:00
TD-er 8bf04ec93f [GPIO selection] Make conflicting pins more clear in the web interface 2021-06-01 16:48:38 +02:00
TD-er bf5f2c418e [PWM Motor] Cleanup GPIO selection code 2021-06-01 16:19:51 +02:00
TD-er 56079e8e9f [PWM Motor] Restore positions at boot & format GPIO overview 2021-06-01 12:03:48 +02:00
TD-er 8ddaa18a62 [PWM Motor] Uncrustify 2021-06-01 09:25:48 +02:00
TD-er 772f8ff228 [PWM motor] Move P098 to "testing A" due to iRAM usage 2021-06-01 09:20:33 +02:00
TD-er 598352b65e [PWM Motor] Add proper debounce to limit switches 2021-06-01 00:49:34 +02:00
TD-erandGitHub 2a7535d360 Merge branch 'mega' into feature/PWM_motor 2021-05-31 20:53:59 +02:00
TD-erandGitHub 8ce642f83a Merge pull request #3659 from TD-er/feature/Split_P003_pulse
[Pulse] Split pulse handling into .h/.cpp & remove task index limit
2021-05-31 20:51:45 +02:00
Ton Huisman a1a41e1c9a [Build] Include all TESTING plugins even when using LIMIT_BUILD_SIZE 2021-05-31 20:48:47 +02:00
Ton HuismanandGitHub 98407551b5 Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-05-31 20:31:54 +02:00
TD-erandGitHub 016993b30c Merge branch 'mega' into mega 2021-05-31 20:15:24 +02:00
TD-erandGitHub 759406d11d Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands 2021-05-31 20:08:20 +02:00
TD-erandGitHub 70e207e510 Merge pull request #3654 from tonhuisman/feature/re-enable-rtttl-in-testing-builds
[Build] Re-enable RTTTL in TESTING where it fits
2021-05-31 20:04:03 +02:00
TD-erandGitHub 93ffa93f76 Merge branch 'mega' into feature/Split_P003_pulse 2021-05-31 20:03:20 +02:00
TD-erandGitHub e794fa63e6 Merge pull request #3661 from tonhuisman/feature/sysvars-add-sunrise-sunset-in-sec-and-min
[Sysvars] Add %s_sunrise%, %m_sunrise%, %s_sunset% and %m_sunset% variables
2021-05-31 20:01:07 +02:00
TD-erandGitHub 761e58bda2 Merge pull request #3660 from TD-er/bugfix/WebServer_flashStrings
[WebServer] Optimize serving flash strings
2021-05-31 20:00:47 +02:00
TD-er 9c88588bdb [Build] Fix SDFS & SD lib_ignore defines 2021-05-31 19:37:34 +02:00
TD-er 9277ea782e [Strings] Change .length() != 0 into !...isEmpty() 2021-05-31 17:28:09 +02:00
TD-er 8e0afcf043 [Strings] Change .length() == 0 into .isEmpty() 2021-05-31 17:19:51 +02:00
TD-er 3e53f4369f [String] Change == "" into .isEmpty() 2021-05-31 16:45:51 +02:00
TD-er 011fa33368 [Mem analysis] Log free memory during setup phase 2021-05-31 16:15:04 +02:00
TD-er 918d0c36cd [Webserver] Fix build for ESP32 as WiFiClient.flush() cannot have timeout 2021-05-30 20:53:17 +02:00
TD-er 9dd5542a49 [DL-bus] Wrap logs in checks for active loglevel 2021-05-30 20:48:47 +02:00
TD-er fc303033d3 Add DL-bus plugin to "Testing C"
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8582&p=52973#p52973)
2021-05-30 20:36:13 +02:00
Ton Huisman 791ff652bf [P016] Match UI with documentation :-) 2021-05-30 20:15:25 +02:00
Ton Huisman f6940b4e11 [P016] Updated documentation 2021-05-30 20:14:48 +02:00
Ton Huisman bd835b499a [P016] Revert BUILD_NO_DEBUG dependency 2021-05-30 17:59:20 +02:00
Ton Huisman 0e47babe79 [P016] Disable debug log for BUILD_NO_DEBUG and some cleanup 2021-05-30 17:47:29 +02:00
Ton Huisman 89d49ad1b5 [P016] Update library enum definition 2021-05-30 17:25:14 +02:00
Ton Huisman a52c8aeb28 [P016] Small code optimizations 2021-05-30 17:17:58 +02:00
TD-er 2bb7ebdc70 [WebServer] Balance speed vs. stability based on free memory
Page serving will be slower when low on memory, but this will improve stability when low on ram.
2021-05-30 16:53:00 +02:00
TD-er f0bd5454fd [WebServer] Reduce memory usage when streaming web template
Large chunks of the template were copied to stream.
Now they are directly streamed to the client instead of copied first.
2021-05-30 16:51:37 +02:00
TD-er e9386fc200 [WebServer] Small optimization in serving ints and small strings 2021-05-30 16:50:24 +02:00
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 1a5ce45fd1 [SD] call SD.end() if not successful at begin() 2021-05-30 14:14:28 +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 437c29f398 [P003 Pulse] Fix compile issue when plugin not included in build. 2021-05-30 11:29:48 +02:00
TD-er 6f47b07d5f [P003 Pulse] Fix build error without pulse statistics enabled 2021-05-30 02:38:28 +02:00
TD-er 2e2cfadc79 [WebServer] Speedup serving single char chunks + missing F-macros
No need to wrap a single char into a String object for serving it as we can also append it directly to the buffer.
2021-05-30 02:23:17 +02:00
TD-er acd2cad834 [WebServer] Speedup serving flash strings directly 2021-05-30 01:39:16 +02:00
TD-er 5a0025c0d1 [WebServer] Optimize serving flash strings
Make sure all flash strings are served by not copying it.
2021-05-30 00:21:06 +02:00
TD-er fda8e02c46 [P003_Pulse] Make pull-up configurable 2021-05-30 00:11:11 +02:00
TD-er 4b749159c4 [Pulse] Split pulse handling into .h/.cpp & remove task index limit 2021-05-29 23:28:55 +02:00
TD-er a1fc3adc44 [P003 Pulse] Uncrustify _P003_Pulse.ino 2021-05-29 20:28:35 +02:00
Ton Huisman 59ee78da27 [P016] Add support for 64 bit IR codes, incl. settings conversion, update settings UI 2021-05-29 20:26:14 +02:00
uwekaditz 8efbef42f7 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-05-29 16:13:51 +02:00
Ton HuismanandGitHub cc6051ca2b Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-05-29 11:42:11 +02:00
TD-erandGitHub 0be6b0f792 Merge branch 'mega' into feature/PWM_motor 2021-05-29 10:41:04 +02:00
TD-erandGitHub bd0dca9b5c Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-05-28 23:19:40 +02:00
TD-erandGitHub 0267e21236 Merge branch 'mega' into feature/re-enable-rtttl-in-testing-builds 2021-05-28 23:03:13 +02:00
TD-erandGitHub 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 63b8e52477 [PWM motor] Minor tweaks 2021-05-28 22:11:54 +02:00
TD-er caacd15a2d [PWM motor] Add _P098_PWM_motor.ino 2021-05-28 02:53:26 +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
Ton Huisman 45033a664d [StringConverter] Fix hexToUL to accept 0x prefix 2021-05-24 12:10:11 +02:00
Ton Huisman 1eb23d69bc [P016] Update changelog 2021-05-24 10:41:31 +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
Ton Huisman 54973cd90d [P016] Fixed zero termination of char array 2021-05-24 10:16:27 +02:00
Ton Huisman c8356d3dea [P016] hexToUL doesn't seem to work with a char array 2021-05-23 19:13:42 +02:00
Ton Huisman f097389332 [P016] Add type in logging, more optimizations 2021-05-23 17:35:29 +02:00
Ton Huisman ade52327cd [P016] Apply suggestions and some more optimizations 2021-05-23 17:08:48 +02:00
uwekaditz 0c2dd854bd Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-05-23 16:45:40 +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
Ton Huisman 6312c4006d [P016] Small optimizations 2021-05-22 23:30:22 +02:00
Ton Huisman 3abf09426a [Build] Re-enable RTTTL in TESTING where it fits 2021-05-22 22:12:42 +02:00
Ton Huisman 79d255e032 [P016] Revert a few invalid comments 2021-05-22 19:08:17 +02:00
Ton Huisman baa6a6b9d3 [P016] Correct hex value conversions to unsigned 2021-05-22 19:04:05 +02:00
Ton HuismanandGitHub 9c8f789d0e Merge branch 'mega' into feature/ui-add-optional-tooltip-for-input-controls 2021-05-21 19:28:27 +02:00
TD-er 100d58831a [Cleanup] Fix warnings of some uninitialised variables. 2021-05-21 16:26:54 +02:00
TD-erandGitHub 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
uwekaditz a52fc0f0a8 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-05-21 12:19:28 +02:00
TD-erandGitHub 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-inandGitHub 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
Ton HuismanandGitHub 0481af7ed0 Merge branch 'mega' into feature/ui-add-optional-tooltip-for-input-controls 2021-05-19 20:42:15 +02:00
TD-erandGitHub 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-inandGitHub 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-erandGitHub ebf610fc93 Merge pull request #3563 from heinemannj/AS7265X-Plugin
New plugin: AS7265x
2021-05-18 17:58:34 +02:00
TD-erandGitHub 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
TD-erandGitHub 75e46ea2fa Merge pull request #3647 from TD-er/bugfix/ESPEasy_ino_split_buildfix
[Build] Fix build issues since ESPEasy.ino split
2021-05-18 17:48:56 +02:00
TD-er 081de4b138 [Build] Fix build issues other files. 2021-05-18 17:42:03 +02:00
TD-er 8ea76a88af [Build] Fix build issues Nxxx & P001-P080 2021-05-18 17:12:51 +02:00
TD-er c50dc049ea [Build] Fix build issues since ESPEasy.ino split 2021-05-18 15:24:23 +02:00
TD-erandGitHub a92015b666 Merge pull request #3646 from TD-er/feature/Disallow_AP_start
[WiFi AP] Add flag to prevent starting WiFi AP.
2021-05-18 14:51:08 +02:00
TD-er 666927882a Fix build errors + reword label to "Do Not Start AP" 2021-05-18 14:50:36 +02:00
TD-er 5a608cb57f [WiFi AP] Add flag to prevent starting WiFi AP. 2021-05-18 13:38:13 +02:00
TD-erandGitHub 20b69f8f05 Merge pull request #3645 from TD-er/bugfix/WiFi_unprocessed_event_timeout
[WiFi] Allow for unprocessed WiFi events to timeout
2021-05-18 11:52:28 +02:00
TD-erandGitHub 253fa82586 Merge pull request #3643 from TD-er/bugfix/P012_Polish_charset
[P012 LCD] Fix use of USES_P012_POLISH_CHARS define
2021-05-18 11:51:28 +02:00
TD-er 81a7be4bc5 [P012 LCD] Remove Polish "Wait..." print statement 2021-05-18 11:45:09 +02:00
TD-er 967483dd6f [P012 LCD] Fix compile ambiguity & comment unused letter definitions 2021-05-18 10:58:45 +02:00
TD-er df11da1360 [P012 LCD] Add custom defined Polish characters (#2669) 2021-05-18 10:47:16 +02:00
TD-er 5d6921f50b [WiFi] Change unprocessed event timeout to 10 sec. 2021-05-17 22:58:16 +02:00
TD-er e9b2741073 [WiFi] Allow for unprocessed WiFi events to timeout
Fixes nodes not being able to reconnect.
2021-05-17 22:55:24 +02:00
TD-erandGitHub ceb2310f4c Merge pull request #3644 from TD-er/bugfix/ESPEasyIno_cpp_h
[Cleanup] Move ESPEasy setup(), loop() and backgroundtasks() to .h/.cpp
2021-05-17 21:44:59 +02:00
TD-er 540d2f9f86 [Cleanup] Remove SI1145 from standard custom build, to make it fit 2021-05-17 15:48:51 +02:00
TD-er 6a541ebd48 [Cleanup] Missing include in P016 2021-05-17 15:48:23 +02:00
TD-er db2550434c [Cleanup] Uncrustify Commands/GPIO.cpp 2021-05-17 15:29:55 +02:00
TD-er 6e2e5b2c18 [Cleanup] Fix return value of gpio_mode_range_helper (real bug)
Absolutely no idea why this could have been compiled before.
Maybe this is finally a bug that is solvable by moving the `setup()` and `loop()` from ESPEasy.ino to a .cpp/.h file?

Wonder what the compiler would have made of it before....
2021-05-17 15:29:49 +02:00
TD-er 027e2b2170 [Cleanup] Missing include in C013 2021-05-17 15:29:44 +02:00
Christoph Kaiser 7bfe5d3317 [P039] fixed recent findings and added automated reload for device family and type selector in plugin parameters 2021-05-17 13:36:42 +02:00
TD-er 133449d959 Fix missing include on SysInfoPage.cpp 2021-05-17 13:07:30 +02:00
TD-er fc9dea41b6 [Cleanup] Uncrustify ESPEasy_loop(), _setup() and backgroundtasks() 2021-05-17 12:44:19 +02:00
TD-er ba028b03f0 [Cleanup] Move ESPEasy loop() and backgroundtasks() to .h/.cpp 2021-05-17 12:37:27 +02:00
TD-er 7ccdcf44b5 [Cleanup] Move setup() from ESPEasy.ino to .h/.cpp file 2021-05-17 11:26:31 +02:00
TD-er 9a003bc1a4 [P012 LCD] Fix use of USES_P012_POLISH_CHARS define
See [forum discussion](https://www.letscontrolit.com/forum/viewtopic.php?p=52675#p52675)
2021-05-17 09:23:55 +02:00
Christoph Kaiser e3b7bda247 [P039] fixed typos and typecast issues, corrected MAX 31856 access 2021-05-17 01:25:08 +02:00
Christoph Kaiser 11ffb1708e [P039] resolve issues with MAX6675 + MAX31855 and latest updates 2021-05-16 18:55:44 +02:00
Ton Huisman 409d8fcf21 [UI] Add conditional compilation to Tooltip feature 2021-05-16 16:45:31 +02:00
Christoph Kaiser 89a0dced66 [P039] resolved review findings from TD-er, fixed static fault flag with data structure 2021-05-16 13:08:32 +02:00
Ton Huisman c9eeba4f8a [UI] Add tooltip option for a few more input controls 2021-05-15 22:13:15 +02:00
Maxim Prokhorov 099cd05903 ci: try to ignore build workflow when releasing 2021-05-15 23:04:38 +03:00
Maxim Prokhorov 4082a3fc84 ci: release single binaries .zip, merge all available build artifacts 2021-05-15 22:50:28 +03:00
Ton Huisman 539a9f747f [UI] Enable optional tooltip for most input controls 2021-05-15 21:42:37 +02:00
Maxim Prokhorov d60b58d3bf ci: allow builds to fail 2021-05-15 22:38:52 +03:00
Christoph Kaiser 0fe3b6691a [P039] migrated RTD functionality to use of TIMER API and state machine 2021-05-15 13:42:44 +02:00
chri-kai-inandGitHub 32c73c35e2 Merge branch 'mega' into P039_MERGE_RTD 2021-05-15 12:58:00 +02:00
TD-erandGitHub cd03d911b6 Merge pull request #3620 from tonhuisman/feature/p012-add-button-inversed-option
[P012] Add Inversed option for display button
2021-05-15 12:19:56 +02:00
Ton HuismanandGitHub ad265ba2d8 Merge branch 'mega' into feature/p012-add-button-inversed-option 2021-05-15 12:16:54 +02:00
Ton Huisman b432c9eeb7 [Command] Update LogEntry documentation, small code optimization 2021-05-15 12:12:57 +02:00
Ton Huisman 2d04afbac6 [Commands] Enable LogEntry to log for other level than INFO #3312 2021-05-15 11:45:15 +02:00
TD-erandGitHub a5685abc8c Merge pull request #3636 from tonhuisman/bugfix/fix-uses_ssdp-builds-missing-include
[Build] Fix builds having USES_SSDP for missing include
2021-05-14 20:33:05 +02:00
Ton Huisman c6eeb6b66d [Build] Fix builds having USES_SSDP for missing include 2021-05-14 19:53:43 +02:00
Ton Huisman ad034901ca [P065] Add commands to command reference (cleanup) 2021-05-14 19:15:39 +02:00
Ton HuismanandGitHub e38121b8a7 Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands 2021-05-14 16:41:56 +02:00
Ton Huisman ab7dd2d73b [P065] Add commands to command reference 2021-05-14 16:41:27 +02:00
Ton Huisman 854d538e8b [P012] Add commands to command reference 2021-05-14 16:36:47 +02:00
Ton HuismanandGitHub 9807282450 Merge branch 'mega' into feature/p012-add-button-inversed-option 2021-05-14 16:24:05 +02:00
TD-erandGitHub 8ca7ceca7b Merge pull request #3603 from tonhuisman/feature/p114-move-p130-veml6075-from-pluginplayground
[P114] Move VEML6075 (P130) from PluginPlayground
2021-05-14 15:39:37 +02:00
TD-erandGitHub 134e132d92 Merge branch 'mega' into feature/p114-move-p130-veml6075-from-pluginplayground 2021-05-14 14:48:47 +02:00
chri-kai-inandGitHub 44c47736bb Merge branch 'mega' into P039_MERGE_RTD 2021-05-14 00:37:15 +02:00
TD-erandGitHub a79743d823 Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-05-13 18:11:36 +02:00
TD-erandGitHub 01d7f923a3 Merge pull request #3625 from TD-er/feature/max1704x
Plugin 115 MAX1704x I2C, Sparkfun Fuel Gauge Sensor
2021-05-13 18:02:46 +02:00
TD-er e19d2d6483 [P115] Remove comment
As requested via email.
2021-05-13 18:01:42 +02:00
TD-erandGitHub 38774dfeb9 Merge branch 'mega' into feature/max1704x 2021-05-13 17:43:34 +02:00
TD-erandGitHub 8d95b88a3a Merge pull request #3633 from TD-er/bugfix/GitBuild
[Git Build] Fix Git Build description on root page
2021-05-13 17:42:24 +02:00
TD-erandGitHub b2dc02348e Merge pull request #3634 from TD-er/bugfix/LoRaWAN_SF
[LoRaWAN TTN] Fix controller not setting SF or FP & add ADR (#3630)
2021-05-13 17:41:00 +02:00
TD-er 1c47a757e2 [LoRaWAN TTN] Fix controller not setting SF or FP & add ADR (#3630)
Fixes: #3630

- Add checkbox for enable/disable ADR (Adaptive Data Rate)
- Fix not being able to set Frequency Plan (FP)
- Fix not being able to set Spreading Factor (SF)
2021-05-13 16:13:17 +02:00
TD-er 53079a2cff [Git Build] Fix Git Build description on root page
As reported [on the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=4&t=8548)
2021-05-13 13:33:43 +02:00
TD-er cfec907037 [P115] Add work-around as detect of sensor not seems to work. 2021-05-13 11:56:55 +02:00
TD-er 682fe5e38d [P115] Constrain threshold value to 1...32 & copy charge rate value 2021-05-13 11:56:19 +02:00
TD-er c55e8f0674 [P115] Fix nullptr de-reference crash 2021-05-12 23:53:51 +02:00
TD-er 7242b56338 [P115] Cleanup code & add 4th variable name 2021-05-12 23:53:11 +02:00
TD-erandGitHub 34f85ba0d9 Merge branch 'mega' into feature/max1704x 2021-05-12 23:15:34 +02:00
chri-kai-inandGitHub b45409e51c Merge branch 'mega' into P039_MERGE_RTD 2021-05-12 22:27:37 +02:00
TD-erandGitHub bdc02d8667 Merge pull request #3632 from TD-er/feature/ESP32_RTC
[ESP32 RTC] Add RTC memory usage like on the ESP8266
2021-05-12 19:59:09 +02:00
TD-er 8950fef76f Disable left over RTC_STRUCT_DEBUG flag 2021-05-12 17:44:51 +02:00
TD-er e3ea3020d8 [Cache controller] Make Cache controller work on ESP32
ESP32 does have less space on the file system than an ESP8266 with 4M flash.
So it is less useful on ESP32 with only 4M flash.

Still it does work :)
2021-05-12 17:29:41 +02:00
TD-er 7de0329f19 [ESP32 RTC] Add RTC memory usage like on the ESP8266
Keeping track of boot count, last used WiFi, last known time, etc.
Also storing the task values to survive a reboot as long as power remains.

N.B. The compiler determines where the ESP32 does store its data, so data may become corrupted after flashing a new build to it.
2021-05-12 12:55:48 +02:00
chri-kai-inandGitHub 45881aa714 Merge branch 'mega' into P039_MERGE_RTD 2021-05-12 01:11:43 +02:00
TD-erandGitHub bf7fa2adac Merge branch 'mega' into feature/max1704x 2021-05-12 01:06:43 +02:00
TD-erandGitHub 7aced75745 Merge pull request #3628 from letscontrolit/bugfix/MS5611
MS5611 (GY-63) unrealistic values for <20C (#3626)
2021-05-12 00:58:40 +02:00
TD-erandGitHub dee29a5e61 Merge pull request #3631 from TD-er/bugfix/LinuxBuildScript
[Linux Build] Add some checks to prevent wiping ALL data on PC
2021-05-12 00:48:03 +02:00
TD-er cf56763aca [Linux Build] No longer use before_deploy from build_ESPeasy.sh
When building from an older version, you could still run the dangerous before_deploy script, which could possibly wipe all from your system if you have not installed core_utils.
2021-05-12 00:40:24 +02:00
TD-er b507cac6bd [Linux Build] Cleanup + document build script + add options
Added:
- Option to build in specific src dir
- Option to build a specific Git Tag
- Option to select only docs/esp32/esp82xx to build

Moved Python virtual env folder inside src dir.
Show summary for 5 seconds before continuing.
2021-05-11 23:21:11 +02:00
TD-er 56d5ada887 [Linux Build] Add some checks to prevent wiping ALL data on PC
See [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8542) of what terrible things may happen if `mktemp` is not installed on the system.
2021-05-11 20:03:04 +02:00
chri-kai-inandGitHub 5f1c03ae82 Merge branch 'mega' into P039_MERGE_RTD 2021-05-11 19:19:24 +02:00
Christoph Kaiser 5e4af5a12f [P039] smallervfixes of diagnostic handling for thermocouples; added TODOs to not forget design changes 2021-05-11 13:26:27 +02:00
TD-erandGitHub f62219f54b Merge pull request #3629 from TD-er/feature/boot_cause_variable
[Boot Cause] Make boot cause more clear + add %bootcause% for rules
2021-05-11 11:59:17 +02:00
TD-er a16be4c45c [Boot Cause] Make boot cause more clear + add %bootcause% for rules
(re)boot cause as integer value, to be used in rules.

- 0 = manual reboot (reset btn)
- 1 = cold boot
- 2 = deep sleep
- 3 = soft restart
- 10 = ext Watchdog
- 11 = SW Watchdog
- 12 = Exception
- 20 = Power unstable
2021-05-11 11:39:17 +02:00
TD-er b0c8e5a379 [MAX1704x] Fix crash with device not yet initialised 2021-05-11 00:28:23 +02:00
TD-erandGitHub e89c9ebe8b Merge pull request #3572 from kretzp/feature/AtlasEZOPlugins_pH_EC
Feature/AtlasEZOPlugins_pH_EC_ORP
2021-05-10 23:20:08 +02:00
Peter KretzandGitHub 5ec80e99cc Update platformio_esp82xx_envs.ini
Removed custom builds
2021-05-10 22:34:54 +02:00
TD-erandGitHub d5fa55caef MS5611 (GY-63) unrealistic values for <20C (#3626)
Fixes: #3626
2021-05-10 22:19:31 +02:00
Peter KretzandGitHub 0804ea696b Update platformio_esp32_envs.ini
removed upload speed
2021-05-10 14:44:20 +02:00
Peter KretzandGitHub 4b2aca276f Update Custom-sample.h
reverted to original Custom-sample.h
2021-05-10 14:37:02 +02:00
TD-er 3d524c76cf Added MAX1704x comment line to Custom-sample.h 2021-05-10 12:21:24 +02:00
TD-er 7041186964 [MAX1704x] Add changerate for MAX17048/MAX17049 2021-05-10 10:31:52 +02:00
TD-er a5b86bd188 [P115] Clean up documentation 2021-05-10 10:31:05 +02:00
TD-er b94f98a9af [Docs] Fix some small documentation issues. 2021-05-10 09:24:25 +02:00
Peter KretzandGitHub f92c728472 Update platformio_esp32_envs.ini
removed personal builds
2021-05-09 23:32:14 +02:00
Peter KretzandGitHub d3854d0bde Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-05-09 22:45:52 +02:00
Peter Kretz f0427dead1 Merge commit 'bdeb1e5a35f2483a7fd07cc0d7a833c741b2de6f' into mega 2021-05-09 22:29:27 +02:00
Peter Kretz 7278a21f0f Removed build error for Build error for ESP32 builds:
byte board_type = UNKNOWN;
2021-05-09 21:51:24 +02:00
Peter KretzandGitHub 9ce5145607 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-05-09 21:12:12 +02:00
TD-erandGitHub 28e63ea92a Merge branch 'mega' into feature/max1704x 2021-05-09 00:04:56 +02:00
TD-erandGitHub bdeb1e5a35 [Locking] Add mutex to access map structures (#3623)
Needed for ESPEasy-NOW PR, but may be useful in other data structures too.

On ESP32, the callback functions from network/WiFi can come from another core (and on single core, from another task), so data structures shared among RTOS tasks or callback events may need these for sure.

Not sure if these are currently needed on ESP8266, as all is dealt with on the same core and we also do not access tricky data structures in callback functions (yet)
But for ESPEasy-NOW we will use std::map data structures which sometimes need to rebalance their RB-tree from callback functions.
Those will for sure cause crashes when interrupted during erase or insert as both may cause RB-tree balancing.

Note:
Not sure what will happen on ESP8266 if a callback function ends up in a lock() call.
On ESP32 this will not really cause issues as tasks are time slotted, but ESP8266 does not have these.
2021-05-08 23:54:18 +02:00
TD-er ea56ac2127 [P115] Fix missing #ifdef + register library in PIO 2021-05-08 22:10:32 +02:00
TD-er afeffbdc45 [Build] Revert splitting lib_deps and lib_ignore to multi-line 2021-05-08 20:16:03 +02:00
TD-er 09166df835 [MAX1704x] Add documentation 2021-05-08 15:38:53 +02:00
TD-er c701c4f5b0 [P115] Restructure code + allow for multiple instances
The I2C address is the same for all these MAX1704x chips, so can only be used on multiple instances when using a multiplexer
2021-05-08 14:48:47 +02:00
TD-er 4342751160 Add library to lib dir + PIO environments 2021-05-08 14:46:22 +02:00
TD-er aede830a32 Plugin 115 MAX1704x I2C, Sparkfun Fuel Gauge Sensor
Sent to me via email by @jbaream
2021-05-08 13:08:49 +02:00
Peter KretzandGitHub 4b0bf5b073 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-05-07 10:11:05 +02:00
TD-erandGitHub 52fb53ab6b Merge pull request #3545 from KimPanda4/P003-2.2-PULSE-enhancement
P003 New enhanced version 2.2  (PULSE Modes)
2021-05-06 22:33:03 +02:00
TD-erandGitHub 002775ff5a Merge pull request #3622 from TD-er/bugfix/std_move_controllerqueue
[Memory] Use move operator to prevent extra memory allocs
2021-05-06 11:28:49 +02:00
Christoph Kaiser 4b76853c73 [P039] added taskname and taskVarName to the log entries in INFO log file 2021-05-06 00:45:43 +02:00
TD-er b6f0ae5dcd [Controller Queue] Remove unneeded constructors using =default and =delete 2021-05-06 00:07:53 +02:00
TD-er 3a11a19a49 [Cleanup] Remove unneeded std::move and copy/assignment constructors 2021-05-05 23:55:55 +02:00
TD-er e6c3a0f5c6 [Oopsie] Need to hide in other commits, deny this ever was committed!
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8528&p=52439#p52439)
2021-05-05 22:40:34 +02:00
Ton Huisman d1a0b12343 [P012] Documentation: improve 5V warning display and text 2021-05-05 21:52:30 +02:00
Ton Huisman bb108bbfd1 [P012] Fixed typo preventing new setting to be saved 2021-05-05 21:13:38 +02:00
Christoph Kaiser 84ab56ff57 Merge remote-tracking branch 'origin/P039_MERGE_RTD' into P039_MERGE_RTD 2021-05-05 19:04:19 +02:00
Christoph Kaiser a0bc3a1f67 [P039] fixing multiple typos in P039.rst file 2021-05-05 19:03:53 +02:00
Christoph Kaiser 729223a690 [039] fixing multiple typos in P039.rst file 2021-05-05 19:03:09 +02:00
Christoph Kaiser 45b7c49ab8 [P039] further corrections rfom revews and initial documentation for P039 plugin 2021-05-05 14:23:15 +02:00
TD-er e519d0b7b9 [Network] Allow fallback to WiFi when Ethernet not connected at boot 2021-05-05 13:50:24 +02:00
TD-er cad9793b16 [WiFi] Show WiFi STA MAC in sysinfo when eth is active 2021-05-05 13:23:35 +02:00
TD-er 885f47fee7 [WiFi] Fix small issues showing WiFi state & abort WiFi connection process 2021-05-05 13:04:33 +02:00
TD-er e23801e977 [Network] Properly switch between ETH and WiFi
ESP32 does send events for connected/disconnected only once.
So we cannot rely on the events.

Also the WiFi disconnect was not handled well when switching between network media.
2021-05-05 13:00:24 +02:00
TD-er c785d9e924 [Memory] getMaxFreeBlock() should return valid value on ESP32 2021-05-05 00:15:19 +02:00
TD-er c1f506bebd [MQTT] Fix MQTT controller may not connect when re-enabled after a while 2021-05-04 22:42:18 +02:00
Ton Huisman 9e5b54c745 [P012] Update documentation 2021-05-04 22:25:08 +02:00
TD-er 377c4cb5c0 [Controllers] Implement move constructor to guarantee no copy is made 2021-05-04 21:21:03 +02:00
TD-er e2145da201 [Events] Make sure events are not copied unless absolutely needed 2021-05-04 20:23:50 +02:00
chri-kai-inandGitHub c76a191e67 Merge branch 'mega' into P039_MERGE_RTD 2021-05-04 18:30:50 +02:00
Christoph Kaiser 978d71c5c4 [P039] corrected first review findings 2021-05-04 18:18:11 +02:00
Christoph Kaiser 84ab485b9b [P039] place form selectors in separated scopes 2021-05-04 15:59:29 +02:00
TD-er c7b2b3aa60 Add move assignment to EventStruct 2021-05-04 15:50:50 +02:00
Christoph Kaiser cca857cb98 [P039] added support for RTD sensors to plugin P039; updated SPI handling of all sensors to optimize ROM usage 2021-05-04 14:47:27 +02:00
Ton Huisman 43027e674f [P012] Fix a compare-confusion 2021-05-04 09:30:17 +02:00
Ton Huisman 6b2e0a5af0 [P012] Add Inversed option for display button 2021-05-03 22:25:52 +02:00
Peter Kretz c25c04d6ff Merge branch 'mega' of https://github.com/kretzp/ESPEasy into mega 2021-05-03 21:04:30 +02:00
Peter Kretz 339f202168 platformio 2021-05-03 21:03:21 +02:00
Peter KretzandGitHub 00d5044c4c Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-05-03 20:57:45 +02:00
TD-er 5b2e3f5c66 [Controller] Do not keep unitMessageCount as member when not needed 2021-05-03 20:24:55 +02:00
TD-er 53b0a17d16 [Controllers] Optimize memory usage by using std::move
Controllers now use the move operator where possible to prevent memory allocation when a move is possible.

Also started implementation of checking for message count per unit to see if we received the exact message twice.
2021-05-03 19:44:46 +02:00
TD-er aacae4910d automatically updated release notes for mega-20210503 2021-05-03 10:58:06 +02:00
TD-erandGitHub a6a8ce71ad Merge branch 'mega' into P003-2.2-PULSE-enhancement 2021-05-03 00:37:56 +02:00
TD-erandGitHub 2fd04cb6dc Merge branch 'mega' into AS7265X-Plugin 2021-05-03 00:37:25 +02:00
TD-erandGitHub aae07fb004 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-05-03 00:36:40 +02:00
TD-erandGitHub 055ed80166 Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands 2021-05-03 00:35:03 +02:00
TD-erandGitHub 7e408c45e7 Merge pull request #3600 from tonhuisman/feature/build-split-testing-sets-in-4-pieces
[Build] Split testing sets into 4 pieces
2021-05-03 00:34:34 +02:00
Ton Huisman 66924657df [Build] Exclude C016 and SD-card features on 1M units to fit custom builds 2021-05-02 21:40:01 +02:00
Ton Huisman 61a9adccc3 [Build] Revert unneeded change to build.yml, add docs on use of Custom.h 2021-05-02 19:48:10 +02:00
Ton Huisman f543061d96 [Build] Actions: Also build ESP8285, WROOM02 and 'hard' environments 2021-05-02 17:31:13 +02:00
Ton Huisman ea418349c7 [Build] Remove reference to dev build from platformio.ini 2021-05-02 17:20:37 +02:00
Ton Huisman 1ccfb010a8 [Build] Remove dev build instead of commenting it out 2021-05-02 17:15:05 +02:00
Ton Huisman 407170e6fb Merge branch 'feature/build-split-testing-sets-in-4-pieces' of https://github.com/tonhuisman/ESPEasy-1 into feature/build-split-testing-sets-in-4-pieces 2021-05-02 16:48:08 +02:00
Ton Huisman 6bde89860b [Build] Disable dev build, update README.md and build documentation 2021-05-02 16:47:43 +02:00
Ton HuismanandGitHub 913d62362b Merge branch 'mega' into feature/build-split-testing-sets-in-4-pieces 2021-05-01 16:59:25 +02:00
Ton Huisman 2ce9e69513 [P065] Add documentation (partly migrated from the wiki) 2021-05-01 16:27:55 +02:00
Peter KretzandGitHub 39c8e5fb5f Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-05-01 14:31:48 +02:00
uwekaditz edca690796 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-05-01 13:03:03 +02:00
Ton Huisman 2a2cb7db7b [P065] Minor optimization 2021-05-01 12:07:44 +02:00
Ton Huisman b7e7eaadc5 [P065] Reviewer corrections 2021-05-01 12:04:05 +02:00
Ton Huisman cdcfc9ef56 [P065] Uncrustify and some minor source adjustments 2021-05-01 11:23:19 +02:00
Ton Huisman 4a11cda913 [P065] Add mode and repeat commands
From [a request in the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=4&t=8521)
- mode,<0..3> to set playback mode: 0=Repeat, 1=Folder repeat, 2=Single repeat, 3=Random
- repeat,<0/1> enable/disable repeat play 0=Off, 1=On

TODO:
- [ ] Feedback from tester
2021-05-01 11:16:17 +02:00
TD-erandGitHub 8ae22d447e Merge pull request #3610 from TD-er/bugfix/esp32_core_2_1_0
[ESP32] Revert back to Espressif32 PIO v 2.1.0 due to serial issues
2021-04-29 15:35:19 +02:00
TD-erandGitHub 192ef10d30 Merge pull request #3612 from TD-er/feature/TTN_v3
[TTN] Add decoders for plugins 102-113 + TTNv3 decoder (#3611)
2021-04-29 14:25:15 +02:00
TD-er d62a1a6849 [TTN] Include all 6 values for P102 PZEM004Tv3
Those values are already collected from the sensor, so why not send them all in a single TTN message.
2021-04-29 13:26:02 +02:00
TD-er d67f847736 [TTNv3] Add selector for TTN stack version
TTN stack version selector does change the RX1 delay so ESPEasy can be used as TTNv3 node.
2021-04-29 12:33:09 +02:00
TD-er 99bd1a87c4 [TTN] Add decoders for plugins 102-113 + TTNv3 decoder (#3611)
TTN v3 does need a single decoder file to process upload images (and one for download, which we do not yet support)

The latest added plugins were not yet included in the decoder, so also needed to add those.
2021-04-29 02:29:09 +02:00
TD-er 81e7e88637 [ESP32] Revert back to Espressif32 PIO v 2.1.0 due to serial issues
When calling Serial::begin() (on ESP32) you apparently need to give all parameters or else it may use default parameters (makes no sense!)
Serial::end() may cause a hang or crash -> timing issue

See crash/hang:
- https://github.com/espressif/arduino-esp32/pull/5047
- https://github.com/espressif/arduino-esp32/issues/5004
- https://github.com/espressif/arduino-esp32/commit/81b7c47203b7558cc634ab2b22f966aa4bbc9ce1
- https://github.com/espressif/arduino-esp32/issues/5112
- https://github.com/espressif/arduino-esp32/issues/5032

Switch back to default:
- https://github.com/espressif/arduino-esp32/issues/5026
2021-04-27 23:52:08 +02:00
TD-erandGitHub ad44b91b6d Merge pull request #3607 from TD-er/bugfix/bme680_altitude
[BME680] Fix elevation compensation + add 2 conversion commands
2021-04-27 01:14:29 +02:00
TD-erandGitHub baa9b77e7a Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-04-27 00:53:59 +02:00
TD-er 09d6fe6c80 [BME680] Fix elevation compensation + add 2 conversion commands
Also added 2 commands:
- Altitude(air,sea): `%c_alt_pres_sea%(850,1000)` = `1350.03` meter.
- PressureElevation(air,alt): `%c_sea_pres_alt%(850,1350.03)` =  1000.00 hPa
2021-04-27 00:50:04 +02:00
Peter KretzandGitHub 63cd8faf47 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-04-26 09:34:08 +02:00
TD-erandGitHub a842e30336 Merge pull request #3605 from TD-er/bugfix/P020_sendConnectEvent
[P020_Ser2Net] Fix sendConnectedEvent
2021-04-25 23:19:42 +02:00
TD-er 67926437aa [P020_Ser2Net] Fix sendConnectedEvent
As reported here: https://github.com/letscontrolit/ESPEasy/pull/3483#discussion_r619877413
2021-04-25 23:19:00 +02:00
Ton Huisman 2dd03b2d5d [P114] Add documentation 2021-04-25 15:21:45 +02:00
Ton Huisman 052b157785 [P114] Move plugin to correct category (UV) 2021-04-25 15:21:01 +02:00
Ton Huisman da9f7d093e [Build] Add P114 (preliminary) to test D set 2021-04-25 13:31:13 +02:00
Ton Huisman f9ebbe949c [P114] More string log.reserve optimizations, initialize floats with f postfix 2021-04-24 21:58:18 +02:00
TD-erandGitHub b4253d6922 Fix PLUGIN_WRITE for P020 Set2Net
This may cause issues of not handled commands of tasks defined after a task running this plugin.
2021-04-24 21:57:35 +02:00
Ton Huisman bfefc1e971 [P114] Move string log.reserve to first use of log 2021-04-24 21:37:15 +02:00
Ton Huisman 2e16313e7e [P114] Move VEML6075 (P130) from PluginPlayground 2021-04-24 21:25:17 +02:00
Ton Huisman bdbc7230e9 [Build] Fix compilation error for MAX builds, missed 1 changed docs file 2021-04-24 21:17:34 +02:00
TD-erandGitHub ae513313d3 Merge pull request #3601 from TD-er/bugfix/CUL_reader
Fix CUL reader + WiFi unable to reconnect
2021-04-24 19:10:51 +02:00
TD-er b52b198cd0 [WiFi] Add copy constructor to WiFi_AP_Candidate class 2021-04-24 15:27:12 +02:00
TD-er 06804fd605 [WiFi] Fix not able to reconnect if unit immediately disconnects
Sometimes the ESP may get in some strange loop where it immediately gets disconnected.
Often with a disconnect reason like "4 way handshake timeout".
This may be impossible for the ESP to get out of, sometimes even a warm reboot (crash) may not help.
The only way to get out of it is a full WiFi disconnect.
2021-04-24 15:26:59 +02:00
TD-er 069045e6f4 Change delay(1) into delay(0) to reduce load 2021-04-24 15:24:22 +02:00
TD-er 4f96527db2 [CUL Reader] Fix sending received message + timestamp 2021-04-24 15:22:33 +02:00
Ton Huisman 9b8c1359b9 [Build] Split testing sets into 4 pieces 2021-04-24 14:19:55 +02:00
Peter KretzandGitHub e1d79222c4 Merge pull request #12 from kretzp/feature/AtlasEZOPlugins_pH_EC
Feature/atlas ezo plugins p h ec
2021-04-23 15:16:45 +02:00
Peter KretzandGitHub 190063d18b Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-04-23 15:15:12 +02:00
TD-erandGitHub 68a7836443 Merge pull request #3599 from TD-er/bugfix/memory_usage_stringTypeValues
[Memory Usage] Check success memory allocation string type value events
2021-04-23 10:15:34 +02:00
TD-er aa1381b1a7 [Memory Usage] Check success memory allocation string type value events 2021-04-23 09:37:19 +02:00
TD-er cf0bedbf35 [CUL reader] Reduce memory usage on log + web stats 2021-04-23 09:37:12 +02:00
TD-erandGitHub 65e5bbcefa Merge pull request #3598 from TD-er/bugfix/Fix_UI_side_effects
[WebUI] Only redirect (used for captive portal) via AP or on clean setup
2021-04-22 23:10:07 +02:00
TD-er 7695f2b490 [Root page] Allow again sending HTTP commands to reboot 2021-04-22 22:12:33 +02:00
TD-er 523727b1d4 [WiFi] Actively purge expired WiFi scan results to free RAM
If no periodical WiFi scan is run, the scan results will be removed after not seen for 5 minutes in a new scan.
This will free up roughly 64 bytes per found scanned AP, which can really add up if a few dozen are seen.
2021-04-22 21:18:15 +02:00
TD-er 1fe1c02f13 [Setup Page] Fix typo 2021-04-22 19:47:59 +02:00
TD-er eed567b772 [UDP timeouts] Add timeout on DNS resolve + reset softWDT on UDP connect 2021-04-22 19:32:12 +02:00
TD-er cc9903ed51 [Low memory] Move strings when possible instead of copy them 2021-04-22 16:46:13 +02:00
Peter KretzandGitHub 277a43ce7d Merge pull request #11 from kretzp/feature/AtlasEZOPlugins_pH_EC
Feature/atlas ezo plugins p h ec
2021-04-22 13:15:37 +02:00
Peter KretzandGitHub 8394a60e3e Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-04-22 13:09:52 +02:00
TD-er 85d6d34ff4 [Low Memory] Add some checks on success of reserving memory 2021-04-22 12:37:53 +02:00
TD-er ce9069a47b [WebUI] Only redirect (used for captive portal) via AP or on clean setup
See: https://github.com/letscontrolit/ESPEasy/issues/3597
2021-04-22 11:28:06 +02:00
TD-erandGitHub 674883ca9d Merge pull request #3596 from letscontrolit/dependabot/pip/bottle-0.12.19
Bump bottle from 0.12.18 to 0.12.19
2021-04-22 08:41:44 +02:00
TD-erandGitHub 1e345c026e Merge pull request #3595 from letscontrolit/dependabot/pip/pyyaml-5.4
Bump pyyaml from 5.3.1 to 5.4
2021-04-22 08:41:15 +02:00
TD-erandGitHub e7817cdba0 Merge pull request #3594 from letscontrolit/dependabot/pip/jinja2-2.11.3
Bump jinja2 from 2.11.2 to 2.11.3
2021-04-22 08:40:55 +02:00
dependabot[bot]andGitHub f2907c1e26 Bump bottle from 0.12.18 to 0.12.19
Bumps [bottle](https://github.com/bottlepy/bottle) from 0.12.18 to 0.12.19.
- [Release notes](https://github.com/bottlepy/bottle/releases)
- [Changelog](https://github.com/bottlepy/bottle/blob/master/docs/changelog.rst)
- [Commits](https://github.com/bottlepy/bottle/compare/0.12.18...0.12.19)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 06:40:17 +00:00
dependabot[bot]andGitHub c468d391e5 Bump pyyaml from 5.3.1 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 06:40:07 +00:00
dependabot[bot]andGitHub 37bc5a531e Bump jinja2 from 2.11.2 to 2.11.3
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 06:39:35 +00:00
TD-erandGitHub 2406252661 Merge pull request #3593 from TD-er/bugfix/VL53L0X_library
[VL53L0X] Include library description used by PIO
2021-04-21 22:59:50 +02:00
TD-er 4d7d4c8b0b [PIO build] Use full VL53L0X & VL53L1X names of the libraries in PIO 2021-04-21 22:40:19 +02:00
TD-er 73e456d3ad [lib/VL53L1X] Include missing files from SparkFun_VL53L1X library
License and properties file are also an important part of a library.
2021-04-21 20:16:14 +02:00
TD-er 54f8f5a9d2 [lib/VL53L0x] Move lib files to lib/VL53L0X/src dir 2021-04-21 20:13:47 +02:00
TD-er cea567dc3d [VL53L0X] Include library description used by PIO
@tonhuisman The changes in the .h and .cpp file are yours I assume?
PIO needs the `library.properties` file to conclude it found the required library or else builds may fail.
2021-04-21 17:28:40 +02:00
TD-erandGitHub 4881e0ee9b Merge pull request #3505 from letscontrolit/feature/Thermocouple_MAX31856
Add MAX31856 support to P039_ThermoCouple
2021-04-21 15:20:24 +02:00
TD-erandGitHub 6399ed3e91 Merge pull request #3483 from TD-er/bugfix/P020_ser2net
[P020 Ser2Net] Serial port selection on ESP32
2021-04-21 15:16:22 +02:00
TD-erandGitHub 4791dc490c Merge pull request #3592 from letscontrolit/dependabot/pip/pygments-2.7.4
Bump pygments from 2.6.1 to 2.7.4
2021-04-21 15:15:35 +02:00
TD-er 0b3ef49f79 [P039 ThermoCouple] Cleanup code + allow multiple instances 2021-04-20 23:46:26 +02:00
TD-er 2998f7fd36 [P039_Thermocouple] Uncrustify 2021-04-20 22:14:10 +02:00
TD-erandGitHub aab721d121 Merge branch 'mega' into feature/Thermocouple_MAX31856 2021-04-20 22:11:01 +02:00
TD-erandGitHub ac2823bc32 Merge branch 'mega' into dependabot/pip/pygments-2.7.4 2021-04-20 22:06:27 +02:00
TD-erandGitHub 6e012dfa8d Merge pull request #3591 from tonhuisman/bugfix/esp32-add-missing-lib_deps-entry
[ESP32] Add missing lib_deps dependency
2021-04-20 22:05:12 +02:00
dependabot[bot]andGitHub c38fa8e1af Bump pygments from 2.6.1 to 2.7.4
Bumps [pygments](https://github.com/pygments/pygments) from 2.6.1 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.6.1...2.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 19:38:58 +00:00
Ton Huisman d082234840 [ESP32] Add missing lib_deps dependency 2021-04-20 18:09:52 +02:00
TD-erandGitHub 94b31100a2 Merge pull request #3590 from TD-er/feature/CUL_reader_timestamp
[CUL Reader] Append timestamp to received messages
2021-04-20 16:48:02 +02:00
TD-er ec85c84030 [CUL Reader] Append timestamp to received messages
Also include "debug" mode where extremely long messages can be generated for testing.
2021-04-20 15:43:00 +02:00
TD-erandGitHub 01fa0afec7 Merge pull request #3495 from glsf91/mega
Added choice SH1106 controller to plugin 23
2021-04-20 14:19:33 +02:00
TD-erandGitHub 59db405f16 Merge pull request #3570 from tonhuisman/feature/P113-add-vl53l1x-tof-sensor
[P113] Add VL53L1X Time of Flight sensor to ESPEasy
2021-04-20 12:44:07 +02:00
TD-erandGitHub f72cd6ed51 Merge pull request #3575 from tonhuisman/feature/add-setting-for-quoted-json-bool-values
[JSON] Add setting for unquoted JSON bool values
2021-04-20 12:43:49 +02:00
Ton HuismanandGitHub 8e071e8b62 Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-20 12:39:53 +02:00
Ton HuismanandGitHub a0d51a37a7 Merge branch 'mega' into feature/add-setting-for-quoted-json-bool-values 2021-04-20 12:36:58 +02:00
TD-er 284ec57e83 [P020 Ser2Net] Re-apply connected event (#3587) 2021-04-20 12:06:56 +02:00
TD-erandGitHub 1065544ab0 Merge branch 'mega' into bugfix/P020_ser2net 2021-04-20 11:55:48 +02:00
TD-erandGitHub ae1103efec Merge pull request #3587 from uzi18/patch-11
add requested client event #3584
2021-04-20 11:50:25 +02:00
TD-erandGitHub 688ea7fc62 Merge pull request #3513 from sakinit/Fix-P090_CCS811-setEnvironmentalData
* Fixed rounding bug from issue 8 on breakout board.
2021-04-20 11:49:47 +02:00
TD-erandGitHub f237c1b86c Merge pull request #3588 from TD-er/feature/wESP32_config
[ESP32 ETH] Add default definition for wESP32 and WT32-ETH01
2021-04-20 11:37:59 +02:00
TD-erandGitHub b0959691e9 Merge pull request #3589 from TD-er/bugfix/hideSetupPass
[WiFi Setup] Hide password on Setup page ("*****")
2021-04-20 11:37:39 +02:00
TD-er 15d49e6d14 [Customize Build] Allow to disable Node List columns on root page 2021-04-20 11:24:06 +02:00
TD-er f37cc9260a [WiFi Setup] Hide password on Setup page ("*****") 2021-04-20 11:20:56 +02:00
TD-er 545c80d161 [ESP32 ETH] Add default definition for wESP32 and WT32-ETH01
As discussed on [the forum](https://letscontrolit.com/forum/viewtopic.php?f=5&t=8094&start=50)
2021-04-19 19:57:23 +02:00
uwekaditz b8545a20d2 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-04-19 19:04:26 +02:00
TD-erandGitHub e42894a752 Merge pull request #3585 from TD-er/bugfix/wifi_reconnect
[WiFi] Fix issue where WiFi does not reconnect after disconnect
2021-04-19 14:20:24 +02:00
TD-er 701e92c155 [WiFi] Fix merge issue 2021-04-19 14:13:01 +02:00
TD-er 1e2fd3dd70 [ESPEasy-NOW] Reduce load when not connected to WiFi 2021-04-19 12:09:27 +02:00
TD-er ea6478e861 [WiFi] Allow faster reconnect on lost connection
Plus check we actually received a valid IP when handling the GOT_IP event.
2021-04-19 12:09:15 +02:00
TD-er 149715ba96 [Network] Disconnect WiFi when switching to Ethernet 2021-04-19 12:02:42 +02:00
Bartłomiej ZimońandGitHub 7461446d64 Update _P020_Ser2Net.ino 2021-04-19 07:25:41 +00:00
Bartłomiej ZimońandGitHub 00a85db8be Update _P020_Ser2Net.ino 2021-04-19 07:20:22 +00:00
Bartłomiej ZimońandGitHub e7f9950fdf [P20_Ser2Net] add task index to sendevent function 2021-04-19 07:19:17 +00:00
Bartłomiej ZimońandGitHub efad993f1c add requested client event #3584
As requested in #3584 you can add action in rules when client is connected or disconnected
2021-04-18 21:13:46 +00:00
Peter KretzandGitHub 9dc35e6863 Merge pull request #10 from kretzp/feature/AtlasEZOPlugins_pH_EC
Feature/atlas ezo plugins p h ec
2021-04-18 18:27:33 +02:00
Peter KretzandGitHub d64a040850 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-04-18 18:25:32 +02:00
TD-er 13e8e6d6c6 [Custom Build] Allow to embed custom CSS
Define in Custom.h:
```c++
#define WEBSERVER_EMBED_CUSTOM_CSS
static const char DATA_ESPEASY_DEFAULT_MIN_CSS[] PROGMEM = {
...
,0};
```
2021-04-18 16:05:58 +02:00
TD-er 5403b0d680 [WiFi] Fix issue where WiFi does not reconnect after disconnect 2021-04-18 15:19:06 +02:00
uwekaditz 8d90c2f5fa Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-04-17 19:56:17 +02:00
Ton HuismanandGitHub 42ffbbe171 Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-17 17:46:50 +02:00
Ton HuismanandGitHub c3dbe82835 Merge branch 'mega' into feature/add-setting-for-quoted-json-bool-values 2021-04-17 15:24:39 +02:00
TD-erandGitHub 79418ff08a Merge pull request #3583 from kretzp/letscontrolit_mega
Fix: [CUSTOM_EMERGENCY_FALLBACK_RESET_CREDENTIALS]
2021-04-17 15:01:43 +02:00
Peter Kretz 6c99a3a5f6 Custom Sample 2021-04-17 12:43:50 +02:00
Peter Kretz 9a800f5d76 Fix: [CUSTOM_EMERGENCY_FALLBACK_RESET_CREDENTIALS] 2021-04-17 10:15:37 +02:00
Ton HuismanandGitHub 75df91b7f0 Merge branch 'mega' into feature/add-setting-for-quoted-json-bool-values 2021-04-17 10:14:49 +02:00
Ton Huisman 628538723e [JSON] Rename methods and define, small optimization 2021-04-17 10:14:27 +02:00
Peter Kretz b397809622 CUSTOM_EMERGENCY_FALLBACK_START_AP 2021-04-17 09:09:34 +02:00
Peter KretzandGitHub cc5007c632 Merge pull request #9 from kretzp/feature/AtlasEZOPlugins_pH_EC
merged mega from main repo
2021-04-17 08:37:50 +02:00
Peter KretzandGitHub 11d8180fb2 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-04-17 08:35:58 +02:00
TD-erandGitHub c6e13e9140 Merge pull request #3582 from TD-er/bugfix/SWwatchdog_WiFi
[WiFi] Feed SW watchdog timer on WiFi related actions that may take time
2021-04-17 00:18:03 +02:00
TD-erandGitHub 382cb35b91 Merge pull request #3581 from TD-er/bugfix/rules_precision
Fix Precision issues and initialisation of members in rules
2021-04-17 00:17:46 +02:00
TD-er 032a9b5bbf [Custom build] Allow DEFAULT_WIFI_INCLUDE_HIDDEN_SSID in Custom.h
As requested here: https://github.com/letscontrolit/ESPEasy/pull/3576#issuecomment-821542391
2021-04-17 00:12:37 +02:00
TD-er f8b9d35770 [WiFi] Feed SW watchdog timer on WiFi related actions that may take time
Checking network state may sometimes detect the exact limbo states it was written for.
However it may take some time to reset the WiFi if it is in limbo state, but by then the SW watchdog timer may already have reset the node.
2021-04-16 23:52:48 +02:00
Peter KretzandGitHub 4ce17a3b8f Update Custom-sample.h 2021-04-16 23:52:23 +02:00
peter.kretz 23ee9beb2f Poolmeter 2021-04-16 23:44:28 +02:00
TD-er 42ba8b5354 Fix Precision issues and initialisation of members in rules 2021-04-16 21:32:02 +02:00
Ton HuismanandGitHub fec5ce20cf Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-16 20:48:12 +02:00
Ton Huisman 8201d97ed3 [JSON] Fix merge typo 2021-04-16 20:40:21 +02:00
Ton HuismanandGitHub af84d77623 Merge branch 'mega' into feature/add-setting-for-quoted-json-bool-values 2021-04-16 20:37:30 +02:00
Ton Huisman 4959b6151e [JSON] Invert setting logic, adjust setting index 2021-04-16 20:33:16 +02:00
kretzp 1f465deed3 VCC flag removed 2021-04-16 18:21:16 +02:00
Peter Kretz a38f8bf867 Merge branch 'mega' of https://github.com/kretzp/ESPEasy into mega 2021-04-16 17:51:47 +02:00
Peter Kretz 8bc2825c65 upload speed 2021-04-16 17:51:24 +02:00
Peter KretzandGitHub 26dc5865da Merge pull request #8 from kretzp/feature/AtlasEZOPlugins_pH_EC
empty line removed
2021-04-16 17:50:01 +02:00
Peter Kretz ffdb8f932d empty line removed 2021-04-16 17:49:19 +02:00
Peter KretzandGitHub 5fc71d3a2f Merge pull request #7 from kretzp/feature/AtlasEZOPlugins_pH_EC
Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into …
2021-04-16 17:44:07 +02:00
Peter Kretz 41e8e1e98e Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-04-16 17:22:52 +02:00
Peter Kretz a78586dada Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/AtlasEZOPlugins_pH_EC 2021-04-16 17:16:06 +02:00
TD-erandGitHub 474908faf2 Merge pull request #3576 from TD-er/feature/Allow_Custom_BuildStyling
[Custom build] Allow for more styling options in custom build
2021-04-16 09:19:50 +02:00
TD-er 0284667f4c [Docs] Document new added WiFi settings 2021-04-16 09:19:32 +02:00
TD-er c3bccf5a83 [Build] Fix build issues when not using Custom.h 2021-04-15 23:29:55 +02:00
TD-erandGitHub e5dc2a209c Merge branch 'mega' into feature/ESP32_S2_support 2021-04-15 22:47:06 +02:00
Peter KretzandGitHub 1ac3deed58 Merge pull request #5 from kretzp/feature/AtlasEZOPlugins_pH_EC
Update _P103_Atlas_EZO_pH_ORP_EC.ino
2021-04-15 22:35:34 +02:00
Peter KretzandGitHub 707e0bc17c Update _P103_Atlas_EZO_pH_ORP_EC.ino
DEBUG --> LOG_LEVEL_DEBUG
2021-04-15 22:26:20 +02:00
Peter KretzandGitHub 954b9609f2 Merge pull request #4 from TD-er/feature/Allow_Custom_BuildStyling
[Custom build] Allow for more styling options in custom build
2021-04-15 21:21:36 +02:00
TD-er 8541d413df [Setup page] Add rescan button to setup page 2021-04-15 20:28:15 +02:00
TD-er 4d709ac0da [WiFi] Add periodical rescan option + reuse recent scans for reconnect 2021-04-15 20:27:49 +02:00
TD-er 3f438ae886 [WiFi Setup] Implement captive portal to automatically sign in
A captive portal allows a connected user to be redirected to the node when signing in to its AP.
If no WiFi credentials are present, it will redirect to the setup page immediately.
2021-04-15 14:21:31 +02:00
TD-er 111a9ea713 [WiFi] Decrease number of scans when AP is used, to make setup stable
Timer to disable AP is re-set when attempting a new connection from the setup page.
WiFi scans are limited to once per 60 sec normal and once per 180 sec when AP is actively used.
2021-04-15 13:35:25 +02:00
TD-er dfdcf5260b [WiFi Setup] Only scan on WiFi setup page if needed to prevent disconnect
Especially a Windows laptop will disconnect from the node's AP if it performs a scan.
So make scanning occur less often.
2021-04-15 10:27:28 +02:00
TD-er 4e09c11b70 [Sysinfo] Show network services state on root- and setup page
Showing MQTT Client Connected state on root page and after WiFi setup (if a MQTT controller is enabled)
Showing on sysinfo page:
- Network Connected
- NTP Initialized
- MQTT Client Connected (if a MQTT controller is enabled)
2021-04-15 08:49:37 +02:00
TD-er f3167a499a [WiFi Setup] Increase click area for selecting scan result
Makes it a lot easier on a mobile to select the right scan result.
2021-04-15 00:57:26 +02:00
TD-er 0569c78e60 [WiFi Setup] Add "Include hidden SSID" as "advanced" setting bottom page 2021-04-15 00:31:00 +02:00
TD-er 6fef983321 [WiFi Setup] Add clear WiFi credentials button (for deployment) 2021-04-14 23:41:09 +02:00
TD-er ad4fbf8b31 [WiFi] Fix clear credentials on emergency fallback SSID
It should not continuously reset credentials as soon as you enter new settings.

- Only within N minutes uptime
- Only when there are WiFi credentials present
- Only clear once since boot
- Only clear on cold boot.
2021-04-14 18:08:51 +02:00
TD-er 97564e6694 [WebServer] Do not alias index.htm and index.html to handle_root()
When done you cannot download `index.html` from the file system if both `index.html` and `index.htm` exist.
2021-04-14 14:39:58 +02:00
TD-er e407b1b2d4 [WiF] Prevent WiFi resets when not all events are processed.
Just added a new check to make sure the WiFi isn't reset before all WiFi events are processed.
2021-04-14 13:02:56 +02:00
TD-er 009c26b1bd [WiFi] Reset WiFi if it changes channel without disconnecting
The ESP8266 (maybe also ESP32) does sometimes appear to listen to "CSA" packets sent by other access points we're not even connected to.
These "Channel Switch Announcements" may cause the channel to switch without disconnecting.
It may also be caused by an ESP running in AP mode while scanning another channel.

This may cause strange issues where the ESP remains connected and thus does not try to reconnect, but in fact it isn't.
2021-04-14 12:53:44 +02:00
TD-er bdc1975162 [Webserver] Allow serving static files from SPIFFS when not logged in
Only .dat and .txt files are sensitive so they should not be downloaded without authorisation.
2021-04-14 12:49:52 +02:00
TD-er 8165bff3ff [WiFi setup] Fix layout setup page 2021-04-13 21:56:03 +02:00
TD-er eb5a6b3617 [WiFi Setup] Store WiFi scan results in WiFi_AP_CandidatesList
To improve WiFi scan sensitivity to allow multiple scans to collect more APs as a scan may sometimes miss some APs.
2021-04-13 17:01:09 +02:00
TD-er 7e0463c73e [WiFi Setup] Make WiFi setup more intuitive 2021-04-13 12:45:09 +02:00
Ton Huisman 1ede6ebcb3 [JSON] Add documentation, initialize the setting during factory reset 2021-04-12 21:55:05 +02:00
uwekaditz 3e9b8661f3 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-04-12 15:01:44 +02:00
TD-er b78b549456 [Custom Build] Allow web UI customization in custom builds 2021-04-12 13:29:56 +02:00
TD-er b2456b6fe4 [Deployment cconfig] Allow for deployment SSID and emergency fallback
Only in Custom builds!
2021-04-12 12:41:17 +02:00
Peter KretzandGitHub 51fa8b5e1f Merge pull request #3 from kretzp/feature/AtlasEZOPlugins_pH_EC
Feature/atlas ezo plugins p h ec
2021-04-12 10:53:28 +02:00
Peter KretzandGitHub e9ce6c1c0e Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-04-12 10:48:03 +02:00
TD-erandGitHub 704ba96451 Merge branch 'mega' into feature/Allow_Custom_BuildStyling 2021-04-12 09:26:41 +02:00
Ton HuismanandGitHub 9b469c12ff Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-11 23:09:23 +02:00
Ton Huisman 17e04b815e [JSON] Add setting for quoted bool values (default on) 2021-04-11 23:05:09 +02:00
Kim-MrXandGitHub 486d06ddd2 Merge branch 'mega' into P003-2.2-PULSE-enhancement 2021-04-11 22:48:21 +02:00
TD-erandGitHub e4bd63aff4 Merge pull request #3574 from tonhuisman/feature/add-extra-variables-to-json-output
[JSON] Add extra variables to JSON output
2021-04-11 22:01:48 +02:00
Ton Huisman 55d71d7f08 [SysVars] Adjust documentation 2021-04-11 21:13:12 +02:00
Ton Huisman 34e95b473b [SysVars] Update documentation 2021-04-11 20:56:40 +02:00
Ton Huisman b64822defb [SysVars] Add %uptime_ms% System variable 2021-04-11 20:42:49 +02:00
Ton Huisman a41ba8c853 [JSON] Add more variables, Location, NTP, Uptime_MS 2021-04-11 20:03:53 +02:00
TD-erandGitHub 1cbaf4b73f Merge branch 'mega' into P003-2.2-PULSE-enhancement 2021-04-11 16:26:08 +02:00
Ton Huisman 8e3e27b533 [JSON] Remove unneeded calls 2021-04-11 15:52:03 +02:00
Ton Huisman ff4f02efd6 [JSON] Add extra variables to JSon output 2021-04-11 15:01:47 +02:00
Peter KretzandGitHub a85c914573 Merge pull request #2 from kretzp/feature/AtlasEZOPlugins_pH_EC
Feature/atlas ezo plugins p h ec
2021-04-11 14:22:42 +02:00
Peter KretzandGitHub db60af8f24 Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC 2021-04-11 14:06:52 +02:00
Peter Kretz c0b7126108 Debuggin Prupose Removed name = K now 2021-04-11 13:59:29 +02:00
Peter Kretz c62307fb63 Probe Type for EC could be configurated, improvement of displaying calibration status and some minor improvements 2021-04-11 13:54:51 +02:00
KimPanda4 c962c83696 Enhancd docu of commands. Mention TaskName option. 2021-04-11 13:46:32 +02:00
Peter Kretz 9a395785b2 - rework in calibration --> streamline and reuse of duplicated code - show # of calibration points - possibility to clear calibration 2021-04-10 21:03:37 +02:00
Ton HuismanandGitHub 57f2e3ba4f Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-10 19:39:31 +02:00
TD-erandGitHub 456553808c Merge pull request #3535 from tonhuisman/feature/ESP32_16MB-flash-max-plugins
[ESP32 MAX] Configuration for ESP32 with 16MB Flash
2021-04-10 19:27:19 +02:00
TD-erandGitHub 3323fa6630 Merge pull request #3098 from tonhuisman/feature/taskvalueset_by_name
[TaskValueSet(AndRun)] Use TASKname and/or VARname instead of TASKnr/VARnr
2021-04-10 19:26:46 +02:00
Peter Kretz 0025106587 configuration stuff 2021-04-10 18:09:46 +02:00
Peter Kretz f2b6de061c my settings 2021-04-10 18:02:18 +02:00
Peter Kretz 50f2fc9562 Merge branch 'feature/AtlasEZOPlugins_pH_EC' of https://github.com/kretzp/ESPEasy into mega 2021-04-10 18:01:37 +02:00
Peter Kretz 69fb8b9768 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-04-10 17:55:03 +02:00
Peter Kretz 881bab84df Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/AtlasEZOPlugins_pH_EC 2021-04-10 17:50:23 +02:00
Ton HuismanandGitHub 33a3ccb9e7 Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-10 16:48:34 +02:00
Ton HuismanandGitHub 72e8e20b04 Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-04-10 16:48:15 +02:00
Ton HuismanandGitHub d0ee9243b1 Merge branch 'mega' into feature/taskvalueset_by_name 2021-04-10 16:47:38 +02:00
TD-erandGitHub 7f25a9b8c6 Merge pull request #3571 from tonhuisman/feature/documentation-updates-and-corrections
[Docs] Documentation updates and corrections
2021-04-10 15:47:15 +02:00
Ton HuismanandGitHub 2f803f5bf5 Merge branch 'mega' into feature/taskvalueset_by_name 2021-04-10 15:07:30 +02:00
Ton Huisman 00a027fba5 [P113] Apply uncrustify source formatting 2021-04-10 14:15:32 +02:00
Ton Huisman 3923187655 [P113] Add 'Trigger delta' option, updated documentation 2021-04-10 14:06:55 +02:00
Peter Kretz 5f7ad7291f dtostrf 2021-04-10 13:56:24 +02:00
Peter Kretz 43c5bd8d83 ZEROTERMINATE, safe_strncpy , an 0 character handling as requested by review 2021-04-10 13:47:50 +02:00
Peter Kretz bb550209ac Fixed 0 terminated strings and substring issue 2021-04-10 12:41:35 +02:00
Ton Huisman bc80fd9bd6 [Docs] P050 Add missing Changelog section 2021-04-10 11:26:37 +02:00
Ton Huisman 5ac05dc812 [Docs] Restore default doc. header for P050, some corrections 2021-04-10 11:19:59 +02:00
Peter Kretz 039bc2f95f Removed speed 2021-04-10 10:41:14 +02:00
Peter Kretz 480d758b48 removed speed 2021-04-10 10:40:35 +02:00
Peter Kretz 82dac72cae Added use of html functions 2021-04-10 10:34:26 +02:00
Peter Kretz 11b568dfed Removed upload speed 2021-04-09 22:39:43 +02:00
Ton Huisman 6fd0de168c [Docs] Correct a typo 2021-04-09 22:19:07 +02:00
Peter Kretz 9fd23c1fde [Atlas EZO]: Unified Plugin for pH, ORP and EC Sensors from Atlas via I2C 2021-04-09 22:18:42 +02:00
Ton Huisman 50941d98cf [Docs] Documentation updates and corrections 2021-04-09 22:12:12 +02:00
Peter Kretz b6a45fc8c4 now fits to new changes 2021-04-08 18:51:05 +02:00
Ton Huisman b0d87ac34f [ESP32 MAX] Add ENERGY and DISPLAY plugin sets, remove EXPERIMENTAL set 2021-04-07 22:25:47 +02:00
Ton Huisman c879c3516f [P113] Removed Interval optional setting, minor source cleanup 2021-04-06 21:11:19 +02:00
Ton Huisman 4a6ef5fc5d [ESP32 MAX] Clean up an obsolete comment 2021-04-06 20:30:43 +02:00
Peter Kretz 1efb573807 further merging 2021-04-06 19:25:19 +02:00
Peter Kretz 6124bed28c further merging 2021-04-06 19:23:47 +02:00
Peter Kretz f59b72d3b7 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2021-04-06 19:19:06 +02:00
Peter Kretz 970d6c7ace WebServerPort duplicate thrown away 2021-04-06 18:19:08 +02:00
Ton Huisman 70ae2e960c [ESP32 MAX] Enable P109 now that it is in PR 2021-04-05 22:27:36 +02:00
Ton Huisman 223c8fbf48 [ESP32 MAX] Enable most plugins up to P125 (even when not in PR yet) 2021-04-05 22:26:10 +02:00
TD-er 053b1681df Rename P107_ThermoOLED to P109 2021-04-05 22:25:58 +02:00
TD-erandGitHub a73acb0d7e Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-04-05 21:57:31 +02:00
Ton HuismanandGitHub f0c0aa9991 Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-04-05 21:44:39 +02:00
Ton HuismanandGitHub 20fca0bc0f Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-05 21:14:36 +02:00
Ton Huisman 80739fa2bc [P113] Add secondary address to I2C_Scanner 2021-04-05 21:11:08 +02:00
TD-erandGitHub 7ef72e9e36 Merge pull request #3493 from tonhuisman/feature/P110_VL53L0X_move_from_pluginplayground
[P110] Move P133 VL53L0X from PluginPlayground to main repository
2021-04-05 21:09:45 +02:00
Ton HuismanandGitHub f437a7b110 Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-04-05 20:35:53 +02:00
Ton Huisman fecc257ea9 [P110] Removed check for unsupported VL53L1X, added range to plugin description 2021-04-05 20:35:15 +02:00
Ton Huisman 7487ff8690 [P113] Add Documentation 2021-04-05 20:20:15 +02:00
Ton HuismanandGitHub 5fe25e801b Merge branch 'mega' into feature/taskvalueset_by_name 2021-04-05 19:11:03 +02:00
Ton Huisman 4022a77199 [P113] Add VL53L1X to Custom-sample.h (disabled) 2021-04-05 16:16:07 +02:00
Ton Huisman 2b38aa7d36 [P113] Add VL53L1X Time of Flight sensor to ESPEasy 2021-04-05 16:01:03 +02:00
Ton Huisman 0a91bfa6c3 [ESP32 MAX] Add ESP32_16M1M_ETH configuration, disable PS-RAM support 2021-04-03 16:44:47 +02:00
Joerg Heinemann c3b491f82f Improved settings options 2021-04-03 11:43:46 +02:00
KimPanda4 b921deb0ad Review corrections re. logging, commands, memspace 2021-04-03 01:16:26 +02:00
Ton Huisman 032585e94c [ESP32 MAX] Add 16M1M config (SPIFFS), rename 2M/8M (LittleFS) configs 2021-04-02 20:36:44 +02:00
uwekaditz 36285fed97 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-04-02 14:40:20 +02:00
Ton HuismanandGitHub 51cfded626 Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-04-01 15:39:27 +02:00
Joerg HeinemannandGitHub 95191f6a01 Merge branch 'mega' into AS7265X-Plugin 2021-04-01 11:02:52 +02:00
Joerg Heinemann d62a353c73 Reduce plugin READ time
Collect the value of each wavelength in PLUGIN_TEN_PER_SEC calls
2021-04-01 10:57:28 +02:00
TD-erandGitHub 33ce4474c7 Merge pull request #3559 from tonhuisman/feature/rules_calculated_if_conditions
[Rules] Calculate IF conditions before evaluation
2021-04-01 08:25:50 +02:00
Ton HuismanandGitHub e12e2fa577 Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-31 21:25:43 +02:00
Ton HuismanandGitHub a80166cc57 Merge branch 'mega' into feature/taskvalueset_by_name 2021-03-31 21:25:00 +02:00
Ton HuismanandGitHub 3e52da8bbf Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-31 21:24:36 +02:00
Ton HuismanandGitHub 5a0cb6ba6e Merge branch 'mega' into feature/rules_calculated_if_conditions 2021-03-31 21:23:36 +02:00
Joerg Heinemann e4a40aa304 Handle Measurement Status
Include P112_data->MeasurementStatus variable
2021-03-31 10:59:23 +02:00
TD-erandGitHub ebc7dcbffe Merge pull request #3562 from tonhuisman/feature/build-display-timestamp-at-end-of-build
[Build] Display timestamp after copying files to build_output
2021-03-30 17:23:47 +02:00
Ton HuismanandGitHub 4efcfc092a Merge branch 'mega' into feature/build-display-timestamp-at-end-of-build 2021-03-30 17:00:08 +02:00
Joerg Heinemann 9090d18af6 Giving up - Running into a loop without sensor readings 2021-03-30 15:15:04 +02:00
Ton HuismanandGitHub 0f7899cf1b Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-30 13:52:11 +02:00
TD-erandGitHub b64a79e5f1 Merge pull request #3565 from TD-er/bugfix/esp32_core3.1.0
[ESP32] Set to PIO espressif32@3.2.0 (#3564)
2021-03-30 11:50:48 +02:00
Joerg Heinemann 2113c16836 Change MeasurementMode
Split Measurement and Sensor Readings
2021-03-30 11:43:17 +02:00
TD-er 5ea80b8765 [ESP32] Set to PIO espressif32@3.2.0 (#3564)
Fixes: #3564
2021-03-30 10:26:13 +02:00
Joerg HeinemannandGitHub 7d5badc43f Add SparkFun AS7265X library
Initial commit
2021-03-29 13:37:30 +02:00
Joerg HeinemannandGitHub 50384752ea Add _P112_AS7265x
Initial commit
2021-03-29 13:19:47 +02:00
Joerg HeinemannandGitHub 315ee54c2a Add _P112_AS7265x.ino
Initial commit
2021-03-29 13:17:37 +02:00
Ton Huisman 1ae36a0970 [Build] Display timestamp after copying files to build_output 2021-03-28 18:23:07 +02:00
KimPanda4 b120af35ce Requested changes from today in P003 2021-03-28 17:00:18 +02:00
KimPanda4 fab1a362d3 avoided nested switch, added overdue statistics 2021-03-28 01:04:14 +01:00
Ton HuismanandGitHub ea313e0612 Merge branch 'mega' into feature/taskvalueset_by_name 2021-03-27 17:35:24 +01:00
Ton HuismanandGitHub 4e3e30a41f Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-27 17:35:03 +01:00
Ton HuismanandGitHub d7c3b5ad35 Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-27 17:34:45 +01:00
Ton HuismanandGitHub 0bf9d6472f Merge branch 'mega' into feature/rules_calculated_if_conditions 2021-03-27 17:34:28 +01:00
uwekaditz 8abbb53f3e Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-03-27 17:11:57 +01:00
TD-erandGitHub deceeb304b Merge pull request #3560 from TD-er/bugfix/Ethernet_events
[Ethernet] Proper handling of network events + revert to WiFi
2021-03-27 17:05:46 +01:00
TD-er ffa46e93ae [Ethernet] Proper handling of network events + revert to WiFi
Ethernet could get into a limbo state where it would not work after some time.
The user could also not use a fall-back to WiFi when Ethernet did not work
2021-03-27 16:54:23 +01:00
uwekaditz 4f7f1d1000 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-03-27 16:50:38 +01:00
Ton Huisman 2f5ede7795 [Rules] balanceParentheses(): Always use String.reserve when changing string 2021-03-27 16:30:18 +01:00
Ton Huisman 098bf4dbba [Rules] Calculate IF conditions before evaluation 2021-03-27 13:28:46 +01:00
Ton HuismanandGitHub 16bc5f6acc Merge branch 'mega' into feature/taskvalueset_by_name 2021-03-27 13:06:52 +01:00
Ton Huisman d487aee334 [ESP32_MAX] Add plugin P108 to ESP32 Max set 2021-03-27 10:35:52 +01:00
Ton HuismanandGitHub c195f0853f Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-27 10:02:06 +01:00
Ton HuismanandGitHub 7e9960bc3a Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-27 09:54:43 +01:00
TD-erandGitHub 275c3a2f60 Merge pull request #3508 from tonhuisman/feature/P111_rc522_rfid
[P111] MFRC522 RFID reader moved from PluginPlayground
2021-03-27 09:50:19 +01:00
Ton HuismanandGitHub 2a874789b8 Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-27 09:50:01 +01:00
Ton HuismanandGitHub 3577bfc582 Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-27 09:49:35 +01:00
Ton HuismanandGitHub bd2ab6bfe7 Merge branch 'mega' into feature/taskvalueset_by_name 2021-03-27 09:48:08 +01:00
Ton HuismanandGitHub eb3b0f79d7 Merge branch 'mega' into feature/P111_rc522_rfid 2021-03-27 09:47:24 +01:00
TD-erandGitHub 0bcf2c0bf8 Fix build error in WebServer/404.cpp
As reported here: https://github.com/letscontrolit/ESPEasy/commit/ad95f95b5467efc9ff9ad49168a31873da4c97e3#r48710604
2021-03-25 19:19:39 +01:00
TD-erandGitHub ad95f95b54 Merge pull request #3480 from martament/f-standalone-webserver
F standalone webserver
2021-03-25 13:01:56 +01:00
TD-erandGitHub 6ff453762f Merge pull request #3555 from TD-er/bugfix/WiFiReconnect
[WiFi] Fix unit not reconnecting to WiFi
2021-03-25 10:35:29 +01:00
TD-er 8687c98c4f [WiFi] Fix unit not reconnecting to WiFi
The initial setup also was next to impossible to do via the web interface as the unit did not attempt to reconnect from the setup page.
2021-03-25 10:23:55 +01:00
Ament Martin 17af1190ce Merge branch 'f-standalone-webserver' of https://github.com/martament/ESPEasy into f-standalone-webserver 2021-03-24 20:27:50 +01:00
Ament Martin 0e09ff139f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into f-standalone-webserver 2021-03-24 20:23:50 +01:00
martamentandGitHub 8b973021ba Merge branch 'mega' into f-standalone-webserver 2021-03-24 20:09:26 +01:00
TD-erandGitHub 7e7c602072 Merge pull request #3553 from tonhuisman/feature/process-all-%v-variables
[Rules] Process all %vN% variables
2021-03-23 21:56:39 +01:00
Ton Huisman 571cc756d1 [Rules] Process all %vN% variables 2021-03-23 21:30:44 +01:00
TD-erandGitHub b9e4e27f37 Merge pull request #3552 from GravityRZ/patch-1
Update GPIO.rst
2021-03-23 20:47:36 +01:00
GravityRZandGitHub dc212b9e48 Update GPIO.rst
GPIO16 can also be used for PWM. removed text which states that it can not be used.
2021-03-23 20:04:14 +01:00
martamentandGitHub aff61527c9 Merge branch 'mega' into f-standalone-webserver 2021-03-23 12:38:39 +01:00
Ton HuismanandGitHub d076d4022d Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-21 09:40:57 +01:00
KimPanda4 42c3ccbc7e correction of reference in P003 command docu 2021-03-20 12:43:34 +01:00
uwekaditz 36b377592d Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-03-19 22:05:49 +01:00
TD-er 8f57b6a350 [WebPage] Allow to hide help buttons 2021-03-19 11:32:11 +01:00
TD-er 9f120fa3cb [Custom.h] Add DEFAULT_SSID2 & DEFAULT_KEY2 2021-03-19 11:27:43 +01:00
TD-er db087432d4 [WebPage] Add CSS styling to WiFi bar chart SVG
Use something like this in the CSS:

```css
rect.bar_highlight {
    fill: orange;
}
```
2021-03-19 11:25:16 +01:00
TD-er 8680666d3f [WebPage] Allow for basic web page layout changes in custom build 2021-03-19 11:20:09 +01:00
TD-erandGitHub 988bcca403 Merge pull request #3548 from letscontrolit/build/1M_smaller_config_dat
[1M builds] Init config.dat file to 36k size
2021-03-18 11:46:33 +01:00
TD-erandGitHub 7d75470fa4 Merge pull request #3549 from TD-er/bugfix/WiFi_RemovePrepareSend
[WiFi] Set max TX power always if forced in settings
2021-03-18 11:42:16 +01:00
TD-er 85828aa8ab [WiFi] Set max TX power always if forced in settings
The `PrepareSend()` function was a bad design decision.
If "Use max TX pwr" is set, it must be always set.
Otherwise you may end up with the strange situation where SDK generated traffic (e.g. a reply to a ping) is not using the max TX power while ESPEasy-generated traffic is sending at max. TX power.
2021-03-18 11:41:53 +01:00
TD-erandGitHub 94c360374f [1M builds] Init config.dat file to 36k size
No need to include the extra zeroes at the end, which may lead to issues on the already small file system of 1M builds.
This will only be trimmed on new files (e.g. when performing a factory default reset)
2021-03-18 10:40:33 +01:00
Ton HuismanandGitHub 41f02e02b7 Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-18 09:41:42 +01:00
TD-erandGitHub e8321d606f Merge pull request #3547 from TD-er/feature/ESP32_SDK_3.1.0
[ESP32] Update to PIO espressif32@3.1.0
2021-03-18 09:33:32 +01:00
TD-erandGitHub 2f7a49aad4 Merge pull request #3546 from TD-er/bugfix/WiFi_RSSI_31_reset
[WiFi] Make sure to reset WiFi if RSSI = +31
2021-03-18 08:36:22 +01:00
TD-er e0bc842268 [ESP32 ETH] Fix set config IPs to 0.0.0.0 when using DHCP + cleanup code 2021-03-18 01:30:56 +01:00
TD-er b19a8d7948 [ESP32] Update to PIO espressif32@3.1.0
Fix issues with Ethernet that prevented updating to 3.1.0
Also did some clean-up on sysinfo info that is either irrelevant when using Ethernet or duplicate info.
2021-03-17 23:44:39 +01:00
KimPanda4 889a3e6fc7 Updated P003 docu 2021-03-17 16:25:06 +01:00
TD-er 459a12060e [WiFi] Make sure to reset WiFi if RSSI = +31
As mentioned here: https://github.com/letscontrolit/ESPEasy/commit/00bacee5eeca41793c5274b9b011b5d28dd8dd86#commitcomment-48319343 by @clumsy-stefan
2021-03-17 10:03:33 +01:00
KimPanda4 637cd8e3ff introduce taskIndex_t instead of byte for taskID 2021-03-16 12:44:44 +01:00
TD-erandGitHub 034467f67b Merge pull request #3542 from aiolos/p1-buffer-overflow-fix
[P044] P1 buffer overflow fix
2021-03-16 08:46:17 +01:00
KimPanda4 608848e302 P003 New enhanced version 2.2 (PULSE Modes) 2021-03-15 22:44:55 +01:00
TD-erandGitHub 90a85c6297 Merge pull request #3530 from TD-er/feature/ControllerQueue_timeout
[Controller Queue] Add expire and deduplicate check for controller queue
2021-03-15 12:49:53 +01:00
TD-erandGitHub 736c8de845 Merge pull request #3543 from TD-er/build/test_nonVCC
[Build] Make test_ESP8266_4M1M build again
2021-03-15 12:47:06 +01:00
TD-er 9e27e04a9c [testing build] Remove 2 more "energy" plugins from "testing" build 2021-03-15 12:13:53 +01:00
TD-er 95f8e0cd5d [Build] Make test_ESP8266_4M1M build again
2 "energy" plugins are now excluded from the "testing" build as they are part of the "energy" builds
2021-03-15 12:03:26 +01:00
Henri de Jong cc5c68f37b Don't create buffer bigger than maximum 2021-03-14 22:14:48 +01:00
Henri de Jong 647138b353 Always max message size 2021-03-14 22:14:48 +01:00
Henri de Jong ebb226b862 Possible sagemcom fix 2021-03-14 22:14:48 +01:00
TD-er 609b8488a4 [Build] Make sure PLUGIN_USES_SERIAL is defined for USES_P020
As reported here: https://github.com/letscontrolit/ESPEasy/pull/3483#issuecomment-796036102
2021-03-14 16:57:03 +01:00
TD-erandGitHub 87fcdbbab4 Merge branch 'mega' into bugfix/P020_ser2net 2021-03-14 16:54:39 +01:00
TD-erandGitHub 889ddaff23 Merge branch 'mega' into feature/ControllerQueue_timeout 2021-03-14 16:53:59 +01:00
TD-erandGitHub 00bacee5ee Merge pull request #3541 from TD-er/bugfix/reduce_CPU_load
Fix high CPU load introduced recently by variable WiFi TX power
2021-03-14 16:53:14 +01:00
TD-er 52f8d365b1 [Scheduler] No need to call backgroundtasks() twice in the same loop 2021-03-14 16:38:45 +01:00
TD-er 8ba4b686d5 Fix higher load introduced recently by variable WiFi TX power 2021-03-14 16:17:06 +01:00
TD-er 8fdb6b5708 [GPS] Fix running out of memory when no GPS data is received.
The log string was extended over 80 bytes when occasional bogus data was read, but no valid NMEA sentence, thus filling up the RAM.
2021-03-14 16:16:31 +01:00
TD-er a091056e40 Fix higher load introduced recently by variable WiFi TX power 2021-03-14 16:15:45 +01:00
TD-er 44f13734bc [GPS] Fix running out of memory when no GPS data is received.
The log string was extended over 80 bytes when occasional bogus data was read, but no valid NMEA sentence, thus filling up the RAM.
2021-03-14 15:01:41 +01:00
Ton HuismanandGitHub dea74df025 Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-14 13:45:47 +01:00
Ton HuismanandGitHub c9ab2b5e9a Merge branch 'mega' into feature/ESP32_16MB-flash-max-plugins 2021-03-14 13:45:06 +01:00
Ton HuismanandGitHub b3da5ddddb Merge branch 'mega' into feature/taskvalueset_by_name 2021-03-14 13:44:20 +01:00
Ton Huisman 11e63444aa [P111] Add documentation 2021-03-13 14:22:36 +01:00
Ton Huisman 0a5ddbb295 [P111] Disabled Tag removal detection as this won't work properly 2021-03-13 13:27:39 +01:00
uwekaditz 636ef1e891 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-03-13 12:51:34 +01:00
Ton Huisman 8271e07a05 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P111_rc522_rfid 2021-03-13 10:20:30 +01:00
Ament Martin efa5fcf475 Added missing setting 2021-03-09 22:12:18 +01:00
Ament Martin 036eeabe88 ResetAdvanced to branch-mega and implement Option
at ConfigPage
2021-03-09 22:00:11 +01:00
Ton Huisman 1697f536d0 [P110] Improve code readability 2021-03-09 21:27:45 +01:00
Ton Huisman 3e7bf234da [P110] Add experimental support for VL53L1X 2021-03-08 22:35:20 +01:00
Ton Huisman 8f92fdd876 Merge branch 'feature/P110_VL53L0X_move_from_pluginplayground' of https://github.com/tonhuisman/ESPEasy-1 into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-08 21:26:23 +01:00
Ton Huisman e4d7fb56b5 [P110] Add extra logging with model-id on init-errors 2021-03-08 21:25:34 +01:00
Ament Martin 9a011f0fa4 Fixed missing setup for 404. And added some docu 2021-03-08 20:36:30 +01:00
Ament Martin a8891d1716 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into f-standalone-webserver 2021-03-08 20:22:58 +01:00
TD-erandGitHub 6b11c52c99 Merge branch 'mega' into feature/ControllerQueue_timeout 2021-03-08 11:27:50 +01:00
Ton Huisman 14974144d3 [EPS32 MAX] Extend logging during configuration save 2021-03-07 22:24:08 +01:00
TD-erandGitHub a21afd6a0e Merge pull request #3501 from heinemannj/patch-1
Documentation for P050_TCS34725
2021-03-07 22:03:52 +01:00
TD-erandGitHub 22fae500d3 Merge branch 'mega' into feature/Thermocouple_MAX31856 2021-03-07 22:02:40 +01:00
TD-erandGitHub 035d3b39e5 Merge branch 'mega' into Fix-P090_CCS811-setEnvironmentalData 2021-03-07 22:02:24 +01:00
TD-erandGitHub 57824ca0be Merge branch 'mega' into feature/ControllerQueue_timeout 2021-03-07 22:01:14 +01:00
TD-erandGitHub 9c19f2ae26 Merge pull request #3536 from TD-er/build/Remove_nonbeta_LittleFS
[Build] Remove nonbeta LittleFS env + RN2xx3 lib_ignore
2021-03-07 22:00:51 +01:00
TD-er 449d41cfb7 [Build] Set normal_IRext_no_rx_ESP8266_4M2M to LIMIT_BUILD_SIZE 2021-03-07 21:29:51 +01:00
Ton Huisman c5e0d73f9d [ESP32 MAX] Fix build issue, case-sensitive filename 2021-03-07 21:15:05 +01:00
Ton Huisman b4f7493730 [ESP32 MAX] Switch to LittleFS, only 16M2M and 16M8M configs + ETH 2021-03-07 20:35:16 +01:00
TD-er 13b92c97b0 [Build] Disable test_ESP8266_4M1M_VCC_MDNS_SD as it does not fit in IRAM 2021-03-07 16:44:46 +01:00
TD-er 0e20a04b3e [Build] Remove P076 HWL8012 from "testing" builds due to build size 2021-03-07 16:44:19 +01:00
TD-er b336a43721 [Cleanup] Remove unneeded ICACHE_RAM_ATTR on DHCP timeout callback 2021-03-07 16:28:38 +01:00
TD-er d764893da3 [Build] Fix normal_beta_ESP8266_16M_LittleFS build 2021-03-07 16:03:10 +01:00
TD-er 60f85d8d9f [Cleanup] Reduce IRAM usage in Dallas bit read/write code 2021-03-07 15:25:33 +01:00
Ton Huisman 5a4eff884b [ESP32 MAX] Mixed up partitions fixed 2021-03-07 15:01:09 +01:00
Ton HuismanandGitHub 841cfc1d9f Merge branch 'mega' into feature/P111_rc522_rfid 2021-03-07 14:04:51 +01:00
Ton HuismanandGitHub f4ce091e73 Merge branch 'mega' into feature/taskvalueset_by_name 2021-03-07 14:02:42 +01:00
Ton HuismanandGitHub 4d0ee66aa2 Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-07 13:57:12 +01:00
Ton Huisman 36dec2b6f4 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/ESP32_16MB-flash-max-plugins 2021-03-07 13:36:12 +01:00
TD-er f2e76ed895 [Build] No longer ignore RN2xx3 library on Custom IR builds
This ignore was once needed to keep the number of .cpp.o files down, but that's already been dealt with right now.
2021-03-07 13:33:35 +01:00
TD-er 1ead9093a4 [Build] LittleFS can only be built on 'beta' builds
LittleFS.h is only present in the master of esp8266/Arduino repository.
2021-03-07 13:29:29 +01:00
TD-erandGitHub d953ab6c4f Merge pull request #3525 from mcspr/ghactions
WIP Github actions
2021-03-07 13:02:17 +01:00
TD-erandGitHub 2398f81d9e Merge branch 'mega' into ghactions 2021-03-07 13:01:53 +01:00
Ton Huisman f5c8efb142 [ESP32 MAX] Add configuration with 1MB SPIFFS 2021-03-06 21:54:03 +01:00
uwekaditz c099e5eacb Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-03-06 17:26:53 +01:00
Ton Huisman f600c9235c [ESP32 MAX] Enable SD-card support (and fix compilation errors) 2021-03-06 16:42:38 +01:00
Ton Huisman 0ee1397e61 [ESP32 MAX] Extend configurations with 2MB and 4MB SPIFFS, 4MB default 2021-03-06 16:41:38 +01:00
Ton Huisman a41c43fe3f [ESP32 MAX] Include in travis build 2021-03-05 21:59:05 +01:00
Ton Huisman 10d07c2376 [ESP32 MAX] Configuration for ESP32 with 16MB Flash 2021-03-05 21:52:55 +01:00
Ament Martin 83daca6493 Fixed merge conflict 2021-03-05 12:31:32 +01:00
Ament Martin ae27888989 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into f-standalone-webserver 2021-03-05 12:24:54 +01:00
Ament Martin b38cb5f0ac Patch to use the AP-Mode as daily driver 2021-03-05 12:23:30 +01:00
TD-erandGitHub b59ce73a4b Merge branch 'mega' into feature/ControllerQueue_timeout 2021-03-04 12:55:37 +01:00
TD-er a175e1b799 [Cleanup] Remove ICACHE_RAM_ATTR on wifi event function
Is not needed and does use up extra IRAM.
2021-03-04 12:55:01 +01:00
TD-erandGitHub aef8f4d9b1 [Energy build] Add P093 Mitsubishi Heat Pump
As requested in #3492
2021-03-04 12:41:15 +01:00
TD-erandGitHub a43910cde6 [Build] Remove HWL8012 from "energy" build
Disabled as it causes this 'energy' build to fail due to low iRAM.
It is still present in the POW builds.
2021-03-04 12:36:48 +01:00
TD-er fec793a3aa [GPIO] Fix warning of unused variable 2021-03-04 12:14:32 +01:00
TD-er 5211e3614d [Controller] Debug log on remove duplicate queued message 2021-03-04 12:10:37 +01:00
TD-erandGitHub a33fb3c564 Merge pull request #3534 from TD-er/bugfix/ESP32_process_lost_IP
[ESP32] Handle more WiFi events (e.g. STA_LOST_IP)
2021-03-04 10:46:20 +01:00
TD-er fa981bc7fd [WiFi] Process Station event Auth Changed 2021-03-04 10:36:11 +01:00
TD-er a137b57a69 [ESP32] Handle more WiFi events (e.g. STA_LOST_IP)
If we process the SYSTEM_EVENT_LOST_IP, we may hopefully not end up in a limbo "connected but unreachable" state.
2021-03-04 09:03:05 +01:00
TD-er 40ac82aa71 [Controller Queue] Fix initialization of expire timeout + improve dedup 2021-03-02 16:07:24 +01:00
TD-er 1a5eb797d5 [Controller Settings] Fix merge conflict with ESPEasy-NOW PR 2021-03-02 13:53:43 +01:00
TD-er afc2e7ac6e [Controller Queue] Add deduplicate check in controller queue 2021-03-02 13:45:19 +01:00
TD-er 83afe65433 [Controller Queue] Add flag to allow messages to expire 2021-03-02 10:25:09 +01:00
Max ProkhorovandGitHub bbb010ad5b Merge branch 'mega' into ghactions 2021-02-25 15:35:00 +03:00
Maxim Prokhorov 3762f56b82 build everything 2021-02-24 23:20:24 +03:00
Ament Martin ed0ca333ee Missed a setting 2021-02-23 21:50:34 +01:00
Ament Martin 0030d68ce0 Fixed merge error 2021-02-23 21:15:44 +01:00
Ton HuismanandGitHub 32d4af39c2 Merge branch 'mega' into feature/P111_rc522_rfid 2021-02-23 20:43:11 +01:00
Ament Martin 0ddb67be22 Typo fixed 2021-02-23 20:17:18 +01:00
Ament Martin 7e35061c68 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into f-standalone-webserver 2021-02-23 20:06:05 +01:00
TD-erandGitHub 19076744b0 Merge branch 'mega' into feature/Thermocouple_MAX31856 2021-02-23 14:21:20 +01:00
TD-er 76c60d138e [P020 Ser2Net] Restore serialsend command & add ser2netclientsend
Thanks @immiimmi
2021-02-23 14:08:39 +01:00
TD-erandGitHub de3a39d78a Merge branch 'mega' into bugfix/P020_ser2net 2021-02-23 13:57:39 +01:00
TD-erandGitHub 03949e1238 Merge pull request #3431 from giig1967g/new/gpiocommands
New Range commands for MCP and PCF expanders
2021-02-23 13:54:56 +01:00
TD-er 9054eb3d8e automatically updated release notes for mega-20210223 2021-02-23 12:08:25 +01:00
Ament Martin 322ac3d61a Merge mega into f-standalone-webserver 2021-02-22 21:31:08 +01:00
martamentandGitHub cdc83d32de Update SettingsStruct.cpp 2021-02-22 21:25:05 +01:00
martamentandGitHub 9d18da169e Merge branch 'mega' into f-standalone-webserver 2021-02-22 21:14:42 +01:00
Maxim Prokhorov fd39cc5023 more more 2021-02-22 22:53:10 +03:00
Maxim Prokhorov fb26e23030 more files 2021-02-22 22:53:10 +03:00
Maxim Prokhorov 298ef76fd8 files 2021-02-22 22:53:10 +03:00
Maxim Prokhorov 858c6aa446 order 2021-02-22 22:53:10 +03:00
Maxim Prokhorov 8081381e5a fix order 2021-02-22 22:53:10 +03:00
Maxim Prokhorov 4a6f74b199 fetch into local ref 2021-02-22 22:53:10 +03:00
Maxim Prokhorov bfbd189c53 try wildcard 2021-02-22 22:53:10 +03:00
Maxim Prokhorov 842bb57e83 and again 2021-02-22 22:53:10 +03:00
Maxim Prokhorov e224b67d23 once again 2021-02-22 22:53:10 +03:00
Maxim Prokhorov f07887d73b see if these work 2021-02-22 22:53:10 +03:00
Maxim Prokhorov a8b1e39f06 make sure to fetch the tag message 2021-02-22 22:53:10 +03:00
Maxim Prokhorov a4c1287dc0 Github actions instead of Travis 2021-02-22 22:53:10 +03:00
TD-erandGitHub 060d03157f [WiFi] Allow spaces in SSID and pass phrase
So don't trim them
2021-02-22 10:16:55 +01:00
uwekaditz 076a20f403 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-02-21 18:22:11 +01:00
TD-erandGitHub 945d39b529 Merge pull request #3460 from tonhuisman/feature/P073_improve_7dtext_add_7ddt
[P073] Improve display of periods in 7dtext
2021-02-21 14:49:47 +01:00
Ton HuismanandGitHub 8fd16bc09a Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-02-21 14:38:22 +01:00
TD-erandGitHub 12db64f9be Merge pull request #3521 from TD-er/bugfix/WiFi_bogus_RTC
[WiFi] Fix bogus RTC settings loaded to connect to WiFi
2021-02-21 13:29:20 +01:00
TD-er ffbcb8ed94 [WiFi] Fix bogus RTC settings loaded to connect to WiFi 2021-02-21 13:28:10 +01:00
TD-erandGitHub 1981a1ab4a Merge pull request #3520 from TD-er/bugfix/PubSubClient_concurrency
[MQTT] PubSubClient checks when callback + publish happen simultaneous
2021-02-21 11:17:09 +01:00
TD-er 3a7b57bed6 [Cleanup] Explicit init UserVar with 0.0f
Since we're not sure the vector.resize call with initial value is working as expected.
2021-02-21 11:16:46 +01:00
TD-er 66026368a6 [ESPEasy p2p] Fix WD reboots due to not initialising array
As reported by @clumsy-stefan : https://github.com/letscontrolit/ESPEasy/commit/59f8c8c8acf17fd54c513ce817a7198edbcdb89a#r47364023
2021-02-21 11:13:18 +01:00
TD-er 40d347936c [MQTT] Fix rejecting QoS=0 messages with 0 or 1 byte length 2021-02-20 14:52:31 +01:00
sakinitandGitHub 7d07d5d50f Merge branch 'mega' into Fix-P090_CCS811-setEnvironmentalData 2021-02-20 09:27:04 +01:00
TD-er bdef2b3ad9 [MQTT] PubSubClient checks when callback + publish happen simultaneous
After discussion with @arjenhiemstra on issue: https://github.com/knolleary/pubsubclient/issues/832
2021-02-20 02:07:11 +01:00
TD-erandGitHub f2e4ac6a3d Merge pull request #3518 from sakinit/Fix-P090_CCS811-clearErrorIndependentOfLogLevel
Clear error by reading the error register loglevel independent
2021-02-19 18:39:35 +01:00
TD-erandGitHub 189d18a684 Merge pull request #3482 from TD-er/bugfix/p003_pulse
[Pulse] Pulse Counter P003 enhancement
2021-02-19 18:30:25 +01:00
TD-erandGitHub 59f8c8c8ac Merge pull request #3519 from TD-er/bugfix/UDP_allocation_check
[ESPEasy p2p] Add check on buffer allocation received UDP data
2021-02-19 14:31:16 +01:00
TD-er d36947fd10 [ESPEasy p2p] Add check on buffer allocation received UDP data 2021-02-19 14:28:45 +01:00
TD-er 2fcdd5dca1 [Cleanup] Uncrustify Networking.cpp 2021-02-19 14:22:29 +01:00
sakinit ed4b7d5335 Clear error by reading the error register loglevel independent 2021-02-19 14:15:12 +01:00
Ton Huisman 27a456e3c4 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P073_improve_7dtext_add_7ddt 2021-02-18 19:52:43 +01:00
TD-er ad09b8c4a1 [Docs] Fix some documentation inconsistencies 2021-02-18 15:37:12 +01:00
TD-erandGitHub 010463af42 Merge branch 'mega' into new/gpiocommands 2021-02-18 13:02:28 +01:00
TD-erandGitHub e081117756 Merge branch 'mega' into bugfix/p003_pulse 2021-02-18 12:58:40 +01:00
TD-erandGitHub 300e46656a Merge pull request #3499 from clumsy-stefan/P003_Pulse_Micros
P003 Pulse Microseconds
2021-02-18 12:02:16 +01:00
Ton HuismanandGitHub ce5a16e0c5 Merge branch 'mega' into feature/taskvalueset_by_name 2021-02-17 21:28:19 +01:00
Ton HuismanandGitHub 804f57635c Merge branch 'mega' into feature/P111_rc522_rfid 2021-02-17 21:27:51 +01:00
Ton HuismanandGitHub 626ffd6b25 Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-02-17 21:27:16 +01:00
Ton HuismanandGitHub f6e11db586 Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-02-17 21:13:46 +01:00
sakinitandGitHub a173437bb5 Merge branch 'mega' into Fix-P090_CCS811-setEnvironmentalData 2021-02-17 12:46:53 +01:00
TD-erandGitHub 9cc071f68d Merge pull request #3515 from TD-er/bugfix/delay_network_connect
[WD reboot] Change yield() into delay(0) for network connections
2021-02-16 08:54:45 +01:00
TD-er 7641637489 [WD reboot] Change yield() into delay(0) for network connections
As reported here: https://github.com/letscontrolit/ESPEasy/pull/3507#issuecomment-779613651
2021-02-16 08:54:09 +01:00
Plebs 5e428c538b fixed typo 2021-02-15 08:07:44 +01:00
Plebs c7d8300860 Added documentation for [PLUGIN#MCP#PINRANGE#x-y]
Added documentation for [PLUGIN#MCP#PINRANGE#x-y] and [PLUGIN#PCF#PINRANGE#x-y]
2021-02-14 20:04:52 +01:00
Ton Huisman c13a68ee9f Merge branch 'feature/P110_VL53L0X_move_from_pluginplayground' of https://github.com/tonhuisman/ESPEasy-1 into feature/P110_VL53L0X_move_from_pluginplayground 2021-02-14 17:38:02 +01:00
Ton Huisman a1e2b2f372 [P110] Add to Custom-sample.h 2021-02-14 17:37:41 +01:00
Ton Huisman 9ebbd15e99 [P111] Initialization corrections 2021-02-14 17:34:58 +01:00
Ton HuismanandGitHub d7c14382a1 Merge branch 'mega' into feature/taskvalueset_by_name 2021-02-14 14:07:17 +01:00
Ton HuismanandGitHub 8a8685e5ec Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-02-14 14:06:32 +01:00
Ton Huisman e706a7ef63 [P073] Fixed TM1637 mapping bug, moved log to DEBUG level, some source cleanup 2021-02-13 17:31:44 +01:00
Ton Huisman 96c94ba523 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P073_improve_7dtext_add_7ddt 2021-02-13 16:41:46 +01:00
uwekaditz ec56defc17 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-02-13 13:31:56 +01:00
sakinit 8a05ab29c0 * Fixed rounding bug from issue 8 on breakout board.
See issue https://github.com/sparkfun/Qwiic_BME280_CCS811_Combo/issues/8
2021-02-13 11:54:57 +01:00
Ton Huisman 20eb8ba451 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P111_rc522_rfid 2021-02-12 20:11:10 +01:00
stefan f2e3017c54 Merge branch 'mega' into P003_Pulse_Micros 2021-02-12 15:48:36 +01:00
TD-erandGitHub 26a5064970 Merge pull request #3509 from TD-er/bugfix/crash_wifi_ap_candidates
[WiFi] Fix crash when deleting element from empty list
2021-02-12 10:42:57 +01:00
TD-er 6a082ffa31 [WiFi] Fix crash when deleting element from empty list
Erase from a list from an element that does not exist may cause strange crashes when it is deleted either using `pop_front()`, `pop_back()` or `erase()`.
2021-02-12 10:36:53 +01:00
TD-erandGitHub 97b9128da9 Merge pull request #3507 from TD-er/bugfix/WiFi_AP_candidate_RTC
[WiFi] Fix WiFi AP candidate from RTC causing crash
2021-02-11 22:38:18 +01:00
Ton Huisman bba120c36e [P111] MFRC522 RFID reader moved from PluginPlayground 2021-02-11 21:39:09 +01:00
stefan 61e05159f9 P003 use getMicros64() function
To make sure this works on esp32 as well as on esp8266 use the helper function getMicros64() instead of using micros64() directly.
2021-02-11 19:50:57 +01:00
TD-er e6f786c02e [WiFi] Fix WiFi AP candidate from RTC causing crash 2021-02-11 19:46:42 +01:00
TD-erandGitHub 09690f1873 Merge pull request #3506 from TD-er/build/PIO_reduce_rebuild_time
[PIO] Only update tmp files when changed to reduce build time
2021-02-11 17:24:00 +01:00
TD-er fbd7f5d6c6 safe_strncpy should not crash on FlashStringHelper strings 2021-02-11 17:23:48 +01:00
TD-er e65e3ca8e0 [PIO] Only update tmp files when changed to reduce build time 2021-02-11 17:23:17 +01:00
TD-erandGitHub b78fc3be8a Add MAX31856 support to P039_ThermoCouple
As contributed by @csigabit on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=50380#p50380)
2021-02-11 10:47:45 +01:00
stefan a745e2cc2d P003 use micros64()
Use micros64() instead of micros() to increase the overflow time. Due to the conversions the overflow will now happen roughly every 80'000 minutes.
2021-02-10 16:02:52 +01:00
TD-erandGitHub 1b2c1b053c Merge pull request #3503 from TD-er/bugfix/crash_WiFi_reconnect
[WiFi] Fix crash when trying to reconnect while low on memory
2021-02-10 11:24:38 +01:00
TD-er 082c02b5e4 [WiFi] Fix crash when trying to reconnect while low on memory 2021-02-10 11:23:19 +01:00
TD-erandGitHub 136096b9c8 Merge pull request #3502 from TD-er/bugfix/PCFparsing
Revert commit causing issues with PCF commands
2021-02-10 10:14:12 +01:00
TD-er f26ad1a8de [PWM] Set PHASE_LOCKED_WAVEFORM for new esp8266/Arduino core 2021-02-10 09:28:51 +01:00
TD-er 25f47b483b [PIO] Update to espressif8266@2.6.3
Plus allow `BUILD_NOTES` to be used in Custom.h
2021-02-10 09:27:21 +01:00
TD-er 3f9955039d Revert "[Rules] Make parsing numerical a bit more robust"
This reverts commit 8a6dc87b4b.
2021-02-10 00:07:48 +01:00
TD-erandGitHub b0f63473ed Merge pull request #3487 from TD-er/bugfix/tm_mon_offset
[Time] Fix tm_mon starting at 0 and tm_year at 1900
2021-02-09 21:42:26 +01:00
Joerg HeinemannandGitHub 992b9e5cb9 Initial documentation for P050_TCS34725
Adding pictures for P050_TCS34725 documentation
2021-02-09 13:27:11 +01:00
Joerg HeinemannandGitHub 6fa13c05e1 Initial documentation for P050_TCS34725
First approach for an initial documentation of P050_TCS34725 plugin
2021-02-09 13:23:25 +01:00
TD-er 697cff002c [P003 Pulse] Revert changes (See #3500)
Will be fixed in #3500
2021-02-08 23:12:30 +01:00
stefan faf7ad17a5 P003 µSec backward compatibility
Make P003 backward compatible when using micros(). With this all values stay im miliseconds ("Time" with fractions)
2021-02-08 20:12:48 +01:00
stefan b581bf256b P003 Pulse Microseconds
Use micros() for time measurement instead of milis(). Like this the Pulse counter "Time" value uses more precision and also frequencies above 100Hz (>eg. Fans with more than 6'000 RPM) can be measured "instantly" without any processing overhead. With milis() steps are 6'000, 6'666, 7'500. With micros() it gives quite an accurate instant RPM reading also below 10ms per pulse.

Unfortunately this breaks backward compatibility for the "Time" and "Debounce" values as they are now in microseconds.
2021-02-08 13:29:42 +01:00
TD-er 032e4cfdec Move to UserVar struct to have universal conversion of task variable types 2021-02-07 23:25:59 +01:00
Plebs 77bdb0b5db added documentation 2021-02-07 15:30:50 +01:00
glsf91 3b5c0b716a Added choice SH1106 controller to plugin 32
There are oled 1.3 inch displays which are using SH1106 controller instead of SSD1306. When using this display with the original plugin, the pixels are shifted. This pixel shift is adjusted wjen using this changes.
2021-02-07 14:03:37 +01:00
Plebs 4ba9528e82 Merge remote-tracking branch 'upstream/mega' into new/gpiocommands 2021-02-07 11:26:39 +01:00
TD-er ac4e2c698d [ESP32-S2] Add reset reasons 2021-02-07 11:23:29 +01:00
TD-erandGitHub f7248b9641 Merge branch 'mega' into bugfix/tm_mon_offset 2021-02-07 11:11:30 +01:00
TD-er ba398d0944 [ESP32-S2] Further make ESP32-S2 compile (no WiFi yet) 2021-02-07 01:13:07 +01:00
Ton Huisman 20b4153b75 [P110] Move P133 VL53L0X from PluginPlayground to main repository 2021-02-06 17:06:05 +01:00
TD-er 41dab0e22b [Cron] Fix cron resolution + value updates 2021-02-06 16:40:20 +01:00
Ton HuismanandGitHub c4da88d10a Merge branch 'mega' into feature/taskvalueset_by_name 2021-02-06 10:30:02 +01:00
Ton Huisman 28cf0acd0d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P073_improve_7dtext_add_7ddt 2021-02-05 22:46:24 +01:00
Ton Huisman 285b9b5095 [P073] Add documentation 2021-02-05 22:29:59 +01:00
Ton Huisman 32d2f92429 [P073] Clear scroll text when setting 7dbin data 2021-02-05 22:29:08 +01:00
Ton Huisman ce4337f129 [Documentation] Update copyright year to 2021 2021-02-05 22:28:11 +01:00
uwekaditz d53f518292 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-02-05 19:38:53 +01:00
TD-erandGitHub 9b029742d6 Merge branch 'mega' into bugfix/P020_ser2net 2021-02-04 15:14:12 +01:00
TD-erandGitHub e25f0d9994 Rename default variable names in P084 VEML6070 UV
Since they contained not allowed character `-`
2021-02-04 15:06:15 +01:00
TD-er 51f027835e [ESP32-S2] Add experimental support for ESP32-S2 2021-02-04 02:51:47 +01:00
TD-er f5f58ad632 [Time] Cleanup time calculation code 2021-02-03 23:28:15 +01:00
Ton Huisman 4f696875fa [P073] Optimizations and minor code cleanup 2021-02-03 21:35:14 +01:00
TD-er ee216b01c1 [Time] Fix tm_mon starting at 0 and tm_year at 1900
All over the code there were incorrect assumptions about the offsets in `struct tm`
2021-02-03 13:30:14 +01:00
Ton HuismanandGitHub e7b139c96f Merge branch 'mega' into feature/taskvalueset_by_name 2021-02-03 07:57:30 +01:00
Ton HuismanandGitHub 0420ec00d4 Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-02-03 07:56:43 +01:00
TD-erandGitHub c814380db1 Merge pull request #3486 from TD-er/bugfix/time_match_rules
[Rules] Fix bug in time parsing (leading 0)
2021-02-02 23:13:02 +01:00
TD-er e655268011 [Rules] Fix complex time matching
`if 10:11:12 > 7:07 and 10:11:12 < 20:09:04` Should only try to match "7:07", not "7:07 and 10:11:12" 
Or else it will find "7:07:11"

Also made the match debug logs a lot more readable.
2021-02-02 23:02:36 +01:00
TD-er 8a6dc87b4b [Rules] Make parsing numerical a bit more robust 2021-02-02 16:30:48 +01:00
TD-er 37a80cdb3c [Rules] Fix bug in time parsing (leading 0)
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8284)
2021-02-02 14:25:43 +01:00
Ton HuismanandGitHub c247febfa5 Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-02-02 13:36:29 +01:00
Ton HuismanandGitHub 8b4b20e528 Merge branch 'mega' into feature/taskvalueset_by_name 2021-02-02 13:36:07 +01:00
TD-erandGitHub 9d672500ab Merge pull request #3454 from tonhuisman/feature/P050_additional_output_settings
[P050] Additional output settings
2021-02-01 23:42:08 +01:00
TD-erandGitHub bd075525d6 Merge pull request #3475 from tonhuisman/feature/P017_options_for_reset
[P017] Add options for tag reset, delay and reset event
2021-02-01 23:41:32 +01:00
Ton HuismanandGitHub 25f35c5af6 Merge branch 'mega' into feature/taskvalueset_by_name 2021-02-01 22:59:15 +01:00
Ton HuismanandGitHub 937e30480f Merge branch 'mega' into feature/P050_additional_output_settings 2021-02-01 22:58:56 +01:00
Ton HuismanandGitHub c542e836aa Merge branch 'mega' into feature/P017_options_for_reset 2021-02-01 22:58:24 +01:00
Ton HuismanandGitHub f5ee5c0561 Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-02-01 22:54:55 +01:00
TD-erandGitHub 3c7e85fc15 Merge pull request #3473 from TD-er/cleanup/bitwise_log_debug
[WiFi] Simplify credentials management
2021-02-01 22:51:07 +01:00
TD-er f6e97c7984 [WiFi] Change log level of TX power to debug 2021-02-01 22:31:22 +01:00
Ton Huisman 306aa0c386 [P073] Initialization optimizations 2021-02-01 21:25:45 +01:00
TD-er 1276a2fa82 [WiFi] Fix build issues on ESP32 (different sleep mode function) 2021-02-01 12:40:38 +01:00
TD-er 59dc509abb [WiFi] Set sleep mode after switching wifi mode 2021-02-01 12:17:41 +01:00
TD-er dbf5b61a1f [WiFi] Introduce 2 seconds delay at boot before starting WiFi
See here: https://github.com/letscontrolit/ESPEasy/issues/2931#issuecomment-770468480
2021-02-01 00:38:49 +01:00
Ton Huisman 2fe8a084d3 [P073] Optimizations and bugfixes, extra text scroll option 2021-01-31 20:21:16 +01:00
TD-er 86cdb229a2 [P020 Ser2Net] Serial port selection on ESP32
See: https://github.com/letscontrolit/ESPEasy/issues/2750#issuecomment-770416257
Made by @immiimmi
2021-01-31 20:13:53 +01:00
Ton Huisman d4aaa41850 [P073] Add fonts Siekoo/dSEG7, scrolling text and 7dbin command 2021-01-31 13:33:13 +01:00
Ament Martin 4f1bb395a7 First Version of ApDontForceSetup.
Grouping Webserversettings in Advanced
2021-01-29 19:29:07 +01:00
TD-er d02c3e5c95 [Pulse] Pulse Counter P003 enhancement
See [forum topic](https://www.letscontrolit.com/forum/viewtopic.php?p=49935#p49935)

N.B. I created this PR for the contributor in the forum.
Not yet looked at the code changes myself.
2021-01-29 16:40:09 +01:00
TD-er b9bb36ca45 [WiFi] Make sending at max TX power optional 2021-01-28 15:13:17 +01:00
Ament Martin 708a608aca Allow optional usage of Sensor without WIFI avaiable. When set you can use the Sensor in AP-Mode without beeing forced to /setup. 2021-01-27 21:26:17 +01:00
Ament Martin 591597874f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into f-standalone-webserver 2021-01-27 19:45:09 +01:00
uwekaditz ab2394aff3 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2021-01-27 18:27:38 +01: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 f0c70c5e14 [WiFi] Allow to limit TX power and make TX power dynamic
Also force WiFi scan if reconnect to last used AP was unsuccessful.
Add checkbox to allow connecting to hidden SSID (also from setup page)
2021-01-27 01:32:37 +01:00
Ton Huisman 0f2879b571 [P073] Bugfix for 7ddt command being leftshifted by 1 2021-01-26 21:29:46 +01:00
Ament Martin 363306555b Patch to use the AP-Mode as daily driver 2021-01-26 19:38:24 +01:00
TD-er f8777e57bd [mDNS ESP32] Fix build issue ESP32 (does not have MDNS.close()) 2021-01-24 14:10:23 +01:00
TD-er 4c43e2c44d [WiFi] Reduce TX power to 17.5 dBm and tune timings + fix mDNS start 2021-01-24 13:46:00 +01:00
Ton Huisman da0547cbae [P008] Fix typo in minimal reset timer check 2021-01-23 13:24:58 +01:00
Ton Huisman acaa72d568 [P017] Added documentation explaining the new settings 2021-01-23 13:20:37 +01:00
Ton Huisman b52a074838 [P017] Add options for tag reset, delay and reset event 2021-01-22 22:04:59 +01:00
TD-er 3c9cf668a9 [WiFi] Fix setup procedure 2021-01-22 17:16:19 +01:00
TD-erandGitHub 45a98bdc25 Merge branch 'mega' into cleanup/bitwise_log_debug 2021-01-22 00:13:17 +01:00
TD-er 075ec34028 [WiFi] Simplify credentials manager
Management of the credentials for WiFi networks had become way too complex.
This introduces a list of good candidates for connecting to, based on scan result and found RSSI values.
2021-01-22 00:11:25 +01:00
Ton HuismanandGitHub a92815332b Merge branch 'mega' into feature/taskvalueset_by_name 2021-01-21 13:08:31 +01:00
Ton HuismanandGitHub 9dfd4cf4ef Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-01-21 13:07:44 +01:00
Ton Huisman 7c62bc783a [P050] Rename Calibration to Transformation, added optional events for RGB values 2021-01-20 23:26:36 +01:00
Ton HuismanandGitHub 827cccdad9 Merge branch 'mega' into feature/P050_additional_output_settings 2021-01-20 21:41:05 +01:00
Ton Huisman 1c00af2701 [P050] Add extra transformation options, fixed a typo 2021-01-19 21:52:34 +01:00
TD-erandGitHub 4747dd81a7 Merge pull request #3470 from TD-er/build/vagrant_custom_IR_builds
[Build] Fix custom IR build #3469
2021-01-19 21:43:04 +01:00
TD-er 30fc6d3d9e [Build] Fix custom IR build #3469
Fixes: #3469
2021-01-19 21:42:15 +01:00
Ton HuismanandGitHub c6b3d1abf3 Merge branch 'mega' into feature/P050_additional_output_settings 2021-01-19 07:36:16 +01:00
Ton HuismanandGitHub b63d6bb347 Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-01-19 07:35:56 +01:00
Ton HuismanandGitHub 95df509ccc Merge branch 'mega' into feature/taskvalueset_by_name 2021-01-19 07:35:10 +01:00
TD-er 7ec5e2c2e1 [WiFi] Try to use the strongest known SSID after a scan. (#3463)
See also #3463

Still not finished as I discovered a logic error in the connection process when the initial scan may still be active when `prepareWiFi()` is called which changes WiFi mode.
2021-01-19 02:35:30 +01:00
TD-er 3e578043e5 [ESP32 PIO] Update to espressif32@2.1.0
N.B. the 'stage' build does NOT work with LAN.
2021-01-18 22:44:49 +01:00
TD-er 975da176b7 [cleanup] Mark "Bitwise:" log as debug log
This may lead to lots of unneeded log spamming when processing rules.
2021-01-18 21:55:40 +01:00
TD-erandGitHub 584e3d0976 Merge pull request #3467 from aiolos/p1-buffer-overflow-fix
Increase buffer size
2021-01-18 14:22:19 +01:00
Ton Huisman 279acc357e [Task* commands] Code cleanup and some corrections 2021-01-17 19:37:45 +01:00
TD-er a5100e7050 Use max seen P1 message length to allocate buffer 2021-01-17 13:01:17 +01:00
Henri de Jong 4b22252a13 Increase buffer size 2021-01-17 11:59:15 +01:00
Ton Huisman fe7a3bff85 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/taskvalueset_by_name 2021-01-16 21:31:47 +01:00
Ton Huisman 634edf0af1 [P050] Fix missing include 2021-01-16 18:59:43 +01:00
Ton Huisman 2d9841fc67 [P050] Added 3x3 matrix calibration, added opt. event for all values, adjusted device settings 2021-01-16 17:18:45 +01:00
Ton HuismanandGitHub 6be97fc4fc Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-01-16 10:18:02 +01:00
Ton Huisman 10edb37f31 [P073] Options currently only applicable for MAX7219 2021-01-15 22:23:17 +01:00
Ton HuismanandGitHub 6eb99a7b3c Merge branch 'mega' into feature/P050_additional_output_settings 2021-01-15 14:45:30 +01:00
Plebs 5c7576c8eb Merge branch 'new/gpiocommands' of https://github.com/giig1967g/ESPEasy into new/gpiocommands 2021-01-15 11:33:23 +01:00
Plebs 366f5ca454 Update GPIO.cpp
small cosmetic fix
2021-01-15 11:33:18 +01:00
TD-er e45d6a506d Fix merge issues SendStatusOnlyIfNeeded
SendStatusOnlyIfNeeded now needs to have the event, from which it takes the event source.
This function signature change had to be fixed after the merge from the mega branch.
2021-01-15 11:25:58 +01:00
Ton Huisman 1ed7268727 [P037] Options for hide degrees symbol, right align temperature 2021-01-14 23:32:27 +01:00
TD-er cdc8a1a84c automatically updated release notes for mega-20210114 2021-01-14 23:00:32 +01:00
Ton HuismanandGitHub fa7356de8a Merge branch 'mega' into feature/P073_improve_7dtext_add_7ddt 2021-01-14 22:01:09 +01:00
TD-erandGitHub 2406f341cf Merge branch 'mega' into feature/P050_additional_output_settings 2021-01-14 21:01:51 +01:00
TD-erandGitHub 415de54e7e Merge branch 'mega' into new/gpiocommands 2021-01-14 20:40:03 +01:00
TD-erandGitHub 2b16cc362c Merge pull request #3439 from TD-er/feature/bitwise_operations
[Rules] Add operators to convert integer values
2021-01-14 20:35:13 +01:00
TD-er b61d52cdf9 [ESP32] Increase DEVICES_MAX for ESP32 builds (> 85 plugins in build) 2021-01-14 13:48:55 +01:00
TD-er f0e794d010 [Build] Rename test_ESP32_4M316k_lolin_d32_pro to match build script checks
The copy script matches `4M316k` to validate build size.
However the old env name did not contain this and thus was the file always copied to "rejected" folder
2021-01-13 14:35:25 +01:00
TD-er 448f8b9733 [Build] ESP32 factory bin files are 64k larger so don't reject those 2021-01-13 14:21:35 +01:00
TD-er 9c4f4b19a2 [ESP32] Fix build issue due to missing include
Missed it in the last commit.....
Need coffee....
2021-01-13 13:22:12 +01:00
TD-er 2b9c3325b6 [Cleanup] Fix MDNS builds on ESP32 and reduce minimal OTA build size 2021-01-13 13:18:44 +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 c804ed194e [Build] Reduce build size for minimal OTA builds 2021-01-13 10:28:08 +01:00
TD-er 763dd8cd91 [JSON] Fix a bug in generated JSON, not wrapping '00' as a string
As reported here: https://github.com/letscontrolit/ESPEasy/pull/3439#issuecomment-759269706
2021-01-13 10:20:59 +01:00
TD-er 0feed01f81 Accidentally removed C013 from the minimal OTA build 2021-01-12 19:05:03 +01:00
TD-er 817972fc99 Fix build issue on ESP32 2021-01-12 17:54:57 +01:00
TD-er 3386806af7 [Minimal OTA] Make minimal OTA build fit again 2021-01-12 16:54:09 +01:00
TD-er d2c20389b6 [Cleanup] Fix issues compile caused by uncrustify 2021-01-12 13:15:26 +01:00
TD-er db02098c8e [Cleanup] Uncrustify changed files of this PR 2021-01-12 12:39:55 +01:00
TD-er 8e4908ab41 [Rules] Add hint about changed event when combining all event values 2021-01-12 12:36:50 +01:00
TD-er 00493b5d87 [MQTT] Fix remove of '//' in topic
Problem occurred when `///` -> `/` was expected.
Need to replace it in a while loop.
2021-01-12 12:12:51 +01:00
TD-er 5fc20f162b [Rules] Add option to each task to combine all values in a single event 2021-01-11 23:09:24 +01:00
Ton Huisman 8d2aadaa0a [P050] Removed unneeded output selection option 2021-01-11 22:18:45 +01:00
TD-er d53ac1af14 [MQTT] Small optimizations in parsing publish topics 2021-01-11 21:32:00 +01:00
TD-er 35fc1a941c [MQTT] Also strip %valname% in topic if task index is invalid 2021-01-11 15:07:45 +01:00
TD-er 1b055b82d9 [MQTT] Fix status update over MQTT for internal commands
As discussed here: https://github.com/letscontrolit/ESPEasy/issues/3444#issuecomment-757894274
2021-01-11 13:13:13 +01:00
TD-er e7aa4b45e3 [Rules] Add some basic math functions + documentation
Moved `abs` to also be the more intuitive `abs(x)` notation.
Added:
* Exp
* Sq
* Round
2021-01-11 02:16:26 +01:00
Ton Huisman 6a90ba4158 [P073] Periods in 7dtext also for TM1637 display 2021-01-10 22:13:02 +01:00
Ton Huisman 4d16abb5ac [P073] Improve display of periods in 7dtext
Add 7ddt command (dual temnperatures on Max7219 display)
2021-01-10 20:24:43 +01:00
TD-er 80159a4765 [Rules] use parseString on string operation commands 2021-01-09 18:44:11 +01:00
Ton Huisman 30dc66a635 [P050] Adjusted Normalization calculation, added R/G/B Calibration factors 2021-01-09 17:39:05 +01:00
TD-er 7752897887 [Rules] Fix order of parsing "arc" functions 2021-01-09 13:56:06 +01:00
TD-erandGitHub 12bd666a92 Merge branch 'mega' into feature/bitwise_operations 2021-01-09 13:47:28 +01:00
TD-er 53f1212ab4 [Rules] Fix typo on limited size builds 2021-01-09 12:20:18 +01:00
Ton Huisman 57e4eb5349 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/taskvalueset_by_name 2021-01-09 11:59:10 +01:00
TD-er 1eb73d8edc [Rules] Add missing functions (sin/cos etc) 2021-01-09 11:51:57 +01:00
TD-er 098eb510d9 [Cleanup] Change typo trimTrailingZeros
As reported here: https://github.com/letscontrolit/ESPEasy/pull/3439#discussion_r553986899
2021-01-09 10:34:54 +01:00
TD-er a9c5c52a9a [Rules] Add preliminary support for math functions like sqrt, sin, etc.
Not yet complete
2021-01-09 03:33:18 +01:00
TD-er c50c1fb3b9 [Rules] Fix out of bound crash with calculate ending with '=' + cleanup
Added some defines to improve readability.
Moved elaborate check to separate `is_number` function.
2021-01-09 02:21:09 +01:00
TD-er 6cc0f6b057 [Rules] Wrap rules calculation functions in a struct + cleanup
Some globally declared variables (`sp`) and functions (`push`, `pop`) were just too generic they could lead to issues in the future.
By wrapping them in a struct, it is more clear what is happening and what should be used to access the calculation functions.
2021-01-09 01:24:16 +01:00
Ton Huisman 8de991741e [P050] Minor calculation adjustment, added to TESTING build 2021-01-08 21:41:07 +01:00
Ton HuismanandGitHub 90c46f2096 Merge branch 'mega' into feature/P050_additional_output_settings 2021-01-08 21:10:28 +01:00
TD-er 6f6662c2f3 [Rules] Improve readability of Rules Calculate function
Return code to `enum class` and log each call to calculate if it returns an error.

Also act on the return code of the `Calculate` function where used.
2021-01-08 17:09:26 +01:00
TD-er 55a47e87cb [Rules] Remove limit of nr. of variables
The index of an internal variable can now be any value that fits an `uint32_t`.
2021-01-08 15:33:30 +01:00
TD-erandGitHub 813fe9ba9d Merge pull request #3449 from tonhuisman/feature/P008_tag_removal_options
[P008] Wiegand add options for Tag removal
2021-01-08 13:45:37 +01:00
StefanNetzerandGitHub a30c5da10c Merge branch 'mega' into mega 2021-01-07 16:58:46 +01:00
TD-er 5321f39eb1 [Rules] Add support for binary numbers with 0b prefix 2021-01-06 15:02:21 +01:00
Ton Huisman 6fe3097bd3 [P050] Apply suggested patches to the Adafruit library 2021-01-05 22:01:39 +01:00
Ton Huisman f0a559b257 Merge branch 'feature/P050_additional_output_settings' of https://github.com/tonhuisman/ESPEasy-1 into feature/P050_additional_output_settings 2021-01-04 22:22:05 +01:00
Ton Huisman 9c754b4e68 [P050] Add Normalized sRGB calculation 2021-01-04 22:17:43 +01:00
TD-erandGitHub 0e0995ca56 Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-01-04 16:22:15 +01:00
Ton HuismanandGitHub 9ce67f7bfd Merge branch 'mega' into feature/P008_tag_removal_options 2021-01-04 10:55:36 +01:00
Ton HuismanandGitHub 7551d12060 Merge branch 'mega' into feature/taskvalueset_by_name 2021-01-04 10:54:45 +01:00
TD-er 49b219fd51 Fix build issue after merging other PRs 2021-01-04 01:56:15 +01:00
TD-erandGitHub c7667d5b4d Merge branch 'mega' into feature/P050_additional_output_settings 2021-01-04 00:53:16 +01:00
TD-erandGitHub e693db5240 Merge pull request #3452 from tonhuisman/feature/P073_zero_prefix_temperatures
[P073] Display a zero-prefix for temperatures between 0.9 and -0.9
2021-01-04 00:52:57 +01:00
TD-erandGitHub 5b08149e53 Merge branch 'mega' into feature/bitwise_operations 2021-01-04 00:51:19 +01:00
TD-erandGitHub b70c6af8eb Merge pull request #3455 from TD-er/build/Fix_beta_builds_toolchain
[PIO] Fix building 'beta' builds toolchain update
2021-01-04 00:50:37 +01:00
TD-er d98e41d093 [PIO] Fix building 'beta' builds toolchain update
See: https://github.com/esp8266/Arduino/issues/7792#issuecomment-750861423
2021-01-04 00:50:10 +01:00
TD-erandGitHub 27d2fc8223 Merge branch 'mega' into feature/bitwise_operations 2021-01-03 23:13:18 +01:00
TD-erandGitHub c8a33c3d46 Merge pull request #3198 from tonhuisman/feature/explicit_task_command
[Commands] Add opt. global `[<TaskName>].` prefix for all PLUGIN_WRITE commands
2021-01-03 23:11:11 +01:00
Ton Huisman 77ab328d80 [P050] Additional output settings
- Add Color Temperature DN40 calculation
- Add Lux calculation
- Add Clear output option
- Add Normalized RGB calculation
2021-01-03 19:24:52 +01:00
TD-er a3f805a3c1 [Serial] Only parse commands from serial when no task uses Serial0
To avoid people forgetting to disable serial in Tools->Advanced when having an enabled task using Serial0
2021-01-03 16:55:35 +01:00
TD-er a3a82756cf [Rules] Disable math functions for now to make them more intuitive 2021-01-03 16:22:49 +01:00
Ton Huisman 55c7f52df9 [P073] Display a zero-prefix for temperatures between 0.9 and -0.9 2021-01-03 12:33:32 +01:00
Plebs abb043950d Moved PLUGIN_REQUEST to core
1) Fixed some code

2) Moved to core:
- [plugin#gpio#pinstate#x] or [plugin#g#pinstate#x]
- [plugin#pcfgpio#pinstate#x] or [plugin#p#pinstate#x]
- [plugin#mcpgpio#pinstate#x] or [plugin#m#pinstate#x]

3) Added:
- [plugin#mcpgpio#pinrange#x-y] that can be shortened to [plugin#m#pinrange#x-y]
- [plugin#pcfgpio#pinrange#x-y] that can be shortened to [plugin#p#pinrange#x-y]
returns the pin states of the selected range
2021-01-02 23:03:02 +01:00
Ton HuismanandGitHub 50098197b8 Merge branch 'mega' into feature/taskvalueset_by_name 2021-01-02 19:42:33 +01:00
Ton HuismanandGitHub b0fca8bc26 Merge branch 'mega' into feature/explicit_task_command 2021-01-02 19:42:11 +01:00
Ton Huisman a29fe69ab2 [P008] Wiegand add options for Tag removal 2021-01-02 18:21:11 +01:00
Plebs 267064275b Merge remote-tracking branch 'upstream/mega' into new/gpiocommands 2021-01-02 12:50:20 +01:00
TD-er 16f00764b1 [Rules] Change '!' + '=' into '<' + '>' to avoid conflict with '^'
As reported here:
https://github.com/letscontrolit/ESPEasy/pull/3131#pullrequestreview-560531284
2021-01-01 12:58:18 +01:00
TD-er 3e51df0d4b [Rules] Allow HEX values in formula, rules, etc.
Only place where the HEX values are not yet supported is in the web interface where int/float values are entered.
2020-12-31 03:06:19 +01:00
TD-er b8d056ae44 [Cleanup] Remove String construction with = "";
A String is default constructed as an empty String, so no need to add the extra step of constructing it with an empty char array.
2020-12-31 00:41:09 +01:00
TD-er 53e1680e92 [Rules] Parse hex numbers when prefixed with 0x (uint only)
Currently only parsing hex numbers for the "bit-xxxx" functions.
Those only accept uint numerical values, which can either be in base 10 or base 16 (with "0x" prefix)
2020-12-31 00:07:34 +01:00
TD-er 59d04b2be1 Restore accidentally removed "Note:" prefix for notes 2020-12-29 21:22:37 +01:00
TD-er d0a0ed7f82 [Cleanup] Reduce build size by replacing addHtml(String(....)) to addHtmlInt 2020-12-29 16:24:07 +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 04af0c05c4 [Build] Move PMSx003 to 'normal' builds 2020-12-29 11:17:31 +01:00
TD-er 9008d7bd2f [Build] Reduce build size of OTA builds including new rules operators 2020-12-29 01:12:43 +01:00
TD-er 143da991bb [Rules] Improve calculation resolution and compares.
Using proper floating point compare functions.
2020-12-29 00:30:29 +01:00
TD-erandGitHub 1a470388ab Merge branch 'mega' into feature/bitwise_operations 2020-12-28 19:36:13 +01:00
TD-er 1c7cad458c Increase accuracy in rules computation by using more decimals 2020-12-28 19:35:43 +01:00
TD-erandGitHub 1c97fb4fcc Merge pull request #3131 from TD-er/bugfix/float_compares
[Rules] Use proper float compare functions in rules
2020-12-28 19:34:32 +01:00
TD-erandGitHub 663ff8eaed Merge pull request #3442 from tonhuisman/bugfix/P090-enable-in-testing-build
[P090] Re-enable plugin for TESTING  build
2020-12-28 19:34:07 +01:00
Ton Huisman 713c6f8df9 [P090] Re-enable plugin for TESTING build 2020-12-28 19:16:32 +01:00
uwekaditz 621747d217 Merge tag 'mega-20201227' into UweKaditz 2020-12-28 16:33:36 +01:00
TD-er 85c43bb42f Include P090 CCS811 in the builds again 2020-12-28 15:56:38 +01:00
TD-er af38d20f33 [Rules] Increase accuracy in Calculate and variables from float to double
This will help people when trying to store 32 bit ints in variables.
2020-12-28 15:48:40 +01:00
TD-er e4f4582432 [Rules] Change order parameters bitwrite 2020-12-28 15:47:20 +01:00
TD-er 001606c585 Fix build warning 2020-12-28 03:35:50 +01:00
TD-er 955ce7d8d7 [Rules] Use bitwise operators only on unsigned ints 2020-12-28 03:15:53 +01:00
TD-er 3d2e10003b [Rules] Add trigonometric functions
cos, sin, tan etc. and their inverse functions.
Also possible to add a suffix `_d` to convert the angles to or from degrees.
2020-12-27 18:04:20 +01:00
TD-er ab7ae6c91f Add ABS function 2020-12-27 16:13:13 +01:00
TD-er 29c8e68843 [Docs] Document the effects of external hosted CSS/JS files 2020-12-27 15:50:05 +01:00
TD-er 9e53dd9802 [Rules] Add operators to convert integer values
For example:

- toBin
- toHex
- bitRead
- bitSet
- bitClear
- bitWrite
- XOR
- AND
- OR
- div
- mod
2020-12-27 15:17:01 +01:00
Ton HuismanandGitHub af6e4d42d6 Merge branch 'mega' into feature/taskvalueset_by_name 2020-12-27 14:56:25 +01:00
Ton HuismanandGitHub 70706639d2 Merge branch 'mega' into feature/explicit_task_command 2020-12-27 12:06:52 +01:00
TD-er b706392534 automatically updated release notes for mega-20201227 2020-12-27 11:18:00 +01:00
TD-erandGitHub 5f5a1c98ce Merge branch 'mega' into bugfix/float_compares 2020-12-27 11:02:16 +01:00
TD-erandGitHub fb3c4ea22a Merge pull request #3433 from TD-er/build/external_CSS_JS
[Cleanup] Reduce build size to allow minimal_OTA builds for 1M
2020-12-27 10:54:17 +01:00
TD-er c343c17ec8 [PWM] Fix fade down (#3434)
Fixes: #3434
2020-12-24 20:40:43 +01:00
TD-er 81feea0a14 [Controller Queue] Optimize C004, C009 and C017
All were not storing the values to be queued so the values were just fetched from the task when the message was processed from the queue.
This means values could get lost if the queue was not processed for some time (or a task sends data very frequently)
2020-12-24 01:11:37 +01:00
TD-er 197b843171 [EmonCMS] Fix build issue 2020-12-23 23:56:10 +01:00
TD-er 334893eeb7 [EmonCMS] Allow sending 4 values per task (#3438)
Fixes: #3438

Also stores the values in the event queue element to make sure not only the last value of a task is being sent if sending values got delayed somehow.
2020-12-23 23:42:32 +01:00
uwekaditz 9b6cef8a6e Merge remote-tracking branch 'upstream/mega' into UweKaditz 2020-12-23 14:41:19 +01:00
TD-erandGitHub 380b59a214 Merge branch 'mega' into build/external_CSS_JS 2020-12-22 23:26:32 +01:00
TD-erandGitHub c530b082f5 Merge pull request #3437 from TD-er/bugfix/Dallas_optional_pin_unset
[Dallas] Fix Dallas sensor not being read if optional pin unset
2020-12-22 23:26:04 +01:00
TD-er 91853fd4d4 [Dallas] Fix Dallas sensor not being read if optional pin unset
A recent feature addition allowed for an optional separation of RX and TX pin for using Dallas sensors on a Shelly with an isolator board.
This still works with using only 1 pin, but not if you set the optional pin to "None".

This fixes this inconvenience by just copying the optional pin nr from the standard pin when initializing the sensor. (it is not duplicating it upon saving as that may be confusing)
2020-12-22 23:04:37 +01:00
TD-er ccc82758ac [PIO] Add "display" and "energy" build collections
Both are based on the "normal" set, plus either all energy or all display related plugins included.
2020-12-22 15:30:56 +01:00
TD-erandGitHub 22c624d21c Merge branch 'mega' into build/external_CSS_JS 2020-12-22 10:34:03 +01:00
TD-erandGitHub 92b71fd76b Merge pull request #3435 from denisfrench/dds238
Move DDS238-x ZN in from the playground as P103 (#3407)
2020-12-22 10:31:35 +01:00
TD-er 61bb382ff5 [Doc] Add documentation stubs for P108 DDS238-x 2020-12-22 10:29:50 +01:00
TD-erandGitHub 8d95a1cc03 Merge branch 'mega' into dds238 2020-12-22 10:18:27 +01:00
TD-er 5a32a18503 Rename plugin ID to P108 because of ID conflict with pending PR 2020-12-22 10:17:48 +01:00
TD-er fa5d1c09b7 Remove _custom.h
To be able to fix merge issues
2020-12-22 10:12:13 +01:00
Ton HuismanandGitHub 8c16b0b51e Merge branch 'mega' into feature/taskvalueset_by_name 2020-12-22 08:20:52 +01:00
Ton HuismanandGitHub 111f219054 Merge branch 'mega' into feature/explicit_task_command 2020-12-22 08:20:37 +01:00
TD-erandGitHub cb77a9607e Merge branch 'mega' into build/external_CSS_JS 2020-12-21 23:35:18 +01:00
TD-erandGitHub 637a30cab4 Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2020-12-21 23:31:18 +01:00
TD-erandGitHub b45dbbade8 Merge pull request #3402 from heinemannj/mega
Add copyrights and permission notices
2020-12-21 23:30:49 +01:00
TD-erandGitHub 9acdef87bf Merge branch 'mega' into new/gpiocommands 2020-12-21 23:28:21 +01:00
TD-erandGitHub 7b8678a248 Merge pull request #3413 from jimmys01/irlib
Update the IR library
2020-12-21 23:27:19 +01:00
TD-erandGitHub 638134b0e9 Merge pull request #3318 from uwekaditz/UweKaditz
[P092] Reduce memory usage when plugin not used
2020-12-21 23:26:08 +01:00
TD-er 417796f39a [Cleanup] Disable "New Rules" on Limit build size builds 2020-12-21 20:24:23 +01:00
TD-er 0487235436 [Cleanup] Reduce build size of WebPages
Lots of recurring nested function calls can be simplified via a convenience function.
2020-12-21 16:44:38 +01:00
TD-er c98d63fe9c Rename toasting,js to toasting.js 2020-12-21 15:11:48 +01:00
TD-er 0d11afb23f Fix build issue for P019 (missing brace) 2020-12-21 02:53:47 +01:00
TD-er a319a75e68 [Cleanup] Reduce build size by using iterators for globalMapPortStatus
It also makes execution slightly faster.
2020-12-21 02:32:54 +01:00
TD-er acd4219eb7 [Cleanup] Reduce build size by using CDN for CSS and JS 2020-12-21 02:31:34 +01:00
uwekaditzandGitHub d7bb3c2be5 Merge branch 'mega' into UweKaditz 2020-12-20 15:56:11 +01:00
TD-er 5d0ea57e23 [Cleanup] Exclude unused code to reduce build size 2020-12-20 12:46:57 +01:00
Ton HuismanandGitHub 409a345ee0 Merge branch 'mega' into feature/taskvalueset_by_name 2020-12-20 10:21:10 +01:00
Ton HuismanandGitHub be77e45366 Merge branch 'mega' into feature/explicit_task_command 2020-12-20 10:20:39 +01:00
TD-erandGitHub f3f8b570f8 Include Notifiers on hardware specific builds 2020-12-19 15:46:46 +01:00
TD-erandGitHub f87ebbe1dd Add XPT2046 touchscreen to Custom-sample.h 2020-12-19 15:07:49 +01:00
TD-erandGitHub 572a285122 Merge pull request #3246 from tonhuisman/feature/XPT2046_touchscreen
[P099] Touch XPT2046 new plugin
2020-12-19 15:04:46 +01:00
TD-erandGitHub 078dbcee3b Merge branch 'mega' into bugfix/float_compares 2020-12-19 15:03:13 +01:00
TD-erandGitHub c0fb353643 Merge pull request #3427 from TD-er/feature/Playground_Si1145
[Playground] Plugin-107: SI1145 - UV index / IR / visible (#3426)
2020-12-19 14:55:27 +01:00
TD-er 0772905b70 [Docs] Add stubs for not yet documented plugins
Also added entries in the Custom-sample.h file
2020-12-19 14:54:19 +01:00
Plebs b6d4933a7e code optimizations 2020-12-17 21:12:53 +01:00
Plebs cc93e09a92 fixing Travis 2020-12-17 15:08:22 +01:00
Plebs d86ceb8b71 Merge remote-tracking branch 'upstream/mega' into new/gpiocommands 2020-12-17 09:36:47 +01:00
Plebs 200d97f8ac small changes 2020-12-17 09:36:17 +01:00
Plebs 86cfe19dd6 WIP 2020-12-16 19:46:39 +01:00
TD-er 8726ec7531 [Docs] Document flashing, especially ESP32
As requested [here](https://github.com/letscontrolit/ESPEasy/issues/3381#issuecomment-743747707)
2020-12-15 11:28:48 +01:00
TD-er 6b834e9547 [Flashing] Include Espressif Download Tool in our repository 2020-12-15 11:27:47 +01:00
TD-er 63cfcf2c23 [BME680] Add to I2C scanner 2020-12-15 00:42:15 +01:00
TD-er 304d1e4193 [P107_Si1145] Rename default value names and plugin name 2020-12-15 00:01:39 +01:00
TD-erandGitHub 21dd8afacf Merge branch 'mega' into feature/Playground_Si1145 2020-12-14 23:08:27 +01:00
TD-er 2a3b2fd968 [P107: SI1145] initialise sensor and stop sensor at each reading
As reported on the [forum](https://www.letscontrolit.com/forum/viewtopic.php?p=48739#p48739)
2020-12-14 23:08:04 +01:00
TD-erandGitHub eba8a8b6f5 [BME680] Force reinit after change settings 2020-12-14 23:04:14 +01:00
Plebs 5fb692578a WIP
alpha version
2020-12-14 22:11:04 +01:00
Plebs 7d64b89cc2 wip 2020-12-14 16:49:31 +01:00
Plebs cb0766d200 WIP
fixing stuff
2020-12-14 16:27:23 +01:00
Plebs 8f84159a7f WIP
added:
pcfgpiorange
pcfgpiopattern
2020-12-14 16:11:44 +01:00
uwekaditzandGitHub c6c933335a Merge branch 'mega' into UweKaditz 2020-12-14 11:17:11 +01:00
TD-erandGitHub d1ec8b0a44 Merge branch 'mega' into feature/Playground_Si1145 2020-12-14 09:31:08 +01:00
TD-erandGitHub 7fd95a8ec0 Fix init check on P106 BME680 2020-12-14 09:09:56 +01:00
TD-erandGitHub 94da457e1f Merge pull request #3430 from TD-er/bugfix/typos
[Typo] Fix 'succesful' typo
2020-12-14 08:58:10 +01:00
TD-er de2251eb85 [Typo] Fix 'succesful' typo
As requested on the [forum](https://www.letscontrolit.com/forum/viewtopic.php?p=48711#p48711)
2020-12-14 08:57:46 +01:00
TD-erandGitHub a6c2cf7aac Merge branch 'mega' into feature/Playground_Si1145 2020-12-14 00:34:27 +01:00
TD-erandGitHub e33bcf0756 Merge pull request #3429 from TD-er/cleanup/PCONFIG_BME680addr
Cleanup/pconfig bme680addr
2020-12-14 00:32:19 +01:00
TD-er 5d96d57ddc [Travis] Disable test_alt_wifi_ESP8266_4M1M_VCC in CI builds
As it doesn't fit in a build anymore.
2020-12-14 00:31:45 +01:00
TD-erandGitHub ae61d189b1 Delete _Custom.h 2020-12-13 23:40:07 +01:00
TD-er 9fb6927f6d [BME680] Use the selected I2C address 2020-12-13 23:28:11 +01:00
TD-er 589fef7327 [Cleanup] Rename I2C address label to reduce build size 2020-12-13 22:35:52 +01:00
TD-er 0b983be541 [BME680] Make address config uniform for all I2C plugins 2020-12-13 21:44:37 +01:00
TD-er fd58ec679b Use small stack allocated Json objects when processing web command 2020-12-13 21:43:31 +01:00
TD-er 9036ea3ff4 [Domoticz MQTT] Reduce memory usage when sending message
No need to keep DynamicJsonDocument object in memory after it has been serialized.
2020-12-13 21:42:39 +01:00
TD-er b810b0a826 [Cleanup] Use PCONFIG macros where possible 2020-12-13 21:41:19 +01:00
Ton HuismanandGitHub f61d9fcc00 Merge branch 'mega' into feature/taskvalueset_by_name 2020-12-13 16:15:36 +01:00
Ton HuismanandGitHub 6c8da8429c Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-13 16:15:14 +01:00
Ton HuismanandGitHub 46fd4f397c Merge branch 'mega' into feature/explicit_task_command 2020-12-13 16:14:48 +01:00
TD-erandGitHub 8f42bdad5d Merge branch 'mega' into feature/Playground_Si1145 2020-12-13 15:05:57 +01:00
TD-erandGitHub d46acea0c8 Merge pull request #3421 from TD-er/build/custom_build
PIO custom build + DeepSleep WiFi
2020-12-13 15:03:43 +01:00
TD-erandGitHub e069efd8ac Merge branch 'mega' into feature/Playground_Si1145 2020-12-13 14:59:05 +01:00
TD-erandGitHub 08cbc4d234 Merge pull request #3386 from TD-er/feature/BME680_playground
[Playground] Move BME680 from playground
2020-12-13 14:57:54 +01:00
TD-erandGitHub fb3b64d0aa Merge branch 'mega' into feature/BME680_playground 2020-12-13 14:56:03 +01:00
Plebs 2ff9eab58e WIP
adding PCF support
2020-12-13 14:02:51 +01:00
TD-er 26c84e2a6c Fix build issues P107 2020-12-13 00:41:16 +01:00
TD-er cad22b76d8 [Docs] Document Domoticz authethication via SendToHTTP
As mentioned [on the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=1671&view=unread&sid=878d3f817678600062fa88919434678c#unread)
2020-12-13 00:27:38 +01:00
TD-er 537dc44858 [Playground] Plugin-107: SI1145 - UV index / IR / visible (#3426)
Fixes: #3426

Move from Playground: Plugin-113: SI1145 - UV index / IR / visible
2020-12-13 00:26:13 +01:00
Plebs 26af38ec2c WIP
Added
- unMonitorRange,plugin(g or m or p),startPin,endPin
2020-12-12 18:34:54 +01:00
Plebs fe9c992f39 WIP
Added commands
- mcpGPIORange,pStart,pEnd,0 or 1,optional: mask
- mcpGPIOPattern,pStart,pEnd,writePattern,optional:mask
- monitorRange
2020-12-12 17:26:35 +01:00
denisfrench f0707e9932 Move P224 in from Playground as P103 2020-12-12 06:03:38 +00:00
denisfrench 4acaa0534b Copy in _P103_DDS238.ino 2020-12-12 15:46:35 +11:00
denisfrench 9a1bbebe8f Update to work with recent builds, lifted from P085 2020-12-12 15:42:40 +11:00
denisfrench f716e14c9c Add #includes required since PR #3139 2020-12-12 15:42:40 +11:00
josemariaaraujoanddenisfrench 185e2e9e68 Plugin for DDS238 Energy Meters
Pluging for Energy Meters DDS238-x ZN with MODBUS Interface (RS485), sold in Aliexpress and other similar sites usually under the brand "Hiking"
Tested with DDS238-1 ZN model, but should work with "-2" and "-4" versions as they have the same register map.
2020-12-12 15:42:40 +11:00
Plebs 613af60b00 wip new mcp commands 2020-12-10 23:31:12 +01:00
Plebs bca9f55fd5 Merge remote-tracking branch 'upstream/mega' into new/gpiocommands 2020-12-10 09:59:34 +01:00
Plebs 97555799b5 wip for new expander commands
mcpAll
mcpMulti
pcfAll
pcfMulti
monitorAll
monitorMulti
2020-12-10 09:57:08 +01:00
uwekaditzandGitHub dfb486e18d Merge branch 'mega' into UweKaditz 2020-12-08 19:57:09 +01:00
TD-er c70e54c03e [Deep Sleep] Make wake from deep sleep more reliable 2020-12-08 16:05:34 +01:00
TD-er 804eb4769a [Custom build] Reduce Custom build size 2020-12-08 13:45:49 +01:00
TD-erandGitHub 1d620bf767 Merge pull request #3418 from TD-er/build/reduce_iram
[Build] Reduce build size mainly for 1M units
2020-12-08 11:06:08 +01:00
TD-er 413a7908d3 [ESP32] Remove warning for GPIO-15 to use PNP transistor on ESP32 2020-12-08 10:54:27 +01:00
Ton Huisman 1622aa2d51 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/explicit_task_command 2020-12-07 21:24:14 +01:00
Ton Huisman e047915cd9 Adjust #include path to fix build 2020-12-07 21:06:29 +01:00
Ton Huisman 8333ddfd69 Merge branch 'feature/XPT2046_touchscreen' of https://github.com/tonhuisman/ESPEasy-1 into feature/XPT2046_touchscreen 2020-12-07 20:48:06 +01:00
TD-er aaf19d5e35 Reduce build size by wrapping all parameters for internal commands
By packing all parameters into a single struct, the expanded macro will generate less code resulting in a smaller build.
2020-12-07 20:00:46 +01:00
Ton HuismanandGitHub 6c659c8a1a Merge branch 'mega' into feature/taskvalueset_by_name 2020-12-07 14:27:53 +01:00
Ton HuismanandGitHub d225631e3a Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-07 14:27:26 +01:00
TD-er ee951a86b7 [WebServer] Do not include custom page on minimal OTA builds 2020-12-07 11:51:53 +01:00
uwekaditzandGitHub 48f1136203 Merge branch 'mega' into UweKaditz 2020-12-07 10:41:20 +01:00
TD-er de2d5a2dd4 Exclude special characters from system variable page in minimal builds 2020-12-07 09:04:45 +01:00
TD-er e3ce83b0f5 [Webserver] Don't use temp variables for webserver arguments 2020-12-07 00:35:46 +01:00
TD-er 3a6463af04 Remove ICACHE_RAM_ATTR from LongTermTimer and move to .h only 2020-12-06 22:38:03 +01:00
TD-erandGitHub 6ab7d18015 Merge pull request #3311 from uwekaditz/OLED_P036
[P036] Support for 128x32 display
2020-12-06 22:06:36 +01:00
Ton HuismanandGitHub f8abea4979 Merge branch 'mega' into feature/taskvalueset_by_name 2020-12-06 19:34:33 +01:00
Ton HuismanandGitHub 35dc7fff5c Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-06 19:34:10 +01:00
uwekaditzandGitHub 2ae197306a Merge branch 'mega' into UweKaditz 2020-12-06 19:16:39 +01:00
uwekaditzandGitHub 636e19c4bd Merge branch 'mega' into OLED_P036 2020-12-06 17:47:50 +01:00
uwekaditz 3317db4dbc Changes requested by TD-er 2020-12-06 17:47:17 +01:00
TD-erandGitHub d26c3b516b Merge branch 'mega' into bugfix/float_compares 2020-12-06 14:48:37 +01:00
TD-erandGitHub 88c0a86368 Merge branch 'mega' into feature/BME680_playground 2020-12-06 14:41:11 +01:00
TD-erandGitHub 4d192ccc7d Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2020-12-06 14:40:54 +01:00
TD-erandGitHub 74f2a8d3e5 Merge pull request #3417 from TD-er/bugfix/isntp_ismqttimp
Fix %isntp% and %ismqttimp% states + MQTTimport connected events
2020-12-06 14:12:33 +01:00
uwekaditz fe03abc1e9 Update P092_DLbus.ino from mega 2020-12-06 14:03:00 +01:00
uwekaditz 60cc658bbb Changes requested by TDer
CHG Changes requested by TDer
NEW original P092_data_struct fom mega added
2020-12-06 13:58:42 +01:00
uwekaditzandGitHub 26c52592ab Delete P092_data_struct.h 2020-12-06 13:51:49 +01:00
uwekaditzandGitHub 809f4c38eb Delete P092_data_struct.cpp 2020-12-06 13:51:15 +01:00
TD-er d2f5d32054 Fix %isntp% and %ismqttimp% states + MQTTimport connected events
As reported here: https://github.com/letscontrolit/ESPEasy/issues/3410#issuecomment-739253751
2020-12-06 13:12:28 +01:00
uwekaditzandGitHub 10d9f626a7 Merge branch 'mega' into OLED_P036 2020-12-05 23:14:06 +01:00
uwekaditzandGitHub 6381c97c02 Merge branch 'mega' into UweKaditz 2020-12-05 23:13:23 +01:00
Ton HuismanandGitHub a6c8f09926 Merge branch 'mega' into feature/taskvalueset_by_name 2020-12-05 14:38:14 +01:00
Ton HuismanandGitHub 0d021e515c Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-05 09:48:44 +01:00
TD-erandGitHub 22acb77065 Merge branch 'mega' into mega 2020-12-05 00:53:54 +01:00
TD-erandGitHub 1e8214b123 Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2020-12-05 00:51:37 +01:00
TD-erandGitHub 5d0c7c8608 Merge branch 'mega' into mega 2020-12-05 00:51:00 +01:00
TD-erandGitHub a3cfdb7880 Merge branch 'mega' into feature/BME680_playground 2020-12-05 00:50:15 +01:00
TD-erandGitHub 4430e45e0d Merge pull request #3411 from TD-er/bugfix/MQTT_unconnected_cpu_load
[MQTT] Prevent high CPU load when not connected to MQTT broker (#3410)
2020-12-05 00:31:53 +01:00
TD-er 2a6f8ed7e6 [MQTT import] Only process incoming messages if topic matches and enabled 2020-12-04 16:48:22 +01:00
TD-erandGitHub 9f91780f98 Merge branch 'mega' into bugfix/MQTT_unconnected_cpu_load 2020-12-04 15:58:46 +01:00
TD-erandGitHub e2fa4e3b02 Merge pull request #3408 from CurlyMoo/shelly-ds18b20
Support for Shelly 1 temp. addon
2020-12-04 15:58:02 +01:00
CurlyMoo 09b737e9e1 Small comment about potential serial port conflicts 2020-12-04 15:44:34 +01:00
CurlyMoo 6a3538ece5 Merge branch 'shelly-ds18b20' of https://github.com/CurlyMoo/ESPEasy into shelly-ds18b20 2020-12-04 13:39:09 +01:00
CurlyMoo 6d9c9114df Small typo in documentation 2020-12-04 13:38:40 +01:00
TD-erandCurlyMoo 081b663b76 [Cleanup] Uncrustify of web page code 2020-12-04 13:37:45 +01:00
TD-erandCurlyMoo 281fb66081 [Web UI] Proper encoding for HTML attribute values
All caused by this little remark: https://github.com/letscontrolit/ESPEasy/pull/3404#issuecomment-737972401
2020-12-04 13:37:45 +01:00
TD-erandCurlyMoo 86d491bcfc [IRTX] Convert more commands to use parse string functions 2020-12-04 13:37:45 +01:00
TD-erandCurlyMoo c6d8bf9e8c [IRTX] Use parse argument functions for IR TX command arguments
As mentioned here: https://github.com/letscontrolit/ESPEasy/issues/2724#issuecomment-735778417
2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo ca0efe8a81 [PIO] Make sure library includes are present in .cpp
.h files are in the ignored directory, so the PIO library finder may not mark the library as being used resulting in a failed build.
2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo 965612957a [PIO] Concatenate all WebServer/*.cpp files into temp file.
And add some build output formatting
2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo d9dc8e2eb6 [PIO] Separate appended .cpp files with newline
And add #ifdef USES_Cxxx checks for queue element code.
2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo df086fa1e9 [docs] Minor Sphinx warnings fixed. 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo b09a7b31d7 [Cleanup] Wemos motor shield, reduce resources used. 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo c0a5a281f7 Fix build error in Linux build environment
Define clashing with variable name.
2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo 8371a53cae [PIO] Add Commands/*.cpp to the files to be concatenated in single .cpp 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo 143317afce [PIO] Concat *.cpp files in ControllerQueue/ and PluginStructs/ 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo 738dd1d7f2 [PIO] Concatenate .cpp files to prevent linking errors 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo 65fe66f7bf [Cleanup] PluginStructs/*.cpp include prepend PluginStrucs dir
And let the file end with a newline to make sure concatenating these files will not result in build errors.
2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo c9efb1d5ef Fix missing defines to allow "Periodical send Gratuitous ARP" 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo c00ff90692 Make sure notifications (Email/Buzzer) are included in 1M normal build 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo 48619ba74d [PVS-Studio] Allow testing IR builds for coding errors 2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo ad68465f8f [NeoClock] Fix building P070 NeoPixelClock
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=7&t=8126&p=48439#p48439)
2020-12-04 13:37:44 +01:00
TD-erandCurlyMoo 61c223d44c [Dallas] Fix P100 DS2423 counter plugin matching new changes. 2020-12-04 13:37:44 +01:00
CurlyMoo 8c0f029340 Merge branch 'shelly-ds18b20' of https://github.com/CurlyMoo/ESPEasy into shelly-ds18b20 2020-12-04 13:35:21 +01:00
CurlyMoo cfd84fcc81 Added documentation 2020-12-04 13:34:51 +01:00
TD-er db92211ff2 [MQTT import] Fix missing return statement 2020-12-04 12:22:18 +01:00
TD-erandGitHub 0c7cf42d71 Merge branch 'mega' into bugfix/MQTT_unconnected_cpu_load 2020-12-04 12:20:20 +01:00
TD-erandGitHub 594a264137 Merge branch 'mega' into shelly-ds18b20 2020-12-04 12:18:05 +01:00
TD-erandGitHub e8c7781188 Merge pull request #3404 from TD-er/bugfix/Parse_IR_commands
[IRTX] Use parse argument functions for IR TX command arguments
2020-12-04 12:17:39 +01:00
TD-erandGitHub c0aaa55791 Merge branch 'mega' into shelly-ds18b20 2020-12-04 12:17:04 +01:00
TD-er 5a38da3c25 [Dallas] Fix P100 DS2423 counter plugin matching new changes. 2020-12-04 12:12:26 +01:00
TD-er 6a0958ae8f [MQTT import] Share MQTT client with active MQTT controller 2020-12-04 11:11:48 +01:00
TD-er 54fcf4e8e3 [Cleanup] Uncrustify of web page code 2020-12-04 00:37:44 +01:00
TD-er 44662346d2 [Web UI] Proper encoding for HTML attribute values
All caused by this little remark: https://github.com/letscontrolit/ESPEasy/pull/3404#issuecomment-737972401
2020-12-03 23:33:46 +01:00
uwekaditzandGitHub 1b666c67e0 Merge branch 'mega' into OLED_P036 2020-12-03 17:23:03 +01:00
uwekaditzandGitHub bc3fbb6574 Merge branch 'mega' into UweKaditz 2020-12-03 17:22:35 +01:00
Ton HuismanandGitHub 2926f44999 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-03 15:18:58 +01:00
jimmys01 30285eb95b Update the IR library 2020-12-03 16:00:12 +02:00
TD-erandGitHub 87887bcc18 Merge branch 'mega' into bugfix/Parse_IR_commands 2020-12-03 13:31:59 +01:00
TD-er 144927861c [MQTT] Prevent high CPU load when not connected to MQTT broker (#3410)
Fixes: #3410
2020-12-03 11:45:39 +01:00
TD-erandGitHub 8e460fdb93 Merge branch 'mega' into feature/BME680_playground 2020-12-03 11:37:49 +01:00
TD-erandGitHub 6f6fabd564 Merge pull request #3409 from TD-er/build/concat_cpp_PIO
[PIO] Concatenate .cpp files to prevent linking errors
2020-12-03 11:37:08 +01:00
uwekaditz eb033a51ea [P092] Documentation for UVR61-3 (v8.3 or higher) added 2020-12-02 21:56:24 +01:00
uwekaditz c6a3468e59 wrong comment sign 2020-12-02 20:15:02 +01:00
uwekaditzandGitHub 443ad0a306 Merge branch 'mega' into OLED_P036 2020-12-02 19:58:51 +01:00
uwekaditzandGitHub 0e1cab0ca6 Merge branch 'mega' into UweKaditz 2020-12-02 19:58:06 +01:00
TD-er cb15a3db55 [PIO] Make sure library includes are present in .cpp
.h files are in the ignored directory, so the PIO library finder may not mark the library as being used resulting in a failed build.
2020-12-02 14:57:05 +01:00
TD-er 3341bdf744 [PIO] Concatenate all WebServer/*.cpp files into temp file.
And add some build output formatting
2020-12-02 13:49:49 +01:00
TD-er f146969060 [PIO] Separate appended .cpp files with newline
And add #ifdef USES_Cxxx checks for queue element code.
2020-12-02 13:18:25 +01:00
TD-erandGitHub ecb71182be Merge branch 'mega' into build/concat_cpp_PIO 2020-12-02 12:03:00 +01:00
TD-er 0c2b3cc93b Fix build error in Linux build environment
Define clashing with variable name.
2020-12-02 01:22:00 +01:00
TD-erandGitHub c8ee5471b7 Merge pull request #3378 from TD-er/cleanup/P079_wemos_motorshield
[Cleanup] Wemos motor shield, reduce resources used.
2020-12-02 00:32:15 +01:00
CurlyMoo 596d020a56 Support for Shelly 1 temp. addon 2020-12-01 20:04:10 +01:00
TD-er 60dbd74342 [PIO] Add Commands/*.cpp to the files to be concatenated in single .cpp 2020-12-01 17:27:29 +01:00
TD-er 35f43cd382 [PIO] Concat *.cpp files in ControllerQueue/ and PluginStructs/ 2020-12-01 17:05:39 +01:00
TD-er b525c70c04 [PIO] Concatenate .cpp files to prevent linking errors 2020-12-01 16:15:02 +01:00
TD-erandGitHub 4ff585d268 Merge pull request #3403 from TD-er/cleanup/reduce_build_size
Make sure notifications (Email/Buzzer) are included in 1M normal build
2020-12-01 16:12:45 +01:00
TD-er ed718b0480 [Cleanup] PluginStructs/*.cpp include prepend PluginStrucs dir
And let the file end with a newline to make sure concatenating these files will not result in build errors.
2020-12-01 16:03:36 +01:00
TD-erandGitHub e9fcf45435 Merge pull request #3406 from TD-er/bugfix/P070_neoClock
[NeoClock] Fix building P070 NeoPixelClock
2020-12-01 16:01:46 +01:00
TD-er 5b495d0d25 Fix missing defines to allow "Periodical send Gratuitous ARP" 2020-12-01 14:02:54 +01:00
TD-erandGitHub 87d1f84ad8 Merge branch 'mega' into bugfix/Parse_IR_commands 2020-12-01 00:07:40 +01:00
TD-er 3313a9d9ec [IRTX] Convert more commands to use parse string functions 2020-12-01 00:07:06 +01:00
TD-erandGitHub 445c7caa32 Merge pull request #3405 from juliokele/mega
[P069] Fixed LM75A logging
2020-11-30 22:24:41 +01:00
uwekaditzandGitHub 31d8c92d5e Merge branch 'mega' into OLED_P036 2020-11-30 19:44:06 +01:00
uwekaditzandGitHub ceed77f932 Merge branch 'mega' into UweKaditz 2020-11-30 19:43:20 +01:00
TD-er 73537c8ce9 [PVS-Studio] Allow testing IR builds for coding errors 2020-11-30 19:14:38 +01:00
TD-er af26804037 [NeoClock] Fix building P070 NeoPixelClock
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=7&t=8126&p=48439#p48439)
2020-11-30 19:13:04 +01:00
juliokele e825fe8bc3 [P069] Fixed LM75A logging 2020-11-30 18:42:34 +01:00
TD-er aa2cd99455 [IRTX] Use parse argument functions for IR TX command arguments
As mentioned here: https://github.com/letscontrolit/ESPEasy/issues/2724#issuecomment-735778417
2020-11-30 15:29:04 +01:00
StefanNetzerandGitHub a4f81c1212 Merge branch 'mega' into mega 2020-11-30 15:21:42 +01:00
TD-er 094e22735f Merge remote-tracking branch 'letscontrolit/mega' into cleanup/reduce_build_size 2020-11-30 14:52:37 +01:00
TD-er ed2b4f94c2 Make sure notifications (Email/Buzzer) are included in 1M normal build 2020-11-30 14:52:23 +01:00
TD-er f4f960c617 automatically updated release notes for mega-20201130 2020-11-30 00:18:16 +01:00
TD-erandGitHub 58d095b46a Merge pull request #3395 from TD-er/cleanup/reduce_build_size
[Cleanup] Reduce build size LIMIT_BUILD_SIZE builds
2020-11-30 00:13:13 +01:00
TD-erandGitHub 1d5d7d55dd Update build_ESPeasy.sh 2020-11-29 20:43:21 +01:00
Joerg HeinemannandGitHub 0a790469b9 Add copyrights and permission notices
Add copyrights and permission notices for incorporated work
2020-11-29 09:39:03 +01:00
TD-er 819eccf0b0 BUILD_NO_DEBUG should be enabled for Normal builds 2020-11-27 16:35:23 +01:00
TD-er 3b18db3c93 Check range of set output device values
As was reported here: https://github.com/letscontrolit/ESPEasy/issues/3399
For older settings the set value of number of output values may not be set (set to None) which may give strange results.
For "Simple" types we can check it and patch it immediately.
2020-11-27 16:34:58 +01:00
TD-er 8c03331cca [Storage] Check if file exists before writing to it
Apparently the Notification.dat may not always be present if performing factory default reset with a size limited build.
If later a build is active which supports email notification you cannot save the settings if the file does not exist.
2020-11-27 16:04:49 +01:00
TD-er 2a991beb6f [Cleanup] Do not execute invalid command from Domoticz MQTT helper 2020-11-27 11:53:32 +01:00
TD-er edf6e92e1e [Servo] Fix build issue due to missing include 2020-11-27 11:48:40 +01:00
TD-er ffc12397b6 [GPIO] Add proper valid GPIO pin check to all GPIO commands 2020-11-26 22:05:33 +01:00
TD-er fc83fcb58b [GPIO] Only log errors when using positive GPIO
As discussed here: https://github.com/letscontrolit/ESPEasy/issues/3396#issuecomment-734434852

P029 Domoticz MQTT helper does allow to not use a GPIO pin.
The pin number is then set to -1.
Typical use case is to only act on the event generated by the helper plugin.
Therefore it is a valid situation and should not pollute the logs.
2020-11-26 19:57:13 +01:00
TD-er 48730ff0f6 [GPIO] Echo the GPIO command line if parameters are invalid 2020-11-26 19:12:27 +01:00
TD-er c605d71930 [Build Size] Exclude typical debug logs from minimal builds 2020-11-26 16:09:21 +01:00
TD-er 7dd2aa6a21 Check nr. task value decimals = 0, when decimals cannot be set (#3396)
As mentioned in #3396
2020-11-26 10:40:22 +01:00
TD-er 432652d723 [RTTTL] Fix check argument count for RTTTL command (#3391)
Fixes: #3391

RTTTL argument uses a lot of commas (`,`), so don't check for nr of arguments
2020-11-26 09:26:10 +01:00
Ton HuismanandGitHub 9358b8a129 Merge branch 'mega' into feature/explicit_task_command 2020-11-25 19:59:29 +01:00
Ton HuismanandGitHub b3c06a5b98 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-25 19:59:07 +01:00
Ton HuismanandGitHub 25088416df Merge branch 'mega' into feature/taskvalueset_by_name 2020-11-25 19:58:51 +01:00
uwekaditzandGitHub aa7b956d61 Merge branch 'mega' into OLED_P036 2020-11-25 19:11:11 +01:00
uwekaditzandGitHub ee5a5c4734 Merge branch 'mega' into UweKaditz 2020-11-25 19:10:45 +01:00
TD-er 77541dfaee [Cleanup] Reduce build size LIMIT_BUILD_SIZE builds
Mainly stripping unused strings
2020-11-25 15:39:09 +01:00
TD-er 5e64afa09c automatically updated release notes for mega-20201125 2020-11-25 09:59:22 +01:00
TD-erandGitHub 8f41f24ad1 [Encoder] Update output immediately after "encwrite"
As discussed here: https://github.com/letscontrolit/ESPEasy/issues/3394
2020-11-25 09:46:18 +01:00
TD-er e6079f8571 [Playground] Move P168_ThermoOLED.ino to main repo
Still need to fix parsing template strings on screen.
2020-11-24 23:34:48 +01:00
uwekaditzandGitHub def3042414 Merge branch 'mega' into UweKaditz 2020-11-24 21:11:19 +01:00
uwekaditzandGitHub fc8ee2c3c9 Merge branch 'mega' into OLED_P036 2020-11-24 21:10:48 +01:00
TD-erandGitHub 08f29aab66 Merge branch 'mega' into feature/BME680_playground 2020-11-24 19:32:42 +01:00
TD-erandGitHub 8fdf230991 Merge pull request #3390 from TD-er/bugfix/ESP32_file_leading_slash
[ESP32] Make sure calls to open files have leading / on ESP32
2020-11-24 16:06:50 +01:00
TD-er 3a5b8f9ac8 [ESP32] Make sure calls to open files have leading / on ESP32 2020-11-24 16:04:57 +01:00
Ton HuismanandGitHub ede8b32fa1 Merge branch 'mega' into feature/taskvalueset_by_name 2020-11-24 08:01:42 +01:00
uwekaditzandGitHub 2da7862659 Merge branch 'mega' into UweKaditz 2020-11-23 17:54:01 +01:00
TD-erandGitHub 90c71ffc0d Merge branch 'mega' into bugfix/float_compares 2020-11-23 16:44:41 +01:00
TD-erandGitHub 4cb619836c Merge branch 'mega' into feature/explicit_task_command 2020-11-23 16:43:17 +01:00
TD-erandGitHub e609cb3054 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-23 16:42:31 +01:00
TD-erandGitHub 8535eb05c3 Merge branch 'mega' into OLED_P036 2020-11-23 16:41:34 +01:00
TD-erandGitHub 9a3fef84be Merge branch 'mega' into cleanup/P079_wemos_motorshield 2020-11-23 16:40:37 +01:00
TD-erandGitHub 3a9e3572c7 Merge branch 'mega' into feature/BME680_playground 2020-11-23 16:39:56 +01:00
TD-erandGitHub 7e7cbf5ef1 Merge pull request #3383 from TD-er/bugfix/3374_websource_command
Standardise command execution via web interface (#3374)
2020-11-23 16:39:32 +01:00
TD-er b95efb853c [Build] Remove some more plugins for limited size builds 2020-11-23 16:37:36 +01:00
TD-er ccb255d6fb [Cleanup] Fix small left-over issues related to GPIO/Servo handling 2020-11-23 16:18:28 +01:00
TD-er a478436e2a Merge remote-tracking branch 'origin/bugfix/3374_websource_command' into bugfix/3374_websource_command 2020-11-23 10:03:38 +01:00
TD-er 3c46f92c85 [Docs] Document WiFi ECO mode 2020-11-23 10:03:21 +01:00
TD-er 57240033ec [Cleanup] Uncrustify P106 BME680 2020-11-22 22:47:09 +01:00
TD-er c3051c714e [Playground] Move BME680 from playground 2020-11-22 22:44:11 +01:00
TD-er 5f2b29e43b [Servo] Move Servo command from switch to internal command 2020-11-22 21:25:36 +01:00
TD-er f2f71c3540 [MS5611] Use bit shift instead of pow calculations
These calculations can be done at compile time, which makes it faster and smaller build size.
2020-11-22 00:13:10 +01:00
TD-er 51a63917bb [TLS2561] Use floats instead of double to reduce build size
Doesn't affect precision for this purpose
2020-11-22 00:11:44 +01:00
TD-er 7d572ec5c1 [RTTTL] Move RTTTL command from switch to be an internal command 2020-11-21 16:29:45 +01:00
TD-er 5777bf4436 [Tone] Move command 'tone' from switch plugin to be an internal command 2020-11-21 15:57:23 +01:00
TD-er 862d167a7a [PWM] Fix stability issues on ESP32 regarding PWM 2020-11-21 14:55:46 +01:00
TD-er c97e9e915d [PWM] Use central GPIO manager functions for all analogWrite calls 2020-11-21 00:41:43 +01:00
TD-er 1a1998080c [Servo] Fix interoperability between PWM command and servo on ESP32 2020-11-20 17:12:17 +01:00
TD-er 7757119887 [PWM] Move PWM command to internal + add support for ESP32 PWM frequency 2020-11-20 16:43:38 +01:00
TD-er 82296051ff Standardise command execution via web interface (#3374)
Fixes: #3374
2020-11-20 01:01:11 +01:00
uwekaditzandGitHub ceac369ace Merge branch 'mega' into OLED_P036 2020-11-19 19:54:06 +01:00
uwekaditzandGitHub cfa02296da Merge branch 'mega' into UweKaditz 2020-11-19 19:53:39 +01:00
StefanNetzerandGitHub eec5cdf8be Merge branch 'mega' into mega 2020-11-19 18:09:19 +01:00
StefanNetzer 6ce908a751 using output value definition from P004 2020-11-19 18:02:13 +01:00
StefanNetzer 6931a48616 fixed link error 2020-11-19 16:27:57 +01:00
StefanNetzer 9a6f7d948c restored 2020-11-19 15:45:38 +01:00
StefanNetzer 51c0b95afc replaced all by simple 2020-11-19 15:41:53 +01:00
StefanNetzer 3c666ad4e1 added output data type
added output data type
2020-11-19 15:25:17 +01:00
StefanNetzer d9edc79e67 Update _P043_ClkOutput.ino 2020-11-18 22:52:43 +01:00
TD-er 65d6866f10 [docs] Minor Sphinx warnings fixed. 2020-11-18 21:38:05 +01:00
TD-erandGitHub 3117e174fa Merge branch 'mega' into cleanup/P079_wemos_motorshield 2020-11-18 21:30:32 +01:00
TD-erandGitHub 89b0f5d71b Merge pull request #3379 from TD-er/bugfix/EmonCMS_3377
[EmonCMS] Fix copy/paste bug (#3377)
2020-11-18 21:27:56 +01:00
TD-er 8fb5136024 [EmonCMS] Fix copy/paste bug (#3377)
Fixes: #3377
2020-11-18 18:56:03 +01:00
uwekaditzandGitHub ef2800f07c Merge branch 'mega' into OLED_P036 2020-11-18 17:15:41 +01:00
uwekaditzandGitHub f3dbd5ae79 Merge branch 'mega' into UweKaditz 2020-11-18 17:14:01 +01:00
TD-er 96cc12d1d7 [Cleanup] Wemos motor shield, reduce resources used. 2020-11-18 16:37:39 +01:00
TD-erandGitHub 985b05c732 Merge pull request #3323 from uwekaditz/P016-IR
[P016] Improvement: a received IR code can be saved and a command can be assigned to it
2020-11-17 22:58:31 +01:00
TD-erandGitHub 553ef3ba9b Merge branch 'mega' into P016-IR 2020-11-17 22:58:18 +01:00
TD-erandGitHub 7fdee1efdd Merge branch 'mega' into mega 2020-11-17 22:55:10 +01:00
TD-erandGitHub c5fe1e5c10 Merge pull request #3337 from TD-er/playground/PZEM004Tv30_Multiple
[Playground] Move P251 PZEM 004T-v30 from Playground to main repo
2020-11-17 22:48:34 +01:00
TD-erandGitHub 64e5d43ac9 Merge pull request #3316 from tonhuisman/feature/P062_sensitivity
[P062 Touch] Add sensitivity configuration
2020-11-17 22:47:45 +01:00
TD-erandGitHub 54fed1c223 Merge branch 'mega' into playground/PZEM004Tv30_Multiple 2020-11-17 22:46:17 +01:00
TD-erandGitHub 391b08713e Merge pull request #3365 from tonhuisman/feature/conversion_unit_to_ip
[Conversions] Add unitnr to IP address conversion
2020-11-17 22:43:48 +01:00
TD-erandGitHub 4151fdd63c Merge pull request #3367 from TD-er/bugfix/dallas_multiple_instances
[Dallas] Fix timings for multiple tasks running Dallas sensors
2020-11-17 22:43:25 +01:00
Ton HuismanandGitHub f3dcf64108 Merge branch 'mega' into feature/taskvalueset_by_name 2020-11-17 20:05:49 +01:00
Ton HuismanandGitHub 42aa8c88f3 Merge branch 'mega' into feature/P062_sensitivity 2020-11-17 20:03:50 +01:00
Ton HuismanandGitHub 1d05c52613 Merge branch 'mega' into feature/explicit_task_command 2020-11-17 20:03:00 +01:00
Ton HuismanandGitHub 9ae1d1f7e9 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-17 20:02:24 +01:00
Ton HuismanandGitHub 598c4328c6 Merge branch 'mega' into feature/conversion_unit_to_ip 2020-11-17 20:01:44 +01:00
TD-er 3c4a1a3838 [Servo] Fix lib_ignore for all ESP82xx builds to ignore ServoESP32 2020-11-16 22:15:25 +01:00
TD-er 794b5f0485 [Servo] Add normal build for ESP32 including servo support 2020-11-16 21:37:24 +01:00
TD-er 4f268c402d Include all Dallas plugins in the Custom builds 2020-11-16 20:11:14 +01:00
TD-erandGitHub cd6e5969ac Merge branch 'mega' into bugfix/dallas_multiple_instances 2020-11-16 20:05:38 +01:00
TD-er 0be1fcc2dc Fix build issue on ESP32 2020-11-16 20:05:09 +01:00
TD-er 648e9c2338 [Dallas] Document + update TTN decoder 2020-11-16 16:59:35 +01:00
TD-er c80de39b76 [GPS] Read all data available in the serial buffer 2020-11-16 14:40:57 +01:00
TD-er decd45687f [Cleanup] Save resources by moving static strings to flash 2020-11-16 13:20:45 +01:00
TD-er 5db268d3a9 [LoRaWAN] C018 Reduce memory usage when controller not used 2020-11-16 13:10:31 +01:00
TD-er afe1d1e3a5 [Cleanup] Load default var names when changing nr output values 2020-11-16 11:10:25 +01:00
TD-er 1aebdde9a2 [Cleanup] Rename _CPlugin_SensorTypeHelper.h to _Plugin_SensorTypeHelper.h
It is meant for plugins, not controllers, so using the CPlugin prefix was confusing.
2020-11-16 09:45:55 +01:00
TD-erandGitHub e01bb07ee1 Merge pull request #3372 from fcauwe/mega
[P056] Fixed bug when SDS sensor is not reporting
2020-11-15 21:11:09 +01:00
uwekaditz 9b749e7901 [P092] PinMode in Web interface adjustable (even InputPullDown if available)
CHG: Pinmode in Web interface adjustable (even InputPullDown if available for ESP32)
CHG: old pinmode settings (UVR61-3 without pullup, all other types with pullup) are kept
CHG: code simplified (ValueCount has to be 1)
2020-11-15 18:06:31 +01:00
fcauweandGitHub 2bcad48eab [P056] Fixed bug when SDS sensor is not reporting
Fixed bug that makes the sensor not reporting values even when everything is well connected.
The problem is that the Sensor is in "Query reporting" mode, and therefore it is not actively sending values.
The fix consist of setting the Sensor in "Active reporting" (command 2,1,0), when setting the working during configuration.
2020-11-15 10:51:22 +01:00
uwekaditz faee830b9b [P036] PinMode in Web interface adjustable (even InputPullDown if available)
CHG: PinMode in Web interface adjustable (even InputPullDown if available for ESP32)
CHG: ignore lib HeatpumpIR in platformio_esp82xx_envs for custom_IR_ESP8266_4M1M because linking error (hitting the 32768 characters limitation ???)
2020-11-14 18:30:31 +01:00
TD-er 32f163367a [Dallas] Add statistics + speed up reading 2020-11-12 13:47:40 +01:00
Ton HuismanandGitHub 543983b80f Merge branch 'mega' into feature/taskvalueset_by_name 2020-11-12 08:59:59 +01:00
Ton HuismanandGitHub b517e339c0 Merge branch 'mega' into feature/P062_sensitivity 2020-11-12 08:59:24 +01:00
Ton HuismanandGitHub 810e12f9b3 Merge branch 'mega' into feature/explicit_task_command 2020-11-12 08:59:00 +01:00
Ton HuismanandGitHub ecc0218bdd Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-12 08:15:01 +01:00
TD-er 4258b6f783 [Dallas] Support multiple temp sensors in 1 task for simultaneous reads 2020-11-11 23:52:07 +01:00
uwekaditz 0e71abbb8e Update P092_data_struct.cpp
pinMode can not be used for ESP32 (no Input_PullDown option), must be set on the hardware page
2020-11-11 22:30:32 +01:00
uwekaditz 85d8c8db71 Update _P036_FrameOLED.ino
for ESP32 the pinMode can not be used, must be set on the hardware page
their the InputPullDown or InputPullUp can be selected
2020-11-11 22:15:06 +01:00
uwekaditz db00cb6ab9 Update platformio_esp32_envs.ini
Add custom_IR_ESP32_4M316 PIO environment
2020-11-11 22:08:10 +01:00
uwekaditzandGitHub 62435f57e5 Merge branch 'mega' into OLED_P036 2020-11-11 20:05:30 +01:00
uwekaditzandGitHub 28ebd03a6d Merge branch 'mega' into UweKaditz 2020-11-11 20:05:21 +01:00
uwekaditzandGitHub ce68337d87 Merge branch 'mega' into P016-IR 2020-11-11 20:04:46 +01:00
TD-er cd5234eb3b [Docs] Make the P004 Dallas documentation a bit more informative 2020-11-11 10:56:47 +01:00
TD-er 07dbb89924 [Dallas] Fix build issue on ESP32 2020-11-10 23:53:13 +01:00
TD-er 17cb10ae0a [Dallas] Improve timings to comply with datasheet timings 2020-11-10 23:05:58 +01:00
TD-er e836a5cd7a [Dallas] Reschedule at normal interval to prevent drift caused by reading
Reading a sensor value from a Dallas sensor may take upto 800 msec, based on the set resolution.
This means the set interval for producing a sample will drift by roughly 800 - 900 msec per reading.
By recording the time when starting the reading and using that to reschedule the task timer this drift is minimized.
2020-11-10 12:26:48 +01:00
TD-er 771cb859b6 [Dallas] Cleanup P004 DS18b20 plugin code 2020-11-10 12:23:16 +01:00
TD-er 010d6eb86f [Dallas] Move redundant code from P004, P080 and P100 to a Dallas helper 2020-11-10 02:07:32 +01:00
TD-er 8f27d5b2b7 [Dallas] Fix timings for multiple tasks running Dallas sensors
When running multiple instances of a Dallas plugin, it was possible a sensor was read before it was finished measuring the temperature.
2020-11-10 00:57:52 +01:00
Ton Huisman 431157cb38 Merge branch 'feature/conversion_unit_to_ip' of https://github.com/tonhuisman/ESPEasy-1 into feature/conversion_unit_to_ip 2020-11-09 21:42:05 +01:00
Ton Huisman 67b214f532 Add argument for result on unknown IP:
- 0 = default `(IP unset)`
- 1 = empty string
- 2 = `0`
2020-11-09 21:41:30 +01:00
Ton HuismanandGitHub 8b6340c449 Merge branch 'mega' into feature/conversion_unit_to_ip 2020-11-09 20:49:45 +01:00
Ton Huisman e90fdb40c2 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/conversion_unit_to_ip 2020-11-09 19:25:11 +01:00
TD-erandGitHub f7b11edf88 Merge pull request #3366 from TD-er/bugfix/LoRaWAN_credentials_UI
[RN2483] Properly format LoRaWAN controller credentials on web UI
2020-11-09 14:17:41 +01:00
TD-er 536e630d73 [RN2483] Properly format LoRaWAN controller credentials on web UI 2020-11-09 14:17:12 +01:00
Ton Huisman 5a741df978 [Conversions] Add unitnr to IP address conversion
- Uses UDP Network member list to lookup the IP address
- Inspired by a [forum question](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8066)
2020-11-08 18:38:47 +01:00
uwekaditzandGitHub 63bbc84866 Merge branch 'mega' into OLED_P036 2020-11-07 15:43:00 +01:00
uwekaditzandGitHub c16402b0f6 Merge branch 'mega' into UweKaditz 2020-11-07 15:42:39 +01:00
uwekaditzandGitHub 730e036f50 Merge branch 'mega' into P016-IR 2020-11-07 15:42:03 +01:00
Ton Huisman 88b8b26b40 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/explicit_task_command 2020-11-07 14:54:03 +01:00
Ton Huisman 5ebdfa3ad4 Merge branch 'feature/explicit_task_command' of https://github.com/tonhuisman/ESPEasy-1 into feature/explicit_task_command 2020-11-07 14:32:54 +01:00
Ton Huisman c1ae981722 Merge branch 'feature/XPT2046_touchscreen' of https://github.com/tonhuisman/ESPEasy-1 into feature/XPT2046_touchscreen 2020-11-07 14:30:37 +01:00
Ton HuismanandGitHub 527ee4569b Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-07 14:29:38 +01:00
Ton HuismanandGitHub 473f8b2149 Merge branch 'mega' into feature/P062_sensitivity 2020-11-07 14:29:07 +01:00
Ton HuismanandGitHub acaf46e07e Merge branch 'mega' into feature/taskvalueset_by_name 2020-11-07 14:28:16 +01:00
TD-erandGitHub d0b327a75f Merge pull request #3364 from TD-er/bugfix/trim_web_command
[command] Trim spaces from commands given via web interface Tools page
2020-11-07 12:47:06 +01:00
TD-erandGitHub ffcf9b1037 Merge pull request #3363 from TD-er/bugfix/I2C_clock
[I2C] Update I2C clock based on frequency, not in low/high speed mode
2020-11-07 12:46:38 +01:00
TD-erandGitHub e19b4dd382 Merge pull request #3362 from TD-er/feature/task_init_exit_event
[Events] Trigger new events TaskInit#taskname and TaskExit#taskname
2020-11-06 23:54:22 +01:00
TD-er a6687ec7e2 [command] Trim spaces from commands given via web interface Tools page 2020-11-06 23:52:04 +01:00
Ton Huisman f47b022fe7 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/XPT2046_touchscreen 2020-11-06 19:30:27 +01:00
TD-er 8deb8b964d [I2C] Update I2C clock based on frequency, not in low/high speed mode
It was updating the I2C clock speed based on high/low speed mode, thus changes in I2C clock frequency settings were not applied until a reboot. (or a task was set to use low speed)
2020-11-06 16:55:17 +01:00
TD-er 02abbfadb6 [Events] Trigger new events TaskInit#taskname and TaskExit#taskname 2020-11-06 15:17:21 +01:00
uwekaditzandGitHub 1a20fd693f Merge branch 'mega' into OLED_P036 2020-11-05 21:19:19 +01:00
uwekaditzandGitHub 88b9384d1c Merge branch 'mega' into UweKaditz 2020-11-05 21:19:03 +01:00
uwekaditzandGitHub 231b689ba6 Merge branch 'mega' into P016-IR 2020-11-05 21:18:45 +01:00
TD-erandGitHub 2844ae0b28 Merge pull request #3358 from TD-er/bugfix/GPS_week_rollover
[GPS] Fix 1024 week roll over on old GPS modules
2020-11-05 08:13:43 +01:00
TD-er 97b6b4f085 [PVS-Studio] Fix suggestions made by PVS-Sturdio (pt 2) 2020-11-04 17:01:10 +01:00
TD-er 4bb0018a7b [PVS-Studio] Fix suggestions made by PVS-studio 2020-11-04 00:39:15 +01:00
TD-er c95f5aef3a [GPS] Process full sentence sooner after receiving line 2020-11-04 00:09:57 +01:00
TD-er 052a533f73 [PVS-Studio] Fix able to build PVS-Studio test builds 2020-11-04 00:08:56 +01:00
uwekaditzandGitHub 6c085de2d3 Merge branch 'mega' into OLED_P036 2020-11-03 20:23:23 +01:00
uwekaditzandGitHub a65466b455 Merge branch 'mega' into UweKaditz 2020-11-03 20:22:42 +01:00
uwekaditzandGitHub 5ef1774990 Merge branch 'mega' into P016-IR 2020-11-03 20:22:02 +01:00
TD-erandGitHub 2dc1708f88 Merge pull request #3357 from TD-er/bugfix/3356_esp32_dashboard
[ESP32][Mini Dashboard] Not working (#3356)
2020-11-03 13:17:30 +01:00
TD-er c2bd8bab43 [GPS] Fix 1024 week roll over on old GPS modules
See also https://github.com/mikalhart/TinyGPSPlus/issues/75
2020-11-03 12:02:26 +01:00
TD-er 5b83c7a2ea [ESP32][Mini Dashboard] Not working (#3356)
Fixes: #3356
2020-11-03 10:57:33 +01:00
Ton HuismanandGitHub 29f4a7ae4d Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-02 21:59:14 +01:00
Ton Huisman 72e23cf734 [P099] Fix casting and rounding in calculations 2020-11-02 21:58:28 +01:00
StefanNetzerandGitHub f1909fc9d7 Merge branch 'mega' into mega 2020-11-02 19:26:36 +01:00
TD-er ca0be3f62a automatically updated release notes for mega-20201102 2020-11-02 12:59:12 +01:00
Ton Huisman 113c0bfe4e [P099] Add updated file 2020-11-01 21:10:05 +01:00
Ton HuismanandGitHub c49ecf5de5 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-01 21:03:40 +01:00
Ton Huisman 459ca17556 [P099] Improve string allocation, add options, source formatting
- Source formatting and String allocation using reserve() for longer strings
- Add option and command for flipping the rotation setting
- Improved rotation setting to conform to ILI9341 setting
- Add option for setting the debounce delay for On/Off buttons
2020-11-01 21:02:44 +01:00
TD-erandGitHub 35f165f4ab Merge pull request #3349 from TD-er/bugfix/task_enable_disable
[TSL2591] Check sensor before reading + speedup
2020-11-01 15:47:42 +01:00
TD-er b3328227f5 Fix missing include for CacheControllerPages 2020-11-01 00:05:14 +01:00
Ton HuismanandGitHub a2fb9c2441 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-31 18:00:58 +01:00
Ton HuismanandGitHub d090e8e509 Merge branch 'mega' into feature/P062_sensitivity 2020-10-31 18:00:29 +01:00
Ton HuismanandGitHub c84d387919 Merge branch 'mega' into feature/explicit_task_command 2020-10-31 18:00:09 +01:00
Ton HuismanandGitHub f59a1710cd Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-31 17:59:47 +01:00
TD-er af3541188f [Docs] Describe how to iterate over a lookup table using rules 2020-10-31 12:56:41 +01:00
uwekaditzandGitHub 6d522af678 Merge branch 'mega' into UweKaditz 2020-10-30 16:39:22 +01:00
uwekaditzandGitHub b5e9431aef Merge branch 'mega' into P016-IR 2020-10-30 16:39:01 +01:00
uwekaditzandGitHub 237654e243 Merge branch 'mega' into OLED_P036 2020-10-30 16:38:40 +01:00
TD-erandGitHub 7f6d196b0a Merge branch 'mega' into bugfix/float_compares 2020-10-30 15:03:03 +01:00
TD-erandGitHub 1b16a54843 Merge branch 'mega' into playground/PZEM004Tv30_Multiple 2020-10-30 15:02:03 +01:00
TD-erandGitHub ae11c4648f Merge branch 'mega' into bugfix/task_enable_disable 2020-10-30 15:01:33 +01:00
TD-erandGitHub d0faa2dd4d Merge pull request #3343 from TD-er/bugfix/variable_wifi_reconnect_interval
[WiFi] Move WiFi state logic to WiFiEventData struct
2020-10-30 13:35:13 +01:00
TD-erandGitHub 07847ff5a8 Merge pull request #3346 from TD-er/bugfix/commands_mqtt_source
[MQTT] Fix gpio command sent from MQTT (#3344)
2020-10-30 13:32:06 +01:00
Ton Huisman c56e4baf90 [Task* commands] Some code cleanup 2020-10-29 20:47:05 +01:00
TD-er 209160059f [TSL2591] Force disable sensor after timeout + log duration 2020-10-29 16:32:28 +01:00
Ton HuismanandGitHub 6dba58e6f9 Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-28 21:50:35 +01:00
Ton HuismanandGitHub 86ad6185e2 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-28 21:42:27 +01:00
Ton HuismanandGitHub d2d649a2c7 Merge branch 'mega' into feature/explicit_task_command 2020-10-28 21:42:01 +01:00
Ton HuismanandGitHub 9bc29c4812 Merge branch 'mega' into feature/P062_sensitivity 2020-10-28 21:41:18 +01:00
uwekaditzandGitHub ec42989c02 Merge branch 'mega' into OLED_P036 2020-10-28 21:22:06 +01:00
uwekaditzandGitHub 129799e66f Merge branch 'mega' into P016-IR 2020-10-28 21:21:46 +01:00
uwekaditz d26cbd900c [P092] P092_data->init() is always done if P092_init == false
CHG: P092_data->init() is always done if P092_init == false, not depending on P092_data == nullptr
CHG: changes variable name DeviceIndex to P092DeviceIndex
2020-10-28 21:18:48 +01:00
uwekaditzandGitHub f07331cbf1 Merge branch 'mega' into UweKaditz 2020-10-28 20:22:10 +01:00
TD-er 46ee0ffe19 [TSL2591] Perform async reading of sensor prevent blocking calls 2020-10-28 17:19:54 +01:00
TD-er cfe7d2f2cf [TSL2591] Check sensor before reading + speedup
The old implementation did perform 3 readings, which depending on the set integration time could take a while.
But since all output values should be based on the same reading anyway, it is simply wrong to perform separate readings.

Also added a call to `begin()` of the library to make sure the gain and timing are correctly set.
This could cause incorrect readings if the sensor somehow got reset.

Fixes: #3347
2020-10-28 15:58:04 +01:00
TD-erandGitHub 8506a07568 Merge pull request #3348 from TD-er/bugfix/task_enable_disable
[Task command] Fix taskenable / taskdisable commands
2020-10-28 12:57:07 +01:00
TD-er 286009d942 [Task command] Fix taskenable / taskdisable commands
The commands did not call `PLUGIN_INIT` or `PLUGIN_EXIT`.
2020-10-28 12:56:18 +01:00
uwekaditz b4658275b1 integrate the changes of PR #3345 (created by pez3)
CHG: removed internal pullup (at least for devices UVR61-3 (V8.3) upwards)
BUG: fixed setting of interrupt. so changing of GPIO should work now
BUG: fixed decoding of UVR61-3 frames. UVR61-3 (V8.3) devices have two analog outputs
2020-10-27 21:03:44 +01:00
uwekaditzandGitHub 63fe9dfc5c Merge branch 'mega' into OLED_P036 2020-10-27 18:13:52 +01:00
uwekaditzandGitHub 3fe8acf81c Merge branch 'mega' into P016-IR 2020-10-27 18:13:37 +01:00
uwekaditzandGitHub 425b4c06fc Merge branch 'mega' into UweKaditz 2020-10-27 18:05:37 +01:00
TD-er b43ec88cd2 [MQTT] Fix command handling for PiDome MQTT 2020-10-27 17:17:41 +01:00
TD-er 44f855ca25 [MQTT] Fix gpio command sent from MQTT (#3344)
Fix for C005, OpenHAB
2020-10-27 17:06:48 +01:00
TD-er 2dac655916 [WiFi] Fix build issue for _VCC builds 2020-10-27 09:00:46 +01:00
TD-erandGitHub f4606e2ffa Merge pull request #3342 from TD-er/bugfix/USE_SERVO_not_included_error
[Servo] Log error when servo command is used while servo not in build
2020-10-26 20:46:20 +01:00
TD-er 82af93077f [WiFi] Fix recursive calls to WiFiConnected() + limit reconnect rate
Also make sure to only reconnect after all wifi events have been processed.
2020-10-26 20:34:25 +01:00
TD-er beeb72ddfb [WiFi] Move WiFi state logic to WiFiEventData struct 2020-10-26 13:26:38 +01:00
TD-er 4fae180b7e [Servo] Log error when servo command is used while servo not in build 2020-10-26 11:11:53 +01:00
TD-erandGitHub a589479d39 Merge pull request #3340 from TD-er/bugfix/PIO_custom_IR_build
Fix building using IR plugins & Custom.h (#3339)
2020-10-25 23:13:49 +01:00
StefanNetzer 584fba7994 Update _P043_ClkOutput.ino
eliminated value range limits
2020-10-25 20:57:32 +01:00
StefanNetzer 6da823fd01 Update _P043_ClkOutput.ino
Changed Temp to generic value.
2020-10-25 20:37:36 +01:00
TD-er ae087da9d5 Add custom_IR_ESP8266_4M1M PIO environment 2020-10-25 20:36:43 +01:00
TD-er 13c7208a04 [Build IR] Do not exclude IR lib on Custom build 2020-10-25 20:36:33 +01:00
TD-er a15c43ed80 [WiFi] Move global ESPEasy WiFi runtime data to single struct 2020-10-25 17:11:10 +01:00
StefanNetzerandGitHub 72d3df2c5c Merge branch 'mega' into mega 2020-10-25 16:58:17 +01:00
TD-erandGitHub cea1bff217 Merge pull request #3336 from clumsy-stefan/fix_include_paths
[ArduinoIDE] Fix include path for new structure
2020-10-25 15:29:53 +01:00
TD-er cb487731bb [P102] Cleanup serial config 2020-10-25 02:16:06 +02:00
TD-er 3475c8a40a Uncrustify [P102] PZEM004Tv3 2020-10-25 01:41:00 +02:00
TD-er 41123dbc6d [Playground] Move P251 PZEM 004T-v30 from Playground to main repo 2020-10-25 01:36:48 +02:00
stefan 2a7c6bcb7a [ArduinoIDE] Fix include path for new structure
Fix relative include paths for other frameworks (like ArduinoIDE)
2020-10-24 20:17:54 +02:00
Ton HuismanandGitHub 1e55973e26 Merge branch 'mega' into feature/P062_sensitivity 2020-10-24 20:11:07 +02:00
Ton HuismanandGitHub 3c8b804452 Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-24 20:10:41 +02:00
Ton HuismanandGitHub 9d9cb1f0b4 Merge branch 'mega' into feature/explicit_task_command 2020-10-24 20:10:18 +02:00
uwekaditzandGitHub ace27cfb2a Merge branch 'mega' into UweKaditz 2020-10-24 19:50:01 +02:00
uwekaditzandGitHub 9fb46d4e26 Merge branch 'mega' into P016-IR 2020-10-24 19:49:42 +02:00
Ton Huisman c84c242a0e [P099] Adjust #include to new structure, enable plugin in test build 2020-10-24 15:22:47 +02:00
TD-erandGitHub 9e9d7c4ff1 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-24 14:15:22 +02:00
TD-erandGitHub 53eacb3153 Merge branch 'mega' into OLED_P036 2020-10-24 14:14:56 +02:00
StefanNetzer d7af0d8bc8 added PLUGIN_VALUENAME2_043
added PLUGIN_VALUENAME2_043
2020-10-24 13:58:01 +02:00
StefanNetzer ee0250569b Update _P043_ClkOutput.ino
fixed typo
2020-10-24 12:54:07 +02:00
StefanNetzer 2d7daa0969 resync to GitHub 2020-10-24 12:51:25 +02:00
StefanNetzer b9a6c4e9f2 cleanup 2020-10-24 12:48:34 +02:00
StefanNetzer 5a1f154b68 Merge branch 'mega' of https://github.com/StefanNetzer/ESPEasy into mega 2020-10-24 12:42:46 +02:00
StefanNetzer 48d53801f4 added TDs recommendations
added TDs recommendations
2020-10-24 12:41:22 +02:00
StefanNetzer 6ff80e9241 add events
Add additional events per schedule line

The clock - output plugin is an easy way to create an event scheduler. But, it does not provide events for each event, but only a generic on/off event.

With this change I have two values the schedule line # (variable schedule) and the event value (i.e. Temp).

I have changed the selector to an FormNumericBox, since this is more convienient to enter a value.

Sensor
GPIO → Clock Event: - None -
Day,Time 1: All,00:00
Temp1: 0
Day,Time 2: All,00:00
Temp2: 0

With this one gets two output Values

Output
Temp

and of cause two events, which I may evaluate in the rules

556164: EVENT: timer#Output=1.00
556261: EVENT: timer#Temp=10.00

With this enhancement it is easy to use ESP as an edge device for tons of use cases ( thermostat, irrigation systems )
2020-10-24 12:33:10 +02:00
StefanNetzerandGitHub 30924d50f4 Merge branch 'mega' into mega 2020-10-23 22:27:40 +02:00
StefanNetzer b40b52fc2b Update _P043_ClkOutput.ino 2020-10-23 22:08:50 +02:00
TD-erandGitHub 99920c1180 Merge pull request #3334 from TD-er/bugfix/gpio_dashboard
Fix GPIO command from dashboard.esp broken
2020-10-23 22:04:28 +02:00
TD-erandGitHub 43466820cc Merge pull request #3333 from thomastech/mega
Add missing doc file for Wake On LAN PR 3328
2020-10-23 21:45:10 +02:00
TD-er 39f1511e7c Fix GPIO command from dashboard.esp broken
See [forum topic](https://www.letscontrolit.com/forum/viewtopic.php?p=47652#p47652)
2020-10-23 21:24:32 +02:00
ThomasandGitHub ee46ff7c8c Add missing doc file for PR 3328
The updated _plugin_substitutions_p10x.repl was missing in PR #3328
2020-10-23 08:52:33 -07:00
ThomasandGitHub daa1e9cc0e Add doc file missing in PR 3328
The updated _plugin_substitutions_p10x.repl was missing in PR #3328
2020-10-23 08:44:32 -07:00
ThomasandGitHub 622fe4c489 Merge pull request #5 from letscontrolit/mega
Resync Code Base to Master
2020-10-23 08:38:07 -07:00
ThomasandGitHub b5dd2543fd Add Doc File Missing in PR #3328
The updated _plugin_substitutions_p10x.repl was missing in PR #3328
2020-10-23 08:36:52 -07:00
TD-erandGitHub a5f5dcc816 Merge pull request #3332 from thomastech/mega
Rename P101_WakeOnLan.rst to P101.rst
2020-10-23 12:00:16 +02:00
ThomasandGitHub a51af3bda7 Merge branch 'mega' into mega 2020-10-22 18:51:56 -07:00
ThomasandGitHub 06c48d0609 Rename P101_WakeOnLan.rst to P101.rst
Change name to P101 so that the plugin's help link functions correctly.
2020-10-22 18:48:22 -07:00
TD-er 8b68608424 Add custom_IR_ESP8266_4M1M PIO environment 2020-10-23 00:03:50 +02:00
TD-er 981cbb2ba1 [Build IR] Do not exclude IR lib on Custom build 2020-10-22 23:41:35 +02:00
uwekaditz 867b244ef5 Copy and Paste error 2020-10-22 22:21:39 +02:00
uwekaditzandGitHub 678c27a4e7 Merge branch 'mega' into P016-IR 2020-10-22 22:10:30 +02:00
TD-er 188701e075 Fix merge issues 2020-10-22 22:06:58 +02:00
TD-er 585caaaa2b Merge branch 'mega' into bugfix/float_compares 2020-10-22 21:58:50 +02:00
Ton HuismanandGitHub cf00686265 Merge branch 'mega' into feature/P062_sensitivity 2020-10-22 21:57:48 +02:00
Ton Huisman 4d4780d8ce Merge branch 'feature/explicit_task_command' of https://github.com/tonhuisman/ESPEasy-1 into feature/explicit_task_command 2020-10-22 21:48:13 +02:00
Ton HuismanandGitHub ec883e30ed Merge branch 'mega' into feature/explicit_task_command 2020-10-22 21:46:11 +02:00
Ton HuismanandGitHub f98eb91bd3 Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-22 21:43:44 +02:00
Ton HuismanandGitHub d8611e0001 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-22 21:43:22 +02:00
TD-erandGitHub e1e8adb38c Merge pull request #3328 from thomastech/mega
Add New Plugin P101, Wake On LAN [Testing]
2020-10-22 21:38:57 +02:00
uwekaditz 4882258c65 [CHG] #include "../../ESPEasy_common.h" after #ifdef USES_P016 2020-10-22 21:37:13 +02:00
uwekaditz 7040c5a6a8 BUG: #endif missing in P092_data_struct.h 2020-10-22 21:34:19 +02:00
TD-er 53a7dfc759 Merge branch 'mega' into feature/3328_WOL 2020-10-22 21:24:17 +02:00
Ton Huisman 446deea85c Merge branch 'feature/explicit_task_command' of https://github.com/tonhuisman/ESPEasy-1 into feature/explicit_task_command 2020-10-22 19:53:00 +02:00
Ton Huisman d19d74fb47 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/XPT2046_touchscreen 2020-10-22 19:51:14 +02:00
Ton HuismanandGitHub cc177b4dd8 Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-22 19:40:41 +02:00
uwekaditzandGitHub 52dd820971 Merge branch 'mega' into UweKaditz 2020-10-22 19:33:11 +02:00
TD-erandGitHub fdcab1dfff Merge branch 'mega' into feature/explicit_task_command 2020-10-22 18:55:35 +02:00
TD-erandGitHub 4f0bf87f77 Merge branch 'mega' into feature/P062_sensitivity 2020-10-22 18:51:42 +02:00
uwekaditzandGitHub b837ff3a88 Merge branch 'mega' into OLED_P036 2020-10-22 18:51:32 +02:00
TD-erandGitHub 334e9b6b3d Merge branch 'mega' into P016-IR 2020-10-22 18:49:39 +02:00
TD-erandGitHub 94fb7f8ac8 Merge pull request #3307 from TD-er/build/convert_ino_cpp_h
[Cleanup] Move WebServer_*.ino files (and some more) to .cpp/.h
2020-10-22 17:17:49 +02:00
TD-er 26caa8fb09 automatically updated release notes for mega-20201022 2020-10-22 16:46:23 +02:00
TD-erandGitHub 44d270d18b Merge branch 'mega' into bugfix/float_compares 2020-10-21 22:48:35 +02:00
TD-er b53e10d82e Merge branch 'mega' into build/convert_ino_cpp_h 2020-10-21 22:22:10 +02:00
TD-erandGitHub 09ba39cd50 Merge pull request #3329 from TD-er/bugfix/3317_PluginWrite
Don't call PLUGIN_WRITE on inactive tasks (#3317)
2020-10-21 22:16:59 +02:00
uwekaditz 8cb96bcf82 BUG: Wrong EventValueSource for ExecuteCommand_all()
with EventValueSource::Enum::VALUE_SOURCE_NR_VALUES GPIO commands will be not executed
2020-10-21 21:23:41 +02:00
ThomasandGitHub 8131409e42 Update _P101_WakeOnLan.ino
Per TD-er request, changed calling argument from String to const String& on three functions.
2020-10-21 09:34:49 -07:00
ThomasandGitHub ad299c3673 Add WakeOnLan V1.1.6 Library 2020-10-21 09:11:14 -07:00
TD-er 2e7dccea5a [Crashinfo] Decode intended reboot reason 2020-10-21 16:22:25 +02:00
TD-er 88517aa0a0 [Crashinfo] Decode last task before reboot
As it was rather unreadable to see what was the last action before reboot, this decoded string may (hopefully) be a bit more readable.
2020-10-21 13:51:28 +02:00
TD-er 3e4b930a1d Don't call PLUGIN_WRITE on inactive tasks (#3317)
See: #3317
2020-10-21 11:52:03 +02:00
ThomasandGitHub aa7d63d051 Update _P101_WakeOnLan.ino
Made changes as requested. Will update the review comments with more info.
2020-10-20 20:22:48 -07:00
ThomasandGitHub 141de30a81 Update P075 and P079 Plugin Docs
Minor ReadTheDocs revisions to P075 Nextion Display and P079 Wemos/Lolin Motor Shield.
2020-10-20 14:41:07 -07:00
ThomasandGitHub edb9562402 Updated ReadTheDocs for P075 Nextion.
Minor  docs update for P075 Nextion.
2020-10-20 14:37:46 -07:00
TD-er 9ccd50f68e Don't call PLUGIN_WRITE on inactive tasks (#3317)
See: #3317
2020-10-20 23:11:36 +02:00
TD-er 84675caf5e Fix missing include in C005 2020-10-20 23:09:51 +02:00
uwekaditzandGitHub 19b00ec614 Merge branch 'mega' into UweKaditz 2020-10-20 21:28:14 +02:00
uwekaditzandGitHub 9b9c6e08f8 Merge branch 'mega' into P016-IR 2020-10-20 21:27:51 +02:00
uwekaditzandGitHub ee25349464 Merge branch 'mega' into OLED_P036 2020-10-20 21:27:19 +02:00
Ton Huisman edca1af8c9 Merge branch 'feature/P062_sensitivity' of https://github.com/tonhuisman/ESPEasy-1 into feature/P062_sensitivity 2020-10-20 20:02:42 +02:00
Ton Huisman 13f9bb978a [P062] Another calibration log fix 2020-10-20 20:01:57 +02:00
Ton HuismanandGitHub 32c5d2ae1f Merge branch 'mega' into feature/P062_sensitivity 2020-10-20 19:44:26 +02:00
ThomasandGitHub 46728a306a Update _plugin_categories.repl
Removed extra comma at line containing ref:`P101_page`
2020-10-20 08:54:47 -07:00
ThomasandGitHub cb1e1aad96 Added Doc files for Wake On LAN Plugin P101
Updated ReadtheDocs for the new Wake On LAN (WOL) Plugin P101.
2020-10-20 08:48:35 -07:00
ThomasandGitHub 6d953c0bda Updated Command.rst for Wake On LAN Plugin P101 2020-10-20 08:42:13 -07:00
ThomasandGitHub 63bc1dafbd Added Wake On LAN Plugin P101
Wake On LAN (WOL) Plugin. 
Sends Magic Packet to MAC address; Wake-up sleeping computer if configured for WOL.
2020-10-20 08:38:00 -07:00
ThomasandGitHub 6befb435d7 Merge pull request #4 from letscontrolit/mega
Sync Local Repo
2020-10-20 08:27:44 -07:00
TD-erandGitHub 91f599e094 Merge branch 'mega' into bugfix/float_compares 2020-10-20 16:38:32 +02:00
TD-erandGitHub 4bcac11f0d Merge branch 'mega' into feature/explicit_task_command 2020-10-20 16:27:52 +02:00
TD-er 019012d569 [Cleanup] Move ESPeasyGPIO.ino to ESPEasyCore/ESPEasyGPIO.cpp/.h 2020-10-20 16:21:14 +02:00
TD-er c02debce64 Fix merge issues after GPIO PR merged 2020-10-20 16:03:22 +02:00
TD-er ac090fe9c9 Fix missing rename of ser/WebServer/WebServer_ includes 2020-10-20 15:55:49 +02:00
TD-er 9f627b52b1 Fix dependency in SDM Energy Meter library 2020-10-20 15:55:49 +02: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 1d732e2935 [Cleanup] Make sure _Plugin_Helper.h is included before #ifdef USES_xxx
The USES_xxx defines depend on the build config, so you need to include this _Plugin_Helper.h first before checking the `#ifdef USES_xxx`
2020-10-20 15:55:49 +02:00
TD-er 200fe995e7 [Cleanup] Move WiFi/Ethernet code to ESPEasyCore directory 2020-10-20 15:55:49 +02:00
TD-er 9aade37e0c [Cleanup] Rename src/WebServer/WebServer_* to src/WebServer/*
To be able to build again in Windows as the linker command exceeds max. command argument length in Windows.
2020-10-20 15:55:49 +02:00
TD-er 09a1c5e871 [Cleanup] Move _CPluginHelper to src/Helpers/ folder 2020-10-20 15:55:49 +02:00
TD-er 62d553eeeb [Cleanup] Move enum/define only files to DataTypes & CustomBuild folder 2020-10-20 15:55:49 +02:00
TD-er 8573c13a7c [Build] Fix missing include for VCC builds 2020-10-20 15:55:49 +02:00
TD-er 0559afd808 [Cleanup] strip ESPEasy-Globals.h + check #include "ESPEasy_common.h" 2020-10-20 15:55:49 +02:00
TD-er 6e38b9d4b7 [Cleanup] Convert Modbus.ino to .cpp/.h 2020-10-20 15:55:29 +02:00
TD-er 7f6044db46 [Cleanup] Convert LoRa TTN .ino to .cpp/.h 2020-10-20 15:55:29 +02:00
TD-er 783b4303bf [Cleanup] Convert ESPEasyStatistics.ino to .cpp/.h 2020-10-20 15:55:29 +02:00
TD-er 034165039b [Cleanup] Convert StringProvider.ino to .cpp/.h 2020-10-20 15:55:29 +02:00
TD-er 7ad8865b90 [Build] Some extra build issues with specific custom builds 2020-10-20 15:55:29 +02:00
TD-er 95c5481ae1 [Build] Fix build issues reported by Travis 2020-10-20 15:55:29 +02:00
TD-er 466c6785a9 [Build] Disable Settings Archive on limit build size builds. 2020-10-20 15:55:29 +02:00
TD-er 886cd9d294 [Cleanup] Strip almost all from ESPEasy_fdwdecl.h 2020-10-20 15:55:29 +02:00
TD-er b4751c5670 [Cleanup] Move ESPEasy_Log.ino and Serial.ino to .cpp/.h 2020-10-20 15:54:49 +02:00
TD-er 6140db4264 [Cleanup] Move Controller.ino and ESPEasyRules.ino to .cpp/.h 2020-10-20 15:54:19 +02:00
TD-er 36224a63a9 [WebServer] Add .h files for moved WebServer_xxx.ino
Not finished yet.
2020-10-20 15:53:38 +02:00
TD-er 28eb6d9844 [Webserver] Move WebServer_xxx.ino to src/WebServer/...cpp 2020-10-20 15:53:38 +02:00
TD-erandGitHub 794b2dd02a Merge pull request #2778 from giig1967g/new/gpiotimers
Moved GPIO commands in the core
2020-10-20 15:49:54 +02:00
TD-erandGitHub 88ec49b819 Merge pull request #3302 from TD-er/bugfix/MH_Z19_setABC
[MH-Z19] Fix ABC not (re)set when filtering not used (#3237)
2020-10-20 01:49:18 +02:00
TD-erandGitHub d35b6d7e82 Merge branch 'mega' into new/gpiotimers 2020-10-20 01:45:47 +02:00
TD-erandGitHub 33f4f305a9 Merge pull request #3326 from TD-er/bugfix/Celcius_Celsius
[Typo] Replace Celcius with Celsius
2020-10-20 01:44:31 +02:00
TD-er b9dc940167 [Nextion] Fix uninitialized variable warning 2020-10-20 00:47:52 +02:00
uwekaditz be44e51611 Update P036_data_struct.h
Parameter must be upper case
2020-10-19 22:19:21 +02:00
uwekaditz 4d5ad01802 not using the _ prefix anymore, use reserve() for long log strings 2020-10-19 22:12:47 +02:00
uwekaditz fb42e5ea38 not using the _ prefix anymore, use reserve() for long log strings 2020-10-19 22:01:46 +02:00
TD-er 94ac2e6837 [Typo] Replace Celcius with Celsius 2020-10-19 21:15:21 +02:00
uwekaditz a7ec8a9a0e [P016] reduce memory usage when plugin not used
Moved variable decode_results results into function Plugin_016()
2020-10-19 19:50:52 +02:00
uwekaditz 1d10a55348 ressouce-saving string calculation
CHG: ressouce-saving string calculation (see PR #3323)
2020-10-19 17:42:19 +02:00
uwekaditz 3e5127052c ressouce-saving string calculation, Inhibit time between executing the same command, automatic adding of new IR codes is disabled after boot up
NEW: Inhibit time between executing the same command
CHG: ressouce-saving string calculation
CHG: automatic adding of new IR codes is disabled after boot up
2020-10-19 17:35:42 +02:00
Ton Huisman eacd411fd9 [P099] Settings page to show when task is disabled 2020-10-18 20:48:52 +02:00
Ton HuismanandGitHub 6fe875e616 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-18 20:05:38 +02:00
Ton HuismanandGitHub 8e5ce28da9 Merge branch 'mega' into feature/P062_sensitivity 2020-10-18 19:43:26 +02:00
uwekaditz 135e1ecf6f Undo changes for PR #3323 in this branch OLED_P036 2020-10-17 21:02:15 +02:00
uwekaditz 95e53d6015 Improvement: a received IR code can be saved and a command can be assigned to it
NEW: Any valid received IR code can be saved in the data structure of this plug in. After receiving this IR code again a command (similar to the submit command on the web page 'Tools') can be executed.
CHG: Updated documentation
2020-10-17 20:54:11 +02:00
uwekaditz ef43a05d35 [P016] Improvement: a received IR code can be saved and a command can be assigned to it 2020-10-17 20:45:54 +02:00
uwekaditzandGitHub cf99c979e4 Merge branch 'mega' into OLED_P036 2020-10-17 12:49:36 +02:00
uwekaditzandGitHub dafc216244 Merge branch 'mega' into UweKaditz 2020-10-17 12:49:17 +02:00
TD-er 1a7f662e66 automatically updated release notes for mega-20201016 2020-10-16 23:26:50 +02:00
Ton Huisman fb045b5272 [P062 Touch] Fix calibration log 2020-10-15 20:52:39 +02:00
Ton HuismanandGitHub 3ed65d40f1 Merge branch 'mega' into feature/P062_sensitivity 2020-10-15 15:43:09 +02:00
TD-erandGitHub 7bf6aa06c7 Merge pull request #3319 from TD-er/bugfix/LoRa_set_SF
LoRaWAN dynamic send interval + syslog fix
2020-10-15 14:20:28 +02:00
TD-er 6aca592049 [LoRa TTN] Fix decoder issue in GPS data
Now with support for Total Distance and distance from reference point.
2020-10-15 03:32:22 +02:00
TD-er 1e02509a80 [GPS] Add distance counter + distance from ref point
Also updated float form fields to allow upto 6 decimals as those were only used for GPS coordinates.
2020-10-15 03:14:20 +02:00
TD-er d0cdf7de42 [Docs] Document LoRaWAN TTN dynamic send interval setting 2020-10-14 22:32:08 +02:00
Ton Huisman 1317c657de [P062 touch] Some code improvements 2020-10-14 20:48:51 +02:00
uwekaditz fd96c7dcde [P092] Reduce memory usage when plugin not used PR #3248
CHG: all functions and variables moved to P092_data_struct()
CHG: keeping only global values needed for all tasks
CHG: description in P092_DLbus.rst that each velue need a new device task
2020-10-14 20:08:41 +02:00
uwekaditzandGitHub a90f7365f8 Merge branch 'mega' into OLED_P036 2020-10-14 17:51:18 +02:00
TD-er c15379887a [Syslog] Fix syslog name does not include unit number (#3288)
Fixes: #3288
2020-10-14 17:28:05 +02:00
TD-erandGitHub aab0343ad4 Merge branch 'mega' into bugfix/MH_Z19_setABC 2020-10-14 14:48:10 +02:00
TD-er 159eed4b73 [Domoticz] Document typical use case linking button + relay + Domoticz 2020-10-14 14:32:00 +02:00
TD-er ce0b604738 [Domoticz MQTT] Fix Domoticz helper able to send internal commands
Since the GPIO command now is moved to be an internal command, the Domoticz helper commands were no longer processed as those were only tested as a plugin command, not an internal command.
2020-10-14 12:38:55 +02:00
TD-erandGitHub 3eb1973e55 Merge branch 'mega' into new/gpiotimers 2020-10-14 10:16:05 +02:00
Ton Huisman 5b9df25ace [P062 Touch] Add sensitivity configuration
- Add global sensitivity setting
- Add sensitivity setting per touchobject
- Add calibration data gathering and display
2020-10-13 22:07:18 +02:00
TD-erandGitHub 354e8af0c1 Merge pull request #3293 from uwekaditz/UweKaditz
[P092_DLBus] Exception solved
2020-10-13 19:46:39 +02:00
uwekaditzandGitHub aa226174b9 Merge branch 'mega' into UweKaditz 2020-10-13 19:35:22 +02:00
TD-erandGitHub cd26623b2a Merge pull request #3313 from TD-er/bugfix/WiFi_connect_issues
[WiFi] Fix WiFi (re)connect issues caused by new WiFi timers
2020-10-13 17:28:07 +02:00
TD-er 0100d26080 [Timing Stats] Add duty cycle column + LoRa TTN on air timings 2020-10-13 02:08:23 +02:00
TD-er 29abb5dbba [WiFi] Fix WiFi (re)connect issues caused by new WiFi timers
In a quite recent commit, a fix was made for devices connected over 2^31 msec (close to 25 days)
But this also introduced some new issues which could manifest itself if the initial WiFi connect wasn't immediate.

Symptoms:
- Connect to fallback WiFi may take several minutes (sometimes > 10 minutes)
- Connect to hidden AP during setup may not work or take minutes to complete
- Reconnect to AP may fail if the AP wasn't found on initial scan at boot of ESP.
- MQTT may not always reconnect or web page may only react after several minutes if there has been a WiFi reconnect (or just 2nd attempt)
2020-10-12 21:44:06 +02:00
Plebs 2c010d79aa final clean-up 2020-10-12 16:38:44 +02:00
TD-erandGitHub 0e5b73be42 Merge pull request #3303 from TD-er/feature/LoRa_RAWdata_plugins
[LoRaTTN] Add encoder/decoder for unit of measure for AcuDC243
2020-10-12 15:32:09 +02:00
Plebs b20f3650bd fixing merge issues
fixing merge issues
2020-10-12 14:38:16 +02:00
uwekaditz d08f9a1fe8 Files for [P092] replaced with original ones from mega
Files for [P092] replaced with original ones from mega to avoid miving with another pull request (##3293 Exception solved)
2020-10-12 11:16:19 +02:00
uwekaditz e746870be8 [P036] Support for 128x32 display
NEW: Support for 128x32 displays (see https://www.letscontrolit.com/forum/viewtopic.php?p=39840#p39840)
NEW: Option to hide the header
CHG: Calculate font setting, if necessary reduce lines per page (fonts are not longer a fixed setting)
CHG: Reduce espeasy_logo to 32x32 to fit all displays
CHG: Calculate font setting for splash screen
2020-10-11 22:52:27 +02:00
uwekaditz 2571783139 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2020-10-11 21:21:46 +02:00
uwekaditz a664199224 Merge branch 'mega' into UweKaditz 2020-10-11 21:18:33 +02:00
uwekaditz 2b0b11033a Merge branch 'UweKaditz' into mega 2020-10-11 21:17:28 +02:00
TD-erandGitHub 69178038d6 Merge pull request #3310 from tonhuisman/bugfix/check_4th_varname
[Checks] Check all 4 variable names
2020-10-10 21:47:20 +02:00
Ton Huisman b44553c34b [Checks] Check all 4 variable names 2020-10-10 21:41:24 +02:00
TD-er e07f93fce6 [LoRaTTN] Add encoder/decoder for unit of measure for AcuDC243
Since the outputs can be selected, it is important to also know the unit of measure per value.
2020-10-09 12:37:49 +02:00
TD-er 9add225973 [MH-Z19] Fix ABC not (re)set when filtering not used (#3237)
Fixes: #3237
2020-10-09 11:25:51 +02:00
TD-er 236ada90a0 Uncrustify MH-Z19 code 2020-10-09 11:08:38 +02:00
Ton HuismanandGitHub 61889381bc Merge branch 'mega' into feature/explicit_task_command 2020-10-08 20:24:03 +02:00
Ton HuismanandGitHub 501d7cd78a Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-08 20:23:41 +02:00
Ton HuismanandGitHub fb0f2468ea Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-08 20:23:19 +02:00
Ton Huisman ab5a78bd9f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/explicit_task_command 2020-10-08 18:18:49 +02:00
uwekaditz d6ce926b95 [P092] Exception solved
CHG: Interrupt will be only enabled after network is connected
CHG: usecPassedSince() not longer used in ISR_PinChanged(), caused the exception ???
CHG: in case no DLbus is connected, the next reading attempt happens only after the next PLUGIN_092_READ was called (reduces load and log messages)
2020-10-05 19:44:44 +02:00
uwekaditz 5d27748232 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2020-10-05 15:32:03 +02:00
Ton Huisman cc7656c95f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/explicit_task_command 2020-10-04 16:45:28 +02:00
Ton HuismanandGitHub 7f3c8ee3de Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-04 16:13:54 +02:00
Ton HuismanandGitHub fdd64a85e2 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-04 16:13:42 +02:00
Ton HuismanandGitHub be9cdb542c Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-02 11:32:10 +02:00
Ton HuismanandGitHub 790953dab1 Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-02 11:31:50 +02:00
Ton HuismanandGitHub 2bdb33c20b Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-01 21:24:35 +02:00
Ton HuismanandGitHub d0a77f6024 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-01 21:24:16 +02:00
Ton HuismanandGitHub a821c48793 Merge branch 'mega' into feature/explicit_task_command 2020-10-01 21:10:18 +02:00
Ton Huisman 3e772146aa Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/explicit_task_command 2020-10-01 21:09:11 +02:00
Ton HuismanandGitHub 14a33329da Merge branch 'mega' into feature/taskvalueset_by_name 2020-10-01 21:00:42 +02:00
Ton HuismanandGitHub f715656205 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-10-01 21:00:18 +02:00
TD-er ae460e3c40 Fix merge issues. 2020-09-30 12:21:03 +02:00
Gijs Noorlander 0a8e0897f0 [GPIO] Fix merge issues with recent scheduler changes. 2020-09-30 11:40:46 +02:00
Gijs Noorlander 9011758704 Fix merge issues 2020-09-30 11:23:24 +02:00
PlebsandTD-er a27daf6603 fixed "OK" in JSON in a more elegant way 2020-09-30 11:18:43 +02:00
PlebsandTD-er d2cbc2aae0 Fixed merge issues
Fixed merge issues and commented 2nd SendStatus inside ExecuteCommand (InternalCommands.cpp)
2020-09-30 11:18:43 +02:00
Gijs Noorlander be02b02d14 Fix merge issue WiFi process disconnect event should not disable webserver 2020-09-30 11:18:43 +02:00
Gijs Noorlander c3f00a6f72 [Commands] Add event value source check for commands 2020-09-30 11:18:43 +02:00
Gijs Noorlander e505a40433 Fix merge issue due to change to EventValueSource::Enum 2020-09-30 11:16:36 +02:00
Gijs Noorlander 5f9c957406 Fix merge issue due to renamed Command.ino 2020-09-30 11:16:12 +02:00
Gijs Noorlander 80d0abb9f3 Fix possible uninitialized current state in GPIO monitoring 2020-09-30 11:16:12 +02:00
Gijs Noorlander 3d1af71715 Fix incorrect merge. 2020-09-30 11:16:12 +02:00
PlebsandTD-er 21fe3fe18f fixed SONOFF setup and #2892 bug 2020-09-30 11:16:12 +02:00
PlebsandTD-er f2878b85eb fixed JSON/OK return message in HTTP source
Restored previous behaviour:

Following commands will return OK:
event, asyncevent,taskrun,taskvalueset, taskvaluetoggle, let,logportstatus,jsonportstatus and rules

Al other commands will return JSON or whatever is defined in its command logic.
2020-09-30 11:15:22 +02:00
PlebsandTD-er 6d8d44f212 fixed function 2020-09-30 11:15:22 +02:00
PlebsandTD-er 3fa64c9a67 updated chackValidPortRange function 2020-09-30 11:15:22 +02:00
PlebsandTD-er 7c14216c4c applied changes requested by TD-er 2020-09-30 11:15:22 +02:00
PlebsandTD-er 3478b407a3 added asyncevent in ExecuteCommand_all 2020-09-30 11:15:08 +02:00
PlebsandTD-er 72e04e3323 gpio core commands: bug fixing 2020-09-30 11:15:08 +02:00
PlebsandTD-er 362efe3066 gpio core commands: fixed couple of bugs 2020-09-30 11:15:08 +02:00
PlebsandTD-er 9ff9c404a9 Fixed lowercase bug #2841 2020-09-30 11:15:08 +02:00
PlebsandTD-er fa56fd738c added C006, C014 and HTTP support 2020-09-30 11:15:08 +02:00
PlebsandTD-er 38991be7a3 added support for C002 (Domoticz MQTT) 2020-09-30 11:15:08 +02:00
PlebsandTD-er 080687980d added selective command execution according to source
Please review the code, as I developed only for C005 so far.

If idea is fine, I will develop for other controllers and http source.
2020-09-30 11:15:08 +02:00
PlebsandTD-er 0807356606 Merge branch 'new/gpiotimers' of https://github.com/giig1967g/ESPEasy into new/gpiotimers 2020-09-30 11:14:47 +02:00
Gijs Noorlander 9e4f18bb93 [GPIO core] Fix bool/boolean function declaration. 2020-09-30 11:14:47 +02:00
Gijs Noorlander a1d07a234c Fix merge issue merging GPIO core handling 2020-09-30 11:14:47 +02:00
PlebsandTD-er eb96ff4072 deprecating inpuswitchstate 2020-09-30 11:14:47 +02:00
PlebsandTD-er 5964e51b87 fixed suggestions made by TD-er 2020-09-30 11:14:47 +02:00
PlebsandTD-er 63e88fc679 Moved GPIO commands in the core
Hi all,
moved the GPIO commands for Internal pins, PCF and MCP in the core code from PLUGIN_WRITE.

Created several support functions to avoid repetition of the code.

The old code is still commented in order to simplify the debug and the comparison between the old code and the new changes.

Fixed some bugs along the way.

As the changes are really substantial, I really would like the community to test before releasing.
2020-09-30 11:14:47 +02:00
PlebsandTD-er 8ac01abf17 deprecating inpuswitchstate 2020-09-30 11:14:47 +02:00
PlebsandTD-er 2693862b1c fixed suggestions made by TD-er 2020-09-30 11:14:47 +02:00
PlebsandTD-er 42860a54da Moved GPIO commands in the core
Hi all,
moved the GPIO commands for Internal pins, PCF and MCP in the core code from PLUGIN_WRITE.

Created several support functions to avoid repetition of the code.

The old code is still commented in order to simplify the debug and the comparison between the old code and the new changes.

Fixed some bugs along the way.

As the changes are really substantial, I really would like the community to test before releasing.
2020-09-30 11:14:47 +02:00
PlebsandTD-er 4bdeaaccef deprecating inpuswitchstate 2020-09-30 11:14:47 +02:00
PlebsandTD-er f8b9941a1a fixed suggestions made by TD-er 2020-09-30 11:14:47 +02:00
PlebsandTD-er 6d9e0c6202 Moved GPIO commands in the core
Hi all,
moved the GPIO commands for Internal pins, PCF and MCP in the core code from PLUGIN_WRITE.

Created several support functions to avoid repetition of the code.

The old code is still commented in order to simplify the debug and the comparison between the old code and the new changes.

Fixed some bugs along the way.

As the changes are really substantial, I really would like the community to test before releasing.
2020-09-30 11:14:47 +02:00
Ton HuismanandGitHub dd7ebab246 Merge branch 'mega' into feature/explicit_task_command 2020-09-28 18:50:17 +02:00
Ton HuismanandGitHub df37f38b0d Merge branch 'mega' into feature/taskvalueset_by_name 2020-09-28 18:49:47 +02:00
Ton HuismanandGitHub 122af64227 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-28 18:47:32 +02:00
uwekaditz f141c9dbf1 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2020-09-28 17:05:41 +02:00
Ton Huisman c8a851aef1 [TaskName] Define is no longer available 2020-09-27 20:18:00 +02:00
Ton Huisman a91e3618f2 [Merge] Remove (again) 2020-09-27 17:05:43 +02:00
Ton Huisman e9c07f12be Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/taskvalueset_by_name 2020-09-27 16:02:16 +02:00
Ton Huisman f17b70bc28 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/explicit_task_command 2020-09-27 15:44:22 +02:00
TD-er f0aaf92739 Small optimization changing char arrays to char 2020-09-27 14:08:47 +02:00
TD-er 20692eaa45 Fix merge issue as Misc.ino was moved 2020-09-27 14:08:11 +02:00
Ton HuismanandGitHub 5ec9777c1e Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-27 13:31:51 +02:00
Gijs Noorlander 97e4a1716f [PVS-Studio] Simple hints from PVS-Studio applied 2020-09-27 13:20:30 +02:00
Gijs Noorlander 704d7dee5c [PVS-Studio] Add braces to some defines to make them more predictable 2020-09-27 13:19:29 +02:00
Gijs Noorlander 666b7005e5 [Floats] Use proper compare functions to compare float values 2020-09-27 13:18:46 +02:00
Ton Huisman f5786c43da [P099] Add On/Off button to touchobjects
- Add On/Off button and Inverted settings per touchobject
- Updated documentation and screenshots
2020-09-26 15:15:44 +02:00
Ton Huisman ea45a0478a Merge branch 'feature/XPT2046_touchscreen' of https://github.com/tonhuisman/ESPEasy-1 into feature/XPT2046_touchscreen 2020-09-26 08:56:47 +02:00
Ton HuismanandGitHub 60e9710d9e Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-26 08:52:39 +02:00
Ton Huisman 3dbe3e3208 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/XPT2046_touchscreen 2020-09-25 21:44:42 +02:00
Ton HuismanandGitHub 4fbd8c86f0 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-22 21:05:50 +02:00
uwekaditz a5f4f04f25 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2020-09-20 17:39:52 +02:00
Ton Huisman 75b0356e06 [Checks] Don't allow numeric (float) device name 2020-09-18 20:10:29 +02:00
Ton Huisman 3d46b4441d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/explicit_task_command 2020-09-18 16:56:17 +02:00
Ton HuismanandGitHub 21139aad29 Merge branch 'mega' into feature/taskvalueset_by_name 2020-09-18 13:37:31 +02:00
Ton HuismanandGitHub 9483ff3779 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-18 13:35:57 +02:00
Ton Huisman 8b7166899b [P099] Fixed an issue in x/y scaling function 2020-09-18 11:38:43 +02:00
Ton Huisman 6f19166811 [P099] Events only fired when Rules enabled
Show note in Device settings page if Rules disabled
Add USES_P099 to `define_plugin_sets.h` (disabled)
2020-09-17 16:38:26 +02:00
Ton Huisman 27729b32ce Merge branch 'feature/XPT2046_touchscreen' of https://github.com/tonhuisman/ESPEasy-1 into feature/XPT2046_touchscreen 2020-09-17 16:34:40 +02:00
Ton Huisman adb28d4cc0 [Docs] Add Touch plugin category
- [P099] Improvements and corrections
- [P095] Adjust documententation title (remove XPT2046)
2020-09-17 16:28:11 +02:00
Ton HuismanandGitHub 67a2f2bfd4 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-14 20:13:18 +02:00
Ton Huisman b121ad373a [P099] Documentation for TouchScreen
- Device configuration
- Setup calibration
- Define TouchObjects
2020-09-13 22:47:11 +02:00
Ton Huisman 269eea6d4c [P099] Cut off x/y coordinate outside calibration 2020-09-13 22:23:51 +02:00
Ton HuismanandGitHub 69a32269d5 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-13 21:36:36 +02:00
Ton HuismanandGitHub 7dfe49cda7 Merge branch 'mega' into feature/explicit_task_command 2020-09-12 20:41:02 +02:00
Ton HuismanandGitHub 4303b08c52 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-12 19:50:53 +02:00
Peter Kretz bb591acd98 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2020-09-11 18:48:02 +02:00
Ton HuismanandGitHub 8b5b104066 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-10 21:58:57 +02:00
Ton Huisman c05c7d809e [P099] Code improvements
- Avoid using unicode in source
- Less scope braces
- Memory optimizations
- Improve data struct definition
- Pointer initializations
- Cleanup on `PLUGIN_EXIT`
2020-09-10 21:51:28 +02:00
Ton HuismanandGitHub 78041cfd2e Merge branch 'mega' into feature/taskvalueset_by_name 2020-09-09 09:55:22 +02:00
Ton HuismanandGitHub a3768ddcb0 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-09-06 20:39:05 +02:00
Ton Huisman a5196cc48e [P099] Touch XPT2046 new plugin
- Adds Touch support for XPT2046 (often combined with ILI9341 TFT)
- Space for up to 40 user defined touchobjects by name
- Allows several types of events, X/Y, X/Y/X, objectname [TaskName#ObjectName]
- Calibration to map to screen coordinates (optional)

TODO:
- Implement VSPI support on ESP32
- Documentation

NB: Needs PR #3205
2020-09-06 20:36:53 +02:00
Ton HuismanandGitHub fc95194b3b Merge branch 'mega' into feature/explicit_task_command 2020-08-30 21:38:53 +02:00
Ton HuismanandGitHub 857d473d8c Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-30 21:38:35 +02:00
uwekaditz befa29b1b0 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2020-08-30 16:59:26 +02:00
uwekaditz bd9018b01e Merge tag 'mega-20200829' into UweKaditz 2020-08-30 16:59:01 +02:00
Ton HuismanandGitHub c78454b3f9 Merge branch 'mega' into feature/explicit_task_command 2020-08-29 16:59:05 +02:00
Ton HuismanandGitHub dffee3a027 Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-29 16:58:47 +02:00
Ton HuismanandGitHub bdf21a68be Merge branch 'mega' into feature/explicit_task_command 2020-08-27 14:02:40 +02:00
Ton HuismanandGitHub c789332501 Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-27 14:01:47 +02:00
Ton HuismanandGitHub 8cf9c811ee Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-26 11:19:00 +02:00
Ton HuismanandGitHub e6d0be8e91 Merge branch 'mega' into feature/explicit_task_command 2020-08-26 11:17:54 +02:00
uwekaditz 28dc6b3694 Merge remote-tracking branch 'upstream/mega' into UweKaditz 2020-08-24 19:52:37 +02:00
Ton Huisman 1af5ac4053 [Docs] Updated for [<TaskNumber>]. prefix 2020-08-21 17:08:58 +02:00
Ton Huisman 56cc79fdcf [Commands] Improvements, refactoring and added feature of [<TaskNumber>]. prefix 2020-08-21 15:54:13 +02:00
Ton HuismanandGitHub fefb2ca6cf Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-20 16:23:12 +02:00
Ton Huisman 4b9a14ab77 [P023] Fix merge conflict 2020-08-20 16:10:10 +02:00
Ton HuismanandGitHub 7535c1948d Merge branch 'mega' into feature/explicit_task_command 2020-08-20 15:48:23 +02:00
Ton HuismanandGitHub 716d334224 Merge branch 'mega' into feature/explicit_task_command 2020-08-15 21:47:39 +02:00
Ton HuismanandGitHub f6659c49e9 Merge branch 'mega' into feature/explicit_task_command 2020-08-10 10:28:20 +02:00
Ton HuismanandGitHub aaf70f43d8 Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-10 10:27:58 +02:00
Ton HuismanandGitHub 58cff990ef Merge branch 'mega' into feature/explicit_task_command 2020-08-07 12:51:22 +02:00
Ton HuismanandGitHub 18936f6532 Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-06 11:16:14 +02:00
tonhuisman 3bc5e69d53 [Commands] Add extra safeguard check for DeviceIndex 2020-08-05 17:54:48 +02:00
Ton HuismanandGitHub 1273f57734 Merge branch 'mega' into feature/explicit_task_command 2020-08-05 16:43:01 +02:00
tonhuisman f66e7163d2 [Commands] Improve documentation on [<TaskName>]. prefixing 2020-08-05 16:40:11 +02:00
tonhuisman c4f7839f07 [Commands] Remove requirement for [ and ] on <TaskName>. prefix 2020-08-05 16:31:14 +02:00
tonhuisman 06222520b5 [Commands] Remove local taskname-prefix impl., exclude P022 2020-08-05 12:33:34 +02:00
tonhuisman 1a7433cdba [Commands] Add global [<TaskName>]. prefix for all PLUGIN_WRITE commands 2020-08-05 11:52:19 +02:00
tonhuisman da73ba1bad Merge branch 'feature/taskvalueset_by_name' of https://github.com/tonhuisman/ESPEasy-1 into feature/taskvalueset_by_name 2020-08-02 19:31:13 +02:00
tonhuisman 5d317c7109 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/taskvalueset_by_name 2020-08-02 17:34:18 +02:00
Ton HuismanandGitHub c87492bb90 Merge branch 'mega' into feature/taskvalueset_by_name 2020-08-01 22:18:10 +02:00
tonhuisman 3b8fa6ba3c Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/taskvalueset_by_name 2020-08-01 10:55:41 +02:00
TD-erandGitHub 39c3393bf1 Merge branch 'mega' into feature/taskvalueset_by_name 2020-07-31 02:12:12 +02:00
Ton HuismanandGitHub ed889416c6 Merge branch 'mega' into feature/taskvalueset_by_name 2020-07-23 20:38:27 +02:00
Peter Kretz 2f71163b5c Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2020-07-19 19:12:07 +02:00
Ton HuismanandGitHub 1d9b5e618f Merge branch 'mega' into feature/taskvalueset_by_name 2020-07-19 14:22:48 +02:00
Ton HuismanandGitHub ccddfce4e3 Merge branch 'mega' into feature/taskvalueset_by_name 2020-07-04 12:21:53 +02:00
Peter Kretz ce3e489084 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2020-07-03 16:12:28 +02:00
Peter Kretz 9855e9c75d Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2020-06-29 21:28:32 +02:00
Peter Kretz 804b009644 Merge branch 'feature/ethernet_or_wifi_support' of https://github.com/kretzp/ESPEasy into mega 2020-06-10 17:49:41 +02:00
Peter Kretz df8ac0dfd4 colorize raus 2020-06-10 17:49:13 +02:00
Peter Kretz 2ad3225191 Merge branch 'feature/ethernet_or_wifi_support' of https://github.com/kretzp/ESPEasy into mega 2020-06-09 18:38:29 +02:00
Ton HuismanandGitHub e6415432d0 Merge branch 'mega' into feature/taskvalueset_by_name 2020-06-02 22:08:09 +02:00
tonhuisman e6425910a8 [Task* commands] Fix a few silly typos 2020-06-02 20:12:17 +02:00
tonhuisman b598ed955d [Documentation] Add TaskValueSetAndRun 2020-06-01 20:24:30 +02:00
tonhuisman 8f1c33a885 [Task* commands] Add support for TASKname/VARname in addition to TASKnr/VARnr + documentation 2020-06-01 20:13:27 +02:00
Ton HuismanandGitHub eb83eddc34 Merge branch 'mega' into feature/taskvalueset_by_name 2020-06-01 17:23:22 +02:00
tonhuisman e6d701599d [TaskValueSet(AndRun)] Minor documentation fixes 2020-06-01 17:22:33 +02:00
tonhuisman f7f37ebcf5 [TaskValueSet(AndRun)] Use TASKname and/or VARname instead of TASKnr/VARnr 2020-06-01 17:10:21 +02:00
Peter Kretz 530db22b40 Merge branch 'feature/ethernet_or_wifi_support' of https://github.com/kretzp/ESPEasy into mega 2020-05-31 22:55:31 +02:00
Peter Kretz f30b9da80b Merge branch 'feature/ethernet_or_wifi_support' of https://github.com/kretzp/ESPEasy into mega 2020-05-24 10:01:21 +02:00
Peter Kretz 40852a3e29 com port settings 2020-05-24 09:41:30 +02:00
Peter Kretz 7ebaabe764 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2020-05-22 21:19:15 +02:00
Peter Kretz 629b5bec48 Merge branch 'bugfix/ESP32_serialport_selection' of https://github.com/TD-er/ESPEasy into mega 2020-05-13 19:09:10 +02:00
Peter Kretz be6f2d8136 Merge branch 'Fix-ESP32-undefined-pin-initialisation' of https://github.com/sakinit/ESPEasy into mega 2020-05-13 19:06:24 +02:00
Peter Kretz 9818f7b60b Merge branch 'Fix-ESP32-Webbrowser-Rules-page' of https://github.com/sakinit/ESPEasy into mega 2020-05-13 19:05:22 +02:00
Peter Kretz 78ae817b4c Merge branch 'feature/ethernet_or_wifi_support' of https://github.com/kretzp/ESPEasy into mega 2020-05-06 21:28:33 +02:00
Peter Kretz 55717f04a3 Merge branch 'feature/ethernet_or_wifi_support' of https://github.com/kretzp/ESPEasy into mega 2020-05-06 19:42:04 +02:00
Peter Kretz bcfcd9736f Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega
Conflicts resolved
2020-05-04 21:57:56 +02:00
Peter Kretz 0521909edc now with Nextion Plugin P075 2020-05-04 21:56:24 +02:00
Peter Kretz 1b1201da8b Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega 2020-05-03 20:14:11 +02:00
Peter Kretz 9f51773c54 now without monitor_filters = time 2020-05-01 15:34:08 +02:00
Peter Kretz ffdd6b7d36 - Name Changed from ORP EZO to EZO ORP Configuration ofEZO pH now error tolerant. if you misconfigure a temperature correction, a temperature of 20° will be taken. More documentation about temperature correction for EZO pH as Note. Bug fix for pH calibration: if you stored a calibration for pH of e.g. 9.18 he restored 9 and you have to change it manually, now the value will be restored correctly 2020-05-01 15:33:39 +02:00
Peter Kretz 548c31894a Personal upload settings 2020-05-01 13:39:44 +02:00
Peter Kretz 3ac2b9ff03 Merge remote-tracking branch 'origin/feature/ethernet_or_wifi_support' into mega 2020-05-01 13:18:16 +02:00
Peter Kretz 591340c8a5 Nextion available for ESP32 2020-04-24 13:53:14 +02:00
3039 changed files with 214099 additions and 281704 deletions
+92
View File
@@ -0,0 +1,92 @@
# Checks whether the pushed commit can be build with PIO. Only triggered on normal push to the mega branch without tag and with pull requests targeting mega
name: Build
on:
push:
branches: [mega]
tags-ignore: '**'
paths-ignore:
- 'dist/Release_notes.txt'
pull_request:
branches: [mega]
jobs:
documentation:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-docs-${{ hashFiles('docs/requirements.txt') }}
- name: Build documentation
run: |
cd docs
sudo apt install imagemagick zip
pip install -r requirements.txt
make html
cd ..
zip -r -qq ESPEasy_docs.zip docs/build/*
- uses: actions/upload-artifact@v2
with:
name: Documentation
path: ESPEasy_docs.zip
generate-matrix:
runs-on: ubuntu-20.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- id: set-matrix
run: |
pip install platformio
python tools/ci/generate-matrix.py
build:
needs: generate-matrix
runs-on: ubuntu-20.04
strategy:
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}
- uses: actions/cache@v2
if: ${{ contains(matrix.env, 'esp32') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp32-${{ hashFiles('platformio*.ini') }}
- uses: actions/cache@v2
if: ${{ contains(matrix.env, 'esp8266') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp8266-${{ hashFiles('platformio*.ini') }}
- name: Dependencies
run: |
sudo apt install binutils build-essential libffi-dev python-dev libgit2-dev
pip install -r requirements.txt
platformio update
- name: Build and archive
id: build-and-archive
env:
CHIP: ${{ matrix.chip }}
ENV: ${{ matrix.env }}
run: |
python tools/ci/build-and-archive.py
- uses: actions/upload-artifact@v2
with:
name: Binaries
path: ESPEasy_${{ matrix.env }}.zip
if-no-files-found: ignore
+145
View File
@@ -0,0 +1,145 @@
# NOTICE the generate-matrix and build are c/p from the build workflow
# NOTICE manual deletion following a re-created tag and push will also trigger this
#
# Checks whether the pushed commit is buildable and creates a release with the provided tag. Only triggered on mega-* tag push
# Documentation and distribution files (tools, readme, etc.) are uploaded as .zip files prepared similarly to the build_ESPEasy.sh
# Every .bin build artifact is merged in a single .zip file, which is then uploaded as a single release asset
name: Release
on:
push:
branches-ignore: '**'
tags: 'mega-*'
jobs:
generate-matrix:
runs-on: ubuntu-20.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- id: set-matrix
run: |
pip install platformio
python tools/ci/generate-matrix.py
build:
needs: generate-matrix
runs-on: ubuntu-20.04
strategy:
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}
- uses: actions/cache@v2
if: ${{ contains(matrix.env, 'esp32') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp32-${{ hashFiles('platformio*.ini') }}
- uses: actions/cache@v2
if: ${{ contains(matrix.env, 'esp8266') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp8266-${{ hashFiles('platformio*.ini') }}
- name: Dependencies
run: |
sudo apt install binutils build-essential libffi-dev python-dev libgit2-dev
pip install -r requirements.txt
platformio update
- name: Build and archive
id: build-and-archive
env:
CHIP: ${{ matrix.chip }}
ENV: ${{ matrix.env }}
run: |
python tools/ci/build-and-archive.py
- uses: actions/upload-artifact@v2
with:
name: Binaries
path: ESPEasy_${{ matrix.env }}.zip
if-no-files-found: ignore
prepare-dist:
needs: build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-docs-${{ hashFiles('docs/requirements.txt') }}
- name: Build documentation
run: |
cd docs
sudo apt install imagemagick zip
pip install -r requirements.txt
make html
cd ..
zip -r -qq ESPEasy_docs.zip docs/build/*
- name: Package utilities
run: |
cd dist
zip -r -qq ../ESPEasy_dist.zip *
cd ..
- uses: actions/upload-artifact@v2
with:
name: Distribution
path: |
ESPEasy_docs.zip
ESPEasy_dist.zip
prepare-notes:
needs: build
runs-on: ubuntu-20.04
outputs:
notes: ${{ steps.release-notes.outputs.result }}
steps:
- id: release-notes
uses: actions/github-script@v4
with:
result-encoding: string
script: |
const tagRefObj = await github.git.getRef({
...context.repo,
ref: context.ref.replace('refs/', '')
});
const tagObj = await github.git.getTag({
...context.repo,
tag_sha: tagRefObj.data.object.sha
});
return tagObj.data.message;
release:
needs: [build, prepare-dist, prepare-notes]
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: actions/download-artifact@v2
with:
path: artifacts/
- run: |
ls -R
sudo apt install zipmerge
zipmerge ESPEasy_binaries.zip artifacts/Binaries/*.zip
- uses: ncipollo/release-action@v1
with:
artifacts: "ESPEasy_binaries.zip,artifacts/Distribution/*.zip"
body: ${{ needs.prepare-notes.outputs.notes }}
token: ${{ secrets.GITHUB_TOKEN }}
+9 -4
View File
@@ -42,9 +42,14 @@ tools/vagrant/.vagrant/
tools/vagrant/build/
tools/vagrant/Custom.h
.buildcache/
.buildcache/
tools/vagrant/pio_envlist.txt
build_output/
**/__tmpfile.cpp
src/_Custom.h
-103
View File
@@ -1,103 +0,0 @@
language: python
python:
- '3.8'
dist: bionic
sudo: false
cache: false
addons:
apt:
packages:
- cppcheck
- binutils
install:
- pip install -U platformio sphinx recommonmark sphinx_bootstrap_theme
- pip install -r requirements.txt
- platformio update
- cd patches; ./check_puya_patch; cd ..
env:
- ENV=custom_ESP32_4M316k
- ENV=custom_ESP32_4M316k_ETH
#- ENV=custom_ESP8266_1M
- ENV=custom_ESP8266_4M1M
#- ENV=custom_ESP8266_4M2M
#- ENV=custom_ESP8266_4M2M_LittleFS
#- ENV=custom_alt_wifi_ESP8266_1M
- ENV=custom_alt_wifi_ESP8266_4M1M
#- ENV=custom_beta_ESP8266_1M
#- ENV=custom_beta_ESP8266_4M1M
- ENV=custom_sdk3_ESP8266_4M1M
- ENV=dev_ESP8266_4M1M
- ENV=hard_SONOFF_POW_4M1M
- ENV=hard_Shelly_1_2M256
- ENV=hard_Shelly_PLUG_S_2M256
- ENV=hard_Ventus_W266
- ENV=hard_LCtech_relay_x2_1M
- ENV=hard_other_POW_ESP8285_1M
- ENV=minimal_IRext_ESP8266_1M
- ENV=minimal_IRext_ESP8266_4M1M
- ENV=minimal_IRext_ESP8266_4M2M
#- ENV=minimal_core_242_ESP8266_1M_OTA
#- ENV=minimal_core_242_ESP8285_1M_OTA
- ENV=minimal_core_274_ESP8266_1M_OTA_Domoticz
- ENV=minimal_core_274_ESP8266_1M_OTA_FHEM_HA
- ENV=minimal_core_274_ESP8285_1M_OTA_Domoticz
- ENV=minimal_core_274_ESP8285_1M_OTA_FHEM_HA
#- ENV=minimal_core_274_sdk3_ESP8266_1M_OTA_Domoticz
#- ENV=minimal_core_274_sdk3_ESP8266_1M_OTA_FHEM_HA
#- ENV=minimal_core_274_sdk3_ESP8285_1M_OTA_Domoticz
#- ENV=minimal_core_274_sdk3_ESP8285_1M_OTA_FHEM_HA
#- ENV=normal_ESP8266_16M_LittleFS
- ENV=normal_ESP8266_1M
- ENV=normal_ESP8266_1M_VCC
- ENV=normal_ESP8266_4M1M
- ENV=normal_ESP8266_4M1M_VCC
- ENV=normal_ESP8285_1M
- ENV=normal_IRext_no_rx_ESP8266_4M2M
- ENV=normal_WROOM02_2M256
- ENV=normal_WROOM02_2M
- ENV=normal_alt_wifi_ESP8266_1M
- ENV=normal_alt_wifi_ESP8266_1M_VCC
- ENV=normal_alt_wifi_ESP8266_4M1M
#- ENV=normal_sdk3_ESP8266_1M
#- ENV=spec_debug_beta_custom_ESP8266_4M1M
#- ENV=spec_debug_custom_ESP32_4M316k
#- ENV=spec_debug_custom_ESP8266_4M1M
#- ENV=spec_memanalyze_ESP8266
- ENV=test_ESP32-wrover-kit_4M316k
- ENV=test_ESP32-wrover-kit_4M316k_ETH
- ENV=test_ESP32_4M316k
- ENV=test_ESP32_4M316k_ETH
- ENV=test_ESP32_lolin-d32-pro
- ENV=test_ESP8266_4M1M_VCC
#- ENV=test_ESP8266_4M1M_VCC_MDNS_SD
- ENV=test_alt_wifi_ESP8266_4M1M_VCC
#- ENV=test_beta_ESP8266_16M_LittleFS
- ENV=test_beta_ESP8266_4M1M
script:
- PLATFORMIO_BUILD_FLAGS="-D CONTINUOUS_INTEGRATION" platformio run -e $ENV
before_deploy:
- ./before_deploy
deploy:
provider: releases
prerelease: true
api_key:
secure: bZeuKI7evXeZYmGayfcvIC1fThBGcksAyOrCbZ8kAGeTbHGJqFLBBy8to5UpNBSZVfeDWo25Iqy8Pfbyb7p2c1hg6fG9jS0UzQkLnoUNMxpUM1dJACkZxvFdP4Br3Y3vUPWtrWUbo8rN/b3E6tjSNLE7vQiwsarj+eWTO2V6BGcsN0eHc04/UCM2+DcHvJ4y7Ec36yIUaClNAWMal1osBYaViruylOdBKT/WDs1ZMoJMceXCfxMQ/8J2moYvymKfSkXSmoMGmzlTuq8v5N4AweutjpC4Zba2BbxIJv+PwWjhfIgTviHFggSU90UPTKVWYv13vms92VVKz1CDVrUQNn+YQes9+ROPUnrMc9bJ+q7E1lWJRZeDMqGECB+8BjUtUk6H81K+XhOnW1mtZiMnvMCwkmE0OT1eBObGMcpR962/DUBoQDmulMs2IieB0dLobmUBhpc1syrKEPKxjY7yhhQMr6In82jODVLR3qDkNQ8xtIfevzCo/ocUjiOrXW4b/pDMy28Yh109DMb/KSWEsjjkkpXhsT1YVy2MwOa7FRhHFW+SNKX4Us8T75H+pO4mQ4afnPEtjYKodj7XD92zqNxKfMx3elEx5RK6HKekHjpXdYtuXzGONB9StA+2T43/2llt3n5fzv4BRfCumBEJ77/ufB0U/uhsCe6lVwJf34U=
file_glob: true
file: ESPEasy*.zip
skip_cleanup: true
on:
tags: true
# repo: psy0rz/ESPEasy-platformio
notifications:
email: false
+107 -8
View File
@@ -1,5 +1,5 @@
/****************************************************************************************************************************\
* Arduino project "ESP Easy" © Copyright www.esp8266.nu
/*****************************************************************************************************************************\
* Arduino project "ESP Easy" © Copyright 2018-2020 github.com/letscontrolit
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
@@ -8,12 +8,18 @@
* You received a copy of the GNU General Public License along with this program in file 'License.txt'.
*
* Additional information about licensing can be found at : http://www.gnu.org/licenses
\*************************************************************************************************************************/
\*****************************************************************************************************************************/
// This file incorporates work covered by the following copyright and permission notice:
// This project incorporates work covered by the following copyrights and permission notices:
//
// Notes:
// - Parts of the source files in this repository are made available under different licenses.
// Refer to each individual source file/directory for more details.
// - Your copy of this product may not contain code covered by one or more of the licenses listed here,
// depending on the exact product and version you choose.
/****************************************************************************************************************************\
* Arduino project "Nodo" © Copyright 2010..2015 Paul Tonkes
/*****************************************************************************************************************************\
* Arduino project "Nodo" © Copyright 2010..2015 Paul Tonkes
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
@@ -26,7 +32,100 @@
* bugs kunnen worden gelogd op : https://code.google.com/p/arduino-nodo/
* Compiler voor deze programmacode te downloaden op : http://arduino.cc
* Voor vragen of suggesties, mail naar : p.k.tonkes@gmail.com
\*************************************************************************************************************************/
\*****************************************************************************************************************************/
/*****************************************************************************************************************************\
* esp8266/Arduino is licensed under the
* GNU Lesser General Public License v2.1
*
* Additional information about licensing can be found at : https://github.com/esp8266/Arduino/blob/master/LICENSE
\*****************************************************************************************************************************/
/*****************************************************************************************************************************\
* espressif/arduino-esp32 is licensed under the
* GNU Lesser General Public License v2.1
*
* Additional information about licensing can be found at : https://github.com/espressif/arduino-esp32/blob/master/LICENSE.md
\*****************************************************************************************************************************/
/*****************************************************************************************************************************\
* platformio/platformio-core © Copyright 2014-present PlatformIO <contact@platformio.org>
* platformio/platform-espressif8266 © Copyright 2014-present PlatformIO <contact@platformio.org>
* platformio/platform-espressif32 © Copyright 2014-present PlatformIO <contact@platformio.org>
*
* is licensed under the Apache License 2.0
*
* Additional information about licensing can be found at : https://github.com/platformio/platformio-core/blob/develop/LICENSE
\*****************************************************************************************************************************/
/*****************************************************************************************************************************\
* espressif/esptool is licensed under the
* GNU General Public License v2.0
*
* Additional information about licensing can be found at : https://github.com/espressif/esptool/blob/master/LICENSE
\*****************************************************************************************************************************/
/*****************************************************************************************************************************\
* Grovkillen/ESP_Easy_Flasher is licensed under the
* GNU General Public License v3.0
*
* Additional information about licensing can be found at : https://github.com/Grovkillen/ESP_Easy_Flasher/blob/master/LICENSE
\*****************************************************************************************************************************/
/*****************************************************************************************************************************\
* ESPRESSIF MIT License
*
* Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished
* to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or
* substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Additional information about licensing can be found at : https://github.com/espressif/esp-at/blob/master/LICENSE
\*****************************************************************************************************************************/
/*****************************************************************************************************************************\
* sphinx-doc/sphinx © Copyright 2007-2020 by the Sphinx team (see AUTHORS file). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* Additional information about licensing can be found at : https://github.com/sphinx-doc/sphinx/blob/3.x/LICENSE
\*****************************************************************************************************************************/
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
@@ -701,4 +800,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
+102 -15
View File
@@ -1,6 +1,6 @@
|Latest Nightly | Build Status | Downloads | Docs | Patreon | Ko-Fi | PayPal |
|-------|-------|-------|-------|-------|-------|-------|
| [![GitHub version](https://img.shields.io/github/release/letscontrolit/ESPEasy/all.svg)](https://github.com/letscontrolit/ESPEasy/releases/latest) | [![Build Status](https://travis-ci.org/letscontrolit/ESPEasy.svg?branch=mega)](https://travis-ci.org/letscontrolit/ESPEasy) | [![Downloads](https://img.shields.io/github/downloads/letscontrolit/ESPEasy/total.svg)](https://github.com/letscontrolit/ESPEasy/releases) | [![Documentation Status](https://readthedocs.org/projects/espeasy/badge/?version=latest)](https://espeasy.readthedocs.io/en/latest/?badge=latest) | [![donate](https://img.shields.io/badge/donate-Patreon-blue.svg)](https://www.patreon.com/GrovkillenTDer) | [![donate](https://img.shields.io/badge/donate-KoFi-blue.svg)](https://ko-fi.com/grovkillentder) | [![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.me/espeasy) |
| [![GitHub version](https://img.shields.io/github/release/letscontrolit/ESPEasy/all.svg)](https://github.com/letscontrolit/ESPEasy/releases/latest) | ![Build status](https://github.com/letscontrolit/ESPEasy/actions/workflows/build.yml/badge.svg) | [![Downloads](https://img.shields.io/github/downloads/letscontrolit/ESPEasy/total.svg)](https://github.com/letscontrolit/ESPEasy/releases) | [![Documentation Status](https://readthedocs.org/projects/espeasy/badge/?version=latest)](https://espeasy.readthedocs.io/en/latest/?badge=latest) | [![donate](https://img.shields.io/badge/donate-Patreon-blue.svg)](https://www.patreon.com/GrovkillenTDer) | [![donate](https://img.shields.io/badge/donate-KoFi-blue.svg)](https://ko-fi.com/grovkillentder) | [![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.me/espeasy) |
For ways to *support* us, see [this announcement on the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=14&t=5787), or have a look at the [Patreon](https://www.patreon.com/GrovkillenTDer), [Ko-Fi](https://ko-fi.com/grovkillentder) or [PayPal](https://www.paypal.me/espeasy) links above.
@@ -15,26 +15,113 @@ Introduction and wiki: https://www.letscontrolit.com/wiki/index.php/ESPEasy#Intr
Check here to learn how to use this branch and help us improving ESPEasy: http://www.letscontrolit.com/wiki/index.php/ESPEasy#Source_code_development
## Web based flasher (experimental)
## Automated binary releases
To make it easier to get started, one may flash a build directly to the ESP from your browser.
Currently only Chrome and Edge are supported.
Every night our build-bot will build a new binary release: https://github.com/letscontrolit/ESPEasy/releases
See [this flash page](https://td-er.nl/ESPEasy/) to try the new web flash feature.
The releases are named something like 'mega-20190225' (last number is the build date)
The web flasher is using [ESP Web Tools](https://esphome.github.io/esp-web-tools/) made by the people behind ESPHome and Home Assistant.
## Binary releases
On demand, controlled by the repo owner, our build-bot will build a new binary release: https://github.com/letscontrolit/ESPEasy/releases
The releases are named something like 'mega-20210501' (last number is the build date)
Depending on your needs, we release different types of files:
Firmware name | Hardware | Included plugins |
----------------------------------------------|-------------------------|-----------------------------|
ESPEasy_mega-20190225_normal_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable |
ESPEasy_mega-20190225_test_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable + Test |
ESPEasy_mega-20190225_dev_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable + Test + Development |
ESPEasy_mega-20190225_normal_ESP8266_4M.bin | ESP8266 with 4MB flash | Stable |
ESPEasy_mega-20190225_test_ESP8266_4M.bin | ESP8266 with 4MB flash | Stable + Test |
ESPEasy_mega-20190225_dev_ESP8266_4M.bin | ESP8266 with 4MB flash | Stable + Test + Development |
ESPEasy_mega-20190225_normal_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable |
ESPEasy_mega-20190225_test_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable + Test |
ESPEasy_mega-20190225_dev_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable + Test + Development |
The name is built up from a few key parts:
ESPEasy_mega\__[releasedate]_\__[build-type]_\__[opt-arduino-library]_\__[hardware-type]_\__[flash-size]__[filesystem-size]_\__[opt-build-features]_.bin
_[build-type]_ can be any of:
Build type | Description | included plugins |
------------|-------------------------------------------|--------------------------------|
custom | Custom predefined set/Defined in Custom.h | Specific |
normal | Standard plugins | Stable |
test_A | Normal + test set A | Stable + Testing base + set A |
test_B | Normal + test set B | Stable + Testing base + set B |
test_C | Normal + test set C | Stable + Testing base + set C |
test_D | Normal + test set D | Stable + Testing base + set D |
test_E | Normal + test set E | Stable + Testing base + set E |
max | All available plugins | All available |
energy | All plugins related to energy measurement | Stable + Energy measurement |
display | All plugins related to displays | Stable + Displays |
hard | hardware specific builds | Minimal |
minimal | minimal plugins for specific use-cases | Switch and Controller |
spec_* | specialized technical builds | Not intended for regular use |
IRext | Infra-red hardware specific | Sending and receiving IR cmd |
_[opt-arduino-library]_ (optional) can be any of:
Arduino library | Description |
----------------|------------------------------------|
alt_wifi | Alternative WiFi configuration |
beta | Arduino Beta release |
sdk3 | Arduino SDK v.3 |
core_274 | Arduino Core 2.7.4 release |
core_274_sdk3 | Arduino Core 2.7.4 SDK v.3 release |
_[hardware-type]_ cn be any of:
Hardware type | Description |
-----------------|---------------------------------------------|
ESP8266 | Espressif ESP8266 generic boards |
ESP8285 | Espressif ESP8285 generic boards 1MB Flash |
WROOM02 | Espressif ESP8266 WRoom02 boards |
ESP32 | Espressif ESP32 generic boards |
ESP32-wrover-kit | Espressif ESP32 wrover-kit boards |
SONOFF | Sonoff hardware specific |
other_POW | Switch with power measurement |
Shelly_1 | Shelly 1 switch |
Shelly_PLUG_S | Shelly plug S switch with power measurement |
Ventus | Ventus W266 weather station |
LCtech | LC-tech serial switch |
_[flash-size]_ can be any of:
Flash size | Description |
-----------|-----------------------------|
1M | 1 MB with 128 kB filesystem |
2M | 2 MB with 128 kB filesystem |
2M256 | 2 MB with 256 kB filesystem |
4M1M | 4 MB with 1 MB filesystem |
4M2M | 4 MB with 2 MB filesystem |
16M | 16 MB with 14 MB filesystem |
4M316k | 4 MB with 316 kB filesystem |
16M1M | 16 MB with 1 MB filesystem |
16M2M | 16 MB with 2 MB filesystem |
16M8M | 16 MB with 8 MB filesystem |
_[opt-build-features]_ can be any of:
Build features | Description |
----------------|--------------------------------------------------------------------------|
LittleFS | Use LittleFS instead of SPIFFS filesystem (SPIFFS is unstable \> 2 MB) |
VCC | Analog input configured to measure VCC voltage |
OTA | Arduino OTA (Over The Air) update feature enabled |
Domoticz | Only Domoticz controllers (HTTP+MQTT) and plugins included |
FHEM_HA | Only FHEM/OpenHAB/Home Assistant (MQTT) controllers and plugins included |
lolin_d32_pro | Specific Lolin hardware options enabled |
ETH | Ethernet interface enabled (ESP32 only) |
Some example firmware names:
Firmware name | Hardware | Included plugins |
---------------------------------------------------|-------------------------|-------------------------------|
ESPEasy_mega-20210501_normal_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable |
ESPEasy_mega-20210501_normal_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable |
ESPEasy_mega-20210501_normal_ESP8266_4M1M.bin | ESP8266 with 4MB flash | Stable |
ESPEasy_mega-20210501_test_A_ESP8266_4M1M.bin | ESP8266 with 4MB flash | Stable + Testing base + set A |
ESPEasy_mega-20210501_normal_ESP32_4M316k.bin | ESP32 with 4MB flash | Stable |
ESPEasy_mega-20210501_test_A_ESP32_4M316k.bin | ESP32 with 4MB flash | Stable + Testing base + set A |
ESPEasy_mega-20210501_test_B_ESP32_4M316k.bin | ESP32 with 4MB flash | Stable + Testing base + set B |
ESPEasy_mega-20210501_max_ESP32_16M1M.bin | ESP32 with 16MB flash | All available plugins |
ESPEasy_mega-20210501_max_ESP32_16M8M_LittleFS.bin | ESP32 with 16MB flash | All available plugins |
To see what plugins are included in which testing set, you can find that on the [ESPEasy Plugin overview page](https://espeasy.readthedocs.io/en/latest/Plugin/_Plugin.html)
## Documentation & more info
+20 -1
View File
@@ -1,7 +1,26 @@
#!/bin/bash
VERSION=$(git describe)
TMP_DIST=`mktemp -d`
TMP_DIR=`mktemp -d`
if [ $? -eq 0 ]; then
# Make sure coreutils is installed.
# if not, these terrible things may happen:
# https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8542
echo "Created ${TMP_DIR}"
else
echo "Could not create tmp dir, mktemp -d failed"
exit 1
fi
TMP_DIST=`echo "${TMP_DIR}/ESPEasy_collect_dist"`
mkdir -p ${TMP_DIST}
if [ $? -eq 0 ]; then
echo "Created ${TMP_DIST}"
else
echo "Could not create tmp dir: ${TMP_DIST}"
exit 1
fi
CURPATH=`pwd`
BUILD_LOG=`echo "${TMP_DIST}/buildlog.txt"`
+31
View File
@@ -0,0 +1,31 @@
{
"build": {
"arduino":{
"ldscript": "esp32s2_out.ld"
},
"core": "esp32",
"mcu": "esp32s2",
"extra_flags": "-Desp32S2_dev_module",
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"mcu": "esp32s2",
"variant": "esp32s2"
},
"connectivity": [
"wifi"
],
"frameworks": [
"arduino"
],
"name": "ESP32S2 Dev Module",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://espressif.com",
"vendor": "espressif"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.
@@ -0,0 +1 @@
SUCCESS
File diff suppressed because one or more lines are too long
@@ -0,0 +1,104 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = c:\shared\flash_download_tool\src
[LOCK]
lock_setting_password = 1
lock_settings = 0
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 2
flashsize = 2
crystal = 1
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOCK_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str =
log_check_timeout = 3
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
[MAC SAVE]
mac_save_enable = False
@@ -0,0 +1,146 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = ./bin/
[LOCK]
lock_setting_password = 12345678
lock_settings = 0
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 2
flashsize = 2
crystal = 1
[DOWNLOAD]
autostart1 = 0
com_port1 = COM21
baudrate1 = 4
checkmac1 = 1
autostart2 = 0
com_port2 = COM78
baudrate2 = 5
checkmac2 = 1
autostart3 = 0
com_port3 =
baudrate3 = 0
checkmac3 = 1
autostart4 = 0
com_port4 =
baudrate4 = 0
checkmac4 = 1
autostart5 = 0
com_port5 = COM23
baudrate5 = 0
checkmac5 = 1
autostart6 = 0
com_port6 =
baudrate6 = 0
checkmac6 = 1
autostart7 = 0
com_port7 =
baudrate7 = 0
checkmac7 = 1
autostart8 = 0
com_port8 =
baudrate8 = 0
checkmac8 = 1
erase_flash_en = True
new_status = 0
num_bytes = 0
non_volatile = False
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
[FACTORY_MODE]
factory_mode_enable = False
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.26
log_check_timeout = 3
log_check_enable_cmd = False
log_check_cmd_str = AT+GMR
log_check_delaytime = 40
[MAC SAVE]
mac_save_enable = False
@@ -0,0 +1,30 @@
[DEBUG MODE]
debug_enable = False
debug_pem_path =
[SECURE BOOT]
secure_boot_en = False
burn_secure_boot_key = False
secure_boot_force_write = False
secure_boot_rw_protect = False
[FLASH ENCRYPTION]
flash_encryption_en = False
burn_flash_encryption_key = False
flash_encrypt_force_write = False
flash_encrypt_rw_protect = False
reserved_burn_times = 3
[SELF FLASH ENCRYPTION]
self_flash_encryption_en = False
self_reserved_burn_times = 1
[AES KEY]
aes_key_en = False
burn_aes_key = False
[DISABLE FUNC]
jtag_disable = False
dl_encrypt_disable = False
dl_decrypt_disable = False
dl_cache_disable = False
@@ -0,0 +1,125 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = C:\bin
[LOCK]
lock_setting_password = 12345678
lock_settings = 0
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 2
flashsize = 2
crystal = 0
[DOWNLOAD]
autostart1 = 0
com_port1 = COM90
baudrate1 = 4
checkmac1 = 1
erase_flash_en = True
new_status = 0
num_bytes = 0
non_volatile = False
[FACTORY_MODE]
factory_mode_enable = False
[LOCK_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str =
log_check_timeout = 3
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.26
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
[MAC SAVE]
mac_save_enable = False
@@ -0,0 +1,36 @@
[LOG_LEVEL]
multi_log_level = INFO
utility_log_level = INFO
spi_log_level = INFO
hspi_log_level = INFO
[MAC SAVE]
mac_save_enable = False
[EFUSE_CONFIG]
xpd_sdio_enable = False
xpd_sdio_force = 0
xpd_sdio_reg = 0
xpd_sdio_tieh = 0
[RF_INIT]
backoffen = 0
limiten = 0
cryfreq = 0
backoffval = 0.000000
digitalgain = 0
rfgain = 0
targetlowpower = 0.000000
limitval = 19.500000
targetpower6 = 13.000000
toutadc = 1
targetpower4 = 15.000000
targetpower5 = 14.000000
targetpower2 = 18.000000
targetpower3 = 16.500000
lowpoweren = 0
targetpower1 = 19.500000
rfinitmode = 0
toutvdd = 0
vdd = 3.3
@@ -0,0 +1,104 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = c:\shared\flash_download_tool\src
[LOCK]
lock_setting_password = 1
lock_settings = 0
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 2
flashsize = 2
crystal = 1
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOCK_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str =
log_check_timeout = 3
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
@@ -0,0 +1,126 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = ./bin/
[LOCK]
lock_setting_password = 12345678
lock_settings = 0
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 2
flashsize = 2
crystal = 1
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
autostart2 = 0
com_port2 =
baudrate2 = 0
checkmac2 = 1
autostart3 = 0
com_port3 =
baudrate3 = 0
checkmac3 = 1
autostart4 = 0
com_port4 =
baudrate4 = 0
checkmac4 = 1
autostart5 = 0
com_port5 =
baudrate5 = 0
checkmac5 = 1
autostart6 = 0
com_port6 =
baudrate6 = 0
checkmac6 = 1
autostart7 = 0
com_port7 =
baudrate7 = 0
checkmac7 = 1
autostart8 = 0
com_port8 =
baudrate8 = 0
checkmac8 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOG_CHECK]
log_check_enable = False
log_check_port = COM37
log_check_baud = 115200
log_check_str = 1.6.2.0
log_check_timeout = 3
log_check_enable_cmd = False
log_check_cmd_str = AT+GMR
log_check_delaytime = 3
@@ -0,0 +1,31 @@
[DEBUG MODE]
debug_enable = True
debug_pem_path =
[SECURE BOOT]
secure_boot_en = False
burn_secure_boot_key = False
secure_boot_force_write = False
secure_boot_rw_protect = False
[FLASH ENCRYPTION]
flash_encryption_en = False
burn_flash_encryption_key = False
flash_encrypt_force_write = False
flash_encrypt_rw_protect = False
reserved_burn_times = 0
[AES KEY]
aes_key_en = False
burn_aes_key = False
[DISABLE FUNC]
jtag_disable = False
dl_encrypt_disable = False
dl_decrypt_disable = False
dl_cache_disable = False
[SELF FLASH ENCRYPTION]
self_flash_encryption_en = False
self_reserved_burn_times = 0
@@ -0,0 +1,121 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = C:\Users\QC\Desktop\ESP32_AT_V1.2\ESP32_AT_V1.2\ESP32_AT_V1.2\factory
[LOCK]
lock_setting_password = 1
lock_settings = 0
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 2
flashsize = 2
crystal = 0
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 = COM56
baudrate1 = 4
checkmac1 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOCK_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str =
log_check_timeout = 3
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
@@ -0,0 +1,42 @@
[LOG_CHECK]
log_check_enable = True
log_check_baud = 115200
log_check_str = "1.0.0"
log_check_timeout = 3
[LOG_LEVEL]
multi_log_level = ERROR
utility_log_level = ERROR
spi_log_level = ERROR
hspi_log_level = ERROR
[MAC SAVE]
mac_save_enable = False
[EFUSE_CONFIG]
xpd_sdio_enable = False
xpd_sdio_force = 0
xpd_sdio_reg = 0
xpd_sdio_tieh = 0
[RF_INIT]
backoffen = 0
limiten = 0
cryfreq = 3
backoffval = 0.000000
digitalgain = 0
rfgain = 0
targetlowpower = 12.000000
limitval = 19.500000
targetpower6 = 13.000000
toutadc = 0
targetpower4 = 15.000000
targetpower5 = 14.000000
targetpower2 = 18.000000
targetpower3 = 16.500000
lowpoweren = 0
targetpower1 = 19.500000
rfinitmode = 0
toutvdd = 1
vdd = 3.3
@@ -0,0 +1,89 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = C:\shared\flash_download_tool\src
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 1
spispeed = 0
spimode = 2
flashsize = 2
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_delaytime = 3
log_check_timeout = 3
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
@@ -0,0 +1,137 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = ./bin/
[LOCK]
lock_setting_password =
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 1
spispeed = 0
spimode = 2
flashsize = 2
[MAC SAVE]
mac_save_enable = False
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_delaytime = 3
log_check_timeout = 3
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
[DOWNLOAD]
autostart1 = 0
com_port1 = COM45
baudrate1 = 4
checkmac1 = 1
autostart2 = 0
com_port2 =
baudrate2 = 0
checkmac2 = 1
autostart3 = 0
com_port3 =
baudrate3 = 0
checkmac3 = 1
autostart4 = 0
com_port4 =
baudrate4 = 0
checkmac4 = 1
autostart5 = 0
com_port5 =
baudrate5 = 0
checkmac5 = 1
autostart6 = 0
com_port6 =
baudrate6 = 0
checkmac6 = 1
autostart7 = 0
com_port7 =
baudrate7 = 0
checkmac7 = 1
autostart8 = 0
com_port8 =
baudrate8 = 0
checkmac8 = 1
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
@@ -0,0 +1,31 @@
[DEBUG MODE]
debug_enable = True
debug_pem_path =
[SECURE BOOT]
secure_boot_en = False
burn_secure_boot_key = False
secure_boot_force_write = False
secure_boot_rw_protect = False
[FLASH ENCRYPTION]
flash_encryption_en = False
burn_flash_encryption_key = False
flash_encrypt_force_write = False
flash_encrypt_rw_protect = False
reserved_burn_times = 0
[SELF FLASH ENCRYPTION]
self_flash_encryption_en = False
self_reserved_burn_times = 0
[AES KEY]
aes_key_en = False
burn_aes_key = False
[DISABLE FUNC]
jtag_disable = False
dl_encrypt_disable = False
dl_decrypt_disable = False
dl_cache_disable = False
@@ -0,0 +1,110 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = C:\Users\qichuan\Desktop
[FLASH_CRYSTAL]
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 2
flashsize = 2
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_delaytime = 3
log_check_timeout = 3
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 = COM45
baudrate1 = 5
checkmac1 = 1
erase_flash_en = True
new_status = 0
num_bytes = 0
non_volatile = False
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
@@ -0,0 +1,15 @@
[LOG_LEVEL]
utility_log_level = ERROR
spi_log_level = ERROR
hspi_log_level = ERROR
multi_log_level = ERROR
[MAC SAVE]
mac_save_enable = False
[EFUSE_CONFIG]
xpd_sdio_enable = False
xpd_sdio_force = 0
xpd_sdio_reg = 0
xpd_sdio_tieh = 0
@@ -0,0 +1,104 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = c:\shared\flash_download_tool\src
[LOCK]
lock_setting_password = 1
lock_settings = 0
[FLASH_CRYSTAL]
crystal = 1
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 0
flashsize = 5
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOCK_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str =
log_check_timeout = 3
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
@@ -0,0 +1,141 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[LOG_CHECK]
log_check_enable = False
log_check_port = COM37
log_check_baud = 115200
log_check_str = 1.6.2.0
log_check_timeout = 3
log_check_enable_cmd = False
log_check_cmd_str = AT+GMR
log_check_delaytime = 3
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = ./bin/
[LOCK]
lock_setting_password = 12345678
lock_settings = 0
[FLASH_CRYSTAL]
crystal = 1
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 0
flashsize = 5
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 = COM37
baudrate1 = 5
checkmac1 = 1
autostart2 = 0
com_port2 =
baudrate2 = 0
checkmac2 = 1
autostart3 = 0
com_port3 =
baudrate3 = 0
checkmac3 = 1
autostart4 = 0
com_port4 =
baudrate4 = 0
checkmac4 = 1
autostart5 = 0
com_port5 =
baudrate5 = 0
checkmac5 = 1
autostart6 = 0
com_port6 =
baudrate6 = 0
checkmac6 = 1
autostart7 = 0
com_port7 =
baudrate7 = 0
checkmac7 = 1
autostart8 = 0
com_port8 =
baudrate8 = 0
checkmac8 = 1
new_status = 0
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
@@ -0,0 +1,112 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = C:\Users\QC\Desktop\bin\at\1024+1024
[LOCK]
lock_setting_password = 1
lock_settings = 0
[FLASH_CRYSTAL]
crystal = 1
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 0
flashsize = 5
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 = COM62
baudrate1 = 4
checkmac1 = 1
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
@@ -0,0 +1,73 @@
[LOG_LEVEL]
utility_log_level = ERROR
multi_log_level = ERROR
spi_log_level = ERROR
hspi_log_level = ERROR
_log_level = ERROR
[MAC SAVE]
mac_save_enable = True
[RF_INIT]
backoffen = 0
limiten = 0
cryfreq = 1
backoffval = 0.000000
digitalgain = 0
rfgain = 0
targetlowpower = 12.000000
limitval = 19.500000
targetpower6 = 14.000000
toutadc = 0
targetpower4 = 16.000000
targetpower5 = 15.000000
targetpower2 = 18.500000
targetpower3 = 17.500000
lowpoweren = 0
targetpower1 = 19.500000
rfinitmode = 0
toutvdd = 1
vdd = 3.3
[GPIO_INIT]
gpio10_status = 2
gpio5_status = 2
gpio14_status = 2
gpio1_status = 2
gpio12_status = 2
gpio7_status = 2
gpio8_status = 2
gpio3_status = 2
gpio6_status = 2
gpio13_status = 2
gpio4_status = 2
gpio11_status = 2
gpio2_status = 2
gpio0_status = 2
gpio15_status = 2
gpio16_status = 2
gpio9_status = 2
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_delaytime = 3
log_check_timeout = 3
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
[DOWNLOAD PATH]
file_sel0 = False
file_path0 =
@@ -0,0 +1,104 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = c:\shared\flash_download_tool\src
[LOCK]
lock_setting_password = 1
lock_settings = 0
[FLASH_CRYSTAL]
crystal = 1
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 3
flashsize = 2
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOCK_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str =
log_check_timeout = 3
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
@@ -0,0 +1,126 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = ./bin/
[LOCK]
lock_setting_password = 12345678
lock_settings = 0
[FLASH_CRYSTAL]
crystal = 1
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 3
flashsize = 2
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 =
baudrate1 = 0
checkmac1 = 1
autostart2 = 0
com_port2 =
baudrate2 = 0
checkmac2 = 1
autostart3 = 0
com_port3 =
baudrate3 = 0
checkmac3 = 1
autostart4 = 0
com_port4 =
baudrate4 = 0
checkmac4 = 1
autostart5 = 0
com_port5 =
baudrate5 = 0
checkmac5 = 1
autostart6 = 0
com_port6 =
baudrate6 = 0
checkmac6 = 1
autostart7 = 0
com_port7 =
baudrate7 = 0
checkmac7 = 1
autostart8 = 0
com_port8 =
baudrate8 = 0
checkmac8 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOG_CHECK]
log_check_enable = False
log_check_port = COM37
log_check_baud = 115200
log_check_str = 1.6.2.0
log_check_timeout = 3
log_check_enable_cmd = False
log_check_cmd_str = AT+GMR
log_check_delaytime = 3
@@ -0,0 +1,121 @@
[EFUSE CHECK]
efuse_mode = 1
efuse_err_halt = 1
[DOWNLOAD PATH]
file_sel0 = 0
file_path0 =
file_offset0 =
file_sel1 = 0
file_path1 =
file_offset1 =
file_sel2 = 0
file_path2 =
file_offset2 =
file_sel3 = 0
file_path3 =
file_offset3 =
file_sel4 = 0
file_path4 =
file_offset4 =
file_sel5 = 0
file_path5 =
file_offset5 =
file_sel6 = 0
file_path6 =
file_offset6 =
file_sel7 = 0
file_path7 =
file_offset7 =
file_sel8 = 0
file_path8 =
file_offset8 =
file_sel9 = 0
file_path9 =
file_offset9 =
file_sel10 = 0
file_path10 =
file_offset10 =
file_sel11 = 0
file_path11 =
file_offset11 =
file_sel12 = 0
file_path12 =
file_offset12 =
file_sel13 = 0
file_path13 =
file_offset13 =
file_sel14 = 0
file_path14 =
file_offset14 =
file_sel15 = 0
file_path15 =
file_offset15 =
file_sel16 = 0
file_path16 =
file_offset16 =
file_sel17 = 0
file_path17 =
file_offset17 =
file_sel18 = 0
file_path18 =
file_offset18 =
default_path = C:\Users\QC\Desktop
[LOCK]
lock_setting_password = 1
lock_settings = 0
[FLASH_CRYSTAL]
crystal = 1
spiautoset = 0
spicfgdis = 0
spispeed = 0
spimode = 3
flashsize = 2
[MAC SAVE]
mac_save_enable = False
[DOWNLOAD]
autostart1 = 0
com_port1 = COM55
baudrate1 = 0
checkmac1 = 1
[FACTORY_MODE]
factory_mode_enable = False
[LOCK_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str =
log_check_timeout = 3
[LOG_CHECK]
log_check_enable = False
log_check_baud = 115200
log_check_str = 1.0.0
log_check_timeout = 3
log_check_port = COM6
log_check_cmd_str = AT+GMR
log_check_enable_cmd = False
log_check_delaytime = 3
[ESPTOOL_PARAM]
after = hard_reset
baud = 115200
before = default_reset
chip = auto
compress = 0
flash_freq = keep
flash_mode = keep
flash_size = keep
no_compress = False
no_progress = False
no_stub = False
operation = write_flash
port = /dev/cu.SLAB_USBtoUART
spi_connection = 0
verify = False
@@ -0,0 +1,36 @@
[LOG_CHECK]
log_check_enable = True
log_check_baud = 115200
log_check_str = "1.0.0"
log_check_timeout = 3
[LOG_LEVEL]
multi_log_level = ERROR
utility_log_level = ERROR
spi_log_level = ERROR
hspi_log_level = ERROR
[MAC SAVE]
mac_save_enable = False
[RF_INIT]
backoffen = 0
limiten = 0
cryfreq = 1
backoffval = 0.000000
digitalgain = 0
rfgain = 0
targetlowpower = 12.000000
limitval = 19.500000
targetpower6 = 14.000000
toutadc = 0
targetpower4 = 16.000000
targetpower5 = 15.000000
targetpower2 = 18.500000
targetpower3 = 17.500000
lowpoweren = 0
targetpower1 = 19.500000
rfinitmode = 0
toutvdd = 1
vdd = 3.3
@@ -0,0 +1,4 @@
v3.8.5
1. Divided into development mode and mass production mode, mass production mode can drag more
2. Delete the RF parameter configuration interface
3. Support ESP32-S2 chip download
+21 -5
View File
@@ -16,8 +16,8 @@ The filename is quite descriptive:
Build type can be: (differ in included plugins)
- normal => Only Stable plugins and controllers
- test => Stable + Testing
- dev => Stable + Testing + Development
- test => Stable + Testing, divided in various build sets to fit max. build size.
- max => Only for ESP32 boards with large flash size, includes all plugins.
There is also a number of special builds:
- normal_IR => "Normal" + IR receiver/transmitter plugins and library
@@ -29,13 +29,13 @@ There is also a number of special builds:
Chip can be:
- ESP8266 => Most likely option
- ESP8285 => Used in some Sonoff modules
- ESP32 => Experimental support at this moment
- ESP32 => Showing up in commercial products, but mainly seen on NodeMCU like boards.
MemorySize can be:
- 1M => 1 MB flash modules (e.g. almost all Sonoff modules)
- 2M => 2 MB flash modules (e.g. Shelly1/WROOM02)
- 4M => 4 MB flash modules (e.g. NodeMCU/ESP32)
- 16M => 16 MB flash modules (e.g. Wemos D1 mini pro)
- 16M => 16 MB flash modules (e.g. Wemos D1 mini pro or some of the modern ESP32 boards)
Please note that the performance of 14MB SPIFFS (16M flash modules) is really slow.
All file access takes a lot longer and since the settings are also read from flash, the entire node will perform slower.
@@ -43,6 +43,11 @@ See [Arduino issue - SPIFFS file access slow on 16/14M flash config](https://git
If these speed issues will be fixed, it is very likely the SPIFFS must then be re-partitioned, thus loosing all data in the SPIFFS.
As alternative for SPIFFS, one can chose for LittleFS.
This currently is very fast when using it, but extremely slow when storing settings as updating a part of a file is not suitable for LittleFS.
However this will be dealt with in the future.
N.B. SPIFFS and LittleFS are not compatible. Switching from one to the other will delete all existing settings and configuration stored on the file system.
Special memory partitioning:
- 2M256 => 2 MB flash modules (e.g. Shelly1/WROOM02) with 256k SPIFFS (only core 2.5.0 or newer)
- 4M316k => For ESP32 with 4MB flash, sketch size is set to 1.8 MByte (default: 1.4 MByte)
@@ -55,10 +60,15 @@ Please note that this only can be used on installs already running a very recent
This also means we still need to update the 2-step updater to support .bin.gz files.
ESP32 now has 3 builds:
ESP32 now has a number of builds:
- custom_ESP32_4M316k Build template using either the plugin set defined in ``Custom.h`` or ``tools/pio/pre_custom_esp32.py``
- test_ESP32_4M316k Build using the "testing" set of plugins for ESP32
- test_ESP32-wrover-kit_4M316k A build for ESP32 including build flags for the official WRover test kit.
- max_ESP32_16M1M A build for ESP32 with larger flash size including all plugins.
ESP32 also supports Ethernet.
Ethernet support is included in similar builds as mentioned before, only ending with "_ETH" in the file name.
Since ESP32 does have its flash partitioned in several blocks, we have 2 bin files of each ESP32 build:
@@ -84,6 +94,12 @@ To help recover from a bad flash, there are also blank images included.
When the wrong image is flashed, or the module behaves unstable, or is in a reboot loop,
flash these images first and then the right image for the module.
Sometimes an update performed via OTA (Over The Air) is not performing as stable as one might expect.
It is yet unclear why this happens or what may cause it.
The remedy is often to flash the same build another time via serial.
There does seem to be some correlation to bad OTA flashes and flash chips made by XMC, but it is not exclusive to this brand of flash chips.
ESP.Easy.Flasher.exe...
... is the new flashing tool for ESP Easy. You need to run it in elevated mode (as admin)
for it to fetch the COM ports correctly. If you want you may save YOUR settings using the
+2006 -1
View File
File diff suppressed because it is too large Load Diff
+28 -7
View File
@@ -1,11 +1,32 @@
recommonmark==0.6.0
Sphinx==3.1.2
sphinx-autobuild==0.7.1
sphinx-bootstrap-theme==0.7.1
Jinja2==3.0.2
MarkupSafe==2.0.1
Pygments==2.10.0
Sphinx==4.2.0
alabaster==0.7.12
babel==2.9.1
certifi==2021.10.8
charset-normalizer==2.0.7
colorama==0.4.4
commonmark==0.9.1
docutils==0.17.1
idna==3.3
imagesize==1.2.0
livereload==2.6.3
packaging==21.0
pyparsing==2.4.7
pytz==2021.3
recommonmark==0.7.1
requests==2.26.0
six==1.16.0
snowballstemmer==2.1.0
sphinx-autobuild==2021.3.14
sphinx-bootstrap-theme==0.8.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
sphinxcontrib-websupport==1.2.3
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-websupport==1.2.4
tornado==6.1
urllib3==1.26.7
+63
View File
@@ -111,6 +111,69 @@ This is often used to perform the initial configuration like connecting to the l
Can also be set via the command ``WiFiAPKey``.
Don't force /setup in AP-Mode
-----------------------------
Allow optional usage of ESPEasy without WIFI avaiable.
When checked you can use ESPEasy in AP-Mode without beeing forced to ``/setup``.
Do Not Start AP
---------------
Usually the AP will be started when no WiFi is defined, or the defined one cannot be found.
This flag may prevent to start an AP.
Since this flag can lock out a user, there is a restricted command to uncheck this.
``WifiAllowAP`` will uncheck this flag in the settings until a reboot.
If the settings are saved, this flag will remain unchecked.
N.B. Restricted means, not accepted from a remote source, only local or via serial.
Custom Build WiFi credentials
-----------------------------
For custom builds, one can set default WiFi credentials by defining some default credentials at build.
See the examples in `Custom-sample.h`:
* ``#define DEFAULT_SSID "MyHomeSSID" // Enter your network SSID``
* ``#define DEFAULT_KEY "MySuperSecretPassword" // Enter your network WPA key``
* ``#define DEFAULT_SSID2 "" // Enter your fallback network SSID``
* ``#define DEFAULT_KEY2 "" // Enter your fallback network WPA key``
Custom builds can also be customized a bit more to allow for a deployment SSID configuration and an emergency fallback.
Deployment & Support SSID will be used only when the configured SSIDs are not reachable and/or no credentials are set.
This to make deployment or support of large number of nodes easier.
This configured set of credentials will be considered a "low priority" set, thus it will be tried as last resort.
Therefore it may take a while for a unit to connect to it if there are lots of 'hidden SSID' APs and connecting to hidden SSIDs is allowed.
* ``#define CUSTOM_DEPLOYMENT_SSID "" // Enter SSID not shown in UI, to be used on custom builds to ease deployment``
* ``#define CUSTOM_DEPLOYMENT_KEY "" // Enter key not shown in UI, to be used on custom builds to ease deployment``
* ``#define CUSTOM_SUPPORT_SSID "" // Enter SSID not shown in UI, to be used on custom builds to ease support``
* ``#define CUSTOM_SUPPORT_KEY "" // Enter key not shown in UI, to be used on custom builds to ease support``
Emergency fallback SSID will only be attempted in the first 10 minutes after reboot.
When found, the unit will connect to it and depending on the built in flag, it will either just connect to it, or clear set credentials.
Use case: User connects to a public AP which does need to agree on an agreement page for the rules of conduct (e.g. open APs)
This is seen as a valid connection, so the unit will not reconnect to another node and thus becomes inaccessible.
The AP configured with these fallback credentials will then act as a master key to regain access to a node.
These will never be set in nightly builds and only allowed for custom builds for obvious reasons.
* ``#define CUSTOM_EMERGENCY_FALLBACK_SSID "" // Enter SSID not shown in UI, to be used to regain access to the node``
* ``#define CUSTOM_EMERGENCY_FALLBACK_KEY "" // Enter key not shown in UI, to be used to regain access to the node``
* ``#define CUSTOM_EMERGENCY_FALLBACK_RESET_CREDENTIALS false``
* ``#define CUSTOM_EMERGENCY_FALLBACK_START_AP false``
* ``#define CUSTOM_EMERGENCY_FALLBACK_ALLOW_MINUTES_UPTIME 10``
Client IP filtering
===================
+3
View File
@@ -228,8 +228,11 @@ Extended Sysinfo message (13 + 28 = 41 bytes):
The node type is defined as:
* 1 = "ESP Easy"
* 5 = "Rpi Easy"
* 17 = "ESP Easy Mega"
* 33 = "ESP Easy 32"
* 34 = "ESP Easy 32-S2"
* 35 = "ESP Easy 32-C3"
* 65 = "Arduino Easy"
* 81 = "Nano Easy"
+23 -2
View File
@@ -45,7 +45,7 @@ Each time a plugin sends data to this controller, a sample set is stored.
A typical sample set contains:
- UNIX timestamp
- Timestamp (Default: Unix Time, but can be switched to "local time" in the controller settings)
- task index delivering the data
- 4 float values
@@ -63,8 +63,29 @@ Data Delivery
The controller can deliver the data to:
- JavaScript to process the data inside the browser. See the ``dump6.htm`` file in the ``misc`` folder.
- Upload bin files to some server (HTTP post?) (TODO)
- Provide a sample to any connected controller (TODO)
- Do nothing and let some extern host pull the data from the node. (TODO)
- JavaScript to process the data inside the browser. (TODO)
- Feed it to some plugin (e.g. a display to show a chart) (TODO)
Fetch and Decode data in the browser
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The ``dump6.htm`` (in ``misc`` directory) file should be uploaded to the file system of the ESP.
When there are cache controller bin files present on the file system,
open this htm file from the file browser in ESPEasy into a new tab in your browser.
This presents a large button "Fetch cache files".
When pressed, the JavaScript in this htm file will fetch JSON information from
ESPEasy describing the column names and the binary cache files present on the file system.
Those bin files will be fetched and decoded in the browser.
When done, a "Download" button will be presented which generates and downloads a new CSV file.
This file can be opened in any spreadsheet program.
LibreNMS has proven to be the easiest to parse the column separators and make the best guess on the data types in each cell.
+36 -2
View File
@@ -54,7 +54,7 @@ This layer is called LoRaWAN.
There are several modules available:
- RFM95 & SX127x. These are LoRa modules which needs to have the LoRaWAN stack implemented in software
- Microchip RN2384/RN2903. These are the modules supported in this controller. They have the full LoRaWAN stack present in the module.
- Microchip RN2483/RN2903. These are the modules supported in this controller. They have the full LoRaWAN stack present in the module.
Nodes, Gateways, Application
@@ -128,7 +128,7 @@ Prerequisites:
- An user account on the TTN network.
- A TTN gateway in range to send data to (and receive data from)
- Microchip RN2384 or RN2903 LoRaWAN module connected to a node running ESPeasy. (UART connection)
- Microchip RN2483 or RN2903 LoRaWAN module connected to a node running ESPeasy. (UART connection)
On the TTN network:
- Create an application
@@ -153,5 +153,39 @@ Decoding Data
Controller Settings
-------------------
Since there are legal limitations on the amount of time you are allowed to send,
it is even more important to understand what effect the Controller Queue parameters may have on the reliability of data transmission.
You are allowed to send only 1% of the time.
Meaning if your message takes 100 msec to send, you can only send a message every 10 seconds.
As a rule of thumb, the time needed to send a message of N bytes doubles for every step up in the Spreading Factor.
For example, a message sent at SF7 may take 100 msec to send.
The same message sent at SF8, will take 200 msec.
At SF9 takes 400 msec, etc. The slowest is SF12.
The RN2483 module does keep track of the used air time, per channel.
Meaning it is possible to send a burst of upto 8 messages (since we have 8 channels) after which we have to wait for a free channel to send out a new one.
As with any other ESPEasy controller, there is a queue mechanism to manage the messages ready to be sent and also allow for a number of retries.
This number of retries is even more important on this LoRaWAN TTN controller.
If sending a message fails due to no free channels, the minimum send interval will be dynamically increased, based on the air time of the message to be sent.
The dynamic adjustment is 10x the expected air time. So by setting the number of retries to 10, it is almost guaranteed the message will eventually be sent.
10 retries with 10x the expected air time equals a maximum of 100x the expected air time, which eventually will be as low as 1% of the time sending.
N.B. This expected air time is dependant on the set Spread Factor and the length of the message.
In practice the messages will be sent in bursts, and thus the extra wait time is often 2 - 3x the expected air time of the message.
So on setups with a large variation in message sizes, it makes sense to send the large ones at the start of a message burst.
Setting the number of retries high (e.g. 10x), may be useful to make sure a sequence of messages in a burst will all get sent.
But it may also lead to a large number of messages to be lost as the queue is full.
So it depends on the use case what will be the best strategy here.
At least the Minimum Send Interval can be kept low (e.g. the default 100 msec) to allow for quickly sending out a burst of upto 8 messages.
+2
View File
@@ -61,6 +61,8 @@ before WiFi connection is made or during lost connection.
- **Max Queue Depth** - Maximum length of the buffer queue to keep unsent messages.
- **Max Retries** - Maximum number of retries to send a message.
- **Full Queue Action** - How to handle when queue is full, ignore new or delete oldest message.
- **Allow Expire** - Remove a queued message from the queue after <timeout> x <queue depth> x <retries>.
- **De-duplicate** - Do not add a message to the queue if the same message from the same task is already present.
- **Check Reply** - When set to false, a sent message is considered always successful.
- **Client Timeout** - Timeout in msec for an network connection used by the controller.
- **Sample Set Initiator** - Some controllers (e.g. C018 LoRa/TTN) can mark samples to belong to a set of samples. A new sample from set task index will increment this counter.
@@ -184,6 +184,6 @@
.. |C018_github| replace:: C018.ino
.. _C018_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C018.ino
.. |C018_usedby| replace:: `.`
.. |C018_shortinfo| replace:: `Controller for the LoRaWAN/TTN network supporting RN2384 (434/868 MHz) and RN2903 (915 MHz)`
.. |C018_shortinfo| replace:: `Controller for the LoRaWAN/TTN network supporting RN2483 (434/868 MHz) and RN2903 (915 MHz)`
.. |C018_maintainer| replace:: `TD-er`
.. |C018_compileinfo| replace:: `.`
+229
View File
@@ -0,0 +1,229 @@
Supported ESP Chips
*******************
ESPEasy does support a number of variants of the processors manufactured by Espressif.
* ESP8266 The original ESP processor, with external flash.
* ESP8285 Mainly found in "Chinese" products. Has flash built in the processor. (almost always 1MByte flash)
* ESP32 The first successor of the ESP82xx, supporting 2 CPU cores, Bluetooth and more RAM and more GPIO pins. (and other new features)
* ESP32-S2 Has more GPIO pins than the ESP32, but only 1 CPU core. Initial support in ESPEasy added since 2021-09-19.
* ESP32-S3 Not yet available to buy. (as of September 2021)
* ESP32-C3 Support in ESPeasy will be added soon.
.. list-table:: Espressif platforms
:header-rows: 1
:widths: 7 7 7 7
:stub-columns: 1
* -
- ESP8266
- ESP32
- ESP32-S2
* - release Year
- 2014
- 2016
- 2019
* - Microcontroller
- Xtensa single-core 32-bit L106
- Xtensa single/dual-core 32-bit LX6
- Xtensa single-core 32-bit LX7
* - Clock Frequency
- 80 MHz
- 160/240 MHz
- 240 MHz
* - Co-processor
- No
- ULP
- ULP (RISC-V)
* - SRAM
- 160 KB
- 520 KB
- 320 KB
* - ROM
- No
- 448 KB
- 128 KB
* - RTC Memory
- No
- 16 KB
- 16 KB
* - External SPIRAM
- No
- Up to 16MB
- Up to 128MB
* - External Flash
- Up to 16MB
- Up to 16MB
- Up to 1GB
* - Wi-Fi (802.11 b/g/n)
- HT20
- HT20
- HT20
* - ESP-MESH
- Yes
- Yes
- Yes
* - Bluetooth
- No
- BT 4.2 BR/EDR & BLE
- No
* - Ethernet
- No
- 10/100 Mbps
- No
* - CAN
- No
- 2.0
- No
* - Time of Flight
- No
- No
- Yes
* - GPIO (total)
- 16
- 34
- 43
* - Touch Sensors
- No
- 10
- 14
* - SPI
- 2
- 4
- 4 (OSPI)
* - I2C
- 1 (soft)
- 2
- 2
* - I2S
- 2
- 2
- 1
* - UART
- 2 (1 ½ actually)
- 3
- 2
* - ADC
- 1 (10-bit)
- 18 (12-bit)
- 20 (12-bit)
* - DAC
- No
- 2 (8-bit)
- 2 (8-bit)
* - PWM (soft)
- 8
- 16
- 8
* - SDMMC
- No
- Yes
- No
* - RMT (remote control)
- No
- Yes
- Yes
* - USB OTG
- No
- No
- Yes
* - LCD Interface
- No
- No
- Yes
* - Camera Interface
- No
- No
- Yes
* - Temperature sensor
- No
- Yes
- Yes
* - Hall sensor
- No
- Yes
- No
* - Security
- No
- Secure boot Flash encryption 1024-bit OTP
- Secure boot Flash encryption 4096-bit OTP
* - Crypto
- No
- AES, SHA-2, RSA, ECC, RNG
- AES-128/192/256, SHA-2, RSA, RNG, HMAC, Digital Signature
* - Low Power Consumption
- 20uA
- 10uA deep sleep
- Automatic RF power management 5uA in idle mode 24uA at 1% duty cycle
`Table content source <https://maker.pro/esp8266/tutorial/a-comparison-of-the-new-esp32-s2-to-the-esp32>`_
ESP8266/ESP8285
===============
The ESP8266 was the "original" ESP platform and was found in the original Sonoff Basic modules.
The ESP8266 does need an external SPI flash module to store its progam data and configuration.
Later a (probably) less expensive ESP8285 appeared, which does have the SPI flash integrated in the chip.
This means you cannot upgrade it by soldering a larger flash chip on it.
It does however free up 2 GPIO pins, which were previously unavailable as they were used to access the SPI flash.
For some products like the Sonoff 4ch modules this chip was a must-have.
The small 1MB flash does impose some issues when trying to perform an "OTA" update of the firmware as there is not enough space to store the active firmware and the new version at the same time.
For 1MB modules (some ESP8266 modules were also sold with 1MB flash, like the ESP-01 modules) you need to take some extra steps to perform an OTA update.
Otherwise the only way to upgrade to a newer build is by flashing using the serial port.
ESP32
=====
The most important new features of the ESP32, compared to ESP82xx are:
- Dual core CPU @ 240 MHz
- Upto 320 kByte of RAM
- 3 Hardware serial ports
- Bluetooth (not supported yet in ESPEasy)
- Extra GPIO pins
- Upto 18 GPIO pins can operate as ADC.
- Upto 10 touch pins
- Support for Ethernet
ESP32-S2
========
.. note:: Support for the ESP32-S2 is very preliminary, as in it is hardly tested (as of September 2021)
The ESP32-S2 is a bit strange when looking at its features and taking into account it was introduced about 3 years after the ESP32.
The ESP32-S2 is missing quite a lot of useful features its predecessor had:
- No Bluetooth
- Single core
- No support for Ethernet
- No support for CAN
- 2 Harware Serial ports.
- Less RAM
The only advantages of the ESP32-S2 compared to its predecessor are:
- More GPIO pins
- 2 extra ADC capable pins
- 4 extra touch capable pins
- USB OTG (not yet supported in ESPEasy)
- LCD interface (not yet supported in ESPEasy)
- Camera interface (not yet supported in ESPEasy)
- Extra hardware accelerated encryption functions (not yet supported in ESPEasy)
- Supposedly lower power consumption (not yet verified)
- Time of Flight (TOF) support that would (theoretically) allow indoor positioning
+24 -3
View File
@@ -1,3 +1,5 @@
.. _Hardware_page:
Hardware page
*************
@@ -135,7 +137,7 @@ NB: Only acceptable channel checkboxes (0-7/0-3/0-1) will be shown, depending on
SPI Interface
-------------
When using devices that are connected via the SPI interface (`Wikipedia: SPI <https://en.wikipedia.org/wiki/Serial_Peripheral_Interface>`_), the interface must be initialized during boot. This can be enabled here. For ESP32 there is the option to select either the Hardware SPI (HSPI) interface or the Virtual SPI (VSPI) interface (software controlled).
When using devices that are connected via the SPI interface (`Wikipedia: SPI <https://en.wikipedia.org/wiki/Serial_Peripheral_Interface>`_), the interface must be initialized during boot. This can be enabled here. For ESP32 there is the option to select the HSPI (often called Hardware SPI) interface, the VSPI (often called Virtual SPI) interface, or select User-defined GPIO pins for the ``SCLK``, ``MISO`` and ``MOSI`` signals.
The common SPI pins are shown here.
@@ -149,11 +151,30 @@ Other SPI pins to be used are device specific, and need to be configured from th
.. image:: Hardware_SPIInterfaceESP32.png
*For ESP32, select the desired interface:*
*For ESP32, select the desired configuration:*
.. image:: Hardware_SPIInterfaceESP32_Select.png
NB: When using the VSPI interface and also the I2C interface is used, another pin has to be selected for I2C GPIO -> SCL, as its configuration is fixed for the VSPI setting.
NB: When using the VSPI configuration and also the I2C interface is used, another pin has to be selected for I2C GPIO -> SCL, as its configuration is fixed for the VSPI setting.
When selecting the *User-defined* options, 3 extra input fields are displayed, where the ``SCLK``, ``MISO`` and ``MOSI`` GPIO pins have to be selected. Nearly all pins can be used, but for the output signals ``SCLK`` and ``MOSI`` **no** *input-only* pins should be selected!
.. image:: Hardware_SPIInterfaceESP32_UserDefined.png
.. warning::
When changing the setting for **Init SPI**, or changing any of the User-defined GPIO pins, the ESP32 unit needs a hardware reset. This can be achieved by pressing the reset button (when available, sometimes labelled ``EN`` or ``RST``), or by completely removing the power for ~30 seconds. Also take into account here that units with a backup battery (f.e. some LilyGo and Waveshare ESP32 models) may keep power on the unit, so specific measures may have to be taken!
NB: When selecting the *User-defined* option, **all 3 GPIO pins should be set**, or an error message will be displayed when the page is saved, and the SPI interface will not be enabled at the next boot.
.. image:: Hardware_SPIpinsError.png
-------
SD Card
-------
When the compile-time option for SD-card support is enabled, the ``CS`` pin for the SD-card interface can be configured here. For the SD-card interface to work, **Init SPI** should also be enabled.
.. image:: Hardware_SDCard.png
--------
Ethernet
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

+1 -1
View File
@@ -87,7 +87,7 @@ Locate the file ``platform.txt`` in the esp8266 platform directory of ArduinoIDE
The exact location depends on the installation, usually in a directory below the main application called ``hardware/esp8266.com/``.
In the same directory add an (untraced) file called ``platform.local.txt`` with the following lines:
In the same directory add an (untracked) file called ``platform.local.txt`` with the following lines:
.. code-block:: none
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

+321 -10
View File
@@ -45,7 +45,9 @@ PlatformIO does use a PowerShell script to activate the Python virtual environme
Default Windows security settings prevent execution of a PowerShell script.
Enter in the PowerShell terminal window in VScode::
Enter in the PowerShell terminal window in VScode:
.. code-block:: none
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
@@ -61,7 +63,7 @@ PlatformIO with Atom
PlatformIO with VS-Code
=======================
install
Install
-------
For development of ESPeasy, a number of extensions has to be installed in VS-Code:
@@ -69,15 +71,19 @@ For development of ESPeasy, a number of extensions has to be installed in VS-Cod
* PlatformIO IDE (by PlatformIO)
* C/C++ IntelliSense (by Microsoft)
* Arduino for Visual Studio Code (by Microsoft)
* Uncrustify (by Laurent Tréguier)
* Uncrustify (by Zachary Flower, originally by Laurent Tréguier)
Optional, but highly recommended:
Optional:
* Bookmarks (by Alessandro Fragnani)
* Bracket Pair Colorizer 2 (by CoenraadS)
* GitLens - Git supercharged (by Eric Amodio)
* Todo Tree (by Gruntfuggly)
* All Autocomplete (by Atishay Jain)
* Excel Viewer (by GrapeCity)
* esbonio - An extension for editing sphinx projects (by Swyddfa)
* reStructuredText - for .rst language support (by LeXtudio Inc.)
* reStructuredText Syntax highlighting (by Trond Snekvik)
* Markdown All in One (by Yu Zhang)
Uncrustify
@@ -94,6 +100,8 @@ To do so:
The first time (after installing uncrustify) it must be confirmed to use Uncrustify as formatter and using the default suggested config file.
After setting it as the default formatter, the hotkey Alt-Shift-F (Cmd-Shift-F on MacOS) can be used to format the entire document.
Load a project using PlatformIO
-------------------------------
@@ -113,6 +121,7 @@ An environment entry has several tasks, like:
* Upload
* Monitor
* Upload and Monitor
* Clean
* ... many more.
Some of these options only are available when you have registered with PlatformIO and some are only for paid subscriptions.
@@ -122,26 +131,32 @@ The environment definitions all have at least the used micro controller in the n
For example:
* ..._ESP8266_4M -> ESP8266 has external flash, which can vary in size from 512 kB to 16 MB.
* ..._ESP8266_4Mnn -> ESP8266 has external flash, which can vary in size from 512 kB to 16 MB, with nn configured as filesystem.
* ..._ESP8285_1M -> ESP8285 has the flash internal, so is always 1 MB.
* ..._ESP32_4M316k -> ESP32 with 4 MB flash and a 1.8 MB partition for the sketch. (316k SPIFFS)
* ..._ESP32_16M2M_LittleFS -> ESP32 with 16 MB flash and a 4 MB partition for the sketch. (2MB LittleFS)
* ..._ESP32_16M1M_ETH -> ESP32 with 16 MB flash and a 4 MB partition for the sketch. (1MB SPIFFS, Wired ethernet support)
Make a custom build using PlatformIO
------------------------------------
The easiest is to go for the environment "env:custom_ESP8266_4M" and unfold that one.
The easiest is to go for the environment "custom_ESP8266_4M1M" and unfold that one.
Then select "Build" to see if it will start building.
If that's working, you can open the file "pre_extra_script.py" and add or remove the plugins and controllers you need.
That Python file is used in the "env:custom_ESP8266_4M" to define what should be embedded and what not.
If that's working, you can open the file "pre_custom_esp8266.py" and add or remove the plugins and controllers you need.
That Python file is used in the "env:custom_ESP8266_4M1M" (or any "custom" build environment) to define what should be embedded and what not.
For example to have only the controller "C014", you can remove "CONTROLLER_SET_ALL", and just add "USES_C014",
The same for the plugins you need.
The file is built in the ".pio/build/...." directory right under the main repository directory (the one with the platformio.ini in it)
Instead of modifying "pre_custom_esp8266.py" (or "pre_custom_esp32.py" for that matter), one can also copy "src/Custom-sample.h" to "src/Custom.h" and make the desired changed in this file. This file is excluded from Github, so can be adjusted to your own requirements. When the Custom.h file is there (mind the uppercase C!), it will be used by the build scripts instead of the defaults set by "pre_custom_esp8266.py" (or "pre_custom_esp32.py").
All builds will be made in a directory with the same name as the environment used.
Once the build is successful, the .bin file(s) and .bin.gz file (where applicable) are copied to the ``build_output/bin`` folder.
Upload to ESP
@@ -152,4 +167,300 @@ Upload to ESP
Linux
-----
For Linux, you may need to install 99-platformio-udev.rules to make PlatformIO upload tools work in vscode.
For Linux, you may need to install 99-platformio-udev.rules to make PlatformIO upload tools work in vscode.
.. highlight::sh
Starter guide for (local) development on ESPEasy
================================================
For those with less development experience, or less experience in using Github, this chapter is intended as a **How To** guide to get started with development on ESPEasy.
It tries to help setting up Visual Studio Code (VSCode) with the PlatformIO development environment and additional VSCode plugins that aid in easier working on code and documentation.
The global steps described here are:
- Creating a private copy on Github
- Getting VSCode and PlatformIO set up
- Getting the source code from Github onto your system
- Compiling the source code
- Creating a branch to make your changes
- Modify the source code, compile & test
- Add a plugin (optional), compile & test
- Write documentation on the changes you made
- Commit your code and create a pull request on Github to publish your changes to the world
- Regular maintenance of your fork (housekeeping)
Let's get started!
Github account
--------------
First requirement is to have a Github account. You can either use an existing account or create one (it's free), by opening a browser on https://github.com, and following the steps after clicking the Sign up (for Github) button.
The Github flow
---------------
When you want to extend some function of the software at hand, ESPEasy in this case, there is a general flow, or 'how things are done here', that is common for Github, but most likely somewhat different from other software development flows or processes.
The usual Github flow or way of working is described nicely on this page: `Understanding the GitHub flow <https://guides.github.com/introduction/flow/>`_ If you have not used git or github before, or have little knowledge on how all this works, this explanation can be very helpful.
Fork the ESPEasy repository
---------------------------
ESPEasy uses the 'Fork and Pull' development method. This is probably the most used method for open source projects. This involves creating a copy (the fork) of the project, and request to incorporate changes into the original project by means of pull requests.
`Reasons for forking <https://docs.github.com/en/get-started/quickstart/fork-a-repo>`_ Quote: "A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project."
As an 'external' developer, no (direct) write-access is granted to the ESPEasy repository. To experiment with the code, and still be able to later have your development work included in the project, a 'fork' has to be made to your own account. So, log into your Github account from a webbrowser, browse to https://github.com/letscontrolit/ESPEasy and click the Fork button to create that copy:
.. image:: Github_fork_button.png
:alt: Github fork button
After this completes, you can view the fork in your Github dashboard at https://github.com/[your_github_handle]
(You have to replace [your_github_handle] with the name you selected during the Github sign-up procedure)
Install VSCode and PlatformIO
------------------------------
Earlier on this page, a complete description has been given on how to install **PlatformIO with VSCode** with the required and advised optional extensions and the git command-line tools.
NB: PlatformIO is often shortened to PIO.
Clone your forked repository to your computer
---------------------------------------------
To get the ESPEasy sources on your computer for compilation and making modifications, a 'clone' has to be made, using the ``git clone`` command
`Cloning a repository <https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository>`_ Quote: "You can clone your repository to create a local copy on your computer and sync between the two locations."
.. note::
If available, a clone can of course also be made using GUI tools like `Github Desktop <https://desktop.github.com/>`_, `GitKraken <https://www.gitkraken.com/>`_, `SourceTree <https://www.sourcetreeapp.com/>`_ or `TortoiseGIT <https://tortoisegit.org/>`_, etc., but, as the ``git`` command-line tools have been installed as part of setting up the development environment, that is used in the steps here.
Open a Command prompt (Windows) or Terminal session (MacOS or Linux), and ``cd`` to a folder where the ESPEasy project can/should be a subfolder of.
Then type this command to create the clone:
.. code-block::
git clone https://github.com/[your_github_handle]/ESPEasy.git
This will create a new folder called ``ESPEasy``, and download all files that make up the project into that folder.
Working on it:
.. image:: Github_clone_working.png
:alt: Github clone working
Completed:
.. image:: Github_clone_completed.png
:alt: Github clone completed
To be able to get the latest changes from the original project into your local copy, and to bring your changes as a 'pull request' (git terminology, often referred to as a 'PR', further explained below) to the ESPEasy repository, a connection has to be made from your local clone to the 'upstream' source (git terminology, pointer to the repository the fork was taken from). This command needs to be issued **only once** after cloning the repository into a folder on your computer, and should be executed from the ``ESPEasy`` folder that was just created:
.. code-block::
git remote add upstream https://github.com/letscontrolit/ESPEasy
Now this Command prompt / terminal (or GUI tool) can be closed.
Open the folder with ESPEasy project
------------------------------------
Start VSCode, and open the ESPEasy folder that was just created. In Windows you can right-click the ESPEasy folder and select the 'Open with Code' option. First thing when opening a git repository, VSCode will ask you if you trust the authors of the files. The easiest option is to respond by clicking the 'Yes, I trust the authors' button, as that is the only way to get unrestricted access to the sources. After that confirmation, VSCode will take a little time to initialize all plugins.
Depending on your usual workflow, the current VSCode environment can be saved as a 'Workspace' (VSCode terminology), so it can be easily re-opened. This is especially useful if you also use VSCode for other projects/editing work.
Compile an ESPEasy PIO environment
----------------------------------
ESPEasy supports several different configurations of ESP units, ESP8266, ESP8285 and ESP32, and also some predefined hardware configurations and sets of plugins & controllers. This has been turned into several different PlatformIO environments, to make managing the different builds as easy as possible.
To compile such 'environment' (PIO terminology), select the PIO button (it looks like an alien) in VSCode:
.. image:: VSCode_PIO_Environments.png
:alt: VSCode Platform IO environments
Expand an environment from the list, so the PIO options become visible (this will take some time for PIO to scan the configuration of that environment).
.. image:: VSCode_PIO_custom_ESP8266_4M1M.png
:alt: VSCode Platform IO custom ESP8266 4M 1M expanded
Now, the ``Build`` option is visible, and clicking that will build the project for the selected environment (configuration).
The first build will take some extra time, as PIO needs to first install some of its tooling and other required components and libraries, but as you haven't changed any files yet, the build should be successful:
.. image:: VSCode_build_success.png
:alt: VSCode build success
(NB: For this build all tools and libraries where already installed, and the computer isn't that slow, so total execution didn't take too much time.)
Create a new branch
-------------------
As shown above, the git workflow starts by creating a new branch to do the development work in. This will record all changes to the sourcecode you make, and can be put in as a pull request (explained below) for ESPEasy.
A new branch is created by clicking on the 'mega' branch name (lower left in the status bar of VSCode) and selecting the option 'Create new branch...' from the list presented at the mille-top of the VSCode window. Then a new braanch name should be typed. Branch naming does use some conventions. New features are often named like 'feature/purpose-of-the-feature', and bugfixes are usually named like 'bugfix/what-is-to-be-fixed'. For the addition of this documentation, I've created a branch named 'feature/how-to-guide-for-new-developers':
.. image:: VSCode_create_branch.png
:alt: VSCode create branch
.. image:: VSCode_type_branch_name.png
:alt: VSCode type the branch name
.. image:: VSCode_statusbar_new_branch.png
:alt: VSCode statusbar with new branch name
As an alternative, a new branch can also be created using command-line commands, you can type these after opening a Terminal in VSCode:
.. code-block::
git checkout -b feature/how-to-guide-for-new-developers
The nett result of this command is the same as from using the UI flow shown above.
Change code of ESPEasy
----------------------
To improve or extend an existing plugin or other code of ESPEasy, after creating a new branch for it, open the source file and modify code the as needed. Then compile and see if it all is according to the requirements of the compiler. Errors (showing as red text messages) will abort the compilation process, warnings, yellow messages, allow to continue, but should be resolved as much as possible before committing the code.
Testing is done by uploading the generated .bin file to an ESPEasy unit, testing the changed functionality to ensure no errors or undesired behavior remain in the code.
This uploading can be done in 2 ways:
* *Use the Upload feature of PIO*: If the ESP unit is connected to the computer via USB and the serial chip of the unit is recognized by the OS, the Upload option can be selected to compile the sources (only what was changed since the last compilation) and start the upload procedure. After uploading the ESP will restart.
* *Use the Update Firmware option of ESPEasy*: On the Tools tab of ESPEasy, there is a button Update Firmware available (on units that have enough free Flash space) so a new .bin file can be uploaded. The latest successful compiled file can be found in the ``build_output/bin`` subfolder of your ``ESPEasy`` folder.
Add a plugin to ESPEasy
-----------------------
Instead of just changing an existing plugin or some other feature of ESPEasy, also, new plugins can be added. Plugins can be created from scratch, starting with the template ``_Pxxx_PluginTemplate.ino`` that includes instructions what each section is supposed to do, take a proposed plugin from the ESPEasyPlayground repository at https://github.com/letscontrolit/ESPEasyPluginPlayground, or from other sources (some plugins are in personal Github repositories, but never submitted to the ESPEasyPluginPlayground).
It requires sufficient testing, and analysis of the runtime behavior, of that piece of code, before it should be submitted for a pull request.
Especially for new plugins, it is highly recommended to write documentation, as explained in the next paragraph.
Writing documentation
---------------------
Updating, or adding if it does not yet exist, the documentation is a useful activity that should be part of changing or adding to the ESPEasy code. Some of the optional VSCode extensions are specifically aimed at that task.
The documentation is created in the reStructuredText format, using mostly a ``.rst`` extension, and can be built locally by installing the sphinx tool. This can be installed manually by opening a Terminal window in VSCode (an already open Terminal can also be used) and issuing these commands:
.. code-block::
cd docs
pip install -r requirements.txt
The python tool ``pip`` will read the file ``requirements.txt`` and install all tools mentioned in the file. Depending on what is already installed, more or less of the modules will be installed. This should be a 1-time process, though sometimes updates to the tooling are made, and re-running these commands will then update all to the latest, possibly required, version.
The sources for the documentation are in the repository in the ``docs`` folder and its subfolders.
When adding screenshots it is advised to use the ``.png`` file format, as that usually has the best visible result for screenshots. When adding photos, the ``.jpg`` file format will do nicely.
Documentation for writing in reStructuredtext format can be found on the `Sphinx website <https://www.sphinx-doc.org/en/master/>`_
Building the documentation into html files, for reviewing locally, can be done by running this command from the ``docs`` folder:
On Windows:
.. highlight::bat
.. code-block::
.\make.bat html
On Linux or MacOS:
.. highlight::sh
.. code-block::
make html
The resulting output can be found in this folder with the ESPEasy folder: ``docs/build/html`` and can be viewed by opening the file ``index.html`` in a browser. Then the normal navigation within the documentation is available.
TODO: Add documentation about the (file) structure of the documentation.
Commit and create a pull request
--------------------------------
After changing and testing your changed source code, using builds uploaded to an actual ESP unit, the time has come to present the changed code to ESPEasy to be included in the regular build. This is called a 'pull request', and is explained in this Github documentation `About pull requests <https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests>`_ Quote: "Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub."
To make changes available for others they have to be 'staged' and 'committed' (git terminology) before it can be uploaded (pushed) to the repository. This stage and commit is a 2 step process, and easiest done from the VSCode UI. First select the GitLens plugin, and select the files that need to be staged and committed:
.. image:: VSCode_stage_changes.png
:alt: VSCode stage changed files
Selecting multiple files and clicking one of the ``+`` buttons next to the selected files, will put the files in the staging area, so they can be committed. Every commit will need a useful commit message, that describes what the commit is all about:
.. image:: VSCode_staged_files.png
:alt: VSCode list of staged files and commit message
Clicking the marked check button, or using the Ctrl-Enter key combination, will commit the staged files, using the commit message just typed.
After the commit is completed, more commits can be added, if desired. It is good practice to commit separate functional changes in separate commits. That will make the review process, as explained in the Github flow documentation, easier.
To have the commit(s) to be presented as a pull request, they must be published, and the easiest way to accomplish that is to use the Publish Changes button in VSCode:
.. image:: VSCode_Publish_changes.png
:alt: VSCode publish change button
After clicking that button, you have to select the source the changes should be published to. As we don't have (direct) write access to the upstream ESPEasy repository, we can only publish to the 'origin' (git terminology), our own fork of the repository, so that option should be selected by clicking it, or pressing the Enter key:
.. image:: VSCode_select_publish_source.png
:alt: VSCode select publish source
If this is the first time you try to push any changes to your repository, VSCode, or actually the GitLens plugin, will ask for your Github credentials, and will switch back and forth a few times between your webbrowser and VSCode to complete the authentication process. This is as intended.
Now that the Publish Changes is done, the pull request can be created. We have to switch to the ESPEasy repository on Github to complete that task. The Github website will show the options for that, assuming you are still logged in to your Github account from that browser:
When opening the https://github.com/letscontrolit/ESPEasy page (or refreshing it if it was already open), a message is shown that you have committed something to your forked repository, that can be pull-requested into the ESPEasy repository:
.. image:: Github_start_new_pull_request.png
:alt: Github start new pull rquest
After clicking the 'Compare and pull request' button, a description for the PR can be given, the title can be updated, and the pull request created. Helpful information can be found in `Creating a pull request from a fork <https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork>`_
If needed, or requested during the review process, more changes can be made to files, or files added or deleted, then staged and committed, after which these can be pushed to Github, and the changes will be automatically added to the PR.
Regular maintenance of your fork
--------------------------------
If you have forked ESPEasy before (or some time ago), and want to start (new) work on the code, it is required to update your fork with the latest state of affairs of ESPEasy, to avoid surprises, or difficulties when trying to merge, after submitting a PR.
This expects the currently selected 'branch' to be ``mega``, as is visible in the VSCode statusbar:
.. image:: VSCode_statusbar_mega.png
:alt: VSCode statusbar current branch mega
The desired branch can be selected by clicking the currently selected branch name as shown in the VSCode status bar, or by typing this command from a VSCode terminal window:
.. code-block::
git checkout mega
The update is 'pulled' (git terminology) by getting the latest from the ``upstream`` source (we defined that source after the initial clone), by opening a terminal window in VSCode and issuing this command:
.. code-block::
git pull upstream mega
(NB: The current development branch of ESPEasy is called ``mega`` where other Github repos often use ``master``, or ``main``. ESPEasy *does* have a ``master`` branch, but it currently isn't actively maintained. The name of the 'main' branch of any repository can be chosen freely, the ``master`` or ``main`` name is just used by convention.)
Depending on the time passed since the last update, some files will be updated from the git pull command.
To update your fork on Github, these changes should be 'pushed' (git terminology) to your fork by using the command:
.. code-block::
git push
If this is the first time you try to push any changes to your repository, VSCode, or actually the GitLens plugin, will ask for your Github credentials, and will switch back and forth a few times between your webbrowser and VSCode to complete the authentication process. This is as intended.
Updating your fork this way should be done at least every time before you start new work, and can be done more often if desired. If kept up to date you will avoid starting with an out-dated state of the repository.
+43 -13
View File
@@ -23,8 +23,8 @@ Below a list of the most important directories and files used in this project.
* ``static/`` Static files we use in ESPEasy, like CSS/JS/ICO files.
* ``test/`` Test scripts to be used in the continous integration process.
* ``tools/`` Tools to help build ESPeasy.
* ``tools/pio/pre_custom_esp32.py`` Python helper script for building custom ESP32 binary
* ``tools/pio/pre_extra_script.py`` Python helper script for building custom ESP8266 binary
* ``tools/pio/pre_custom_esp32.py`` Python helper script for building custom ESP32 binary.
* ``tools/pio/pre_custom_esp8266.py`` Python helper script for building custom ESP8266 binary.
* ``venv/`` Directory to store the used Python Virtual Environment. (Ignored by Git)
* ``platformio.ini`` Configuration file for PlatformIO to define various build setups.
* ``uncrustify.cfg`` Configuration file for Uncrustify, to format source code using some uniform formatting rules.
@@ -50,9 +50,15 @@ The header and source files are organized in a few directories in ``src/src/``.
* ``Commands`` Functions to process commands.
* ``ControllerQueue`` Mainly macro definitions for the queue system used by controllers.
* ``CustomBuild`` Header files for defining the ESPEasy project defaults and enabled plugins.
* ``DataStructs`` Data structures used in ESPEasy. Note that some of them are stored in settings files, so take care when changing them.
* ``DataTypes`` Definitions for data types used.
* ``ESPEasyCore`` Core functionality of ESPEasy, managing controllers, plugins, networking, rules, etc.
* ``Globals`` Declaration of global variables. Declare them using ``extern`` in .h files and construct them in .cpp files or else you may end up with several instances of the same object with the same name.
* ``Helpers`` Shared helper classes and functions.
* ``PluginStructs`` Data and code structs per plugin, to lower memory footprint split into separated source files.
* ``Static`` C++ encoded version of objects which have to be included in the binary. N.B. JS and CSS files are minified.
* ``WebServer`` Sources for web handling remote command processing and UI.
The Arduino based .ino files are still in the ``src/`` directory. (and some .h files, which are not yet moved)
@@ -79,7 +85,7 @@ We have 2 main build platforms:
For these platforms we also have a lot of different build setups.
The filename is quite descriptive:
ESP_Easy_mega-<date>_<buildType>_<chip>_<memorySize>.bin
ESP_Easy_mega-<date>_<buildType>_<chip>_<memorySize>_<build-options>.bin
Build Type
----------
@@ -87,15 +93,15 @@ Build Type
Build type can be: (differ in included plugins)
* normal => Only Stable plugins and controllers
* test => Stable + Testing
* dev => Stable + Testing + Development
* test => Stable + Testing (split into multiple sets, A/B/C/D)
* max => All available plugins
There is also a number of special builds:
* normal_IR => "Normal" + IR receiver/transmitter plugins and library
* hard_xxxxx => Special builds for some off-the-shelf hardware.
* minimal_ESP82xx_1M_OTA => Minimum number of plugins and a limited set of controllers included to be able to perform a 2-step OTA on 1 MB flash nodes.
* normal_core_xxx => "Normal" using core xxx (e.g. 2.6.3)
* normal_core_xxx => "Normal" using core xxx (e.g. 2.7.4)
* normal_beta => "Normal" using the staged (beta) branch of the esp8266/Arduino repository.
ESP Chip Type
@@ -111,7 +117,25 @@ Memory Size and Partitioning
* ``1M`` 1 MB flash modules (e.g. almost all Sonoff modules)
* ``2M`` 2 MB flash modules (e.g. Shelly1/WROOM02)
* ``4M`` 4 MB flash modules (e.g. NodeMCU/ESP32)
* ``16M`` 16 MB flash modules (e.g. Wemos D1 mini pro)
* ``16M`` 16 MB flash modules (e.g. Wemos D1 mini pro) (has 14 MB LittleFS filesystem, as SPIFFS is unstable > 2 MB)
* ``4M1M`` 4 MB flash modules with 1 MB filesystem (usually SPIFFS)
* ``4M2M`` 4 MB flash modules with 2 MB filesystem (usually SPIFFS)
* ``4M316k`` 4 MB flash modules using 1.8 MB sketch size, with 316 kB filesystem (usually SPIFFS) (for ESP32)
* ``16M1M`` 16 MB flash modules using 4MB sketch size, with 1 MB filesystem (usually SPIFFS) (ESP32 only a.t.m.)
* ``16M2M`` 16 MB flash modules using 4MB sketch size, with 2 MB filesystem (LittleFS) (ESP32 only a.t.m.)
* ``16M8M`` 16 MB flash modules using 4MB sketch size, with 8 MB filesystem (LittleFS) (ESP32 only a.t.m.)
Optional build options
----------------------
* ``LittleFS`` Use LittleFS instead of SPIFFS filesystem (SPIFFS is unstable > 2 MB)
* ``VCC`` Analog input configured to measure VCC voltage
* ``OTA`` Arduino OTA (Over The Air) update feature enabled
* ``Domoticz`` Only Domoticz controllers (HTTP+MQTT) and plugins included
* ``FHEM_HA`` Only FHEM/OpenHAB/Home Assistant (MQTT) controllers and plugins included
* ``lolin_d32_pro`` Specific Lolin hardware options enabled
* ``ETH`` Ethernet interface enabled (ESP32 only)
Please note that the performance of 14MB SPIFFS (16M flash modules) is really slow.
All file access takes a lot longer and since the settings are also read from flash, the entire node will perform slower.
@@ -150,16 +174,22 @@ This also means we still need to update the 2-step updater to support .bin.gz fi
ESP32 builds
------------
There are 3 builds for ESP32:
There are several builds for ESP32:
* ``normal_ESP32_4M316k`` Build using the "stable" set of plugins for ESP32
* ``normal_ESP32_4M316k_ETH`` Build using the "stable" set of plugins for ESP32, with support for an on-board Ethernet controller
* ``custom_ESP32_4M316k`` Build template using either the plugin set defined in ``Custom.h`` or ``tools/pio/pre_custom_esp32.py``
* ``test_ESP32_4M316k`` Build using the "testing" set of plugins for ESP32
* ``test_ESP32-wrover-kit_4M316k`` A build for ESP32 including build flags for the official WRover test kit.
* ``test_A_ESP32_4M316k`` Build using the "testing" set "A" of plugins for ESP32
* ``test_B_ESP32_4M316k`` Build using the "testing" set "B" of plugins for ESP32
* ``test_C_ESP32_4M316k`` Build using the "testing" set "C" of plugins for ESP32
* ``test_D_ESP32_4M316k`` Build using the "testing" set "D" of plugins for ESP32
* ``test_A_ESP32-wrover-kit_4M316k`` A build for ESP32 including build flags for the official WRover test kit.
* ``max_ESP32_16M8M_LittleFS`` Build using all available plugins and controllers for ESP32 with 16 MB flash (some lolin_d32_pro boards)
Since ESP32 does have its flash partitioned in several blocks, we have 2 bin files of each ESP32 build:
Since ESP32 does have its flash partitioned in several blocks, we have 2 bin files of each ESP32 build, f.e.:
* ``test_ESP32_4M316k.bin`` Use for OTA upgrades.
* ``test_ESP32_4M316k-factory.bin`` Use on clean nodes as initial inistall.
* ``test_D_ESP32_4M316k.bin`` Use for OTA upgrades.
* ``test_D_ESP32_4M316k-factory.bin`` Use on clean nodes as initial inistall.
The binary with ``-factory`` in the name must be flashed on a new node, via the serial interface of the board.
This flash must be started at address 0.
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Some files were not shown because too many files have changed in this diff Show More